• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Simple Questions About World Editor Things

Status
Not open for further replies.
Level 7
Joined
Mar 5, 2009
Messages
254
Hello,im making a real huge map and i need to know few noob things about the editor.

1.Regions.Does it matter how many regions i have ? Can i have like 1000 or more?will having a 1000+ regions cause a lag to my map or something?

2.Variables.Can alot of variables cause lag to my map?

3.Units.If there are 1000 neutral hostile units on the map,will they be able to fight like there are only 20(Without any lag) if all units arent fightning at a time only 1 or two of them at a time?
 
1.Regions.Does it matter how many regions i have ? Can i have like 1000 or more?will having a 1000+ regions cause a lag to my map or something?
Regions do not generate any net traffic so no. You might get performance problems if you have a 1000 regions hooked up to enter and leave events though depending on how they are implemented.

2.Variables.Can alot of variables cause lag to my map?
Variables do not generate any net traffic so no. You will also get no performance problems as they are allocated staticly and memory allocation alone has no time overhead.

3.Units.If there are 1000 neutral hostile units on the map,will they be able to fight like there are only 20(Without any lag) if all units arent fightning at a time only 1 or two of them at a time?
Unless you issue orders to all 1000 at once, the net traffic generation is so low it will not make a noticable difference compared to mormal players. Also you should not get performance problems as long as only 20 are doing something at any given time. You should still reduce the number of units to only as many as nescescary (only make units when they are required) to keep memory usage down and allow some enumerations to execute more efficiently.
 
Status
Not open for further replies.
Back
Top