Author Topic: Armoury/Evolve Menu  (Read 7739 times)

ULTRA Random ViruS

  • Posts: 924
  • Turrets: +4/-101
    • ZdrytchX's reference website
Armoury/Evolve Menu
« 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.

/dev/humancontroller

  • Posts: 1033
  • Turrets: +1002/-383
Re: Armoury/Evolve Menu
« Reply #1 on: August 24, 2011, 03:28:55 pm »
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

  • Posts: 924
  • Turrets: +4/-101
    • ZdrytchX's reference website
Re: Armoury/Evolve Menu
« Reply #2 on: August 29, 2011, 02:37:39 pm »
the 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")
« Last Edit: August 29, 2011, 04:20:22 pm by ULTRA Random ViruS »

Volt

  • Posts: 256
  • Turrets: +66/-54
Re: Armoury/Evolve Menu
« Reply #3 on: August 30, 2011, 12:38:55 am »
the 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

  • Posts: 924
  • Turrets: +4/-101
    • ZdrytchX's reference website
Re: Armoury/Evolve Menu
« Reply #4 on: August 30, 2011, 01:50:58 pm »
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.