The mission editor enables you to quickly create and share missions. No coding required!
Missions can be uploaded to a server from inside the program. Users will see them in the "Missions" tab in SpringDownloader. or in the linux mission launcher. Mission files are actually mutators and can be otherwise uploaded to jobjol or added to the SpringLobby/SpringDownloader torrent system.
Upload the mission with the Publish button in the Mission menu. Users will be able play with with Missions module in SpringDownloader, or with the mission launcher for linux.
Press the Create Mutator button in the Mission menu. It will save two files: a .sdz, and a .txt. Move the .sdz to the mods folder, then drag the .txt over Spring.exe.
Co-operative Play
Just host the mission as a normal mod. Just make sure that bots and players have the right player numbers. It's a bit inconvenient, we'll try to find a better solution.
Last edited by quantum on 27 May 2009, 21:14, edited 15 times in total.
local function tobool(val) local t = type(val) if (t == 'nil') then return false elseif (t == 'boolean') then return val elseif (t == 'number') then return (val ~= 0) elseif (t == 'string') then return ((val ~= '0') and (val ~= 'false')) end return false end
-- add anything that can fly to the PLANES category for name, ud in pairs(DEFS.unitDefs) do if (tobool(ud.canfly)) then table.insert(armorDefs.PLANES, name) end end
-- put any unit that doesn't go in any other category in ELSE for name, ud in pairs(DEFS.unitDefs) do local found for categoryName, categoryTable in pairs(armorDefs) do for _, usedName in pairs(categoryTable) do if (usedName == name) then found = true end end end if (not found) then table.insert(armorDefs.ELSE, name) end end -------------------------------------------------------------------------------- --------------------------------------------------------------------------------
-- convert to named maps (does anyone know what 99 is for? :)
for categoryName, categoryTable in pairs(armorDefs) do local t = {} for _, unitName in pairs(categoryTable) do t[unitName] = 99 end armorDefs[categoryName] = t end
get home from work refresh mission list and click play in under 10 secs im playing a mission made by someone else using editor :]
When more features get added it will be even more awesome
and its very nice and easy to use.
Im gonna be using the editor to stage AI battles for videos (one of its advantages)
it can even be used for unit vs unit balance (give pre microd orders and spectate for results)
Feature requests (tho uve already heard them in CA channel)
- Building/Unit Rotation - Sound support/ possibly video - Zoomable map (for better unit placement on big maps) if not 3D XD - Some more triggers/events - Ability to give build orders to buildings (on repeat if its easier) - Also build orders to unit's
So, to use this, I'd have to dump everything in P.U.R.E. into one huge SDZ? I've been working on a solution like this in World Builder... this certainly looks like it has more features and I like the UI, but I'm worried that whatever I build won't be compatible with the "best practices" way that I'm building the game (i.e., code in one archive, content in another).
Chill, man. We're just requesting some features that would make life a little easier, is all.
I don't mind switching formats on buildpics, but merging the entire game and then hoping it all works after spending however long it takes to make some missions to test... not so great.
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum