Author: hcpookie
Author Website:

Requirements: No addons required

Version: 1.1
Signed: Yes, serverkey included

Short description: This addon creates a train cab for the BIS train object via the AttachTo command.

Date: 2011-12-27 21:03


Comments: (2)
Rating:



 



Train Cab (with horn and lights)

by
hcpookie


Description:
This addon creates a train cab for the BIS train object via the AttachTo command. This addon is intended for use with a train logic addon like GAC_Trains, etc. The addon also provides train lights, a train horn, a driver position and one cargo passenger position.


Features:
- Attachable train cab for BIS train objects. Must be used with the AttachTo command for the desired effect.
- Train Cab vehicle found under "Civilian > Chernarus > Cars" or "Empty > Cars".
- You can board/depart the train cab like any other vehicle.
- You can blow the train horn when in the driver position.
- Lights include the main headlight, running lights, and a cabin light.


Installation:
As we always recommend use modfolders to seperate the custom content from the official game content to prevent problems. For different ways to set up your modfolders and use them please visit our FAQ.

When you are using the Steam version you can find a Steam mod installation and activation FAQ here.


Included .pbo files:
pook_train.pbo


Usage:
1. Place your train logic like normal in a map that has tracks: Chernarus, Fallujah, Podagorsk, Taviana, etc. Please see my GAC_Trains sample mission templates included with this addon for Fallujah and Chernarus tracks!
2. Name each locomotive something like "choochoo1" etc.
3. Place the "Train Cab" vehicle anywhere on the map.
4. Edit the train cab's INIT field to use the "AttachTo" command:
this AttachTo [choochoo, [0,0,0]];
5. Start the mission.
The train cab will be attached to the train locomotive. Useful actions include boarding, departing, light activation, and use of the train horn.
The train horn is the vehicle weapon, therefore the AI can be scripted to honk the horn at crossings, etc.


Known issues:
- Note that the driver and cargo positions are inside the BIS train's geometry, so they cannot be shot through the windows.
- AI tend to exit the vehicle in a combat area, so use of the "DisableAI" command should be considered if missions might include combat near the train. Otherwise AI will try to bail out, unless hijacking the train is the goal of the mission See the BIS Wiki for more info: http://community.bistudio.com/wiki/disableAI
- Cabin light source is visible while inside the train. Also appears at long distances as a light point.


Credits & Thanks:
Thanks to BIS for ARMA2!
Thanks to Gachopin for his train logic script
Mod by hcpookie - e-mail:

Models based on Arma1 sample models. This mod is ONLY for use with BIS games! You are free to do anything you wish with it so long as it is for a BIS game!


Changelog:
v1.1
- FIX: Restored Get In functionality (Broken GetIn positions on 3D model)
- NEW: Train engine exhaust smoke.


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: Cabin,   Train