• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Making a unit shorter

Status
Not open for further replies.
Level 4
Joined
Nov 18, 2021
Messages
41
Hello, I want to make a really short cannon tower, but I can only make it smaller with scaling it seems . Can I change model only in Z axis?
Or as an alternative remove the stony part of a tower entirely, whatever is simpler
 
Level 27
Joined
Apr 3, 2018
Messages
499
You could edit the model file.
For example in Magos model editor, Node manager create a node, make it parent for all other nodes (by moving them under it and then to the right), and set this parent node's Scaling to { 1, 1, 0.7 } with a global sequence. That would reduce height by 30% without affecting other dimensions.
Or instead of scaling, you can do Translation { 0, 0, -20 } to sink the tower down 20 points.
 
Last edited:
Level 4
Joined
Nov 18, 2021
Messages
41
You could edit the model file.
For example in Magos model editor, Node manager create a node, make it parent for all other nodes (by moving them under it and then to the right), and set this parent node's Scaling to { 1, 1, 0.7 } with a global sequence. That would reduce height by 30% without affecting other dimensions.
Or instead of scaling, you can do Translation { 0, 0, -40 } to move the tower down.
I haven't ever modeled.. Is there a guide somewhere or smth?
 
Level 27
Joined
Apr 3, 2018
Messages
499
There is a tutorial section on Hive. Some techniques like editing nodes are described here:
What I described isn't really modeling but closer to programming the model's behaviour (animations) with a line of code.
 
Well actually you can do it without editing its model by setting its flying height to a negative value that fits the new Z scale you wanted in object editor, Found a way of changing flying height to different preset negative values while in-game. A bit heavy on object editor data as each new negative height requires a separate unit along with attack range and attack type(like chaos/magic/pierce) do as well at least in the frozen throne of legacy wc3.
 
Level 4
Joined
Nov 18, 2021
Messages
41
Well actually you can do it without editing its model by setting its flying height to a negative value that fits the new Z scale you wanted in object editor, Found a way of changing flying height to different preset negative values while in-game. A bit heavy on object editor data as each new negative height requires a separate unit along with attack range and attack type(like chaos/magic/pierce) do as well at least in the frozen throne of legacy wc3.
tyvm, if Im understanding it correctly, this is exactly what I was looking for!
 
Level 4
Joined
Nov 18, 2021
Messages
41
tyvm, if Im understanding it correctly, this is exactly what I was looking for!
Yep, works like a charm
1642381630840.png

/thread
 
Level 12
Joined
Mar 13, 2020
Messages
421
Just as a note for the modeling way of doing this - it might be simple and seemingly clean, but it'll destroy the model if you try the map on reforged as it'll treat it as a custom SD model
My Opinion:

You should never use any models or skins when you create a map playable for Reforged and SD

If you gonna use models then you can just force the map to be only SD or HD in preference
 
Status
Not open for further replies.
Top