• Welcome to SC4 Devotion Forum Archives.

Released: Tsing Ma Bridge

Started by jeronij, April 09, 2007, 10:57:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kitsune

After numerous testing trying different bridges, and the Tsing Ma at a higher height, I've come to realize that no ferries can pass underneath it, it looks like it smashes into a brick wall when trying in UDI, and no paths show in the transportation map. Any idea if this is fixable?
~ NAM Team Member

choco

great find Kitsune!   :thumbsup:

looks like your right....i had a look and found the problem.  i'll fix it tonight.....

threestooges

Indeed. Thanks for the heads up Kitsune. It looks like the repeat piece exemplar was set to serve as a bridge obstruction. I'll contact Jeronij to see if he would mind us releasing the fix.
-Matt

Kitsune

Apparently, the fix didnt fix the issue, the ferries still cant get under the bridge.
~ NAM Team Member

threestooges

Heh, that's because I haven't finished updating the file yet. Sorry about the delay, school picked up on me, but I'm hitting a slower patch here. I'll take care of it this afternoon and send to Jeronij. If you are comfortable with the Reader you can just go in and remove any reference to "bridge obstruction" properties (setting them to false doesn't work). However, unless you're comfortable with it, I'd suggest caution... bridges like the Tsing Ma are a bit more complex than the average 3-piece.
-Matt

choco

i just downloaded the tsing ma again.....

the installer was updated and has the correct modification date matching the file I altered for review.  meaning, the file on the LEX does NOT have the "bridge obstruction" property on the repeat piece......see the attached image. 

i've used the obstruction property set as false in a couple other bridges, and not had this problem.  we may be barking up the wrong tree here.....

Kitsune

Maybe it has something to do with the double deck? The bridge available is fully pathed for road and rail.
~ NAM Team Member

threestooges

Unlike the basic 3-piece bridge, the Tsing Ma has several pieces that seems to fit multiple places. It takes a little decyphering to figure out what all points where, but pillar pieces are not limited to just the tower area. I deleted the obstruction property from every exemplar in the file and it works fine. The only downside is that you can drive through the tower sections.

The bridge permits boat traffic to pass. Should I send this to Jeronij for upload or should I attempt to make the tower pieces obstructions? I'm tempted to send it now, as is, but it depends on how realistic people want to get with UDI.
-Matt

Kitsune

It doesnt bother me with UDI, most people tend to avoid the towers and prolly wouldnt even notice.
~ NAM Team Member

threestooges

The file is off to Jeronij. It will hopefully be updated soon.

imacie

Hey to all those having trouble seeing this bridge in the menu, i have discovered two issues, if you have either the millau viaduct or a steel rail viaduct by fukuda then this bridge and the asahi kaikyo bridges wont show, hope this helps those who like me were wondering how to get this bridge into the game

choco

the bridges by fukuda that are uploaded to the STEX contain an old version of the bridge .ini file that was later used in the NAM.  those bridges are not NAM compatible. 

some time later, the .ini files were removed from fukuda's bridges and centralized into the NAM Bridge Controller.  Then the modified bridges were uploaded to the LEX. 

I would suggest that you remove the Akashi, Milau, steel viaduct, and steel arch bridges by fukuda and download the NAM compatible bridges from the LEX.  Links are below:

http://sc4devotion.com/csxlex/lex_filedesc.php?lotGET=858
http://sc4devotion.com/csxlex/lex_filedesc.php?lotGET=859 
http://sc4devotion.com/csxlex/lex_filedesc.php?lotGET=860
http://sc4devotion.com/csxlex/lex_filedesc.php?lotGET=861

hope this helps.  :)

imacie

cool thanks choco, i'll try redownloading the millau viaduct and see if it doesn't stop the other bridges from showing.

threestooges

Thanks for taking care of that Choco. The files don't show anything that would indicate they would override one another, so a new download would likely be the best step. Thanks for providing those links.

choco

no problem....... :)

for any inquisitive minds, here's the issue with fukuda's early bridges ....



the file index in the pic above (fukuda's Milau Viaduct) shows that the network INI file (TGI 0x00000000 0x8a5971c5 0x8a5993b9) is included in the bridge file itself....same is true for the steel arch and steel viaduct.  Since only one version of this file can be loaded at a time, the last one to load will be used.  The INI file shown above was updated 902205, so any bridges added after that date will not be available in the game.

the code from the INI file which defines all bridge exemplars is below.  As you can see, there are many bridges missing from the exemplar ID's....thus, although technically NAM compatible, the INI files in fukuda's remove much of the functionality of the current bridge controller.  The version of fukudas bridges on the LEX have been modified to remove the INI file, which was then merged into the bridge controller when the RUL's were separated for modularity.

; Bridge exemplar data

[RoadBridgeExemplars]
; 0x2821ED93
1 = 0x6534284a, 0xa82ca30f, 0x00000001, level road bridge
2 = 0x6534284a, 0xa82ca30f, 0x00000002, raised road bridge
3 = 0x6534284a, 0xa82ca30f, 0x00000003, undertruss road bridge
4 = 0x6534284a, 0xa82ca30f, 0x00000005, wooden covered road bridge
5 = 0x6534284a, 0xa82ca30f, 0x00000006, medium suspension road bridge
6 = 0x6534284a, 0xa82ca30f, 0x00000007, stone arch road bridge
7 = 0x6534284a, 0xa82ca30f, 0x00000008, small steel arch road bridge
8 = 0x6534284a, 0xa82ca30f, 0x00000009, cantilever truss road bridge
9 = 0x6534284a, 0xa82ca30f, 0x0000000a, overdeck truss road bridge
10 = 0x6534284a, 0xa82ca30f, 0x50510000, Old road bridge
11 = 0x6534284a, 0xa82ca30f, 0x50500000, plain road bridge

;OneWayRoad Bridges added by Tropod 10/04/04.
[OneWayRoadBridgeExemplars]
; 0xCBE084CB
1 = 0x6534284a, 0xa82ca30f, 0x09000001, level onewayroad bridge
2 = 0x6534284a, 0xa82ca30f, 0x09000002, raised onewayroad bridge
3 = 0x6534284a, 0xa82ca30f, 0x09000003, undertruss onewayroad bridge
4 = 0x6534284a, 0xa82ca30f, 0x09000005, wooden covered onewayroad bridge
5 = 0x6534284a, 0xa82ca30f, 0x09000006, medium suspension onewayroad bridge
6 = 0x6534284a, 0xa82ca30f, 0x09000007, stone arch onewayroad bridge
7 = 0x6534284a, 0xa82ca30f, 0x09000008, small steel arch onewayroad bridge
8 = 0x6534284a, 0xa82ca30f, 0x09000009, cantilever truss onewayroad bridge
9 = 0x6534284a, 0xa82ca30f, 0x0900000a, overdeck truss onewayroad bridge
9 = 0x6534284a, 0xa82ca30f, 0x59500000, plain onewayroad bridge

;[DirtRoadBridgeExemplars]
;; 0x6BE08658
;1 = 0x6534284a, 0xa82ca30f, 0x5E000001, level dirtroad bridge

[StreetBridgeExemplars]
;; 0xA92A02EA
1 = 0x6534284a, 0xa82ca30f, 0x55000001, level street bridge
2 = 0x6534284a, 0xa82ca30f, 0x55500000, rural street bridge


[RailBridgeExemplars]
; 0xE8347989
1 = 0x6534284a, 0xa82ca30f, 0x00000004, overtruss rail bridge
2 = 0x6534284a, 0xa82ca30f, 0x03000002, undertruss rail bridge
3 = 0x6534284a, 0xa82ca30f, 0x03000003, small steel arch rail bridge
4 = 0x6534284a, 0xa82ca30f, 0x03000004, cantilever truss rail bridge
5 = 0x6534284a, 0xa82ca30f, 0x03000005, overdeck truss rail bridge
6 = 0x6534284a, 0xa82ca30f, 0x53500000, rural rail bridge added 12/05 Smoncrie and Jeronij
7 = 0x6534284a, 0xa82ca30f, 0x53510000, modern rail bridge added 12/05 Smoncrie and Jeronij
8 = 0x6534284a, 0xa82ca30f, 0x53520000, metal pylon rail bridge added 06/06 fukuda
8 = 0x6534284a, 0xa82ca30f, 0x53600000, metal arch rail bridge added 10/06 fukuda

[HighwayBridgeExemplars]
; 0xA8434037
1 = 0x6534284a, 0xa82ca30f, 0x02000001, level highway bridge
2 = 0x6534284a, 0xa82ca30f, 0x02000002, Golden Gate highway bridge
3 = 0x6534284a, 0xa82ca30f, 0x02000003, large suspension highway bridge
4 = 0x6534284a, 0xa82ca30f, 0x02000004, medium suspension highway bridge
5 = 0x6534284a, 0xa82ca30f, 0x02000005, cable stayed highway bridge
6 = 0x6534284a, 0xa82ca30f, 0x02000006, cantilever truss highway bridge
7 = 0x6534284a, 0xa82ca30f, 0x02000007, undertruss highway bridge
8 = 0x6534284a, 0xa82ca30f, 0x02000008, stone arch highway bridge
9 = 0x6534284a, 0xa82ca30f, 0x02000009, small steel arch highway bridge
10 = 0x6534284a, 0xa82ca30f, 0x0200000a, large steel arch highway bridge
11 = 0x6534284a, 0xa82ca30f, 0x0200000b, overdeck truss highway bridge

[AvenueBridgeExemplars]
; 0xCB730FAC
1 = 0x6534284a, 0xa82ca30f, 0x04000001, large steel arch avenue bridge
2 = 0x6534284a, 0xa82ca30f, 0x04000002, large suspension avenue bridge
3 = 0x6534284a, 0xa82ca30f, 0x04000003, stone arch avenue bridge
4 = 0x6534284a, 0xa82ca30f, 0x04000004, cable stayed avenue bridge
5 = 0x6534284a, 0xa82ca30f, 0x04000005, medium suspension avenue bridge
6 = 0x6534284a, 0xa82ca30f, 0x04000006, small steel arch avenue bridge
7 = 0x6534284a, 0xa82ca30f, 0x04000007, cantilever truss avenue bridge
8 = 0x6534284a, 0xa82ca30f, 0x04000008, undertruss avenue bridge
9 = 0x6534284a, 0xa82ca30f, 0x04000009, overdeck truss avenue bridge
8 = 0x6534284a, 0xa82ca30f, 0x54510000, plain avenue bridge
10 = 0x6534284a, 0xa82ca30f, 0x54520000, millau viaduct


[GroundHighwayBridgeExemplars]
; 0xEBE084D1
1 = 0x6534284a, 0xa82ca30f, 0x0a000001, level highway bridge
2 = 0x6534284a, 0xa82ca30f, 0x0a000002, Golden Gate highway bridge
3 = 0x6534284a, 0xa82ca30f, 0x0a000003, large suspension highway bridge
4 = 0x6534284a, 0xa82ca30f, 0x0a000004, medium suspension highway bridge
5 = 0x6534284a, 0xa82ca30f, 0x0a000005, cable stayed highway bridge
6 = 0x6534284a, 0xa82ca30f, 0x0a000006, cantilever truss highway bridge
7 = 0x6534284a, 0xa82ca30f, 0x0a000007, undertruss highway bridge
8 = 0x6534284a, 0xa82ca30f, 0x0a000008, stone arch highway bridge
9 = 0x6534284a, 0xa82ca30f, 0x0a000009, small steel arch highway bridge
10 = 0x6534284a, 0xa82ca30f, 0x0a00000a, large steel arch highway bridge
11 = 0x6534284a, 0xa82ca30f, 0x0a00000b, overdeck truss highway bridge

[LightRailBridgeExemplars]
; 0x2B79DFFB
1 = 0x6534284a, 0xa82ca30f, 0x08000001, elevated rail bridge type 1

[MonoRailBridgeExemplars]
; 0xEBE084C2
1 = 0x6534284a, 0xa82ca30f, 0x0d000001, monorail bridge type 1