Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts.dll 1.8 is being worked on (I need ideas people)
scripts.dll 1.8 is being worked on (I need ideas people) [message #102123] Fri, 16 July 2004 21:23 Go to previous messageGo to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma:
General (3 Stars)

ok, some new ideas.
1.a script that will make a building invulnerable when its sent a custom then stop making it invulnerable when its sent another custom (this assumes I can find a way to do it, tests will be needed of various things)

Use this with JFW_Startup_Custom to make it be invulnerable on startup then JFW_Death_Send_Custom and JFW_Customs_Send_Custom to make it stop being invulnerable.

Also, for this "A script that when an Object is destroyed, creates X number of other objects that must be killed before X amount of time. *Example*: Once A Nuclear Missle is destroyed, it plays a destruction animation, leaving four parts of the missle leaking radiation, and if those are not destroyed in X minutes, the game ends."
Heres how to do it.
firstly use JFW_Create_Destroy_Object_On_Custom and JFW_Death_Send_Custom to trigger the creation of the objects.
Said objects would have copies of JFW_Timer_Custom on them. When the timer expires, it would send a custom to a daves arrow with JFW_Custom_Send_Customs (new script to be written) on it which would then call JFW_Custom_Destroy_Building to destroy all the buildings on the map (if a building is already dead, nothing will happen)

"A script that grants X number of points per building alive at the end of the game." is difficult so I wont do it for 1.8.

"
A script that fires a Cinematic after a timer runs out, but if 2 structures are destroyed, the cinematic never starts. *Example*: Map consists of three 'outposts', with 2 buildings each. After 5 minutes, If both structures in the first outpost aren't destroyed, It fires a cinematic, But if they are killed, it never goes off." is easy.
Put JFW_Timer_Play_Cinematic on a daves arrow.
Then use JFW_Death_Send_Custom followed by JFW_Customs_Send_Custom and JFW_Custom_Destroy_Object to make the daves arrow go away once the 2 outpost buildings are destroyed.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
 
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
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
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: .pkg
Next Topic: Making Serverside M0-M13.mix maps
Goto Forum:
  


Current Time: Sun Aug 18 14:03:26 MST 2024

Total time taken to generate the page: 0.01553 seconds