A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »Script so player CAN'T exit vehicle?

Author Topic: Script so player CAN'T exit vehicle? (8 messages, Page 1 of 1)
Moderators: Dennis

ThetianSoldier
Joined: May 15, 2010

Keyboard not found! Press any key to continue...


Posted: Jan 16, 2011 03:19 AM    Msg. 1 of 8       
I need one for a SP mission.


Volteer55
Joined: Jul 11, 2010


Posted: Jan 16, 2011 05:58 AM    Msg. 2 of 8       
i can do one without scripts, just need your player's (biped) model_animations tag, but if you want the player to exit at a certen spot (if you know what i mean), i will need to make you a small script, your vehicle tag (no need for its resourses) and your animations,

Xfire me if you want me to do this
Xfire: Volteer55

also i will need to know what seat you want me to use (details of what you want over xfire)

if you PM me i will not be able to respond, as for i do not use it.

That is, if you want it to look decent.

if anyone has any other way and disagrees with mine, i would like to know it, and learn.
Edited by Volteer55 on Jan 16, 2011 at 06:02 AM


ally
Joined: Jun 23, 2010

Aye Ready


Posted: Jan 16, 2011 07:02 AM    Msg. 3 of 8       
only way i know is through console...

rider_ejection 0


Volteer55
Joined: Jul 11, 2010


Posted: Jan 16, 2011 09:33 PM    Msg. 4 of 8       
i dont think he means "not falling out by fliiping"
i think he means "not able to exit vehicle after entering"

That i can do :3


ally
Joined: Jun 23, 2010

Aye Ready


Posted: Jan 16, 2011 09:46 PM    Msg. 5 of 8       
well seeing your able,would it not make sence to give him the script then?


d4rfnader
Joined: Jul 16, 2010

Open mouth, insert sandwhich.


Posted: Jan 16, 2011 09:48 PM    Msg. 6 of 8       
If the player isn't driving the vehicle you can use:

(player_enable_input 0)


DarkHalo003
Joined: Mar 10, 2008

All ARs Need Green Little Buttons.


Posted: Jan 16, 2011 09:58 PM    Msg. 7 of 8       
Quote: --- Original message by: d4rfnader
If the player isn't driving the vehicle you can use:

(player_enable_input 0)

Basically this if you don't want the player to be able to do anything. Make sure you use (sleep_until) and then (player_enable_input 1) once you reach the desired spot so that the player can move again.

I'm not sure how to allow the player to use other functions though.


Volteer55
Joined: Jul 11, 2010


Posted: Jan 17, 2011 05:58 AM    Msg. 8 of 8       
its not that easy (as far as i know),
i have the vehicle tag and add a seat.
eg the worthog
i make a new seat with the driver marker BUT string with W-Sdriver (in my intell hog)
and in the Player's animations i make a new (forgot name) string called W-Sdriver
and have the exact sub-strings as the W-Driver but without Enter animations, and i alter the W-Driver animations with no Exit animations,
(witch i will have to do this in guerilla),
so all i have to do from then in scripts
is when i want the player to be able to exit in script have the command
(unit_enter_vehicle (list_get (players) 0) test_hog W-Sdriver)

on the down side you will have to disallow the player from entering it again after exiting...
Edited by Volteer55 on Jan 17, 2011 at 06:00 AM

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 11:23 AM 234 ms.
A Halo Maps Website