Allowing player to attatch and detatch from jeeps!

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Allowing player to attatch and detatch from jeeps!

Post by Master-Of-Fungus-Foo-D »

Well the title explains itself. What kind of trigger would you use? What scrpt do i need? Could someone help me out please?
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

open the global/vehicles_thinkers.scr and scroll down to the PLAYER_JEEP_CONTROLLER thread .
Image
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

but that wont let you DETATCH from the jeep. I mean by attatching and detatching, you can press "e" and you attatch, then press "e" again to detatch.
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

you mean like it BT? check out their scripts. TKO has a weird way of writing scripts, so you'll need to check out a bunch of different ones.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

Ok. Now wheres that bt disc.....
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

no need for the disc, go to the maintt folder, find the pak1/2 and look for maps in it. find the script corrosponding to the level and open 'er up!
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

Detaching is not easy does not want to work right for a drivableVehicle . What you can do is delete the jeep and spawn it again at the same angles and origin of the first jeep . I did by detaching in a map but I changed the jeep from a drivableVehicle to a vehicletank in the tik .
Image
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

is it only me or is that last post not in english ?i didnt understand any sentence of it
Image
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

BD means you can't keep the same jeep, delete your jeep when your player needs out and respawn it. liek so

local.jeepori = $playerjeep.origin
$playerjeep remove
$player tele local.jeepori
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

k ill try that
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Post Reply