Opel Trux

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Opel Trux

Post by Alcoholic »

what are all the valid slots (driver and passenger) on the opel truck? where are they all located on the truck?
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

u have to import the model to see the bones.
Live to map, not map to live.
-mohaa_rox, .map
moderator
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

import it in what?
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post 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
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post 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
Live to map, not map to live.
-mohaa_rox, .map
moderator
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post 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
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post 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
hope this helps, prob not cos it's all foreign 2 me :-/
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

ok.... you lost me completely... :shock:
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

lol, i lost me too, but i found it makes sense when read slowly :P
hope this helps, prob not cos it's all foreign 2 me :-/
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

oh ya i get it now.
Post Reply