Tremulous Forum

Mods => Modding Center => Topic started by: Thorn on January 01, 2007, 07:10:57 pm

Title: Stage 4
Post by: Thorn on January 01, 2007, 07:10:57 pm
It seems that adding a forth stage is not as easy as i thought it would be. I've looked through all the source files atleast 10 times by now and i've been trying for days. I've had no sucess from the help in irc :(

Does anyone know how to succesfully add a further stage?
Title: Stage 4
Post by: Rawr on January 03, 2007, 02:18:47 am
i get s4 all the time, its called a server side glitch :)
Title: Stage 4
Post by: n00b pl0x on January 03, 2007, 05:46:22 am
I got stage 666 the other day...really sucked cuz i was actually s3 and it acted like i was s1 :(
Title: Stage 4
Post by: Kuszja on January 09, 2007, 03:03:08 pm
Try in g_main.c under src/game.

If you add a stage, keep in mind that the stages are zero based. In game, if you want humans to be stage 3 you set the stage to 2. I don't know why they did that unless they just got done working with arrays.

If you do make this, make a stage check method that checks the stage of all teams and sets it to the highest playable stage if it is over. My team got set to stage 4 on popupman's server, and no, it was not a glitch. He changed the build points of his team only to some outrageous number the previous match. A stage checker would prevent this kind of foul play.