PDA

View Full Version : A couple more questions


Miggs the Just
09-06-2002, 10:09 PM
sorry just a couple more:

Im wondering which line to edit in g_teams.c to stop the red player from picking up the blue flag Im not sure the exact line, does anyone know?

when i edit the text of a .menu file it starts showing the @menu1_ in the game. Is there a reason for this?

I've almost got my mod done just a couple more things.

Edit:

one more, what is the .menu for the loading screen where it shows the rules for the gametype?

Darth_Linux
09-07-2002, 12:38 AM
Originally posted by Miggs the Just
sorry just a couple more:
when i edit the text of a .menu file it starts showing the @menu1_ in the game. Is there a reason for this?


I just replace the text outright with quotes like this:

"your text here"

like so:

itemDef
{
name none
group weaponcontrols
type ITEM_TYPE_BIND
text "Jeron Fusion Cutter"
cvar "weapon 7"

ASk
09-07-2002, 02:25 AM
The text for the rules is set up in the source code I believe.
cg_info.c, line 326


for the red player being unable to pick up blue flag, go to

g_team.c line 793 (team_touchenemyflag() function)

modify it, it will disable the effect of picking up the flag

Miggs the Just
09-07-2002, 04:07 AM
thanks for the help guys