1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. I will no longer be hosting XLNation as of March 1, 2017. Skullz613 will be taking the reigns of the site in early 2017 and XLNation will be moving to a new web hosting service. During that transition there will be an interruption in service of up to two weeks. Skullz613 is now a full administrator of XLNation. Be kind to him.

CXL Platinum Shanghai Tower Fix

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

  1. Uncle Chunkles

    Uncle Chunkles Skilled Worker

    Joined:
    Aug 30, 2014
    Messages:
    6
    Likes Received:
    11
    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.
    http://xlnation.net/resources/shanghai-tower-japanese-texture-building.779/
     
  2. Mr.X²

    Mr.X² Moderator

    Joined:
    Aug 23, 2014
    Messages:
    1,075
    Likes Received:
    1,302
    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

    Joined:
    Aug 22, 2014
    Messages:
    488
    Likes Received:
    132
    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

    Joined:
    Aug 30, 2014
    Messages:
    6
    Likes Received:
    0
    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