QuakeFX wrote:
I try to start it up and get the "You are defeated" message.

try this code for the script.lua file, you are using an old version

Code:
local ScenarioUtils = import('/lua/sim/ScenarioUtilities.lua')
local ScenarioFramework = import('/lua/ScenarioFramework.lua')
local oldOnPopulate = OnPopulate
function OnPopulate()
oldOnPopulate()
ScenarioUtils.InitializeArmies()
ScenarioFramework.SetPlayableArea('AREA_1' , false)
end
local oldOnStart = OnStart
function OnStart(self)
oldOnStart(self)
end
Make sure in your Scenario.lua it says ARMY and not Army. This will give you the Defeated message if I'm correct
Code:
version = 3
ScenarioInfo = {
Configurations={
standard={
customprops={ },
teams={
{ armies={ "ARMY_1", "ARMY_2", "ARMY_3", "ARMY_4" }, name="FFA" }
}
}
},
description="FINAL VERSION - The evacuation of the UEF Prime Worlds did not go smoothly. Thousands of civilians were forced into refugee camps that could barely sustain them, like the one on Mersela. The inhabitants of this camp were barely surviving the harsh weather and brutal rationing when an Order scout found them. Now, the Coalition and the Order are dueling over their fate. --- Map by Paceydre",
map="/maps/ForestPlanet FA V2b.v0001/ForestPlanet FA V2b.scmap",
map_version=1,
name="ForestPlanet FA V2b",
norushoffsetX_ARMY_1=0,
norushoffsetX_ARMY_2=0,
norushoffsetX_ARMY_3=0,
norushoffsetX_ARMY_4=0,
norushoffsetY_ARMY_1=0,
norushoffsetY_ARMY_2=0,
norushoffsetY_ARMY_3=0,
norushoffsetY_ARMY_4=0,
norushradius=65,
preview="/maps/ForestPlanet FA V2b.v0001/FPFAV2B-Preview.jpg",
save="/maps/ForestPlanet FA V2b.v0001/ForestPlanet FA V2b_save.lua",
script="/maps/ForestPlanet FA V2b.v0001/ForestPlanet FA V2b_script.lua",
size={ 512, 512 },
starts=true,
type="skirmish"
}
I hope this will get you a little bit further. Next time when you would like to quote your code, just use the Code tags