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!
Moderator: Locomotion Moderators

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.
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.
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>
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...
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...

Tact?Illegal_Alien wrote:[...]or people here realy lacking something.

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.. 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>
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)?



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).

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>

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.

Users browsing this forum: No registered users and 5 guests