Adding Railway Networks and Trains to Prepar3d

Forum for Prepar3D Developers to show off their work or post about their add-ons or content created for Prepar3D
NormanLGibson
Posts: 140
Joined: Sat Feb 04, 2012 2:41 am

Adding Railway Networks and Trains to Prepar3d

Postby NormanLGibson » Sun Apr 15, 2018 7:59 am

You can create routes along real world railway networks and have trains travel along these routes at set times by using CCP (Carrier and Convoy Planner) created by FSX@War. You can create your own rail network maps from Open Street Map (OSM) Shape Files. I will explain that later.

The railway networks are best in PR scenery as they fit very accurately to the real railways in the PR scenery. They can be a little off position using default or generic scenery.

You can create a rail map for anywhere in the world where an OSM Shape file exists.

For a start following a request from a forum user I have created a rail network for Washington State USA that you can download from here https://1drv.ms/f/s!Av2KDJ8SuEk0gUJk2iJCv_RtWamN

Install CCP downloaded from here https://www.fsxwar.com/dl.php?app=CCP&v=1.3.3.8

There is a very comprehensive tutorial on how to use CCP in the following video link. Watch from 12 mins for creating routes and convoys for ground vehicles https://www.youtube.com/watch?v=gP6ca4Q ... e=youtu.be

Here is a part of the map in Seattle
Image

If you want to get started install CCP and learn how to create routes and convoys. For now place any ground vehicle to follow the rail network and I will find some trains and give download links. I once purchased a low cost train model from Turbosquid and converted it into a usable sim model but the EULA will prevent giving it away but there are others.

Cheers,

Norm

edakridge
Posts: 2
Joined: Mon Jun 08, 2015 10:53 pm

Re: Adding Railway Networks and Trains to Prepar3d

Postby edakridge » Sat Apr 21, 2018 10:56 am

The scenery in P3Dv4 is much more accurate to real life than previous versions of the sim. This should make the undertaking much easier. I have tinkered with trains in FSX before, but it was a while back. I used the rolling stock models that we did for the FSX@War Southeast Asia pack and converted them to ground vehicles. Using CCP, I had to experiment with the Min/Max delay between vehicles to make a "Train".

Here is a video that shows what can be accomplished: https://www.youtube.com/watch?v=IOdg0Fi ... A&index=26

This was in FSX and I had to slew down the tracks and put each waypoint into the file manually, since FSX's rail network was far off from the real map.

Example:

Code: Select all

<?xml version="1.0" encoding="utf-8"?> <gpx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.1" xmlns="http://www.topografix.com/GPX/1/1"> <wpt lat="31.1937208797247" lon="29.9076052048263"/> <wpt lat="30.8295575232895" lon="28.9405430193044"/> <trk> <trkseg> <trkpt lat="31.1937208797247" lon="29.9076052048263"/> <trkpt lat="31.2005424137257" lon="29.9258887493942"/> <trkpt lat="31.2097678365018" lon="29.9335803046952"/> <trkpt lat="31.2166182010945" lon="29.9392910817193"/> <trkpt lat="31.2206339624591" lon="29.9449929764257"/> <trkpt lat="31.2213527206031" lon="29.9504359772505"/> <trkpt lat="31.2200132116016" lon="29.9573557963653"/> <trkpt lat="31.2134363208967" lon="29.9721006732093"/> <trkpt lat="31.2126378026765" lon="29.9731490554029"/> <trkpt lat="31.2117533867566" lon="29.973880135259"/> <trkpt lat="31.2100391123613" lon="29.9743505481375"/> <trkpt lat="31.208131835604" lon="29.9741565938671"/> <trkpt lat="31.2070665364567" lon="29.9734370242309"/> <trkpt lat="31.2063772260185" lon="29.9726206531521"/> <trkpt lat="31.2057148798511" lon="29.971659389798"/> <trkpt lat="31.2042512728611" lon="29.9673081192114"/> <trkpt lat="31.1981427715292" lon="29.9533382153161"/> <trkpt lat="31.1886089441956" lon="29.9321365158963"/> <trkpt lat="31.1790373300024" lon="29.91120119461"/> <trkpt lat="31.1745498807677" lon="29.9013917294276"/> <trkpt lat="31.1741403309892" lon="29.9004818387923"/> <trkpt lat="31.1718538052995" lon="29.8959930944843"/> <trkpt lat="31.1748767662438" lon="29.8859003591918"/> <trkpt lat="31.1748045182555" lon="29.8836937669821"/> <trkpt lat="31.1741751197002" lon="29.8799667257988"/> <trkpt lat="31.1717687056637" lon="29.8725856970825"/> <trkpt lat="31.1677676950943" lon="29.8650484715952"/> <trkpt lat="31.1639573016431" lon="29.8612830935779"/> <trkpt lat="31.160804706682" lon="29.8577038171727"/> <trkpt lat="31.1579839195878" lon="29.8554757374072"/> <trkpt lat="31.1541096251036" lon="29.8506249233329"/> <trkpt lat="31.1506308454501" lon="29.8492311169551"/> <trkpt lat="31.141932768022" lon="29.8498003549613"/> <trkpt lat="31.1176249590673" lon="29.8544647448261"/> <trkpt lat="31.1060297466841" lon="29.856504745342"/> <trkpt lat="31.093887810739" lon="29.8586475598865"/> <trkpt lat="31.0806728161126" lon="29.86097819326"/> <trkpt lat="31.0787115952011" lon="29.8613190661528"/> <trkpt lat="31.0747645682124" lon="29.8599205937623"/> <trkpt lat="31.0647563406523" lon="29.8515471225312"/> <trkpt lat="31.0536432863709" lon="29.8422431536199"/> <trkpt lat="31.0431482633361" lon="29.8334567773251"/> <trkpt lat="31.0345194707894" lon="29.8262314321469"/> <trkpt lat="31.0277127547385" lon="29.817107269461"/> <trkpt lat="31.0224625161976" lon="29.8100688431503"/> <trkpt lat="31.015087465902" lon="29.7953391017159"/> <trkpt lat="31.0102540807648" lon="29.7856767568266"/> <trkpt lat="31.0064610092125" lon="29.7780922515573"/> <trkpt lat="31.0012362612101" lon="29.7703755917952"/> <trkpt lat="30.9950882829625" lon="29.7653708370262"/> <trkpt lat="30.9888883946226" lon="29.7507285053319"/> <trkpt lat="30.9847458266084" lon="29.7409257683521"/> <trkpt lat="30.9761665756123" lon="29.7261519199942"/> <trkpt lat="30.9741987327293" lon="29.722763371063"/> <trkpt lat="30.9645078099332" lon="29.6994521165297"/> <trkpt lat="30.9586710862446" lon="29.6854077751811"/> <trkpt lat="30.9577155110096" lon="29.6831030382516"/> <trkpt lat="30.9547517788443" lon="29.6679947931402"/> <trkpt lat="30.954259668395" lon="29.6654801070263"/> <trkpt lat="30.947982872466" lon="29.6554305692775"/> <trkpt lat="30.9421040523241" lon="29.6402918716709"/> <trkpt lat="30.9406798733489" lon="29.6366199596293"/> <trkpt lat="30.9326941288783" lon="29.6207304145082"/> <trkpt lat="30.9277244746947" lon="29.6108490105229"/> <trkpt lat="30.9215600030713" lon="29.5985839817675"/> <trkpt lat="30.9172271861942" lon="29.5899651978287"/> <trkpt lat="30.9121370725248" lon="29.5818642865472"/> <trkpt lat="30.9045131524724" lon="29.569744951927"/> <trkpt lat="30.8941462643461" lon="29.5532576818752"/> <trkpt lat="30.8923866954296" lon="29.5504537827749"/> <trkpt lat="30.8914862618839" lon="29.5306343056523"/> <trkpt lat="30.8811406233794" lon="29.5085470403124"/> <trkpt lat="30.8728126596552" lon="29.490777964969"/> <trkpt lat="30.8666778336346" lon="29.4776885263003"/> <trkpt lat="30.862909636715" lon="29.4696472318937"/> <trkpt lat="30.857368198305" lon="29.4518711039817"/> <trkpt lat="30.8528381375199" lon="29.4373439681281"/> <trkpt lat="30.8485428274863" lon="29.4235757616521"/> <trkpt lat="30.8440370128097" lon="29.4173809625119"/> <trkpt lat="30.8399662013572" lon="29.4044369408084"/> <trkpt lat="30.8349898746945" lon="29.3886005954452"/> <trkpt lat="30.8307045235596" lon="29.3749718574905"/> <trkpt lat="30.8217078529231" lon="29.3463608367624"/> <trkpt lat="30.817425879098" lon="29.3327288108637"/> <trkpt lat="30.8098744590746" lon="29.3207449493005"/> <trkpt lat="30.8097144727473" lon="29.3169656090281"/> <trkpt lat="30.8075724993141" lon="29.3129223126147"/> <trkpt lat="30.8017252052706" lon="29.3060489633837"/> <trkpt lat="30.7975475452595" lon="29.2901098899178"/> <trkpt lat="30.7958578938473" lon="29.283658815849"/> <trkpt lat="30.7954026278362" lon="29.2654920529156"/> <trkpt lat="30.7864842030374" lon="29.2339403365772"/> <trkpt lat="30.7865814973149" lon="29.2137443062133"/> <trkpt lat="30.7866570260367" lon="29.1980815892376"/> <trkpt lat="30.7867363022348" lon="29.1818682216149"/> <trkpt lat="30.7867486940346" lon="29.1794828523552"/> <trkpt lat="30.7880549590671" lon="29.1676512259585"/> <trkpt lat="30.7852760351317" lon="29.1616824266412"/> <trkpt lat="30.7841323369158" lon="29.1471952330309"/> <trkpt lat="30.7828804807072" lon="29.1315023560167"/> <trkpt lat="30.7815895749605" lon="29.115273616766"/> <trkpt lat="30.7802184898703" lon="29.0980652221765"/> <trkpt lat="30.7790665632823" lon="29.0835535179064"/> <trkpt lat="30.7818394437748" lon="29.0692406188903"/> <trkpt lat="30.782552611775" lon="29.0655827439099"/> <trkpt lat="30.7893968008421" lon="29.0561836846088"/> <trkpt lat="30.793967495443" lon="29.0424348515657"/> <trkpt lat="30.799212990698" lon="29.0266238843971"/> <trkpt lat="30.8037520571548" lon="29.012948090639"/> <trkpt lat="30.8080463657535" lon="28.9999930187535"/> <trkpt lat="30.814758012844" lon="28.9828834619073"/> <trkpt lat="30.8193967067818" lon="28.9710506901128"/> <trkpt lat="30.8225560634767" lon="28.9630000388137"/> <trkpt lat="30.8283326395992" lon="28.9444852767171"/> <trkpt lat="30.8295575232895" lon="28.9405430193044"/> </trkseg> </trk> </gpx>
Trains can be done, but the work involved can be EXTREMELY tedious.

NormanLGibson
Posts: 140
Joined: Sat Feb 04, 2012 2:41 am

Re: Adding Railway Networks and Trains to Prepar3d

Postby NormanLGibson » Wed Apr 25, 2018 9:34 am

I have created a few train "convoys" using CCP and routes along a rail network in Germany and have inserted the "convoys" into Prepar3d over Megascenery Earth Germany. The trains are small from the air and you will see them travel along the "real" railway lines on the PR scenery. Bridges and tunnels obviously cause a hiccup although in my test a train traveled nicely over a small bridge.

At 15 secs the train is hard to see just behind the chopper.

At 29secs there are three trains one behind the other with a steam locomotive following the other two.

The steam locomotive is a model that I purchased from Turbosquid and converted to a Prepar3d model with steam effects which you can see in the video. The other trains are built from Ed's train component models that can be downloaded from FSX@War SE Asia Pack.

https://www.youtube.com/watch?v=QJxn1Gs ... e=youtu.be


Return to “Development Showcase”

Who is online

Users browsing this forum: No registered users and 2 guests