Home   Help Search Login Register  

Author Topic: Hide in vehicle  (Read 2145 times)

0 Members and 1 Guest are viewing this topic.

Offline Blanco

  • Former Staff
  • ****
Hide in vehicle
« on: 16 Oct 2004, 18:05:54 »
This script simply allows you to hide in vehicle.

Take a look at an M17,M24 or Chinook Helicopter for a while, you will see that the cargodoors are always open, but you can't enter the vehicle.  Not very realistic huh?

My idea was to give the player the possibility to hide in such a vehicle, but only when it's locked in the editor.

Watch out, This script can only work with vehicles with cargospace(s). Tanks and (most) planes  dont have cargospace, only gunner, commander and driver positions.  
When you hide you are not able to drive or use the weapons of that vehicle. (because it's locked)

USAGE :

First place the getout.sqs and Hide.sqs in you own mission folder
...Then place an EMPTY and LOCKED vehicle in the editor.
Run the script in the init like this :

call format ["this addaction [""Hide in %1"",""hide.sqs""]",typeof this]

That's all :-)

You don't need to name the vehicle or place any triggers.


Check the little testmission, no addons needed
« Last Edit: 25 Nov 2004, 06:19:05 by Blanco »
Search or search or search before you ask.

Offline Blanco

  • Former Staff
  • ****
Re:HIde in vehicle
« Reply #1 on: 06 Nov 2004, 05:25:12 »
89 views and no replies?

Is this script perfect or totally useless?  :D

« Last Edit: 06 Nov 2004, 05:25:39 by Blanco »
Search or search or search before you ask.

Offline Blip

  • Members
  • *
  • ...Old OFP FART...
Re:HIde in vehicle
« Reply #2 on: 06 Nov 2004, 07:10:57 »
Hey Blanco-

Looked good, I would say just as an extra like in the readme that the editor shoud put a game logic or two in the vehicle first so that when the player hides in the vehicle they are not sitting in the front seat but rather guaranteed to be in the back where they are less likely to be seen.  (Yes that was all one sentence  ;D)

Other than that, I think its cool.

Blip :joystick:
...NIGHT WALKER....

Rokket

  • Guest
Re:Hide in vehicle
« Reply #3 on: 21 Dec 2004, 13:09:23 »
I think it's a cool idea adds realism and is a bit different. Going to give this a try.

EX-PARA

  • Guest
Re:Hide in vehicle
« Reply #4 on: 11 Jan 2005, 23:23:20 »
Hi Blanco, I for one have always found your scripts to be very useful indeed and add a more realistic feel to any mission they are used in.
Any plans on updating the satelite script you did a while ago?

EX-PARA

Offline Pilot

  • Contributing Member
  • **
Re:Hide in vehicle
« Reply #5 on: 11 Jan 2005, 23:33:04 »
Nice Script! :thumbsup:

However, I did find one problem.  When the vehicle is destroyed, the action still appears in the action menu.

Other than that, it's great!