• 🏆 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!

Object Editor, Unit Combat Basics

Level 10
Joined
Aug 15, 2008
Messages
720
~Introduction~

So, I am here to present basics of "Combat" in World Editor, Object Editor, Unit. So "Combat", What is it? It allows you to customize unit combat types, damage, range, set projectiles, defense and more. So lets get started...

Attacks

Basicly there are 2 attacks, "Attack 1" and "Attack 2", They are used for example Attack 1 is set to attack ground and Attack 2 to air, you can set targets for those 2 attacks by going in "Attack 2 - Targets Allowed" and "Attack 1 - Targets Allowed", its not recommended to set same targets, you can also enable those attacks in "Attacks Enabled", you can set them both to enable "Both", set "Attack 1 Only", set "Attack 2 Only" or "None", choosing "None" will give no attack to your unit, Ingame you wont see Damage 23-45 example if you choose "None", there will be nothing, like example critters, they got nothing, only armor stats showed...

Area Effects
There are Area attacks for Artilery and Missile (Splash) and other special attack types (We will see it later), there are "Area of Effect (Full damage)" , "Area of Effect (Medium Damage)" and "Area of Effec (Small damage)" , The Full of AoE (Area of Effect) damage deals 100% - Armor % reducation damage to targets cought in this AoE type, Medium AoE will deal only some 1/2 from your damage - % armor reducation, The Small AoE might only deal 1/4 from your damage - % armor reducation.

The Range
To set your units Attack range, you must go to "Attack 1 - Range" example, and set your desired range, but you might notice that nothing has changed if you choosed big range, its becouse of "Acquisition Range", Attack range cant be higher than "Acquisition Range", or it wont work, If you set Attack Range to 2000, you must set Acquisition Range also to 2000, in order to work...

Projectiles
Ever wondered how to change missiles? In "Attack 1/2 - Projectile Art" , you can change projectile even to Units, like Catapult who is throwing Footmans, but realastic would be if you choose projectile from section "Units - Missiles"

The Attack Types
You might see maybe that your unit chosen projectile dont work, though you got about 900 attack range, its becouse Your attack might be set to Normal or None, So here are the types and explanations.

None
This attack type disable attack damaging, though you can still see units damage (Example 42-78), but he wont deal any damage, he will only do attack animation...

Normal
Its most normal attack type what is used for melee units with some 100-200 Range, Projectiles wont be shown if your attack type will be Normal.

Instant
Riflemans, Siege Engines are using this, if Attack type is set to Instant, then your projectile will ignore "Projectile Speed" (Attack 1/2 - Projectile Speed = It is used to set projectile speed, low numbers will make projectile very slow moving, high numbers will make projectile fast moving), Instead Projectile will instantly be at target, it wont go to target, it will instantly move to target...

Artilery
Basic Artilery Attack type allows you to use AoE Damage features and allows you to use your projectile...

Missile
Most basic ranged attack type, it will allow to use your chosen projectile in "Projectile Art" to be shooted...

Missile (Splash)
This attack type allows to use Missiles with AoE like Archimonde uses (Whats difrence from Artilery? A: Artilery makes your projectile not to move straight, but it will be thrown up a bit, like Cannon tower does, there are also Projectile Launchs settings what customizes how high your projectile in Artilery type will be thrown up...)

Missile (Bounce)
From Night Elfs (NE) Huntresses uses this attack type, it allows you to make your Attack bounce to nearby targets with your selected Projectile, but in order to do that you must modify "Attack 1/2 - Maximum Number of targets" set that to 5 and then your attack bounces on 5 nearby targets...

Artilery (Line)
This artilery type not only allows to use AoE features but also bounces a bit in Line, Glaive Thrower upgrade "Vorpal Blades" is using this, like if you shoot this attack type to enemy it will bounce to targets behind enemy, you must use "Attack 1/2 - Maximum Number of Targets" again though...

Missile (Line)
This is same as Missile (Bounce) , but it will not bounce on nearby targets, instead it will bounce behind target targets what you ordered to attack, you must of course use "Attack 1/2 - Maximum Number of Targets" though...

Cooldown
There is also such thing as "Attack 1/2 - Cooldown Time" , it allows you to modify attack speed , example 5.00 would be very slow attack speed, artilery units usally are using 3.50, Watch Tower is example 0.70, you can modify them of course...

Defense
There are also defense for units, and this is "Combat - Defense base" , it basicly sets your armor points, place 7 and your unit will have 7 armor...
Also "Combat - Defense Upgrade Bonus" will modify armor points what will be given to base defense (base armor) when Armor Upgrade is researched, example "Steel Plating" from human armor upgrades...

Unit Type
There is also thing as "Combat - Target as" And then you can set what your unit is, there are alot of things to choose, air, ground, enemy, it is used to affect unit attacking targets and when you make spell you need to set what targets the spell attacks, so use this thing to set what your unit is...

=======================================================

I hope you will now understand the basics of Combat editing...

Best Regards, Azeroc
 
Last edited:
Level 24
Joined
Feb 28, 2007
Messages
3,480
Use the

,

and

tags for the title, headings and sub-headings.
--
I think that this is a rather simple tutorial that doesn't really teach people that much. It covers a small area and most people are probably capable of understanding most of these parts without the need of a tutorial such as this one.

 
Level 35
Joined
Feb 5, 2009
Messages
4,560
What you say about using 'none' as your attack type is inaccurate as well. It, in actual fact, allows you to create a dummy attack if you wish to trigger an attack. Just set the attack-base to -1 and the dice to 1 with 1 side. Then it will appear as 0-0 damage.

Tutorial lacks use-ful-ness and has a lot of errors, giving the wrong message to noobs reading this. I don't like it, personally.
 
Top