
Spiral
Joined: Apr 3, 2011
I hope i'm out of the way
|
Posted: Apr 8, 2011 04:47 PM
Msg. 1 of 9
How do you make it so that you spawn in a vehicle  or start in one Edited by spiral on Apr 8, 2011 at 04:56 PM
|
|
|

Spartan314
Joined: Aug 21, 2010
Former biped rigger & FP animator
|
Posted: Apr 8, 2011 05:17 PM
Msg. 2 of 9
Scripts?
|
|
|

Spiral
Joined: Apr 3, 2011
I hope i'm out of the way
|
Posted: Apr 8, 2011 05:57 PM
Msg. 3 of 9
will it work in multiplayer?
|
|
|

milkkookie
Joined: Aug 10, 2010
:)
|
Posted: Apr 8, 2011 09:09 PM
Msg. 4 of 9
im not sure but i think it only works for 1 person
|
|
|

kirby_422
Joined: Jan 22, 2006
Apparently public enemy number 1?
|
Posted: Apr 8, 2011 09:21 PM
Msg. 5 of 9
More details please. You want each person driving their own vehicle, each person in a seat of certain vehicle, have them always in vehicles (so might as well have them each be a vehicle themselves rather than drive one, etc), you want them to only enter vehicles at this spawn area, you want the vehicles to move back to the spawn area as people enter them, etc. Anyways, this is your basic idea (global short NUMBER 0) (script static "unit" player (unit (list_get (players) NUMBER)) )
(script continuous rawrz (if (volume_test_object (player)) (if (= (vehicle_test_seat_list warthog1 "w-driver" (players)) 0) (vehicle_load_magic warthog1 "driver" (player)) (if (= (vehicle_test_seat_list warthog2 "w-driver" (players)) 0) (vehicle_load_magic warthog2 "driver" (player)) (if (= (vehicle_test_seat_list warthog3 "w-driver" (players)) 0) (vehicle_load_magic warthog3 "driver" (player)) )))) (if (< number 15) (set number (+ number 1)) (set number 0)) ) toss a trigger volume in a spawn area you've modeled outside the map. when they enter it, they are forced in the first available vehicle in that list (only made 3 in the example script. you can toss as many as you want)
|
|
|

Spiral
Joined: Apr 3, 2011
I hope i'm out of the way
|
Posted: Apr 9, 2011 12:04 PM
Msg. 6 of 9
when the game starts everyone is in there own vehicle, when they die they will spawn in a new vehicle of there own. it keeps looping, if you keep killing your self there will be thousands of vehicles, i still want them to get out Edited by spiral on Apr 9, 2011 at 12:06 PM
|
|
|

SlappyThePirate
Joined: Aug 24, 2009
You are irritating, I'll release nothing
|
Posted: Apr 9, 2011 01:17 PM
Msg. 7 of 9
Make the player a vehicle, and not a biped?
|
|
|

Spiral
Joined: Apr 3, 2011
I hope i'm out of the way
|
Posted: Apr 9, 2011 01:36 PM
Msg. 8 of 9
tryed that.. i WAS the vehicle, could flip my self and everything Edited by spiral on Apr 9, 2011 at 01:45 PM
|
|
|

kirby_422
Joined: Jan 22, 2006
Apparently public enemy number 1?
|
Posted: Apr 9, 2011 09:51 PM
Msg. 9 of 9
Quote: --- Original message by: spiral
when the game starts everyone is in there own vehicle, when they die they will spawn in a new vehicle of there own. it keeps looping, if you keep killing your self there will be thousands of vehicles, i still want them to get out Edited by spiral on Apr 9, 2011 at 12:06 PM you cant have huge numbers. there are limits on vehicles. Anyways, its best to just not have a vehicle grave yard. either have it teleport the not inuse vehicles to the start, or recreate them, etc. (to lazy to change it for you, do it yourself) Also, I forgot that halomaps doesnt like the arrow things in posts, if you quote the script, you'll see some stuff halomaps isnt displaying.
|
|
|