Home » Renegade Discussions » Mod Release Forum » SSGM plug-in release; Base Defence
Re: SSGM plug-in release; Base Defence [message #274554 is a reply to message #273794] |
Fri, 20 July 2007 16:01 |
|
zunnie
Messages: 2959 Registered: September 2003 Location: Netherlands
Karma:
|
General (2 Stars) |
|
|
void MDB_SSGM_Base_Defense::Killed(GameObject *obj, GameObject *shooter) {
if (Settings->GameMode == 1) {
if (strstr(Commands->Get_Preset_Name(obj),"Nod_Turret_MP")) {
GameObject *DestroyedTurret = Commands->Create_Object("Nod_Turret_Destroyed",Commands->Get_Position(obj));
Commands->Set_Facing(DestroyedTurret,Commands->Get_Facing(obj));
}
if (Settings->LogBuildingKills) {
GameObject *Preset = GetExplosionObj();
if (!Preset) {
Preset = shooter;
}
FDSMessage(StrFormat("%s destroyed thanks to %ls (%s)",Translate_Preset(obj).c_str(),Get_Wide_Player_Name(shooter),Get_Preset_Info(Preset).c_str()),"_BUILDING");
}
}
}
To get rid of the destroyed turret just comment out (or remove):
/*if (strstr(Commands->Get_Preset_Name(obj),"Nod_Turret_MP")) {
GameObject *DestroyedTurret = Commands->Create_Object("Nod_Turret_Destroyed",Commands->Get_Position(obj));
Commands->Set_Facing(DestroyedTurret,Commands->Get_Facing(obj));
}*/
That should do it afaik O_o
|
|
|
|
|
SSGM plug-in release; Base Defence
By: reborn on Tue, 17 July 2007 05:24
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
By: reborn on Tue, 17 July 2007 08:19
|
|
|
Re: SSGM plug-in release; Base Defence
By: Hex on Tue, 17 July 2007 09:26
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
By: reborn on Tue, 17 July 2007 09:44
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
By: Slave on Wed, 18 July 2007 01:11
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
By: reborn on Fri, 20 July 2007 13:18
|
|
|
Re: SSGM plug-in release; Base Defence
By: zunnie on Fri, 20 July 2007 16:01
|
|
|
Re: SSGM plug-in release; Base Defence
By: reborn on Fri, 20 July 2007 16:36
|
|
|
Re: SSGM plug-in release; Base Defence
By: reborn on Fri, 20 July 2007 19:44
|
|
|
Re: SSGM plug-in release; Base Defence
By: reborn on Sat, 21 July 2007 08:49
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
By: reborn on Sat, 21 July 2007 10:18
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
By: zunnie on Sun, 29 July 2007 15:26
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
By: reborn on Wed, 08 August 2007 04:06
|
|
|
Re: SSGM plug-in release; Base Defence
By: reborn on Wed, 08 August 2007 04:52
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
By: Xpert on Wed, 08 August 2007 06:48
|
|
|
Re: SSGM plug-in release; Base Defence
By: Herr on Wed, 08 August 2007 06:53
|
|
|
Re: SSGM plug-in release; Base Defence
By: reborn on Wed, 08 August 2007 07:36
|
|
|
Re: SSGM plug-in release; Base Defence
By: Herr on Wed, 08 August 2007 08:07
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
By: reborn on Wed, 08 August 2007 09:10
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
By: reborn on Wed, 08 August 2007 09:39
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
By: reborn on Sat, 11 August 2007 08:48
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
By: reborn on Sun, 12 August 2007 04:14
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
By: reborn on Mon, 13 August 2007 09:51
|
|
|
Re: SSGM plug-in release; Base Defence
|
|
|
Re: SSGM plug-in release; Base Defence
By: reborn on Tue, 14 August 2007 04:00
|
Goto Forum:
Current Time: Mon Dec 02 10:08:25 MST 2024
Total time taken to generate the page: 0.01156 seconds
|