- Joined
- Aug 14, 2006
- Messages
- 7,602
Hello.
I have some problems with making smoother my campaign with Wc3 Map Optimizer. I wonder what are the best settings. So far I've seen two bugs. First one is that one unit is selling few wrong items and one very simple trigger isn't working(it works without optimizing):
So what are the best settings you would recommend for me?
I'm using Wc3 Map Optimizer with together with cphelper by Shadow Daemon(it optimizes the whole campaign instead of one map).
I have some problems with making smoother my campaign with Wc3 Map Optimizer. I wonder what are the best settings. So far I've seen two bugs. First one is that one unit is selling few wrong items and one very simple trigger isn't working(it works without optimizing):
-
Rescue 1
-
Events
- Unit - A unit comes within 200.00 of Captive Man (Male 2) 0159 <gen>
-
Conditions
- (Triggering unit) Equal to AAAPhodom
-
Actions
- Set TempLoc = (Position of Rescue_Unit[1])
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Number of units in (Units within 512.00 of TempLoc matching ((((Matching unit) is in (Units owned by Neutral Hostile)) Equal to True) and (((Matching unit) is alive) Equal to True)))) Equal to 0
-
Then - Actions
- Trigger - Turn off (This trigger)
- Set Floating_Text_Time = 2.00
- Set Rescue_Amount = (Rescue_Amount + 1)
- Set Floating_Text_Text = Thanks!
- Set Rescue_Fade2 = 0.00
- Floating Text - Create floating text that reads (|c00FEBA0E + (Floating_Text_Text + |r)) at TempLoc with Z offset 0.00, using font size 10.00, color (0.00%, 50.00%, 100.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the fading age of (Last created floating text) to (Floating_Text_Time - 2.00) seconds
- Floating Text - Change the lifespan of (Last created floating text) to Floating_Text_Time seconds
- Custom script: call RemoveLocation(udg_TempLoc)
- Trigger - Run Update Quest <gen> (checking conditions)
-
For each (Integer Rescue_Fade1) from 1 to 10, do (Actions)
-
Loop - Actions
- Set Rescue_Fade2 = (Rescue_Fade2 + 10.00)
- Animation - Change Rescue_Unit[1]'s vertex coloring to (100.00%, 100.00%, 100.00%) with Rescue_Fade2% transparency
- Wait 0.30 seconds
-
Loop - Actions
- Unit - Remove Rescue_Unit[1] from the game
-
Else - Actions
- Custom script: call RemoveLocation(udg_TempLoc)
-
If - Conditions
-
Events
I'm using Wc3 Map Optimizer with together with cphelper by Shadow Daemon(it optimizes the whole campaign instead of one map).