Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Crate
Re: Crate [message #361503 is a reply to message #361501] Fri, 05 December 2008 05:03 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
ErroR wrote on Fri, 05 December 2008 06:42

i think it's a blocker w3d


reborn wrote on Fri, 05 December 2008 03:45

vehcol2m



I downloaded ssgm from Black-cell at work and looked at MDB_SSGM_Crate::Created to see what it is. The model is for sure "vehcol2m".

Fo'real:
Quote:


//Attached to all crates.
void MDB_SSGM_Crate::Created(GameObject *obj) {
if (!Settings->EnableCrates || Settings->GameMode == 3 || Settings->GameMode == 4) {
Commands->Destroy_Object(obj);
}
else if (Settings->EnableNewCrates) {
if (Data->CrateExists || (The_Game()->GameDuration_Seconds - Data->CrateLastPickup) < 180) {
Commands->Destroy_Object(obj);
}
else {
PickedUp = false;
Data->CrateExists = true;
Commands->Set_Model(obj,"vehcol2m");
Set_Is_Powerup_Persistant(obj,true);
Set_Powerup_Always_Allow_Grant(obj,true);
Set_Powerup_Grant_Sound(obj,0);
}
}
else {
Destroy_Script();
}
}



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OBELISK SKIN!!!
Next Topic: Maps
Goto Forum:
  


Current Time: Mon Dec 23 03:21:02 MST 2024

Total time taken to generate the page: 0.00796 seconds