Mission Editor - Page 9

Mission Editor

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Mission Editor

Post by Super Mario »

bump for response.
User avatar
quantum
Posts: 590
Joined: 19 Sep 2006, 22:48

Re: Mission Editor

Post by quantum »

It's planned, but I don't have time for it in the short term.
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Mission Editor

Post by xyz »

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.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Mission Editor

Post by CarRepairer »

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.
1) Yes, it's called the metronome trigger.

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.
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Mission Editor

Post by xyz »

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.
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: Mission Editor

Post by Satirik »

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
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Mission Editor

Post by xyz »

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
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Mission Editor

Post by Super Mario »

I'm still waiting for an update.
User avatar
Noooooo
Posts: 11
Joined: 22 Jan 2009, 16:56

Re: Mission Editor

Post by Noooooo »

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:

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..)

Any idea how to get the editor working again? (and yes, there are more than 2 gigs o free memory)
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Mission Editor

Post by Super Mario »

I'm still waiting for an update. Is this project still active?
User avatar
Army Unit
Posts: 41
Joined: 22 Sep 2008, 07:05

Re: Mission Editor

Post by Army Unit »

Just wondering, does this work with Expand & Exterminate?

Edit: I got an error when I started this up for the first time: :cry:

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()
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Mission Editor

Post by Forboding Angel »

There is no way it would work with EE. A lot would have to be done to the mod to make it compatible.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Mission Editor

Post by Licho »

Yeah it would require massive change of using zip instead of 7z
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: Mission Editor

Post by Neddie »

I think Forb is referring to the internals of E&E, but I'm not sure he is right.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Mission Editor

Post by Licho »

Well the crash says that zip cannot extract it..
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: Mission Editor

Post by Neddie »

I'm aware, I can read the log too, as did Forb.
User avatar
Army Unit
Posts: 41
Joined: 22 Sep 2008, 07:05

Re: Mission Editor

Post by Army Unit »

No, it crashed before I could select a mod.

Too bad it can't run EE, :( thanks for telling me.
User avatar
quantum
Posts: 590
Joined: 19 Sep 2006, 22:48

Re: Mission Editor

Post by quantum »

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).
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Mission Editor

Post by Argh »

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
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: Mission Editor

Post by Super Mario »

Well the source code is out... We just need to find someone who knows how to program in c#.
Post Reply

Return to “Game Development”