News:

Come Chat with us live! Learn how HERE!

Main Menu

Armoury/Evolve Menu

Started by ULTRA Random ViruS, August 24, 2011, 11:19:14 AM

ULTRA Random ViruS

Where could i edit this? I've edited a load of stuff in the src folder and can't find the armoury menu anywhere.

I need to edit it because i'm going to rename a few weapons and change the price detail of those weapons/classes.

/dev/humancontroller

Quote from: ULTRA Random ViruS on August 24, 2011, 11:19:14 AM
Where could i edit this? I've edited a load of stuff in the src folder and can't find the armoury menu anywhere.

I need to edit it because i'm going to rename a few weapons and change the price detail of those weapons/classes.
the weapons names and descriptions are in the structs of src/game/bg_misc.c. the weapons prices are defined as preprocessor constants in src/game/tremulous.h.

ULTRA Random ViruS

#2
Quote from: /dev/humancontroller on August 24, 2011, 03:28:55 PMthe weapons prices are defined as preprocessor constants in src/game/tremulous.h.
So they vary accordingly to the tremulous.h file? It doesn't seem to work on most servers, so this means the server who hosts this mod MUST give the ui.qvm as well?

Thx anyways. It turns out when i spent 5 hours reading almost every file, i probably fell asleep on this one.

_______________________

It doesn't show discriptions there though. (for example the rifle says something like "a slow-clip based reloading system, reliable on something-a-rather")

Volt

Quote from: ULTRA Random ViruS on August 29, 2011, 02:37:39 PM
Quote from: /dev/humancontroller on August 24, 2011, 03:28:55 PMthe weapons prices are defined as preprocessor constants in src/game/tremulous.h.
So they vary accordingly to the tremulous.h file? It doesn't seem to work on most servers, so this means the server who hosts this mod MUST give the ui.qvm as well?

Thx anyways. It turns out when i spent 5 hours reading almost every file, i probably fell asleep on this one.

_______________________

It doesn't show discriptions there though. (for example the rifle says something like "a slow-clip based reloading system, reliable on something-a-rather")

The actual text is found in base/ui/infopanes.def

you'll have to include that in your package if you want it to work properly.

ULTRA Random ViruS

Quote from: Volt on August 30, 2011, 12:38:55 AM
The actual text is found in base/ui/infopanes.def

you'll have to include that in your package if you want it to work properly.
Thanks soo much.