Author: ZoneKiller
Author Website:

Requirements: No addons required

Version: 1.0

Short description: This script will find all object ID numbers of the trainrails you want to use in for example my "A working train script"".

Date: 2012-06-15 09:36

Comments: (0)


ZKs 3D Rail Track Finder


This script will find all object ID numbers of the trainrails you want to use in for example my A working train script.
It is easy to use and shoud be able to do your train routes in just minutes.

Its very simple to use on any map.

If you want to use this on a different map then open your editor and do the following:
    - place a unit on the map and make it a player
    - give the unit a name
    - save the mission
    - copy all the files execpt mission.sqm from within this archive to the mission folder of the mission you just saved
    - ready to go

Start the mission, once you in the mission go to the map and click on the area you want to have the train move along. Your unit will be placed there. Now open the ZKs 3D Rail Track Finder action and place the ball at the start of your route, click Start, then Click Add Rail Tracks.
Move with W - forward , S - Backwards , W & Up Arrow - Fast along the track -- Track IDs will be shown on the Mini Map
if you make a mistake you can delete the markers and copied IDs one at a time from the last one by pressing Detete.
Or you can delete the all of them by pressing INSERT.

Once you have your route - keep in mind you only need to go one way as the train will travel both ways. Also try and go one stop further at both ends as to not see the train do a U-Turn!
Press C to copy the array to the clipboard then paste it into Train_Start.sqf.
Thats all there is to it.

If your working on a project and want to edit an array you have already made just paste the array into the array_Builder\ZKsArray.sqf in the "Rail_Tracks = []" and it will add all the markers ready to edit.

Forum topic:
- BI forums

Enable javascript to be able to download from Armaholic please!

Tags: Id,   Train