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 #102565] Mon, 19 July 2004 04:56 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

so far, I have the following functions tested and working on windows and linux:
As_PhysicalGameObj (if the GameObject passed to it is a PhysicalGameObj, it returns the object otherwise it returns NULL)
As_DamegableGameObj (if the GameObject passed to it is a DamageableGameObj, it returns the object otherwise it returns NULL)
Get_Model (will get the model name of any valid PhysicalGameObj, returns "DUMMY" if its not a PhysicalGameObj)
Get_Object_Type (will get the Object Type, i.e. GDI, nod etc) for any valid DamageableGameObj (including buildings)
Get_Definition (will get the definition class for any GameObject)
and Get_Class_ID (will get the Class ID given a Definiton Class).

Each definition type in the game has a class ID, for example 0x3001 is the class ID of SoldierGameObjDef and 0x9002 is the class ID of MotorcycleDefClass (a Get_Phys_Definition function to get the physics Definition Class for a PhysicalGameObj is being written)


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
scripts.dll 1.8 is being worked on (I need ideas people) [message #102655] Mon, 19 July 2004 12:36 Go to previous messageGo to next message
Mad Ivan is currently offline  Mad Ivan
Messages: 513
Registered: February 2003
Location: United Kingdom
Karma: 0
Colonel
What about a script that will change the player`s side when he is at a location.Eg.Transitions betwean GDI, Nod, Mutant, Civilian.

If possible it might as well be a piece of the puzzle to get more then 2 playable sides in Ren Wink

Also, another idea is a script that changes the player`s side when he is killed by tiberium Wink


scripts.dll 1.8 is being worked on (I need ideas people) [message #102657] Mon, 19 July 2004 12:57 Go to previous messageGo to next message
PCWizzardo is currently offline  PCWizzardo
Messages: 50
Registered: June 2003
Karma: 0
Recruit
For the swimming infantry, a workaround may be good enough.
Does a Flying Infantry Zone script exist? My idea depends on it.

Create a thin Flying Infantry zone (script zone with script attached) near the surface of the water, and add a physical collision plane beneath it. That way, when the person goes too low, he hits a wall, and when he goes too high (out of the water), he stops flying and falls back into the flying zone.
scripts.dll 1.8 is being worked on (I need ideas people) [message #102736] Mon, 19 July 2004 16:59 Go to previous message
xptek_disabled is currently offline  xptek_disabled
Messages: 1308
Registered: September 2003
Karma: 0
General (1 Star)
Mad Ivan

Also, another idea is a script that changes the player`s side when he is killed by tiberium Wink


If they died from falling damage this would happen as well..


Local oper-irc.ugin.net - A Scrumfy free IRC.
Jonwil > SK
http://www.byterush.net/
Previous Topic: .pkg
Next Topic: Making Serverside M0-M13.mix maps
Goto Forum:
  


Current Time: Sat Dec 28 04:26:24 MST 2024

Total time taken to generate the page: 0.00733 seconds