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 #267038 is a reply to message #267031] Mon, 18 June 2007 11:48 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
YuriVA777 wrote on Mon, 18 June 2007 14:30

When you destroy a Nod Turret it leaves behind that annoying shell, how do you make it to where it doesn't leave behind a shell? If that's not possible then is it possible to make it to where you can blow up the shell (by destroying it too)? Or is it possible that you could replace the destroyed shell with an invisible object that doesn't affect where you move and all etc? If none of this crap is possible then I'll have to use JFW_Disable_Physical_Collison -.-


Erm, add this "if (strstr(Commands->Get_Preset_Name(obj),"deadturretpresetname")) {
Commands->Destroy_Object(obj);" to M00_disable_transition::created, so it would read like this:

void M00_Disable_Transition::Created(GameObject *obj){

	if (strstr(Commands->Get_Preset_Name(obj),"deadturretpresetname")) {
		Commands->Destroy_Object(obj);
	}


That should just destroy the turret immediately when created. However there are other turrets that are not hard coded to spawn the dead one when they are destroyed.



 
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:42:35 MST 2025

Total time taken to generate the page: 0.00790 seconds