1. Head to the 33rd Modeling Contest Poll and drink to your heart's desire.
    Dismiss Notice
  2. Choose your means of doom in the 17th Mini Mapping Contest Poll.
    Dismiss Notice
  3. A slave to two rhythms, the 22nd Terraining Contest is here.
    Dismiss Notice
  4. The heavens smile on the old faithful. The 16th Techtree Contest has begun.
    Dismiss Notice
  5. The die is cast - the 6th Melee Mapping Contest results have been announced. Onward to the Hive Cup!
    Dismiss Notice
  6. The glory of the 20th Icon Contest is yours for the taking!
    Dismiss Notice
  7. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Building rotation

Discussion in 'World Editor Help Zone' started by Watcher, Nov 21, 2017.

  1. Watcher

    Watcher

    Joined:
    Aug 31, 2011
    Messages:
    87
    Resources:
    0
    Resources:
    0
    Hi guys,

    How to set a building rotation to match the rotation of all other buildings in game?

    I downloaded a building from this site which didn't had any animation besides stand anim, so I triggered birth, death anim etc...,

    But the rotation of said building is not matching rotation of all other in game buildings and it is instead facing south.

    I have no idea how to set the building rotation, do I need to trigger it somehow or edit model in magos or something else?

    Please help!
     
  2. Diegoit

    Diegoit

    Joined:
    Apr 8, 2017
    Messages:
    1,329
    Resources:
    1
    Models:
    1
    Resources:
    1
    With trigger, move the building to same point but change it rotation.

    Wait for a better description.

    • Something like this
      • Events
        • Unit - A unit Finish a building
      • Conditions
        • (Unit-type of (Constructed structure)) equal to YOUR-BUILDING
      • Actions
        • Unit - Move (Constructed structure) instantly to (Position of (Constructed structure)), facing X-value degrees
     
  3. Warseeker

    Warseeker

    Joined:
    Feb 18, 2014
    Messages:
    3,078
    Resources:
    2
    Maps:
    2
    Resources:
    2
    Buildings uses a default angle when placed on the map which is 270 degree, you can change that in the Gameplay Constants.
    If you want your building to use another angle, you'll have to edit the model by changing its rotation degree.
    You can do that with Magos Model Editor.
     
  4. Watcher

    Watcher

    Joined:
    Aug 31, 2011
    Messages:
    87
    Resources:
    0
    Resources:
    0
    Thank you both for help guys, I used second solution provided by Warseeker, since my map is already trigger-heavy.

    +rep for both of you for effort