Tutorial Terrain Modifiers [update]

Oninuva

You can change this now in User CP.
Reaction score
221
Terrain Modifiers Update
By: Oninuva


http://img252.imageshack.us/img252/2949/previewvd2.jpg

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

Note you do not need to mass these terrain modifiers as we have set them to have a range of 100.



Create this trigger:

Defense 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)

Movement Modifiers

To create movement speed modifiers, you would repeat steps we did with the Terrain Bonus Modifiers; but this time, instead of using Devotion Aura, we will be using Endurance Aura. You can make the terrain speed units up by having giving +MS or slowing them by -MS. For this you should increase the range to around 300. This is because in most instances, areas of movement speed modifying is quite large or bigger than your average tile.

Note: By using this aura, it will be in a circle area. To have the same effect in a square area, you will need to do some triggering. The basic outline of what you need to do is;

1. Create a new skill based on the auto cast ability slow.

2. When a unit enters a region, check if it already has the buff, if not create a dummy and cast slow on it.

To Moderator: Please remove my old thread as that is outdated. Many useless replies, etc. Please move this to repository to replace it.
 

manofsteel

New Member
Reaction score
36
This is really helpful, not that I have any use for it but maybe if I make a strategy map or something. The movement things should be in slopes and such, (maybe take a screenshot of that?). Anyway good tutorial.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top