Forged Alliance Forever Forged Alliance Forever Forums 2012-12-29T12:47:06+02:00 /feed.php?f=2&t=2623 2012-12-29T12:47:06+02:00 2012-12-29T12:47:06+02:00 /viewtopic.php?t=2623&p=25856#p25856 <![CDATA[Re: Vertical maps bug]]>
Anyway, I just looked it up in the map editor tutorial and what you have there should also work. Does it?

Statistics: Posted by Plasma_Wolf — 29 Dec 2012, 12:47


]]>
2012-12-28T15:23:18+02:00 2012-12-28T15:23:18+02:00 /viewtopic.php?t=2623&p=25764#p25764 <![CDATA[Re: Vertical maps bug]]>
Code:
local ScenarioUtils = import('/lua/sim/ScenarioUtilities.lua')
local ScenarioFramework = import('/lua/ScenarioFramework.lua')

function OnPopulate()
    ScenarioUtils.InitializeArmies()
    ScenarioFramework.SetPlayableArea('AREA_1' , false)
end

Statistics: Posted by ozonex — 28 Dec 2012, 15:23


]]>
2012-12-28T12:47:57+02:00 2012-12-28T12:47:57+02:00 /viewtopic.php?t=2623&p=25742#p25742 <![CDATA[Re: Vertical maps bug]]> 2. Do everything you want to do
3. Go to the areas menu in the layers screen
  • click "new" in the Areas screen, you'll see "AREA_1" appear with four times the value "0" behind it.
  • Click somewhere in the values part of AREA_1, then change the 0 values into what you want.
  • The first value is the x-coordinate where the area begins, the second is the y-coordinate where the area begins, the third is the x-coordinate where the area ends, the last is the y-coordinate where the area ends. While changing the values, you'll see a white rectangle appear and change sizes. The coordinates go up to the value of the size of your map (so if you want a 512x1024 map, you'll probably set your values to 256,0,768,1024)
4. Add the following to the script file (yourmap_script.lua):
Code:
function OnStart(self)
   ScenarioFramework.SetPlayableArea('AREA_1' )
end

Statistics: Posted by Plasma_Wolf — 28 Dec 2012, 12:47


]]>
2012-12-28T11:38:26+02:00 2012-12-28T11:38:26+02:00 /viewtopic.php?t=2623&p=25737#p25737 <![CDATA[Re: Vertical maps bug]]> It's one of the ladder map.

Statistics: Posted by Ze_PilOt — 28 Dec 2012, 11:38


]]>
2012-12-28T11:02:32+02:00 2012-12-28T11:02:32+02:00 /viewtopic.php?t=2623&p=25734#p25734 <![CDATA[Vertical maps bug]]> http://ozonex.pl/galeria/coulata%20mapa%20ozona.jpg

"world borders" ignore height, and only fit to maps width. I tested other 10 vertical maps from vault and all have this problem.

Any ideas how to fix it? I think the only way is to make map from the begining with horizontal proportions :/

Statistics: Posted by ozonex — 28 Dec 2012, 11:02


]]>