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

GapGenerator v2.0

Gap Generator v2.0
IMPORT GUIDE :
1. Enable "Tick the Automatically create unknown variables ..." located at File>Preference>General
2. Import Unit Event OR Unit Indexer OR any other Unit Indexer to your map if none of them is imported. REMEMBER, ONLY ONE UNIT INDEXER ALLOWED IN YOUR MAP!
3. Copy the GapGenerator Folder in the Trigger Editor
4. Configure the GapGeneratorConfig trigger according to the comments provided
5. Utilize the system by referring to GapGeneratorRegisterSample trigger and example triggers in the test map
SYSTEM INFORMATION :
  • GapGeneratorRegisterSample
    • Events
      • Game - GapGenEvent becomes Equal to 1.00
    • Conditions
    • Actions
      • -------- COPY THIS TRIGGER TO REGISTER MULTIPLE UNITS --------
      • -------- DON'T FORGET TO TICK ENABLED --------
      • -------- Unit type to register --------
      • Set GapGenUnitType = No unit-type
      • -------- Range of the gap effect --------
      • Set GapGenUnitTypeRange = 0.00
      • -------- Refresh Rate for gaps --------
      • -------- STATIC GAPS SHOULD USE EXTREMELY HIGH VALUES --------
      • -------- READ THE FOLLOWING NOTES FOR MOBILE GAPS --------
      • -------- Despite it capable of being low-valued, please consider the computational costs --------
      • -------- Too small value will render the system to use a lot of computation to refresh --------
      • -------- Too high value will render the delay between refresh too noticeable for players --------
      • -------- It is up to you, the user, to consider what value works best for your scenario --------
      • Set GapGenUnitTypeRefRate = 0.00
      • -------- There are 3 option for this: VISBLACKMASK, VISFOGOFWAR, VISVISIBLE, each representing the modifier that will be applied --------
      • Set GapGenUnitTypeVis = GapGenVISBLACKMASK
      • -------- If set to False, will affect allies and self instead --------
      • Set GapGenUnitTypeAffectEnemy = True
      • -------- END CONFIG --------
      • Trigger - Run GapGenRegisterTrigger (checking conditions)
In order to register a unit, all these variables must be set by the user. This system works by Unit-Type, since it was meant to mimic the Gap Generator of Red Alert.

MEDIA SHOWCASE :
CHANGELOG :
Version 2.0: Released! Support for both mobile and static gaps
Version 1.0: Initial Concept with Static Gap support only

CREDIT :
- Red Alert for the original concept
Contents

GapGenerator v2.0 (Map)

Reviews
Wrda
Currently won't register the units which have locust due to "pick every unit - in area" method. Must use "owned by player" one. Otherwise, this is very useful for maps such as dungeons, mazes, escapes, terror, or anything that involves vision and...

Wrda

Spell Reviewer
Level 26
Joined
Nov 18, 2012
Messages
1,888
Currently won't register the units which have locust due to "pick every unit - in area" method. Must use "owned by player" one.

Otherwise, this is very useful for maps such as dungeons, mazes, escapes, terror, or anything that involves vision and fog. Well done.

Approved
 
Top