Re: ssgm Sniper [message #324531 is a reply to message #324528] |
Mon, 31 March 2008 11:05 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma:
|
General (3 Stars) |
|
|
Gen_Blacky wrote on Mon, 31 March 2008 12:41 | what function do I change in ssgm source to enable base defenses when game mod is set to sniper gamemode=3
|
I'm at work atm so cannot be sure, catch me on msn or preferably irc in about 4-5 hours if this isnt helpful enough:
There is most likely a conditional in ssgm_base_defence (or something named similar). Look up the ::Created event. It more then likely has a conditional there that says if(gamemode ==3){
comands-destroyobj(obj);
}
It may also have other game modes listed in the if() conditional. But you get the idea...
Or it may be if(!gamemode == 1){
}
Eitherway, you need to remove the line that says destroy object.
This will result in the server never destroying the base defences for any mode, if you are using other modes for other maps then I will help you in a bit more detail.
You also will have to find where it is looking for the agt and oby. Most likely in ssgm_building there is a conditional that says if the building is an agt and the game mode doesnt == 1 or ==3 then apply damage to it.
Sorry I cannot be more specific, but I will help more later if you need it.
|
|
|