Mission Editor
Moderator: Moderators
Re: Mission Editor
It's planned, but I don't have time for it in the short term.
Re: Mission Editor
Brilliant piece of software.
I have some questions though:
1) Can I make a trigger activate itself every 30s till the end of the game?
2) Can i have more then 2 players in the mission?
And this is more of a bug, and i guess is an Spring engine bug:
- In the latest version of spring the test mission no longer works.
Thanks.
I have some questions though:
1) Can I make a trigger activate itself every 30s till the end of the game?
2) Can i have more then 2 players in the mission?
And this is more of a bug, and i guess is an Spring engine bug:
- In the latest version of spring the test mission no longer works.
Thanks.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Mission Editor
1) Yes, it's called the metronome trigger.xyz wrote:Brilliant piece of software.
I have some questions though:
1) Can I make a trigger activate itself every 30s till the end of the game?
2) Can i have more then 2 players in the mission?
And this is more of a bug, and i guess is an Spring engine bug:
- In the latest version of spring the test mission no longer works.
Thanks.
2) Yes, see my mission Chicken Tag. It's made for 4 players vs. a bot. In fact it's not playable unless you have 4 dedicated people. If one drops/leaves it's ruined.
3) Need more details.
Re: Mission Editor
thanks for reply.
"see my mission Chicken Tag"
Is springDownload the only way to get this file? i do not have it installed.
As for the bug, when i run my mission from springlobby it works fine, but if I select "mission/test mission" Sring will start and wait indefinitly on the screen: "Waiting for server to start".
Creating a mod file and dragging the txt file over the exe gives the same results.
"see my mission Chicken Tag"
Is springDownload the only way to get this file? i do not have it installed.
As for the bug, when i run my mission from springlobby it works fine, but if I select "mission/test mission" Sring will start and wait indefinitly on the screen: "Waiting for server to start".
Creating a mod file and dragging the txt file over the exe gives the same results.
Re: Mission Editor
the mission not starting with "test mission" is because the Player0.name and the MyPlayerName are "differents", it seems spring doesn't like spaces and replace one of them (not both) by a _ : "Player 1" becomes "Player_1" != "Player 1" => waiting for server blabla
Re: Mission Editor
Found another problem: It seems that if you have more then 8 players spring will crash with a "Invalid/Missing content" error box.
see this mission file:
http://springrts.com/phpbb/viewtopic.ph ... 89#p358889
see this mission file:
http://springrts.com/phpbb/viewtopic.ph ... 89#p358889
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Re: Mission Editor
I'm still waiting for an update.
Re: Mission Editor
Every time I try to create a new mission, the editor crashes with a KeyNotFoundException error
Don't know, if this problem with the new spring-engine (it did work before).
Mod used was NOTA 1.59, map was MoonQ10x
What I did:
New mission -> select map and mod -> OK
The editor then starts up until it gets to "Loading units":
KeyNotFoundException error
Error-log:
Any idea how to get the editor working again? (and yes, there are more than 2 gigs o free memory)
Don't know, if this problem with the new spring-engine (it did work before).
Mod used was NOTA 1.59, map was MoonQ10x
What I did:
New mission -> select map and mod -> OK
The editor then starts up until it gets to "Loading units":
KeyNotFoundException error
Error-log:
Code: Select all
OutOfMemoryException System.Windows.Media.Imaging.WriteableBitmap..ctor(Int32 pixelWidth, Int32 pixelHeight, Double dpiX, Double dpiY, PixelFormat pixelFormat, BitmapPalette palette)
at MapReader.Tiles.LoadTiles(Dictionary`2 tileFiles, Int32[] tilePositions, Int32 tilesX, Int32 tilesY, Int32 mipLevel) in c:\Documents and Settings\Administrator\My Documents\Projects\MissionEditor\MapReader\Tiles.cs:Zeile 42.
bei MapReader.SM2.GetTexture(String mapArchive, String mapName, Int32 detail, Int32& width, Int32& height) in c:\Documents and Settings\Administrator\My Documents\Projects\MissionEditor\MapReader\SM2.cs:Zeile 71.
bei IO.loadMap(FastFunc`2 setStatusText, List`1 maps, String mapName)
bei IO.clo@105_2.Invoke(Unit _arg3)
bei Utils.clo@32.Invoke()
bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ThreadHelper.ThreadStart()
SerializationException
Fehler beim Deserialisieren des Objekts "". Unexpected end of File.
(..and so on..)
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Re: Mission Editor
I'm still waiting for an update. Is this project still active?
Re: Mission Editor
Just wondering, does this work with Expand & Exterminate?
Edit: I got an error when I started this up for the first time:
Edit: I got an error when I started this up for the first time:

Code: Select all
ZipException
Version required to extract this entry not supported (788)
at ICSharpCode.SharpZipLib.Zip.ZipFile.TestLocalHeader(ZipEntry entry, HeaderTest tests)
at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(Int64 entryIndex)
at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(ZipEntry entry)
at Archive.Zip.extractFileWithExtractor(ZipFile extractor, String file)
at Archive.extractFile(String archive, String file)
at SpringLua.getLuaState(String springPath)
at MissionLib.ArchiveLister..ctor(String springPath)
at IO.clo@90_2.Invoke(Unit _arg2)
at Utils.clo@32.Invoke()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
ZipException
Version required to extract this entry not supported (788)
at ICSharpCode.SharpZipLib.Zip.ZipFile.TestLocalHeader(ZipEntry entry, HeaderTest tests)
at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(Int64 entryIndex)
at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(ZipEntry entry)
at Archive.Zip.extractFileWithExtractor(ZipFile extractor, String file)
at Archive.extractFile(String archive, String file)
at SpringLua.getLuaState(String springPath)
at MissionLib.ArchiveLister..ctor(String springPath)
at IO.clo@90_2.Invoke(Unit _arg2)
at Utils.clo@32.Invoke()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
ZipException
Version required to extract this entry not supported (788)
at ICSharpCode.SharpZipLib.Zip.ZipFile.TestLocalHeader(ZipEntry entry, HeaderTest tests)
at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(Int64 entryIndex)
at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(ZipEntry entry)
at Archive.Zip.extractFileWithExtractor(ZipFile extractor, String file)
at Archive.extractFile(String archive, String file)
at SpringLua.getLuaState(String springPath)
at MissionLib.ArchiveLister..ctor(String springPath)
at IO.clo@90_2.Invoke(Unit _arg2)
at Utils.clo@32.Invoke()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Mission Editor
There is no way it would work with EE. A lot would have to be done to the mod to make it compatible.
Re: Mission Editor
Yeah it would require massive change of using zip instead of 7z
Re: Mission Editor
I think Forb is referring to the internals of E&E, but I'm not sure he is right.
Re: Mission Editor
Well the crash says that zip cannot extract it..
Re: Mission Editor
I'm aware, I can read the log too, as did Forb.
Re: Mission Editor
No, it crashed before I could select a mod.
Too bad it can't run EE,
thanks for telling me.
Too bad it can't run EE,

Re: Mission Editor
The editor isn't working with the latest versions of spring, so don't bother.
Anyway, I don't think it's an EE problem, there might be a bug that makes the program crash when there is a corrupted or missing zip somewhere. It should support any mod as long as the Lua doesn't conflict (at least when the editor is up-to-date).
Anyway, I don't think it's an EE problem, there might be a bug that makes the program crash when there is a corrupted or missing zip somewhere. It should support any mod as long as the Lua doesn't conflict (at least when the editor is up-to-date).
Re: Mission Editor
It's borked? That sucks, we'll have to use 0.78 then. If anybody needs a 0.78 installer really bad, let me know.
Oh, and it should work OK with EE, it's just that it takes a bit of fiddling about before you can get it to go. It halts if it hits invalid Units, etc., and it's less forgiving than Spring is, though. I had to manually combine WB and P.U.R.E. and convert all the unit icons to BMP, amongst other things, before it worked
Oh, and it should work OK with EE, it's just that it takes a bit of fiddling about before you can get it to go. It halts if it hits invalid Units, etc., and it's less forgiving than Spring is, though. I had to manually combine WB and P.U.R.E. and convert all the unit icons to BMP, amongst other things, before it worked
-
- Posts: 823
- Joined: 21 Oct 2008, 02:54
Re: Mission Editor
Well the source code is out... We just need to find someone who knows how to program in c#.