Jump to content
Sign in to follow this  
nana

Move compass elements

Recommended Posts

Would you add a new variation of Move compass elements like the screenshot?

I edit battle_layout.xml and change distanceFromGlue value in "shipDollClip", "gunRotatorClips" and "frustumClip" elements like this:

 

<element>
  <id>shipDollClip</id>
  <hasAnimationInside>false</hasAnimationInside>
 <vglue>
    <type>0</type>
    <glueElementID>vertCenter</glueElementID>
    <glueElementCoord>0</glueElementCoord>
    <elementConstraintType>1</elementConstraintType>
<!--    <distanceFromGlue>-250</distanceFromGlue> -->
    <distanceFromGlue>-100</distanceFromGlue>
  </vglue>
   <hglue>
   <type>0</type>
    <glueElementID>horizCenter</glueElementID>
    <glueElementCoord>0</glueElementCoord>
    <elementConstraintType>4</elementConstraintType>
<!--    <distanceFromGlue>50</distanceFromGlue> -->
    <distanceFromGlue>100</distanceFromGlue>
  </hglue>
  <scaleX>1.0</scaleX>
  <scaleY>1.0</scaleY>
  <active>True</active>
</element>

 

move compass elements.jpg

Edited by nana

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.