Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Making Buildings Invulnerable
Re: Making Buildings Invulnerable [message #165318 is a reply to message #165273] Thu, 04 August 2005 14:03 Go to previous message
Whitedragon is currently offline  Whitedragon
Messages: 832
Registered: February 2003
Location: California
Karma:
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

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: What happened to "Fist of Fate"?
Next Topic: Unlocking LevelEdit
Goto Forum:
  


Current Time: Sat Nov 23 00:41:16 MST 2024

Total time taken to generate the page: 0.00731 seconds