Jump to content

Home

A couple more questions


Miggs the Just

Recommended Posts

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?

Link to comment
Share on other sites

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"

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...