How do I create scripts? [message #91141] |
Sun, 30 May 2004 15:10 |
deadmoap
Messages: 20 Registered: May 2004
Karma: 0
|
Recruit |
|
|
I looked in Script.dll, and it had these funtions:
Create_Script
Destroy_Script
Get_Script_Count
Get_Script_Name
Get_Script_Param_Description
Set_Request_Destroy_Func
Set_Script_Commands
_DllMain@12
I'm guessing that creating a script for renegade would be like creating a script for Messenger Plus, where I just make a DLL that has a few functions and put it in a certain folder.
|
|
|
|
|
How do I create scripts? [message #91226] |
Sun, 30 May 2004 21:01 |
deadmoap
Messages: 20 Registered: May 2004
Karma: 0
|
Recruit |
|
|
You know what I would absolutely love? If EA would at least make it so that we could write progams that hook onto game.exe. If I could at least get the addresses to some of the functions that renegade uses, I could do a lot. I bet renegade also uses some custom events.
But this also be a bad thing, too. Because someone could write a program that gets the position of the nearest enemy, and points the main character right at them, automatically. In fact it would be even easier to increase the speed of characters and vehicles... there's a lot you could do if you knew how to properly hook onto game.exe.
|
|
|
|
How do I create scripts? [message #91489] |
Mon, 31 May 2004 22:07 |
|
if you want to make scripts, you need either Visual C++ 6 or Visual C++ 7 (I am currently using 7.1)
Then you just need to look at the existing scripts and build your own along those lines.
If you have questions, you can contact me in ICQ/AIM/MSN/Yahoo, my details are in the readme.txt of the scripts.
But, do remember, if you create any scripts and give them out, you need to also include source code, as per GPL (see the file copying in the scripts zip file)
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
|
|
|
|
How do I create scripts? [message #91717] |
Tue, 01 June 2004 18:04 |
|
gibberish
Messages: 366 Registered: May 2003
Karma: 0
|
Commander |
|
|
jonwil | If you have questions, you can contact me in ICQ/AIM/MSN/Yahoo, my details are in the readme.txt of the scripts.
|
Have you thought about writting a tutorial about animations and the move/attack commands, I have got to grips with most of the other stuff but I am still having problems with those two.
For example what calls would I need to make, to make the A10 move round the map possibly doing an airstrike against a tank?
I have been able to make an APC follow/attack a player but the same calls don't work for the A10.
As a work around I tried doing setPosition calls, but it looks jurky because of the low net update rate.
Thanks,
Gib
|
|
|