| 
		
			| Making Buildings Invulnerable [message #165273] | Thu, 04 August 2005 06:51  |  
			| 
				
				
					|  MavTaSe Messages: 4
 Registered: July 2005
 
	Karma: 0
 | Recruit |  |  |  
	| Before I ask my question I want everyone to know that I searched through the forum before asking my question. And there was only one related topic which sadly enough didn't contain a solution... 
 Like the title says, I want to know how to make Buildings invulnerable with Level Edit / Editing Scripts.dll, whichever works. I know you're able to kill the building with ssaow, but that's not my intention. I've already tried numerous things.
 
 
 
Removing mesh prefix so building controller doesn't recognise building
Make armor, health and mct Blamo
Make armor, health and mct SkinC4 ( it's for a sniper mod so I though you can only 'kill' a c4 with repair beam so it'll work, but it didn't.
Remove mct from building ( unchecked 'IsMCT' )
 
 On a sidenote, is editing object.aow a good way to make your mod or not? I heard it gives the other players who ain't got the object.aow zero-bug.
 
 I hope someone can give me a clue how I can do this. Thank you for your time.
 [Updated on: Thu, 04 August 2005 06:54] Report message to a moderator |  
	|  |  | 
	|  | 
	|  | 
	| 
		
			| Re: Making Buildings Invulnerable [message #165318 is a reply to message #165273] | Thu, 04 August 2005 14:03  |  
			| 
				
				|  |  Whitedragon Messages: 832
 Registered: February 2003
 Location: California
 
	Karma: 1
 | Colonel |  |  |  
	| void M00_BUILDING_EXPLODE_NO_DAMAGE_DAK::Created(GameObject *obj) { Set_Max_Health(obj,2000);
 Set_Max_Shield_Strength(obj,2000);
 Commands->Set_Shield_Type(obj,"Blamo");
 }
 
 void M00_BUILDING_EXPLODE_NO_DAMAGE_DAK::Damaged(GameObject *obj, GameObject *damager, float damage) {
 Commands->Set_Health(obj,2000);
 Commands->Set_Shield_Strength(obj,2000);
 Commands->Give_Points(damager,(float)(damage*-1.0),false);
 }
 
 Black-Cell.net
 Network Administrator (2003 - )
 
 DragonServ, Renegade's first IRC interface bot
 Creator and lead coder (2002 - )
 
 Dragonade, Renegade's first server side modification
 Lead coder (2005 - )
 [Updated on: Thu, 04 August 2005 23:25] Report message to a moderator |  
	|  |  |