1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. I have started blocking ranges of IP's due to the server load. All IP's blocked are on the blacklists. Previous blocking attempts using the website software have not been 100% so now I'm pulling the big gun's out and they are being blocked on the server. Hopefully no members will be affected.
    Dismiss Notice

CXL Platinum Shanghai Tower Fix

Discussion in 'Tech Support' started by Uncle Chunkles, Sep 20, 2014.

  1. Uncle Chunkles

    Uncle Chunkles Skilled Worker

    Aug 30, 2014
    Likes Received:
    Hello everyone. The Shanghai Tower Resource has a bug or glitch in it that makes it so the building doesn't attach to roads. The building is really cool and I would love to put it in my city, but it needs to be fixed first. Is there anybody willing to fix this problem? It would be greatly appreciated. I would do it myself but I have no knowledge of how to work with code. Here is a link to the resource.
  2. Mr.X²

    Mr.X² Moderator
    Staff Member

    Aug 23, 2014
    Likes Received:
    hmm, well i guess its a sccn mod, so you need to request it there or take a look for updates, i bet its a beta mod
  3. snick

    snick Moderator
    Staff Member

    Aug 22, 2014
    Likes Received:
    If you unpack the mod and are willing to mess around with the layout file, you might be able to solve that problem yourself.

    It doesn't take any real coding knowledge to edit layout/class files, although it would take a small bit of finesse and patience to edit the position of the plug (entity that determines where the road connection is).
  4. vince_venezuela

    vince_venezuela Vagabond

    Aug 30, 2014
    Likes Received:
    Simply add the following line to the class file : <MustConnectToRoad>0</MustConnectToRoad>
    the building will keep snaping to roads AND be fully functional.

    the easiest way is to

    1. open the .patch with Easy Mod XL http://xlnation.net/resources/easy-mod-xl.581/
    2. double click b_sh.class in the left panel
    3. locate the </EntityPosition> line (look a little below <EntityPosition> :) )
    4. add the line <MustConnectToRoad>0</MustConnectToRoad>
    5. go the menu File and select "convert to patch"
    6. save the .emp and overwrite the .patch
    7. exit EasyModXL, launch CXL
    and voilà, ready to plop

Share This Page