• 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.

Engineering Upgrade cause lagging

Status
Not open for further replies.
Level 2
Joined
Jun 11, 2010
Messages
27
I got a problem when i use the base skill Engineering Upgrade and other copies, it cause seriously frame rate reduction (60 -> 40 fps) when an unit learn it. I can see that DotA have many spell with that base skill (Synergy, Witchcraft) and no lagging. So is this my problem only? Is there any way to fixx it?
 
Level 30
Joined
Jan 31, 2010
Messages
3,552
Use the PRESET trigger, shown bellow.
(Personal Recovery - Evade Spikes Engine Trigger)
  • Preset (Preload) Trigger
    • Events
      • Map Initialization
    • Conditions
    • Actions
      • Set tempPoint = (Center of (Playable map area))
      • Unit - Create 1 Casual Dummy for Neutral Passive at tempPoint facing Default building facing degrees
      • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
      • Unit - Add Blazeshock [Improved +1] to (Last created unit)
      • Unit - Add Blazeshock [Improved +2] to (Last created unit)
      • Unit - Add Blazeshock [Improved +3] to (Last created unit)
      • Unit - Add Shadow Burst [Improved +1] to (Last created unit)
      • Unit - Add Shadow Burst [Improved +2] to (Last created unit)
      • Unit - Add Shadow Burst [Improved +3] to (Last created unit)
      • Custom script: call RemoveLocation(udg_tempPoint)
tempPoint stands for Temporal Point, and it's a Point variable.
Casual Dummy should be a critter, or a dummy.
Generic expiration makes sure that the unit dies after a second (more than enough time to preload all skills).
Custom script removes leaks, and makes your map laggless and leakless.
Just add up all the abilities you improve with Engineering ability.
Hope this helps (=
 
Status
Not open for further replies.
Top