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.

Building a Mine...

Discussion in 'Modding Help Quarter' started by wildii, Jun 7, 2016.

  1. wildii

    wildii Mayor

    Joined:
    Oct 1, 2014
    Messages:
    138
    Likes Received:
    433
    Hey,

    been playing with the thought of modding a mine. Is it possible to create the mod in a way, that it will "move" into a mountainous landscape - without terraforming it. The pictures below illustrate what I mean by that:
    mine1.jpg
    mine12.jpg

    And furthermore: Is it possible to create a mod - like an open pit mine - that will terraform the ground?

    Thank you! :)
     
  2. Mr.X²

    Mr.X² Moderator

    Joined:
    Aug 23, 2014
    Messages:
    1,072
    Likes Received:
    1,298
    yeah sure - and pretty easy.. just set collision shape in ur class file like this:
    Code:
            <CollisionShape>
                <Dimension>0,0</Dimension>
                <Height>0</Height>
                <Use>0</Use>
            </CollisionShape>
    "Use" to 0 is the important one!

    and dont forget this one to avoid connection problems to roads if u want:
    Code:
            <MustConnectToRoad>0</MustConnectToRoad>
    so it will look like this:
    Code:
        <EntityPosition>
            <CollisionShape>
                <Dimension>0,0</Dimension>
                <Height>0</Height>
                <Use>0</Use>
            </CollisionShape>
            <UsePlugOrientationForSnap>1</UsePlugOrientationForSnap>
            <AllowSnapAround>1</AllowSnapAround>
            <GardenAsCarpet>0</GardenAsCarpet>
            <MustConnectToRoad>0</MustConnectToRoad>
        </EntityPosition>
        <Placement>
            <Type>BUILDING</Type>
            <GroundType>ANY</GroundType>
            <DelegatePrototype>""</DelegatePrototype>
            <OverPickable>1</OverPickable>
            <Merge>0</Merge>
            <LinkPrototypeFile>""</LinkPrototypeFile>
        </Placement>
     
    wildii likes this.
  3. wildii

    wildii Mayor

    Joined:
    Oct 1, 2014
    Messages:
    138
    Likes Received:
    433
    Thanks!
     

Share This Page