Vehicles: What’s possible with scripts.dll [message #68048] |
Sun, 22 February 2004 12:32 |
|
gibberish
Messages: 366 Registered: May 2003
Karma: 0
|
Commander |
|
|
In a multiplayer game assume that I do Create_Object to create a stealth tank and an APC. That way I have handles to the vehicles and the players.
I know I can attach a script to the vehicle so that I can detect when a player gets in or out but what else can I do, for example can I:
- Move a player into a vehicle?
- Force a player out of a vehicle?
- Set the position in the vehicle (Driver, Gunner or Passenger)?
- Disable/enable the player’s ability to control the vehicle so that I can control it with scripts?
- Detect when the driver presses Q to transfer gun control?
- Set if the driver has gun control?
- Cloak/De-cloak a stealth tank with no one in it?
- Cloak/De-cloak a stealth tank with someone in it?
Thanks
Gib
|
|
|
|
Vehicles: What’s possible with scripts.dll [message #68120] |
Sun, 22 February 2004 15:44 |
|
YSLMuffins
Messages: 1144 Registered: February 2003 Location: Moved a long time ago (it...
Karma: 0
|
General (1 Star) Moderator - Mod Forum |
|
|
This may seem off-topic, but not really...
Is it possible (or already possible) for one script to disable another script for the rest ofthe game?
For example, all GDI vehicles would have a repair script attached to them (in the preset library). Perhaps when the repair pad dies, it sends out a custom to disable the unique repair script so that it stops working for the rest of the game.
-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
|
|
|
|
|
Vehicles: What’s possible with scripts.dll [message #68284] |
Mon, 23 February 2004 11:47 |
|
General Havoc
Messages: 1564 Registered: February 2003 Location: Birmingham, England, Unit...
Karma: 0
|
General (1 Star) |
|
|
It's actually more powerfull than anyone expected. Without the scripts.dll RenAlert, Reborn and many other mods and maps wouldn't be possible. There are some quite amazing things done with scripts, especially ones written for RenAlert and Reborn, no one would ever have though that they would be possible before.
You can determine what sort of things are possible by opening up the source code for the DLL. If you read through it you can get the idea of how the scripts work and what sort of things can be done.
Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer
Computer Science Bsc
Aston University in Birmingham, UK
|
|
|
Vehicles: What’s possible with scripts.dll [message #68294] |
Mon, 23 February 2004 12:45 |
|
gibberish
Messages: 366 Registered: May 2003
Karma: 0
|
Commander |
|
|
General Havoc | It's actually more powerfull than anyone expected. Without the scripts.dll RenAlert, Reborn and many other mods and maps wouldn't be possible. There are some quite amazing things done with scripts, especially ones written for RenAlert and Reborn, no one would ever have though that they would be possible before.
|
You have not given credit to the right person here, to the best of my knowledge Westwood never released the source to scripts.dll it was only Jonwil's work that made any of this possible.
Additionally why did Westwood disable so many of the scripts in multiplayer there is a lot of stuff that can be done in single player that would be really useful in MP.
So the current state of play is that script writters have to work around Renegade rather than it providing what we need.
General Havoc | You can determine what sort of things are possible by opening up the source code for the DLL. If you read through it you can get the idea of how the scripts work and what sort of things can be done.
|
I have personally made some fairly substantial mod's to scripts.dll, however I still feel that we need a tutorial written.
As there is still a lot of stuff I don't understand.
Gib
|
|
|
Vehicles: What’s possible with scripts.dll [message #68301] |
Mon, 23 February 2004 13:13 |
|
General Havoc
Messages: 1564 Registered: February 2003 Location: Birmingham, England, Unit...
Karma: 0
|
General (1 Star) |
|
|
-I confused you there a little, I know JW wrote them, just saying that JW and other writers of the scripts have made it possible to do the things done in the mods, without the scripts they wrote, the mods wouldn't be as good as they are now.
I don't think westwood "disabled" them, rather they hit a limitation in their net code that prevents them communicating with the clients properly.
Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer
Computer Science Bsc
Aston University in Birmingham, UK
|
|
|
|