[Solved] Problem with Bridges

Got problems with Locomotion? Find assistance here!

Moderator: Locomotion Moderators

dbanerjee
Engineer
Engineer
Posts: 42
Joined: 04 Sep 2011 10:41
Location: Somewhere in the world

Re: Problem with Bridges

Post by dbanerjee »

I have solved the problem this is ho i did it

1 i edited out all the bridges (except brick bridge)
2 then i added flyover,arch bridge,concrete bridge and earth slope and some others
3 and voila

THIS IS HOW TRACKST.DAT LOOKS LIKE AT THE MOMENT:-

?xml version="1.0" encoding="ISO-8859-1"?>
<object class="0x91" subclass="0x118EAF" name="TRACKST "><chunk compression="1">
<bitmask name="trackpieces" size="2">
<bit name="diagonal">1</bit>
<bit name="widecurve">1</bit>
<bit name="mediumcurve">1</bit>
<bit name="smallcurve">1</bit>
<bit name="tightcurve">0</bit>
<bit name="normalslope">1</bit>
<bit name="steepslope">0</bit>
<bit name="slopedcurve">1</bit>
<bit name="sbend">1</bit>
<bit name="bit_A">1</bit>
</bitmask>
<bitmask name="stationtrackpieces" size="2">
<bit name="diagonal">1</bit>
<bit name="widecurve">0</bit>
<bit name="mediumcurve">1</bit>
<bit name="smallcurve">1</bit>
<bit name="tightcurve">0</bit>
<bit name="normalslope">0</bit>
<bit name="steepslope">0</bit>
<bit name="slopedcurve">0</bit>
<bit name="sbend">1</bit>
</bitmask>
<variable name="numcompat" size="1">7</variable>
<variable name="nummods" size="1">3</variable>
<variable name="numsignals" size="1">16</variable>
<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">6</variable>
<variable name="numstations" size="1">6</variable>
<variable name="displayoffset" size="1">3</variable>
<description num="0" language="0">Railway Track</description>
<description num="0" language="1">Railroad Track</description>
<description num="0" language="2">Voie de chemin de fer</description>
<description num="0" language="3">Eisenbahngleise</description>
<description num="0" language="4">Vía de ferrocarril</description>
<description num="0" language="5">Binario ferroviario</description>
<description num="0" language="9">ÿ¼±ÿ·Î</description>
<description num="0" language="11">ÿÅKÿ¸ôÿ­yÿ¹D</description>
<useobject desc="compatible[0]" class="17">TRACKNG </useobject>
<useobject desc="compatible[1]" class="20">ROADTMC </useobject>
<useobject desc="compatible[2]" class="20">ROADONE </useobject>
<useobject desc="compatible[3]" class="20">ROADUS2 </useobject>
<useobject desc="compatible[4]" class="20">ROADUS1 </useobject>
<useobject desc="compatible[5]" class="20">ROADRGH </useobject>
<useobject desc="compatible[6]" class="20">ROADTRAM</useobject>
<useobject desc="trackmod[0]" class="16">TREX3RL </useobject>
<useobject desc="trackmod[1]" class="16">TREXCAT1</useobject>
<useobject desc="trackmod[2]" class="16">TREXFRTW</useobject>
<useobject desc="signal[0]" class="10">SIGS </useobject>
<useobject desc="signal[1]" class="10">SIGSL </useobject>
<useobject desc="signal[2]" class="10">SIGSD </useobject>
<useobject desc="signal[3]" class="10">SIGSDL </useobject>
<useobject desc="signal[4]" class="10">SIGC3 </useobject>
<useobject desc="signal[5]" class="10">SIGC4 </useobject>
<useobject desc="signal[6]" class="10">SIGSW </useobject>
<useobject desc="signal[7]" class="10">SIGCSW </useobject>
<useobject desc="signal[8]" class="10">SIGSUS </useobject>
<useobject desc="signal[9]" class="10">SIGCUS </useobject>
<useobject desc="signal[10]" class="10">SIGCUS1 </useobject>
<useobject desc="signal[11]" class="10">SIGCUS2 </useobject>
<useobject desc="signal[12]" class="10">SIGDWARF</useobject>
<useobject desc="signal[13]" class="10">SIGUSGN1</useobject>
<useobject desc="signal[14]" class="10">SIGUSGN2</useobject>
<useobject desc="signal[15]" class="10">SIGUSGO1</useobject>
<useobject desc="signal[16]" class="10">SIGUSGO2</useobject>
<useobject desc="tunnel" class="13">TUNNEL1 </useobject>
<useobject desc="bridge[0]" class="14">FLYOVER </useobject>
<useobject desc="bridge[1]" class="14">BRDGEART</useobject>
<useobject desc="bridge[2]" class="14">BRDGBRCK</useobject>
<useobject desc="bridge[3]" class="14">BRDGARCH</useobject>
<useobject desc="bridge[4]" class="14">BRDGCONC</useobject>
<useobject desc="bridge[5]" class="14">BRDGSTEL</useobject>
<useobject desc="bridge[6]" class="14">BRDGCON1</useobject>
<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>
there is still problem i cant deselect the other bridges like suspension bridge and other bridges that come with the game even if the r not used by rods narrow gauge etc.
THANKS
User avatar
Drengin
Traffic Manager
Traffic Manager
Posts: 156
Joined: 12 Sep 2011 15:38
Location: New York

Re: Problem with Bridges

Post by Drengin »

dbanerjee wrote: there is still problem i cant deselect the other bridges like suspension bridge and other bridges that come with the game even if the r not used by rods narrow gauge etc.
The only way i know of removing them is to edit the roadus.dat and the other road dat's.
dbanerjee
Engineer
Engineer
Posts: 42
Joined: 04 Sep 2011 10:41
Location: Somewhere in the world

Re: Problem with Bridges

Post by dbanerjee »

Drengin wrote:
dbanerjee wrote: there is still problem i cant deselect the other bridges like suspension bridge and other bridges that come with the game even if the r not used by rods narrow gauge etc.
The only way i know of removing them is to edit the roadus.dat and the other road dat's.

THANKS HUH!
User avatar
Emperor Darth Sidious
Tycoon
Tycoon
Posts: 1128
Joined: 07 May 2006 20:22
Location: Landgraaf, the Netherlands
Contact:

Re: Problem with Bridges

Post by Emperor Darth Sidious »

Congratulations Djanerbee !

Finally people start learning and figuring out things for themself before asking ! Keep on trying mate, it's the only way to learn :wink:

@Drengin, How's it hanging mate, long time no see, I spend a lot of my time on facebook at the moment, and not very busy with locomotion now...No wonder after two mods, that costed 3 months or more each :mrgreen:

TTYL mate, perhaps on facebook sometime ?

Regards,

Erik
dbanerjee
Engineer
Engineer
Posts: 42
Joined: 04 Sep 2011 10:41
Location: Somewhere in the world

Re: Problem with Bridges

Post by dbanerjee »

here it is in the pic u see i can deselect the bridges but i can click on them but they wont deselect
Attachments
Screenshot2.png
Screenshot2.png (139.28 KiB) Viewed 1812 times
duncans_pumpkin
Engineer
Engineer
Posts: 4
Joined: 04 Feb 2025 16:46

Re: [Solved] Problem with Bridges

Post by duncans_pumpkin »

Instead of modifying trackst.dat you could just make your bridge indicate that it is compatible with trackst.dat. There is a compatibility object header you can add for both road and track objects. If using LocoTool you will need release 0.5.1 if using the OpenLoco/ObjectEditor it should work in any version.

Code: Select all

	<variable name="trackNumCompatible" size="1">1</variable>
	<useobject desc="tracktype" class="0x11">TRACKST </useobject>
Post Reply

Return to “Locomotion Problems, FAQs and Tutorials”

Who is online

Users browsing this forum: No registered users and 8 guests