Home » Renegade Discussions » Mod Forum » scripts.dll 1.8 progress report
scripts.dll 1.8 progress report [message #102834] |
Tue, 20 July 2004 03:09 |
|
So far, I have implemented the following pieces of code (none of which are in any way based on anything SK has written)
1.InitEngine (this sets up the different addresses for stuff for game.exe, server.dat, RH7 FDS and RH8 FDS depending on what is needed)
2.code to detect the difference between game.exe and server.dat (it works great too)
3.As_PhysicalGameObj (will return the passed in object if it is a PhysicalGameObj, otherwise 0)
4.As_DamageableGameObj (will return the passed in object if it is a DamageableGameObj, otherwise 0)
5.As_SoldierGameObj (will return the passed in object if it is a SoldierGameObj, otherwise 0)
6.Get_Model (returns the name of the model file used for the object if it is a valud PhysicalGameObj otherwise the string "DUMMY" is returned, this is the opposite of the Set_Model script command)
7.Get_Object_Type Returns the type of an object, works for any DamageableGameObj
8.Get_Definition (returns the definition class for any GameObject)
9.Get_Phys_Definition (returns the phyics definition class for any PhysicalGameObj)
10.Get_Class_ID (returns the class ID for any DefinitionClass)
11.Get_Definition_Name (returns the Definition Name for any DefinitionClass, this matches up with the preset name for at least any DefinitionClass from a GameObject)
12.Get_Definition_ID (like Get_Definition_Name but gets the definition ID, this will match the preset ID for any DefinitionClass from a GameObject)
13.Soldier_Re_Init (this one calls SoldierGameObj::Re_Init to load in a new SoldierGameObjDef)
14.Find_Named_Definition (this one finds a valid definition such as a vechicle, soldier or whatever)
15.Post_Re_Init (this one does stuff that needs to be done after calling Soldier_Re_Init)
16.Change_Character (this one takes a GameObject and a preset name. If the preset doesnt exist or is not a SoldierGameObjDef, it returns false. It will also return false if the GameObject is not a SoldierGameObj. Otherwise, it will find the definition with Find_Named_Definition, call Soldier_Re_Init and Post_Re_Init then return true)
17.WideCharToChar (this one is a utillity function that converts a wchar_t *to a char *)
18.Get_Player_Name (this one converts a GameObject into a player name)
19.Get_Player_ID (this one converts a GameObject into a player ID)
and 20.Get_GameObj (this one converts a player ID into a GameObject)
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 progress report
By: jonwil on Tue, 20 July 2004 03:09
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Tue, 20 July 2004 21:35
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: NeoX on Tue, 20 July 2004 22:28
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Tue, 20 July 2004 23:18
|
|
|
scripts.dll 1.8 progress report
By: NeoX on Wed, 21 July 2004 00:19
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Wed, 21 July 2004 02:12
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Wed, 21 July 2004 14:57
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Wed, 21 July 2004 18:19
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Wed, 21 July 2004 21:50
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Wed, 21 July 2004 23:15
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Thu, 22 July 2004 03:21
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Thu, 22 July 2004 04:56
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Thu, 22 July 2004 05:36
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Thu, 22 July 2004 06:12
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Thu, 22 July 2004 15:51
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Thu, 22 July 2004 17:14
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Thu, 22 July 2004 17:32
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Thu, 22 July 2004 19:41
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Fri, 23 July 2004 03:06
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Fri, 23 July 2004 03:11
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Fri, 23 July 2004 03:30
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Fri, 23 July 2004 08:11
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: NeoX on Fri, 23 July 2004 13:34
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Fri, 23 July 2004 15:55
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Fri, 23 July 2004 17:25
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Fri, 23 July 2004 21:28
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Sat, 24 July 2004 00:33
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Sat, 24 July 2004 00:59
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Sat, 24 July 2004 05:58
|
|
|
scripts.dll 1.8 progress report
By: NeoX on Sat, 24 July 2004 08:26
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Sat, 31 July 2004 19:18
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: icedog90 on Sun, 01 August 2004 13:15
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Mon, 02 August 2004 14:05
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Tue, 03 August 2004 14:19
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
|
|
|
scripts.dll 1.8 progress report
By: jonwil on Tue, 03 August 2004 20:08
|
|
|
scripts.dll 1.8 progress report
|
Goto Forum:
Current Time: Thu Jan 30 23:38:45 MST 2025
Total time taken to generate the page: 0.01797 seconds
|