 |
|
 |
|
How to: Implement Terrain Modifier Bonuses
Tutorial By Oninuva
Terrain Bonus Modifiers
By: Oninuva

What are they?
Terrain Bonus Modifiers are a way to give units bonus when in ditches or behind cover. This will add a lot to game play and strategy.
Is it hard?
No, not at all, with my tutorial you will learn to create your own!
Preparations
First create a unit based on the human farm. Set the values to:
Abilities: Locust
Ground: none
Model: none.mdl
Size: 0.10
Pathing: none
Collision Size: 0
Food Produced: 0
Copy and paste this newly created unit and rename them to:
Light Cover
Moderate Cover
Heavy Cover
Next create an ability based of Devotion Aurora. Set the values to:
Levels: 3
Hero Ability: False
Range: 100
Targets: Enemy
We will come back to this skill later on.
Now create 3 buffs called:
Light Cover
Moderate Cover
Heavy Cover
Go back to your newly created ability and change the buffs to:
Rank 1: Light Cover
Rank 2: Moderate Cover
Rank 3: Heavy Cover
Place the 3 custom units we created before on places where they are needed. The following is recommended:
Light Cover – Rocks, Trees, Shrubs, Low Height Changes, Other Small Doodads
Moderate Cover – Ditches, Trees, Rocks, Small Doodads
Heavy Cover – Holes, Ditches, Trenches, Cliff Edges, Buildings, Large Doodads
To the triggers!
Create this trigger:
Terrain Modifiers
Events
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
Unit Group - Pick every unit in (Units of type Low Cover) and do (Actions)
Loop - Actions
Unit - Add Cover to (Picked unit)
Unit Group - Pick every unit in (Units of type Moderate Cover) and do (Actions)
Loop - Actions
Unit - Add Cover to (Picked unit)
Unit - Increase level of Cover for (Picked unit)
Unit Group - Pick every unit in (Units of type Heavy Cover) and do (Actions)
Loop - Actions
Unit - Add Cover to (Triggering unit)
Unit - Increase level of Cover for (Picked unit)
Unit - Increase level of Cover for (Picked unit)
You’re done! I hope this tutorial will help you create and design better maps.
To be added in version 2:
-Slow Terrain
-Miss
-Range Increase
-Range Decrease
-Cloudy
--Oninuva
Click here to comment on this tutorial.
|
|
 |
|
 |
Designed by Arkheno
2005 Blizzard
Entertainment®
Blizzard Entertainment is a trademark or registered trademark of Blizzard
Entertainment, Inc. in the U.S. and/or other countries. All rights
reserved. |
|