Pages: [1]
  Print  
Author Topic: Add contextual awareness features  (Read 2773 times)
i6arcia
Nub


Cakes 0
Posts: 3


« on: October 28, 2013, 08:24:40 am »

Hello!

I want modify Open Arena to add other tools or features of contextual awareness, namely to respond to certain actions or conditions of the game. I saw that the game has some features such as those mentioned, eg hide panels or tools when in combat with another player. I would like to know where in the code and how we are able to do that.

Is there a diagram of the code, which can guide me to change the game? Where do I can find it?

Thanks for the help.
Logged
Gig
In the year 3000
***

Cakes 48
Posts: 4238


WWW
« Reply #1 on: October 29, 2013, 12:53:18 am »

I'm sorry, I'm not an expert about coding. Waiting for better answers (e.g. by Sago007, main gamecode programmer)...

I can tell you that the game sources are mainly divided into "engine" and "gamecode" -plus the "assets" (textures, models, maps, etc) of course-.
The engine is contained into the "executables" (binaries), and is derived from "ioquake3". Gamecode is the "game logic", and is the part about game rules and GUI, and is contained in "QVM" (Quake Virtual Machine), which is then packaged in .pk3 files. Gamecode is the part usually modified by mods. You may search for tutorials about creating MODs for Quake III Arena or ioquake3. Latest "beta" OpenArena gamecode is contained in "OAX" (OpenArena eXpanded), while you can download latest "official" gamecode -OA 0.8.8- from here).

Here's a few links to start:
http://openarena.wikia.com/wiki/Mod
http://openarena.wikia.com/wiki/Coding_resources_%26_tutorials
http://openarena.wikia.com/wiki/OAX
http://openarena.wikia.com/wiki/Main_Page#Development
« Last Edit: October 29, 2013, 10:24:50 am by Gig » Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
i6arcia
Nub


Cakes 0
Posts: 3


« Reply #2 on: November 04, 2013, 08:04:01 am »

Thanks, I'll try. I will read a little of that  Grin
Logged
Pages: [1]
  Print  
 
Jump to: