after searching for some info about trains
then posting and asking for some info
then getting told to search again and my post closed.
and still finding nothing of use.
i decided to work it out myself - just took a lot longer than needed.
so for anyone that needs a working train without addons this maybe for you.
if it can be improved "im sure it can" please do so and post it up again
as there are very little about trains in this forum.
It works in MP also.
it seems to work better in A2 than OA
anyway have fun with it - jump on the gun and go for a ride
Download Sample Mission Here
Download Scripts Here
Welcome to the ZKs 3D Rail Track Finder
Its very simple to use on any map.
If you want to use this on a different map then
open your editor.
place a unit on the map - make it player.
Give the unit a NAME.
save the mission.
copy all the files execpt mission.sqm to the saved mission folder.
DONE YOUR READY TO GO.
To use the ZKs 3D Rail Track Finder
Start the mission.
Once you in the mission
Goto the map and click on the area you want to have the
train move along.
you unit will be placed there.
Open the ZKs 3D Rail Track Finder action.
place the ball at the start of your route.
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.
DownLoad the ZKs 3D Rail Track Finder