Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts question : Vehicle driver
scripts question : Vehicle driver [message #229549] Tue, 07 November 2006 16:33 Go to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Does anyone know a way to force a player into a vehicle by using scripts.dll? I have searched through the commands in scripts.cpp and engine.cpp but none of them seem to do this, the only similar scripts are for getting the ID of the driver, or counting how many people are in the vehicle.


There seems to be about 10 different scripts related to kicking players out of a vehicle, or damaging them inside the vehicle, but nothing to actually put them inside it in the first place.


http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Tue, 07 November 2006 16:34]

Report message to a moderator

Re: scripts question : Vehicle driver [message #229558 is a reply to message #229549] Tue, 07 November 2006 17:15 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3806
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
I have one thing to say "MDB_Remote_Controlled_Vehicle" it seems to actually teleport you to the vehicle and then you get in.

Re: scripts question : Vehicle driver [message #229565 is a reply to message #229549] Tue, 07 November 2006 17:35 Go to previous messageGo to next message
Viking is currently offline  Viking
Messages: 1692
Registered: July 2005
Location: Earth
Karma: 0
General (1 Star)
If you use that script could you make like a remote controlled turret?

Say you are in a underground bunker.

There is a turret above ground.

Whell youre in the underground bunker you can go to a console hit use and control the turret above ground then when it dies you are still alive underground?



Toggle Spoiler


QUOTES
"The Renegade community revolves around having something awesome, and not sharing it so you can be on top of the mountain." -Canadacdn

Crimson wrote on Thu, 17 May 2007 05:22

Memphis wrote on Tue, 15 May 2007 03:54

...fatally die to death...


I don't know if you meant to do that, but triple redundancy for teh win. I LOL'ed.


Awesome l337 people= Icedog90, Blazea58, Canadacdn, Crimson, jonwil
Re: scripts question : Vehicle driver [message #229570 is a reply to message #229558] Tue, 07 November 2006 18:20 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Jerad Gray wrote on Wed, 08 November 2006 00:15

I have one thing to say "MDB_Remote_Controlled_Vehicle" it seems to actually teleport you to the vehicle and then you get in.


THANK YOU! That's exactly what I needed, can't believe I didn't spot that. Sometimes you just can't see things that are right in front of you.


Although.. the way he does it does not seem to allow you to specify which vehicle to put the player into... although it must work somehow. I will see what I can do with it.


http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Tue, 07 November 2006 18:24]

Report message to a moderator

Re: scripts question : Vehicle driver [message #229572 is a reply to message #229565] Tue, 07 November 2006 19:06 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3806
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Viking wrote on Tue, 07 November 2006 17:35

If you use that script could you make like a remote controlled turret?

Say you are in a underground bunker.

There is a turret above ground.

Whell youre in the underground bunker you can go to a console hit use and control the turret above ground then when it dies you are still alive underground?


On Level 10 of my Halo campaign there is a remote control turret.


Re: scripts question : Vehicle driver [message #229609 is a reply to message #229549] Wed, 08 November 2006 02:49 Go to previous message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Hmm, I got it working with how MDB has it setup, but it requires a 1 second delay before you put the player into the vehicle, preferable I would like to put them in instantly, is this possible in anyway?

http://steamsignature.com/card/1/76561197975867233.png
Previous Topic: hey i was wondering if...
Next Topic: Ion/Nuke beacon purchase
Goto Forum:
  


Current Time: Thu Aug 01 22:25:30 MST 2024

Total time taken to generate the page: 0.00881 seconds