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 #267613 is a reply to message #267038] Wed, 20 June 2007 21:03 Go to previous messageGo to previous message
Brandon is currently offline  Brandon
Messages: 282
Registered: August 2006
Location: United States
Karma:
Recruit
Reborn wrote on Mon, 18 June 2007 13:48

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.

Umm... I tried the scripts and dependencies but it didn't work server side so Reborn, what exactly do I add this to?
 
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: Wed Feb 12 06:22:47 MST 2025

Total time taken to generate the page: 0.01444 seconds