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

[Lag] Help!

Status
Not open for further replies.
Level 3
Joined
Feb 25, 2009
Messages
38
Me and my friend decided to make an attempt at a retail map, and threw in some ideas on map layout etc. after some trouble, we came to agreement.

we did most of the work on the map, and when we tried it out, we found that it LAGS!!! A-LOT!!!

we tried to remove doodads and NPCs, but nothing worked. could someone look at it and try and figure out why it lags?
 

Attachments

  • uksigaksi.w3x
    116.1 KB · Views: 101
Level 37
Joined
Mar 6, 2006
Messages
9,243
Why do you create modifiers every 0.05 seconds? Only create them once.

  • Untitled Trigger 001
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Team1 <gen>
      • Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility across Team1 <gen>
->
  • Untitled Trigger 001
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Team1 <gen>
      • Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility across Team1 <gen>
Combine the other trigger with this one.
 
Level 3
Joined
Feb 25, 2009
Messages
38
you know.. thats a very good question.. -_-

so that's the reason for the lag?

  • Untitled Trigger 001
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Team1 <gen>
      • Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility across Team1 <gen>
      • Visibility - Create an initially Enabled visibility modifier for Player 3 (Teal) emitting Visibility across Team2 <gen>
      • Visibility - Create an initially Enabled visibility modifier for Player 4 (Purple) emitting Visibility across Team2 <gen>
this'll fix it?
 
Status
Not open for further replies.
Top