- Joined
- Feb 2, 2006
- Messages
- 1,633
Is there a bug in the war3mapoptimizer? I have optimized a map with 24 players and the units owned by neutral passive belonged to the violet player when I started the game.
PLAYER_NEUTRAL_PASSIVE
, and that can cause some things to fuck up.Tweaking it to ignore constant inlining does NOT work, for whatever reason. It will still change everything to the old values.
Vexorian's optimizer works perfectly fine for me when disabling inline constants.
![]()
Hmmm, that's really weird. I even specified the updated common and blizzard .j's in the tweaks, and it would always inline the player number constants, no matter what I did. I'll try again with those other tweaks. This gave me an hours of headaches before I gave up and made that script instead.
...
function AM takes nothing returns nothing
local player p=Player(PLAYER_NEUTRAL_AGGRESSIVE)
local unit u
local integer unitID
local trigger t
local real life
set hk=CreateUnit(p,'h008',-7334.1,7006.,.0)
endfunction
function NM takes nothing returns nothing
local player p=Player(PLAYER_NEUTRAL_PASSIVE)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'ncp3',-6016.,-1472.,270.)
set u=CreateUnit(p,'ntn2',-5440.,7040.,270.)
set u=CreateUnit(p,'nten',-5056.,7040.,270.)
...
function IW takes nothing returns nothing
local unit f=CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE),'hfoo',GetRectCenterX(ag),GetRectCenterY(ag),90)
local unit u=CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE),'hpea',GetRectCenterX(Vg),GetRectCenterY(Vg),60)
local unit s=CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE),'hspt',GetRectCenterX(Eg),GetRectCenterY(Eg),$B4)
local unit AW=CreateUnit(Player($B),'n005',GetRectCenterX(Sf),GetRectCenterY(Sf),60.2)
...
What about the latest patch? Do I have to extract the war3patch.mpq archive with a CASC reader or can I use an older one?
Considering all these difficulties that exist for map building since 1.29, don't you think it would be better to use a 1.28 copy solely for map developing?
Sure seems like it,they made great changes to it recently.it'ss all i need and use atm1.29.2 is ideal if you want to mod with the latest features (new natives, widescreen ect..). I use JNGP on an older patch with updated .j files but configured to launch 1.30, or WEX.
Eventually the Vanilla World Editor should be all we need.
Considering all these difficulties that exist for map building since 1.29, don't you think it would be better to use a 1.28 copy solely for map developing?
1.29.2 is ideal if you want to mod with the latest features (new natives, widescreen ect..). I use JNGP on an older patch with updated .j files but configured to launch 1.30