[HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
Moderator: Locomotion Moderators
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
Hi,
After changing the <useobject desc="station[0]" class="15">TRSTAT1 </useobject> to <useobject desc="station[0]" class="15">MSTAT1 </useobject>
the Locotool says cant read C\:Users\ABC\Desktop\trackst\000.png : No such file or directory
Please help!
After changing the <useobject desc="station[0]" class="15">TRSTAT1 </useobject> to <useobject desc="station[0]" class="15">MSTAT1 </useobject>
the Locotool says cant read C\:Users\ABC\Desktop\trackst\000.png : No such file or directory
Please help!
I'm new to the site Excuse my mistakes
Hard work pays off later, laziness pays off now
LOCOMOTION FOREVER
Hard work pays off later, laziness pays off now
LOCOMOTION FOREVER
- Illegal_Alien
- Tycoon
- Posts: 7824
- Joined: 29 Sep 2004 20:07
- Location: Kingdom of Far Far Away
- Contact:
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
Add another space.
:: Looking for the Locomotion section? Scroll down on the forum index or click here. :: See all releases in Locomotion section? Clicky here! :: Click here for the best tool ever! :: .datCrawler try it! ::
Following roadmap for releases: Whats a roadmap?
Releases of LocoTrains can be found by checking the posts of: LocoTrains - Goold old AMI Trains member of the first hour.
I have Private Messaging disabled, because of the stupid questions i get in my PM box.
Want to talk to me? Get on the #tycoon and #locomotion channel on OFTC thingy. :: Evolution of men: Loosing more braincells, everytime you post...
Following roadmap for releases: Whats a roadmap?
Releases of LocoTrains can be found by checking the posts of: LocoTrains - Goold old AMI Trains member of the first hour.
I have Private Messaging disabled, because of the stupid questions i get in my PM box.
Want to talk to me? Get on the #tycoon and #locomotion channel on OFTC thingy. :: Evolution of men: Loosing more braincells, everytime you post...
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
Hi,
Thanks a lot! I finally got it to work.
Thanks a lot! I finally got it to work.
I'm new to the site Excuse my mistakes
Hard work pays off later, laziness pays off now
LOCOMOTION FOREVER
Hard work pays off later, laziness pays off now
LOCOMOTION FOREVER
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
Illegal_Alien wrote:Before you continue
Be warned: I am not responsible for any damage to your Locomotion installation, or your mariage. Make sure you have a full copy of your working objdata folder.
|||| My OTTD/TTDP pics ||||Currently slighty obsessed with getting Platinum Trophies||||Retired moderator||||
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
No, it means if you do something wrong, you'll have to re-install Locomotion.IT WONT WORK! wrote:But does it like break your disk? I don't understand it.Badger wrote:Illegal_Alien wrote:Before you continue
Be warned: I am not responsible for any damage to your Locomotion installation, or your mariage. Make sure you have a full copy of your working objdata folder.
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
Hi guys.
I have a quick question :
I'd like to install zimms depots to my Locomotion.
I putted all the files into the ObjData folder
Then I opened the trackst.xml
I added them in lines:
But then I was realized that there is just only 7 statiuons possible in locomotion.
But ok then there is just five and the first (Depot00) is just the seventh of them
Everything is in the scenario editor - I selected them, but nothing.
The stations menu can't have them
Then I searched the savegame in the Locomotion savegame editor and I found that the railway track dont uses these stations ._. Why? What can I do? Please reply
I have a quick question :
I'd like to install zimms depots to my Locomotion.
I putted all the files into the ObjData folder
Then I opened the trackst.xml
I added them in lines:
Code: Select all
<useobject desc="station[0]" class="15">TRSTAINV</useobject>
<useobject desc="station[1]" class="15">TRSTAT2 </useobject>
<useobject desc="station[2]" class="15">TRSTAT3 </useobject>
<useobject desc="station[3]" class="15">TRSTAT4 </useobject>
<useobject desc="station[4]" class="15">TRSTAT5 </useobject>
<useobject desc="station[5]" class="15">TRSTATFR</useobject>
<useobject desc="station[6]" class="15">TRSTAFRT</useobject>
<useobject desc="station[7]" class="15">DEPOT00 </useobject>
<useobject desc="station[8]" class="15">DEPOT40 </useobject>
<useobject desc="station[9]" class="15">DEPOT80 </useobject>
But ok then there is just five and the first (Depot00) is just the seventh of them
Everything is in the scenario editor - I selected them, but nothing.
The stations menu can't have them
Then I searched the savegame in the Locomotion savegame editor and I found that the railway track dont uses these stations ._. Why? What can I do? Please reply
Aye!
- Emperor Darth Sidious
- Tycoon
- Posts: 1103
- Joined: 07 May 2006 20:22
- Location: Landgraaf, the Netherlands
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
Best thing to do is make a choice wich depot's you want to use...I only use 2 myself, because I want to use some other stations as well.
Since you can only use 7 stations the game wont read more of them...
<variable name="numstations" size="1">7</variable>
If you change this line to a higher number the game will crash...so you have to leave it untouched.
So pick on or two you like and replace them with one of the original stations like this, this is how my TRACKST.xml looks like:
<useobject desc="station[0]" class="15">TRSTAINV</useobject>
<useobject desc="station[1]" class="15">TRSTAT2 </useobject>
<useobject desc="station[2]" class="15">DEPOT00 </useobject>
<useobject desc="station[3]" class="15">DEPOT80 </useobject>
<useobject desc="station[4]" class="15">TRSTAT5 </useobject>
<useobject desc="station[5]" class="15">TRSTATFR</useobject>
<useobject desc="station[6]" class="15">TRSTAFRT</useobject>
Number 0 counts as a number as well...so DEPOT00 being number 7 (in you're XML file, not mine) is actually number 8, and therefore cannot be used. The game will see them and you'll see them in the editor, but you will only be able to use the first 7 from the XML.file...(numbers 0 to 6)
Hope this helped !
Since you can only use 7 stations the game wont read more of them...
<variable name="numstations" size="1">7</variable>
If you change this line to a higher number the game will crash...so you have to leave it untouched.
So pick on or two you like and replace them with one of the original stations like this, this is how my TRACKST.xml looks like:
<useobject desc="station[0]" class="15">TRSTAINV</useobject>
<useobject desc="station[1]" class="15">TRSTAT2 </useobject>
<useobject desc="station[2]" class="15">DEPOT00 </useobject>
<useobject desc="station[3]" class="15">DEPOT80 </useobject>
<useobject desc="station[4]" class="15">TRSTAT5 </useobject>
<useobject desc="station[5]" class="15">TRSTATFR</useobject>
<useobject desc="station[6]" class="15">TRSTAFRT</useobject>
Number 0 counts as a number as well...so DEPOT00 being number 7 (in you're XML file, not mine) is actually number 8, and therefore cannot be used. The game will see them and you'll see them in the editor, but you will only be able to use the first 7 from the XML.file...(numbers 0 to 6)
Hope this helped !
:: Emperor' Screenshots :: Problem with Bridges :: The Long Station Patch :: Help with Opie's Dutch Stations :: The Serpent "Mod-Free" :: The Empty Region :: The City Oilwell :: The City Flourmill :: The Food-Mod :: The Valuables-Mod V4.0 :: A "One-Sided Station" :: Standard vehicles for Plastikman's Automod :: Maximum production from industries :: Tutorial to change tracks for trams and trains :: My own vehicle creation thread ::
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
Please read again and use some imagination.IT WONT WORK! wrote:"Edit the .XML file
Find in the XML the following lines: (Example of the trackng.dat (Narrow gauge))"
What do you mean by this? I dragged the bridge over to the locotool. Opened the XML file in notepad and i dont get this part...
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
That's because "useobject" won't be found in a bridge XML. It's found in a road or track XML, which is the example used.IT WONT WORK! wrote:That didn't help at all so why bother responding? I read it like 5 times! It doesn't make sense. When i open the XML file in notepad it doesn't show "useobject"Hyronymus wrote:Please read again and use some imagination.IT WONT WORK! wrote:"Edit the .XML file
Find in the XML the following lines: (Example of the trackng.dat (Narrow gauge))"
What do you mean by this? I dragged the bridge over to the locotool. Opened the XML file in notepad and i dont get this part...
- Illegal_Alien
- Tycoon
- Posts: 7824
- Joined: 29 Sep 2004 20:07
- Location: Kingdom of Far Far Away
- Contact:
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
Yes *points at first post*.
:: Looking for the Locomotion section? Scroll down on the forum index or click here. :: See all releases in Locomotion section? Clicky here! :: Click here for the best tool ever! :: .datCrawler try it! ::
Following roadmap for releases: Whats a roadmap?
Releases of LocoTrains can be found by checking the posts of: LocoTrains - Goold old AMI Trains member of the first hour.
I have Private Messaging disabled, because of the stupid questions i get in my PM box.
Want to talk to me? Get on the #tycoon and #locomotion channel on OFTC thingy. :: Evolution of men: Loosing more braincells, everytime you post...
Following roadmap for releases: Whats a roadmap?
Releases of LocoTrains can be found by checking the posts of: LocoTrains - Goold old AMI Trains member of the first hour.
I have Private Messaging disabled, because of the stupid questions i get in my PM box.
Want to talk to me? Get on the #tycoon and #locomotion channel on OFTC thingy. :: Evolution of men: Loosing more braincells, everytime you post...
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
Tact?Illegal_Alien wrote:[...]or people here realy lacking something.
Anyhow people, read through the whole topic carefully before jumping to the conclusion it isn't there.
- Plastikman
- Tycoon
- Posts: 3941
- Joined: 24 Dec 2005 03:14
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
Ugh!
As instructed by everyone else.. not to mention the 800 other people that asked this question already if we tried search...
lets read the first post together shall we?
OK.. now.. if you kept reading you would have read this?
@admins. you do not see screaming red. that is just your eyes tired. that is a good indication that you should ignore this post and get a pint to relax and refresh yourself..
As instructed by everyone else.. not to mention the 800 other people that asked this question already if we tried search...
lets read the first post together shall we?
now lets stop there for a moment... ok. caught the key word? lets go on shall we?Illegal_Alien wrote:Add things to Road, Normal Gauge & Narrow Gauge? (like bridges, stations and signals)
Illegal_Alien wrote:Decompile the .dat file of the Road (road.dat) or Normal Gauge (trackst.dat or Narrow Gauge (trackng.dat) with LocoTool
Drag the file over the LocoTool.exe and drop, you will see an .XML file with the same name as the .dat file you just dragged and dropped.
Edit the .XML file
OK.. now.. if you kept reading you would have read this?
OK.. that should point you in the right direction.....Illegal_Alien wrote: Add the following line (I used the example .dat filename as mentioned.) for a new bridge:Code: Select all
<useobject desc="bridge[5]" class="14">NEWBRDG1</useobject>
@admins. you do not see screaming red. that is just your eyes tired. that is a good indication that you should ignore this post and get a pint to relax and refresh yourself..
North American sets and then some...
US SET Ver 3.1.0 updated ~ Amtrak Pack 3.1.0 ~ US Passenger/Metro Set 3.1.0 updated~ Auto Factory 2.6 ~ VIA Rail Pack ~ LTD ED1 Conrail Alcos ~ LTD ED2 NJ Transit ~ DBR E60 ~ TGV Duplex ~ Umbrella Corp. ~ Comboios de Portugal~ Dekosoft UP/BN/BNSF Sets ~ ICE // MegaPack = 1.0.3.
My Trains are made from 100% recycled electrons!
US SET Ver 3.1.0 updated ~ Amtrak Pack 3.1.0 ~ US Passenger/Metro Set 3.1.0 updated~ Auto Factory 2.6 ~ VIA Rail Pack ~ LTD ED1 Conrail Alcos ~ LTD ED2 NJ Transit ~ DBR E60 ~ TGV Duplex ~ Umbrella Corp. ~ Comboios de Portugal~ Dekosoft UP/BN/BNSF Sets ~ ICE // MegaPack = 1.0.3.
My Trains are made from 100% recycled electrons!
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
For the last time before issueing a warning: read the whole topic carefully and use your imagination. What's been written here may not apply litterally, find the concept / the generic idea behind it.IT WONT WORK! wrote:If im adding them to road. Where do i find road?
Ok. So let me get this through my head. I have to replace the bridge or station with (road.dat) or (trackst.dat or narrow gauge (trackng.dat)?
- Plastikman
- Tycoon
- Posts: 3941
- Joined: 24 Dec 2005 03:14
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
it has been answered.
there are hundred posts out there of people complaining that bridges, signals and stations dont work...
those are advanced mods because you have to EDIT your TRACK file....
Look at what i put in red.
here is one example of someone asking the exact same question about zimmlocks sheds.....
http://www.tt-forums.net/viewtopic.php?p=789755#p789755
there are many more.. hints* search for bridge, station, trackst, etc.
there are hundred posts out there of people complaining that bridges, signals and stations dont work...
those are advanced mods because you have to EDIT your TRACK file....
Look at what i put in red.
here is one example of someone asking the exact same question about zimmlocks sheds.....
http://www.tt-forums.net/viewtopic.php?p=789755#p789755
there are many more.. hints* search for bridge, station, trackst, etc.
North American sets and then some...
US SET Ver 3.1.0 updated ~ Amtrak Pack 3.1.0 ~ US Passenger/Metro Set 3.1.0 updated~ Auto Factory 2.6 ~ VIA Rail Pack ~ LTD ED1 Conrail Alcos ~ LTD ED2 NJ Transit ~ DBR E60 ~ TGV Duplex ~ Umbrella Corp. ~ Comboios de Portugal~ Dekosoft UP/BN/BNSF Sets ~ ICE // MegaPack = 1.0.3.
My Trains are made from 100% recycled electrons!
US SET Ver 3.1.0 updated ~ Amtrak Pack 3.1.0 ~ US Passenger/Metro Set 3.1.0 updated~ Auto Factory 2.6 ~ VIA Rail Pack ~ LTD ED1 Conrail Alcos ~ LTD ED2 NJ Transit ~ DBR E60 ~ TGV Duplex ~ Umbrella Corp. ~ Comboios de Portugal~ Dekosoft UP/BN/BNSF Sets ~ ICE // MegaPack = 1.0.3.
My Trains are made from 100% recycled electrons!
-
- Engineer
- Posts: 6
- Joined: 11 Jan 2011 04:23
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
i tried it and it didnt work
- cartographer29
- Engineer
- Posts: 13
- Joined: 02 Mar 2011 05:44
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
From http://www.tt-forums.net/viewtopic.php?f=40&t=53219
Posting my XML here to see if anyone can find the error. Haven't been able to find the problem and I've gone through the process at least 3 times. Obviously missing something.I've successfully installed Earth Slopes, the Steel Bridge, and am now trying for the Arch Bridge. However, it seems as though the 3rd and final bridge, in whatever combination I try and install them, makes all others become unavailable.
In the scenario creator, all bridge types, including the custom ones, show up and can be selected. However, when I try and play the game, one of two things happens ...
- If only 2 custom bridges are installed and referenced in the TRACKST.DAT, then they will show properly in the list of bridge options when laying track, and can be used willingly.
- If all 3 custom bridges are installed and referenced in the TRACKST.DAT, NONE will show in the list of bridge options and only the game default bridges are available. However, if I build anything but standard track (road, tram, etc.), the Arch bridge is an available option (it's the only custom bridge installed for every mode other than standard rail).
- Attachments
-
- TRACKST.xml
- XML w/ Arch, Steel, and Earth bridges referenced
- (90.15 KiB) Downloaded 446 times
- Plastikman
- Tycoon
- Posts: 3941
- Joined: 24 Dec 2005 03:14
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
cartographer29 wrote:From http://www.tt-forums.net/viewtopic.php?f=40&t=53219
Posting my XML here to see if anyone can find the error. Haven't been able to find the problem and I've gone through the process at least 3 times. Obviously missing something.I've successfully installed Earth Slopes, the Steel Bridge, and am now trying for the Arch Bridge. However, it seems as though the 3rd and final bridge, in whatever combination I try and install them, makes all others become unavailable.
In the scenario creator, all bridge types, including the custom ones, show up and can be selected. However, when I try and play the game, one of two things happens ...
- If only 2 custom bridges are installed and referenced in the TRACKST.DAT, then they will show properly in the list of bridge options when laying track, and can be used willingly.
- If all 3 custom bridges are installed and referenced in the TRACKST.DAT, NONE will show in the list of bridge options and only the game default bridges are available. However, if I build anything but standard track (road, tram, etc.), the Arch bridge is an available option (it's the only custom bridge installed for every mode other than standard rail).
You exceeded the maximum number of bridges per track file.Plastikman wrote:Two big problems with this tutorial. as is, It wont work.
1 You fail to mention the maximum number of mods you can add to a road/track, 7 for stations and bridges. and 16 for signals and only 1 for tunnels.
2 You have to tell the XML how many Mods for each type to look for in the mods section.
Snipped from Trackst.dat. the same lines are valid for the other track/road types.Code: Select all
</bitmask> <variable name="numcompat" size="1">7</variable> <variable name="nummods" size="1">2</variable> <variable name="numsignals" size="1">14</variable> <===========<<< You need to change this line to reflect how many signals You have. (Max 16) <variable name="buildcostfact" size="2">11</variable> <variable name="sellcostfact" size="2">-10</variable> <variable name="tunnelcostfact" size="2">49</variable> <variable name="costind" size="1">1</variable> <variable name="curvespeed" size="2">400</variable> <unknown name="field_1E[4]" size="1">1</unknown> <variable name="numbridges" size="1">7</variable> <===========<<< You need to change this line to reflect how many bridges You have. (Max 7) <variable name="numstations" size="1">7</variable> <===========<<< You need to change this line to reflect how many stations You have. (Max 7) <variable name="displayoffset" size="1">3</variable> <description num="0" language="0">Railway Track</description>
North American sets and then some...
US SET Ver 3.1.0 updated ~ Amtrak Pack 3.1.0 ~ US Passenger/Metro Set 3.1.0 updated~ Auto Factory 2.6 ~ VIA Rail Pack ~ LTD ED1 Conrail Alcos ~ LTD ED2 NJ Transit ~ DBR E60 ~ TGV Duplex ~ Umbrella Corp. ~ Comboios de Portugal~ Dekosoft UP/BN/BNSF Sets ~ ICE // MegaPack = 1.0.3.
My Trains are made from 100% recycled electrons!
US SET Ver 3.1.0 updated ~ Amtrak Pack 3.1.0 ~ US Passenger/Metro Set 3.1.0 updated~ Auto Factory 2.6 ~ VIA Rail Pack ~ LTD ED1 Conrail Alcos ~ LTD ED2 NJ Transit ~ DBR E60 ~ TGV Duplex ~ Umbrella Corp. ~ Comboios de Portugal~ Dekosoft UP/BN/BNSF Sets ~ ICE // MegaPack = 1.0.3.
My Trains are made from 100% recycled electrons!
- cartographer29
- Engineer
- Posts: 13
- Joined: 02 Mar 2011 05:44
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
Could have sworn I read it was 8 somewhere. Perhaps it is because it lists 8 in the scenario creator. Hmmm ... such a pain. Oh well.Plastikman wrote:You exceeded the maximum number of bridges per track file.
Is it possible to remove any of the "in game" bridges to create room for any extra custom ones? Suspension bridge never tickled my fancy really.
Edit: Trial and error answered my question. Yes, I can. So now I have my custom bridges, and the never used suspension bridge has been removed for rail use.
-
- Engineer
- Posts: 7
- Joined: 26 Mar 2011 22:41
- Location: Beverley, UK
Re: [HOWTO]Add things to Road, Normal Gauge & Narrow Gauge?
This has probably been asked A LOT but I've only just joined and couldnt find the search option.
I've downloaded a set of locomotion sheds, installed them. They do come up to select for availablity to use when making a custom scenario and I've selected them, but when I play that scenario they don't appear.
Do I have to use all this coding stuff to get them to work?
I've downloaded a set of locomotion sheds, installed them. They do come up to select for availablity to use when making a custom scenario and I've selected them, but when I play that scenario they don't appear.
Do I have to use all this coding stuff to get them to work?
Who is online
Users browsing this forum: No registered users and 15 guests