Jump to content
Sign in to follow this  
wokstation

Stock script: Civilian-ran air-taxi stations

Recommended Posts

*updated already - now allows you to add new taxi-ranks (bases) after the air-taxis have been initialised*

*Known potential issue: if you reinitialise while a pilot is dead, he'll come back again once the respawn timer is up, meaning there'll be two pilots stood at one base. Won't cause anything nasty...*

Seems those sneaky civvies have been taking advantage of the fact that no-one shoots at them and have started up their own air-taxi operation.

Now you too can have access to their safe way of getting around with my new stock-script, Civilian Air Taxis!

esdairtaxi1.th.jpgesdairtaxi2.th.jpgesdairtaxi3.th.jpg

Download it and an example mission here.

It adds a civilian helicopter-taxi-rank at your chosen places, just approach the pilot, pick your destination and you along with any of your squad within 100m of you will be treated to a really-short (14secs, ish) cut-scene of your flight before setting you at your destination.

It also works out roughly how long the trip should have taken (at 120kph, plus a few minutes for pre-flight checks, loading and flying around tall things) and forwards time the right amount.

"Accidentally" killed the pilot? Don't worry, you can still transport to that location, just not from...

...well, not until WokAir get around to sending a replacement, which could be up to 5mins (change esdAirTaxiDeadCD to change the delay), anyway.

Quote from the readme and init file:

****************************************************

Civilian Air Taxi Transport by esd/WokStation

****************************************************

REQUIRES! Functions module on map and initialised.

REQUIRES! At least one civilian on the map.

REQUIRES! At least two game logics (or other indestructable object) on the map...

REQUIRES FILES:

iniEsdAirTaxi.sqf (this file)

esdAirTaxiTravel.sqf (performs the actual travelling)

esdAirTaxiCreateRank.sqf (sets up each rank)

EsdAirTaxiAddNew.sqf (Adds new taxi ranks after original init)

objectMapper.sqf (Standard version as linked on the biki, used to create the actual rank)

FOLDER: compositions (contains compositions for objectMapper.sqf)

esdComp_civ_helipad.sqf (composition file. Must be inside compositions folder)

REQUIRES MODS:

None.

Usage:

Place game logics where you want taxi-ranks. You will be able to transport between these locations. Name the logics.

Put the names of the logics in the esdAirTaxiDests array below (default has 4, esdAirTaxi1 - 4).

Put names for your taxi-ranks in the respective esdAirTaxiDestNames array (default is "alpha", "bravo", etc).

Run this script from somewhere. nul = [ ] execvm "iniEsdAirTaxi.sqf";

You will now be able to transport between those locations.

To add a new location once the taxi-ranks have been created, run nul = [Object, "name"] execvm EsdAirTaxiAddNew.sqf where Object is the name of the game-logic at which to spawn the base, and "name" is it's new name. All taxi-ranks will be updated to include the new base in it's list of locations.

Edited by Wokstation

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×