- Joined
- Aug 7, 2013
- Messages
- 1,338
Hi,
I've been importing lots of custom models and making them into units.
Suffice to say, those custom models which don't have an obvious analogue (e.g. not based on a WC3 model) turn out a little weird as I try to approximate a similar model.
For example, how do I know what values to set for say a bee that shoots a needle out of its thorax? No WC3 units launch a projectile from that place.
I mean how did Blizzard figure out all these values with their models? There are hundreds of unit models. Surely they didn't go in by hand and tediously tweak the value until the unit looked right. There must be some kind of relationship between the metrics of the model to the values chosen in the object editor. That's what I am missing, because I don't want to keep doing everything by hand.
Here's what I mean with this unit (credits for the model and everything to olofmoleman)
It's based off a riderless wyvern, but the projectile shoots from the top of its back, rather then from its mouth (again no similar unit, I tried using the dragons but their mouth is in a different/higher spot).
I've been importing lots of custom models and making them into units.
Suffice to say, those custom models which don't have an obvious analogue (e.g. not based on a WC3 model) turn out a little weird as I try to approximate a similar model.
For example, how do I know what values to set for say a bee that shoots a needle out of its thorax? No WC3 units launch a projectile from that place.
I mean how did Blizzard figure out all these values with their models? There are hundreds of unit models. Surely they didn't go in by hand and tediously tweak the value until the unit looked right. There must be some kind of relationship between the metrics of the model to the values chosen in the object editor. That's what I am missing, because I don't want to keep doing everything by hand.
Here's what I mean with this unit (credits for the model and everything to olofmoleman)
It's based off a riderless wyvern, but the projectile shoots from the top of its back, rather then from its mouth (again no similar unit, I tried using the dragons but their mouth is in a different/higher spot).
JASS:
//***************
// Pterodaustro
//***************
//! i setobjecttype("units")
//! i createobject(DUMMY_FLYING, make_id(upoi))
//! i makechange(current, "unam", DRAGON)
//! i makechange(current, "properNames", "Pterodaustro (m),Pterodaustro (f)")
//special effect (e.g. give a lightning attack)
////! i makechange(current, "uabi", "Alit")
//! i makechange(current, "umdl", "Pterodaustro.mdx")
//! i makechange(current, "uico", "ReplaceableTextures\\CommandButtons\\BTNPterodaustro.blp")
//! i makechange(current, "ussi", "ReplaceableTextures\\CommandButtons\\BTNPterodaustro.blp")
//! i makechange(current, "usnd", "HippoGryph")
//various art values
//! i makechange(current, "uble", "0.15")
//! i makechange(current, "ucbs", "0.510")
//! i makechange(current, "ucpt", "0.000")
//! i makechange(current, "urun", "200.0")
//! i makechange(current, "uwal", "200.0")
//! i makechange(current, "udtm", "3.0")
//! i makechange(current, "uept", "2")
//! i makechange(current, "uerd", "50.00")
//! i makechange(current, "umxp", "33.00")
//! i makechange(current, "umxr", "00.00")
//orientation interpolation
//! i makechange(current, "uori", "1")
//impact/launch values
//! i makechange(current, "uisz", "0")
//! i makechange(current, "uimz", "60.00")
//! i makechange(current, "ulpx", "0.00")
//! i makechange(current, "ulpy", "0.00")
//! i makechange(current, "ulsz", "0.00")
//! i makechange(current, "ulpz", "60.00")
//! i makechange(current, "uprw", "61.00")
//! i makechange(current, "uaap", "medium")
//the scaling of the model
//! i makechange(current, "usca", "1.00")
//selection circle size
//! i makechange(current, "ussc", "1.75")
//flyers only
//! i makechange(current, "uslz", "230.00")
//unit shadow sizes
//! i makechange(current, "ushx", "90.00")
//! i makechange(current, "ushy", "90.00")
//! i makechange(current, "ushh", "180.00")
//! i makechange(current, "ushw", "180.00")
//tinting values for some units
//! i makechange(current, "uclr", "255")
//! i makechange(current, "uclg", "255")
//! i makechange(current, "uclb", "255")
//what hitting the unit sounds like
//! i makechange(current, "uarm", "Flesh")
//backswing stuff
//! i makechange(current, "ubs1", "0.370")
//! i makechange(current, "udp1", "0.600")
//the unit's projectile (ranged/flying only)
//! i makechange(current, "ua1m", "Abilities\\Spells\\NightElf\\FanOfKnives\\FanOfKnivesMissile.mdl")
//movement height (flyers only)
//! i makechange(current, "umvh", "240.00")
//flyer min height
//! i makechange(current, "umvf", "90.00")
//collision size
//! i makechange(current, "ucol", "32.00")
//point value - index
//! i makechange(current, "upoi", "" .. upoi)
//movement speed
//! i makechange(current, "umvs", "295")
//what sound the unit makes when attacking (melee only)
//! i makechange(current, "ucs1", "NONE")
//the unit's armor type, e.g. "hero"
//! i makechange(current, "udty", "none")
//! i makechange(current, "ua1t", "pierce")
//! i upoi = upoi + 1
Last edited: