| 10-24-2003, 10:35 PM | #1 |
Does having a lot of variables have a noticable increase in lag on your map? |
| 10-24-2003, 10:39 PM | #2 |
Not really. If there is, it would be so small that it wouldn't be noticable. |
| 10-24-2003, 10:40 PM | #3 |
Oh ok thanks. So really there isn't any point to decreasing the amount of variables you have, besides to make it less confusing or something? |
| 10-24-2003, 10:52 PM | #4 |
ya, but if youre making a map from begining (it sounds like you already have it made) you should definitly stay low on vars and use arrays whenever possible because it does cut down on confusting a LOT... :D |
| 10-24-2003, 11:35 PM | #5 |
Nah I didn't make a map really. I mostly just mess around with maps, not really wondering about this for any map in particular. This has just been bugging me for a while, thanks for the help guys :D |
| 10-25-2003, 12:16 AM | #6 |
yes another thing i would like to reitterate is that you should use arrays as much as possible. i didn't used to use them because i did not understand so i just never tried. i recommend trying these and finding out what they do because it will save you so much time it's not even funny. especially when making trigger spells that require variables for 12 different players. |
| 10-25-2003, 12:24 AM | #7 |
Yep. Arrays are a real timesaver/organizer, i've used them for quite a while now and I don't know how I could make maps without them ;) |
| 10-25-2003, 02:59 AM | #8 |
Custom user variables wont have noticble change on game play. Every unit, every region, every sound, every camera, every trigger, every destructable doodad, every special effect are all globals that wc3 uses. So adding a few more wont hurt =) |
| 10-25-2003, 03:15 AM | #9 | |
Quote:
|
| 10-25-2003, 03:17 AM | #10 |
oh yea, i agree with that 100% =) |
| 10-25-2003, 05:10 AM | #11 |
The main thing that takes up space is unit data. If you have a bunch of units that aren't actually being used on the map, it's gonna use up alot of space. And what's with all the trolls on this forum? Madness, i tell you. |
| 10-25-2003, 08:45 AM | #12 | |
Quote:
do you mean actual wc3 trolls (avatars etc.) or trolls as in those who try to start flame wars? |
| 10-25-2003, 09:39 AM | #13 |
NO, lol i dont think so. Its the size of the file that creates the lag |
| 10-25-2003, 02:28 PM | #14 |
data = size = lag :ggani: |
| 10-25-2003, 04:56 PM | #15 |
the file size of the map has nothing to do with system resource lag I can make a 32x32 map with 1 trigger, and i bet i can make it cause more system lag than a full RPG map. Hero data and unit data probably take up the most space in memory. Every time you spawn units, the amount of memory wc3 needs just keeps growing |
