News:

Come Chat with us live! Learn how HERE!

Main Menu

Moding Tremulous Config Menu

Started by General Lee, February 15, 2007, 09:22:40 PM

General Lee

Hello !

Actually i try to modify my Config in game menu.

I try to add the USE GRENADE command to the menu, but it s doesn t work..

In game i can see the option, but i can link a key to this option....

This is my script :

  itemDef
   {
     name upgrades
     group optionsGrp
     type ITEM_TYPE_BIND
     text "Use grenade:"
     cvar "itemact gren"
     rect 96 210 192 15
     textalign ITEM_ALIGN_RIGHT
     textalignx 90
     maxPaintChars 20
     textaligny 12
     textscale .25      
     forecolor 1 1 1 1
     visible 0
     action
     {
       play "sound/misc/menu1.wav";
     }
   }


i tryed with :

itemact "grenade"

but doesn t work.

Can you help me ?

Thx

daenyth

Quote from: Bullislander05
It's like trying to take apple seeds out of a zebra to plant a giraffe tree.

TinMan

Quote from: daenythtry itemact gren
If you look up, you'd know that he did.
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\

NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg