Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts.dll 2.1
scripts.dll 2.1 [message #133256] Thu, 20 January 2005 22:08 Go to previous messageGo to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma:
General (3 Stars)

ok, the ObjectLibraryManager::Create_Object hook is in and working on win32, going to do linux next.
I have discovered that it doesnt trigger for any objects pre-placed on the map in leveledit (e.g. buildings that have been pre-placed). Also, it triggers before any scripts on the object that has just been created get run and started.
The Post_Load_Level hook runs after any startup scripts have been started. If you use it to attach a script to an object however, that scripts startup event will trigger.
I am adding more scripts too
JFW_Attach_Script_Building_Startup
JFW_Attach_Script_Preset_Startup
JFW_Attach_Script_Type_Startup
When these scripts startup, they will attach the script to every object of the specified type in the game.

With the new hooks and stuff that I am adding to 2.0, it is now possible to build server-side mods like SSAOW without hooking any stock westwood scripts and without modifying the preset database


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
Previous Topic: C&C Islands- water in tunnels
Next Topic: buildings.zip
Goto Forum:
  


Current Time: Tue Feb 25 12:33:47 MST 2025

Total time taken to generate the page: 0.01099 seconds