Tom_Kazansky
--- wraith it ! ---
- Reaction score
- 157
Actually it's about loading time.
I don't think my map has too many doodads, pre-placed units are not many either.
But it has a pretty long loading time, more than 5 minutes :banghead:, after I use Vexorian's wc3mapoptimizer4.7c, the loading time decreased to.... 40 seconds (well, around that)
so I think maybe because of the script, the loading time is long.
---
Among the functions that I use:
they are "BJ-type", right ? I use them a alot
my question is, if I directly calculate instead of using the above functions, will my map load faster ?
( if it load faster, I don't mind if I have to do direct calculation )
EDIT: I have:
5772 doodads ( not too many, right , or it is ? )
142 units
0 items
I don't think my map has too many doodads, pre-placed units are not many either.
But it has a pretty long loading time, more than 5 minutes :banghead:, after I use Vexorian's wc3mapoptimizer4.7c, the loading time decreased to.... 40 seconds (well, around that)
so I think maybe because of the script, the loading time is long.
---
Among the functions that I use:
JASS:
function GetPPX takes real x, real dist, real angle returns real
return x + dist * Cos(angle * bj_DEGTORAD)
endfunction
function GetPPY takes real y, real dist, real angle returns real
return y + dist * Sin(angle * bj_DEGTORAD)
endfunction
function AngleLocXY takes real x1, real y1, real x2, real y2 returns real
return bj_RADTODEG * Atan2(y2 - y1, x2 - x1)
endfunction
function DistanceLocXY takes real x1, real y1, real x2, real y2 returns real
return SquareRoot( (x2-x1) * (x2-x1) + (y2-y1) * (y2-y1))
endfunction
they are "BJ-type", right ? I use them a alot
my question is, if I directly calculate instead of using the above functions, will my map load faster ?
( if it load faster, I don't mind if I have to do direct calculation )
EDIT: I have:
5772 doodads ( not too many, right , or it is ? )
142 units
0 items