by 3ICE on Mon Aug 09, 2010 12:38 pm
Are you testing me? Posting a protected map then asking me to fix it. Well, you sir are in luck! Because no protection can stop me.
Solution:
Don't use a wisp to select the unit type. That's the main culprit. Red and green get +1 extra unit that corrupts the sorting.
And here is a tip to avoid the hundreds of points given for every round: Use heroes instead of regular units. You can revive the heroes instead of removing and creating a new set of units every round. Reviving doesn't affect the scoreboard. And CreateNUnitsAtLocFacingLoc() is an ugly function! ReviveHero() is much nicer.
In freeze tag, the scoreboard should only have one column that isn't 0 and thats the resources column. EDIT: To clarify, in freeze tag every column should be zero, except the resources column. Gold=freezes, lumber=thaws, total score=freezes+thaws. Having a total score of 300 after 5 rounds is messy. I'd much rather have a score of 5. (For a 5-0 win.) Conclusion: Stop creating units, use heroes.
p.s.: The minimap is bad! You could "draw" a custom one or stop using SetCameraBoundsToRectForPlayer().
(I had trouble finding the enemy base, I tried using the minimap.)