• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Building rotation

Status
Not open for further replies.
Level 4
Joined
Aug 31, 2011
Messages
88
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!
 
Level 21
Joined
Apr 8, 2017
Messages
1,530
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
 
Level 28
Joined
Feb 18, 2014
Messages
3,580
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.
 
Level 4
Joined
Aug 31, 2011
Messages
88
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
 
Status
Not open for further replies.
Top