1. If you are going to register on XLNation, please make sure you do not use a proxy server.
    If you use a proxy server your registration will most likely get blocked due to spammers and hackers using proxy servers to hide their real IP address.

    If your using your home or work IP address and have not received your registration email, check your spam folder.
    PLEASE DO NOT ASK TO HAVE YOUR ACCOUNT DELETED IF YOU HAVE POSTED IN THE FORUM! If so we do not delete accounts due to the mess it can make on the forum.
    إستبعاد الملاحظة

Building a Mine...

الموضوع في 'Modding Help Quarter' بواسطة wildii, بتاريخ ‏7 يونيو 2016.

  1. wildii

    wildii Governor

    إنضم إلينا في:
    ‏1 أكتوبر 2014
    المشاركات:
    189
    الإعجابات المتلقاة:
    672
    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
    طاقم الإدارة

    إنضم إلينا في:
    ‏23 أغسطس 2014
    المشاركات:
    1,338
    الإعجابات المتلقاة:
    1,714
    yeah sure - and pretty easy.. just set collision shape in ur class file like this:
    كود:
            <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:
    كود:
            <MustConnectToRoad>0</MustConnectToRoad>
    so it will look like this:
    كود:
        <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
  3. wildii

    wildii Governor

    إنضم إلينا في:
    ‏1 أكتوبر 2014
    المشاركات:
    189
    الإعجابات المتلقاة:
    672
    Thanks!
     

مشاركة هذه الصفحة