Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Crate location and frequency
Re: Crate location and frequency [message #419994 is a reply to message #419973] Sun, 14 February 2010 13:31 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
I don't mind wherever, more people read these forums, so questions are probably better read and answered here I guess.

With SSGM, you could move the crate spawns. The object creation hook has a little look for the crates, and attaches it's own script to them, here:

	
else if (Is_Powerup(obj)) {
		if (!Data->Mod && isin(Commands->Get_Preset_Name(obj),"Crate")) {
			Attach_Script_Once(obj,"MDB_SSGM_Crate","");
		}


At this point, you could move the object to new location depending on the map.

For the frequency you would have to (AFAIK) either make the change in level edit by changing the spawn delay time to something else, or you could just create more crate objects via code, using your own type of crate manager.



 
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
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: CloudyServ download?
Next Topic: Does anyoen have
Goto Forum:
  


Current Time: Fri Dec 20 23:36:02 MST 2024

Total time taken to generate the page: 0.01967 seconds