Page 1 of 1

Opel Trux

Posted: Fri Jun 20, 2003 11:42 pm
by Alcoholic
what are all the valid slots (driver and passenger) on the opel truck? where are they all located on the truck?

Posted: Sat Jun 21, 2003 4:24 am
by mohaa_rox
u have to import the model to see the bones.

Posted: Sat Jun 21, 2003 5:37 am
by Alcoholic
import it in what?

Posted: Sat Jun 21, 2003 9:51 am
by Angex
Well, I looked in the vehicle_thinkers script which uses the following:

There are upto six passenger slots (1-6).

Code: Select all

truck_targetname AttachPassengerSlot slotnumber solider_targetname

E.G.
$truck AttachPassengerSlot 1 $jerry
To add a driver use this, I'm guessing there are at least two driver slots, to add a driver, and front seat passenger (starting at 0).

Code: Select all

truck_targetname AttachDriverSlot slotnumber solider_targetname

E.G.
$truck AttachDriverSlot 0 $driver

Posted: Sat Jun 21, 2003 1:49 pm
by mohaa_rox
AttachPassengerSlot
AttachDriverSlot

stuff like this, we can make vehicles driveable, just with some anims.

like in the kingtiger mission, this is used:

AttachDriverSlot

Posted: Sat Jun 21, 2003 6:37 pm
by Alcoholic
i know how to do it i was wondering what slots where which...

There is one driver slot (slot 0).

there are 7 passenger slots.

Passenger slots:

Slot 0 :Shotgun seat
Slot 1: front left on truckbed Slot 4 :front right
Slot 2: middle left on truckbed Slot 5 :middle right
Slot 3: bottom left on truckbed Slot 6 :bottom right

Posted: Sat Jun 21, 2003 6:45 pm
by nuggets
attaching players to trucks has been done and is old hat now, making them drivable i've done but not giving up just yet... i'm trying to use it in one of my own maps 1st

attaching the player to a jeeps and having another player as one the turret is what i've been working on and done it through a more complicated way of attaching the player there, as in m1l2a or 2b,

having changed the .tik file so it doesn't spawn a turret but adding another one through scripting so it has a targetname, with an offset, but using the drive commands won't work with a bound item on the jeep, having to use moveto

hope that makes some sense :P

Posted: Sat Jun 21, 2003 6:48 pm
by Alcoholic
ok.... you lost me completely... :shock:

Posted: Sat Jun 21, 2003 7:18 pm
by nuggets
lol, i lost me too, but i found it makes sense when read slowly :P

Posted: Sat Jun 21, 2003 7:39 pm
by Alcoholic
oh ya i get it now.