Tremulous Forum

Mods => Modding Center => Topic started by: General Lee on February 15, 2007, 09:22:40 PM

Title: Moding Tremulous Config Menu
Post by: General Lee on February 15, 2007, 09:22:40 PM
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
Title: Moding Tremulous Config Menu
Post by: daenyth on February 15, 2007, 09:37:08 PM
try itemact gren
Title: Moding Tremulous Config Menu
Post by: TinMan on February 15, 2007, 09:47:55 PM
Quote from: daenythtry itemact gren
If you look up, you'd know that he did.