I've have Mushroom Panic running for a little bit.
I had to change the definition file. It would crash if the map was 64x256, but would load if it was defined as 256x256.
Code: Select all
-- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
-- \/ \/ \//_____/ \/
-- ______________________ ______________________
-- T H E W A R B E G I N S
-- Stratagus - A free fantasy real time strategy game engine
--
-- (c) Copyright 2014 by Kyran Jackson
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
--
SetMapTeams(8, 1, 1)
SetMapTeams(9, 2, 1)
--DefinePlayerTypes("computer", "computer", "person", "person")
DefinePlayerTypes("computer", "computer", "nobody", "nobody", "nobody", "nobody", "nobody", "nobody", "person", "person")
PresentMap("Mushroom Panic", 2, 256, 256, 1)
Code: Select all
-- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
-- \/ \/ \//_____/ \/
-- ______________________ ______________________
-- T H E W A R B E G I N S
-- Stratagus - A free fantasy real time strategy game engine
--
-- (c) Copyright 2014 by Kyran Jackson
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
--
AiRedRibbon_Setup_2014()
-- AiRed_Resources_Setup_2014(first user, gold, wood, oil, last user)
GameDefinitionSetup("For the Motherland", "Standard", 2014, "Mushroom Panic")
--AiRed_Strategy_Horde_Mass_2014(2)
--AiRed_Strategy_Alliance_Mass_2014(3)
-- player configuration
-- SetPlayerFtM2014(player, race, faction, gold, wood, oil, startx, starty, istart, iend, teamx1, teamy1, teamx2, teamy2, match, aispawner, aibot)
--ai_red1 + ai_red_2014
SetPlayerFtM2014(0, "orc", "Pechka", 25000, 15000, 15000, 37, 248, 1, 15, 1, 1, 64, 256, 8, "ai_redribbon_2014", "Aya Kalang")
SetPlayerFtM2014(1, "man", "Pechenka", 25000, 15000, 15000, 36, 8, 51, 65, 1, 1, 64, 256, 8, "ai_redribbon_2014", "Aya Kalang")
--SetupPlayer(4, "man", "ai-passive", 0, 0, 0, 32, 252)
AiRed_Resources_Setup_2014(8, 100, 100, 50, 9, "Pickers")
-- AiRedRibbon_Auto_Origin_2014(player, target, x, y, class)
-- Orc
AiRedRibbon_Auto_Origin_2014(0, "standard", 29, 24, AiBarracks(0))
AiRedRibbon_Auto_Origin_2014(0, "elite", 30, 40, AiBarracks(0))
AiRedRibbon_Auto_Origin_2014(0, "hero", 16, 27, AiBarracks(0))
AiRedRibbon_Auto_Origin_2014(0, "defender", 38, 34, AiBarracks(0))
AiRedRibbon_Auto_Origin_2014(0, "worker", 32, 32, AiCityCenter(0))
AiRedRibbon_Auto_Origin_2014(0, "fodder", 32, 32, AiCityCenter(0))
AiRedRibbon_Auto_Origin_2014(0, AiSuicideBomber(0), 32, 45, AiScientific(0))
AiRedRibbon_Auto_Origin_2014(0, "air", 8, 8, AiAirport(0))
AiRedRibbon_Auto_Origin_2014(0, AiMage(0), 40, 48, AiMageTower(0))
-- Human
AiRedRibbon_Auto_Origin_2014(1, "standard", 18, 217, AiBarracks(0))
AiRedRibbon_Auto_Origin_2014(1, "elite", 29, 224, AiBarracks(0))
AiRedRibbon_Auto_Origin_2014(1, "hero", 23, 234, AiBarracks(0))
AiRedRibbon_Auto_Origin_2014(1, "defender", 43, 217, AiBarracks(0))
AiRedRibbon_Auto_Origin_2014(1, "worker", 30, 230, AiCityCenter(0))
AiRedRibbon_Auto_Origin_2014(1, "fodder", 30, 230, AiCityCenter(0))
AiRedRibbon_Auto_Origin_2014(1, AiSuicideBomber(0), 32, 218, AiScientific(0))
AiRedRibbon_Auto_Origin_2014(1, "air", 22, 250, AiAirport(0))
AiRedRibbon_Auto_Origin_2014(1, AiMage(0), 48, 238, AiMageTower(0))