• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

A few questions

Status
Not open for further replies.
Level 6
Joined
Apr 15, 2012
Messages
205
1. Is it possible to create terrain boundaries like you could in WC3?

2. How do I make the screen completely black like in Mafia? do I have to create a dialog item image and attach a large black picture to it?

3. Will triggers like these cause the game to lag?
  • Waterfall Energy Regen
    • Events
      • Timer - Every 1.0 seconds of Game Time
    • Local Variables
    • Conditions
    • Actions
      • Unit Group - Pick each unit in (Any units in Waterfall owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
        • Actions
          • Unit - Set (Picked unit) Energy to (((Picked unit) Energy (Current)) + 1.0)
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
1. Yes, you can even go a step up and resize the play field ingame without breaking the mini-map.

2. Use a custom light that floods the screen with black. Remember to test on low visual settings as well as high visual settings to avoid bugs.

There is probably an actor approach as well.

3. No as it generates no net traffic. It is however a stupid trigger as you can easilly add and remove buff behaviours from units that give the unit a 1eps regeneration. As that would then use the native regeneration support it would be a lot more efficient than any trigger.

Want integer regeneration only? Also possible using only the data editor. Get the behaviour to perodicly run an effect which adds 1 energy to the unit. Should still peform better than the trigger approach.
 
Status
Not open for further replies.
Top