Author Topic: Moding Tremulous Config Menu  (Read 5221 times)

General Lee

  • Posts: 3
  • Turrets: +0/-0
Moding Tremulous Config Menu
« 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 :

 
Code: [Select]
  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

  • Posts: 230
  • Turrets: +21/-26
Moding Tremulous Config Menu
« Reply #1 on: February 15, 2007, 09:37:08 pm »
try itemact gren
Quote from: Bullislander05
It's like trying to take apple seeds out of a zebra to plant a giraffe tree.

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
Moding Tremulous Config Menu
« Reply #2 on: February 15, 2007, 09:47:55 pm »
Quote from: "daenyth"
try itemact gren

If you look up, you'd know that he did.
Code: [Select]
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