
BeachParty clan
Joined: Oct 12, 2008
Sooo... You wanna switch to Red team huh?
|
Posted: Feb 14, 2009 03:56 PM
Msg. 1 of 4
There was this command magical seat or so, but how do i set a biped in a seat, even though bipeds can't be named? For instance, the vehicle is called Hog and is a warthog, and i want biped marine to sit in the passenger seat, what do i enter in the console? Help is appreciated, as I'm trying to get different bipeds on the seats, no team issue just the different bipeds without figuring out how to make AI follow you so that they will also sit in the vehicle when you enter it...
|
|
|

MF Boom
Joined: Mar 5, 2007
I am the bone of my sword...
|
Posted: Feb 14, 2009 04:07 PM
Msg. 2 of 4
If you type "unit_" in devmode, and hit "Tab", it'll show all the various commands.
To kill another player in the game, I know it's "unit_kill (list_get (players) #))". The # is determined by typing "sv_players" and counting them backwards starting from 0, so that if you have two players, "1" and "2" on the list, they would be respectively "1" and "0"... If you have 3; "1" "2" and "3", they would be "2" "1" and "0" respectively... "0" is always the most recent person to join.
So, to force the most recent entrant to enter your vehicle's passenger seat, it would be "unit_enter_vehicle (list_get (players) 0)) Hog W-pass", I believe... Someone correct me if I'm wrong on this. As to how to force any other biped, it would /have/ to have a name, somehow.
|
|
|

BeachParty clan
Joined: Oct 12, 2008
Sooo... You wanna switch to Red team huh?
|
Posted: Feb 14, 2009 04:12 PM
Msg. 3 of 4
I'll go try bump possessing and let the client sit in then tele myself in, i'll post it when it worked, thanks for the command
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Feb 14, 2009 09:59 PM
Msg. 4 of 4
Quote: --- Original message by: BeachParty clan There was this command magical seat or so, but how do i set a biped in a seat, even though bipeds can't be named? For instance, the vehicle is called Hog and is a warthog, and i want biped marine to sit in the passenger seat, what do i enter in the console? Help is appreciated, as I'm trying to get different bipeds on the seats, no team issue just the different bipeds without figuring out how to make AI follow you so that they will also sit in the vehicle when you enter it... Bipeds CAN be named. Just name them, then magically load them. However, I don't know how well this works if the biped isn't attached to an AI encounter. Usually, I would place them in Sapien, and test it out to see if they will drive (after being attached).
|
|
|
| |
|
|
 |
|