Renegade Public Forums
C&C: Renegade --> Dying since 2003â„¢, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Vehicles: What’s possible with scripts.dll
Vehicles: What’s possible with scripts.dll [message #68048] Sun, 22 February 2004 12:32 Go to next message
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 #68118] Sun, 22 February 2004 15:40 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

You cannot do any of that.
Vehicles: What’s possible with scripts.dll [message #68120] Sun, 22 February 2004 15:44 Go to previous messageGo to next message
YSLMuffins is currently offline  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 #68126] Sun, 22 February 2004 16:20 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

no, that idea cant be done.
Vehicles: What’s possible with scripts.dll [message #68127] Sun, 22 February 2004 16:23 Go to previous messageGo to next message
Spike is currently offline  Spike
Messages: 132
Registered: May 2003
Karma: 0
Recruit
It sounds like there really isn't very much that renegade can do, doesn't it Sad

Vehicles: What’s possible with scripts.dll [message #68284] Mon, 23 February 2004 11:47 Go to previous messageGo to next message
General Havoc is currently offline  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 Go to previous messageGo to next message
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 Go to previous messageGo to next message
General Havoc is currently offline  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
Vehicles: What’s possible with scripts.dll [message #68545] Tue, 24 February 2004 13:10 Go to previous message
laeubi is currently offline  laeubi
Messages: 799
Registered: February 2003
Location: Germany
Karma: 0
Colonel

WS don't "disable" scripts, that are jsut things that are only working Server, but not client side. Confused

www.laeubi.de Find Mods, Maps, Tool, Files and More!
< All Tutorials you ever searched for >
< contact me >
"Don't say it is imposible... just find a solution!"
Previous Topic: .mix idea
Next Topic: King Of The Hill
Goto Forum:
  


Current Time: Thu Oct 31 20:37:24 MST 2024

Total time taken to generate the page: 0.00893 seconds