Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Nod Turret Shell
Re: Nod Turret Shell [message #267781 is a reply to message #267031] Thu, 21 June 2007 11:08 Go to previous messageGo to previous message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma:
General (2 Stars)

open aow.cpp and find+remove:
Quote:

void M00_Disable_Transition::Killed(GameObject *obj, GameObject *shooter)
{
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));
}
}


open aow.h and find+remove the green colored line:
Quote:

class M00_Disable_Transition : public ScriptImpClass {
void Created(GameObject *obj);
void Damaged(GameObject *obj, GameObject *damager, float damage);
void Killed(GameObject *obj, GameObject *shooter);
void Timer_Expired(GameObject *obj, int number);
bool PlayDamage;
};


Save and compile, then there wont be any destroyed turrets anymore.

Or, if you can point me to the SSAOW version you are using i can
do it for you if you want.


https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png

[Updated on: Thu, 21 June 2007 11:09]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Renx Problem
Next Topic: Scripts.dll under Wine
Goto Forum:
  


Current Time: Fri Feb 07 10:52:37 MST 2025

Total time taken to generate the page: 0.01879 seconds