FlaME -- The Warzone 2100 Map Editor

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

Re: FlaME -- The Warzone 2100 Map Editor

Post by Flail13 » 19 Jun 2012, 11:37

Links to 1.29 are in the first post.

Keyboard controls can be changed.
The button to go back to the previous tool is (by default) the `~ tilde button.
I tried to automatically detect the display's colour bit depth.
Some compile messages with positions can be double clicked to go to the position.

Mr T, no right click popup menus yet.

User avatar
WarTux
Trained
Trained
Posts: 190
Joined: 08 Jul 2010, 04:41
Location: Arctic sector

Re: FlaME -- The Warzone 2100 Map Editor

Post by WarTux » 20 Jun 2012, 01:13

I still can't run this version under Linux/Mono. :(

Her'es my stacktrace:

Code: Select all

Stacktrace:

  at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipCreateBitmapFromFile (string,intptr&) <0xffffffff>
  at System.Drawing.Bitmap..ctor (string,bool) <0x00063>
  at System.Drawing.Bitmap..ctor (string) <0x00013>
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap..ctor (string) <0xffffffff>
  at FlaME.modBitmap.LoadBitmap (string,System.Drawing.Bitmap&) <0x0006b>
  at FlaME.clsTileset.LoadDirectory (string) <0x003af>
  at FlaME.modProgram.LoadTilesets (string) <0x002ef>
  at FlaME.frmMain.Initialize (object,System.EventArgs) <0x015d3>
  at System.Windows.Forms.Timer.OnTick (System.EventArgs) <0x0002f>
  at System.Windows.Forms.Timer.FireTick () <0x0001d>
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Timer.FireTick () <0xffffffff>
  at System.Windows.Forms.XplatUIX11.CheckTimers (System.Collections.ArrayList,System.DateTime) <0x002ef>
  at System.Windows.Forms.XplatUIX11.PeekMessage (object,System.Windows.Forms.MSG&,intptr,int,int,uint) <0x00143>
  at System.Windows.Forms.XplatUIX11.DoEvents () <0x0023d>
  at System.Windows.Forms.XplatUI.DoEvents () <0x0001c>
  at System.Windows.Forms.Application.DoEvents () <0x0000b>
  at FlaME.modMain.Main () <0x0058b>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
The 'MapViewBPP=24' fix does not work, either.
Warzone nicknames: WarTux[BDC], ChuckNorris-BDC, DeathStar, etc.
Part of the Black Dragon Clan; apply today, we welcome most! :3
On the Warzone IRC channel you can find me hanging out with the BDC dudes or messing with the bot.

User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

Re: FlaME -- The Warzone 2100 Map Editor

Post by Flail13 » 20 Jun 2012, 02:30

Loading the tileset images is what is causing that. I don't know why, other than Mono itself. Are you using Mono 2.10.8, and have you tried compiling from source? To compile from source you would need MonoDevelop and the code, and probably other packages.

User avatar
WarTux
Trained
Trained
Posts: 190
Joined: 08 Jul 2010, 04:41
Location: Arctic sector

Re: FlaME -- The Warzone 2100 Map Editor

Post by WarTux » 20 Jun 2012, 03:03

Yes, I'm using Mono 2.10.8. I'm using the official build, I haven't tried compiling. I'll do that and report back.
Warzone nicknames: WarTux[BDC], ChuckNorris-BDC, DeathStar, etc.
Part of the Black Dragon Clan; apply today, we welcome most! :3
On the Warzone IRC channel you can find me hanging out with the BDC dudes or messing with the bot.

User avatar
Merowingg
Regular
Regular
Posts: 2468
Joined: 15 Nov 2009, 13:05
Location: Poland

Re: FlaME -- The Warzone 2100 Map Editor

Post by Merowingg » 21 Jun 2012, 19:41

Flail your robot seems to be more and more fierce :) shall we be scared? for sure he can get some space in that way when attacked by few enemies ;)

I will check the newest one agter the exams which seem to be impassable for me..

this - button is about the copy paste or I gor confused?
“Beneath this mask there is more than flesh. Beneath this mask there is an idea, and ideas are bulletproof.” - V

"Mark my words boy, Mark them well, I have survived your predecessors and I will survive you." - Merovingian

Regards - Mero

User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: FlaME -- The Warzone 2100 Map Editor

Post by NoQ » 22 Jun 2012, 06:48

impassable
Try re-texturing or modifying the tile types (: (: (:

User avatar
Merowingg
Regular
Regular
Posts: 2468
Joined: 15 Nov 2009, 13:05
Location: Poland

Re: FlaME -- The Warzone 2100 Map Editor

Post by Merowingg » 22 Jun 2012, 16:37

Oh I do all the time now NoQ (:
“Beneath this mask there is more than flesh. Beneath this mask there is an idea, and ideas are bulletproof.” - V

"Mark my words boy, Mark them well, I have survived your predecessors and I will survive you." - Merovingian

Regards - Mero

User avatar
sensor
Trained
Trained
Posts: 120
Joined: 19 Dec 2009, 09:13

Re: FlaME -- The Warzone 2100 Map Editor

Post by sensor » 24 Jun 2012, 07:39

In the new version I have no view of the Flame Features, Structures, Droids, there are empty fields ;
Attachments
screen.jpg
Intel(R) Core(TM) i5-2400 CPU @ 3.10 GHz 3,40 GHz
Win 10 Professional 64 bit
graphic card NVIDIA GeForce GTX 750 Ti
RAM 8,0 GB DDR III SDRAM

User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

Re: FlaME -- The Warzone 2100 Map Editor

Post by Flail13 » 24 Jun 2012, 11:07

sensor, if you haven't already, check in the options that you have selected a folder to load the objects from. It also needs to be highlighted to select it as the one to load. Otherwise, report if you had any error messages.

Merowingg, the "Flail" was designed as a construction bot. In combat, swinging the chains is good for hits on close targets, but it takes a while to get out of the spin, leaving the bottom half of the bot open to low attacks. :)
It's from an old old (and not very good) game: OMF 2097.

User avatar
sensor
Trained
Trained
Posts: 120
Joined: 19 Dec 2009, 09:13

Re: FlaME -- The Warzone 2100 Map Editor

Post by sensor » 24 Jun 2012, 19:03

I set everything and is in order.
Intel(R) Core(TM) i5-2400 CPU @ 3.10 GHz 3,40 GHz
Win 10 Professional 64 bit
graphic card NVIDIA GeForce GTX 750 Ti
RAM 8,0 GB DDR III SDRAM

User avatar
Andrie
Regular
Regular
Posts: 533
Joined: 20 Jun 2012, 14:11
Location: Suid Afrika

Re: FlaME -- The Warzone 2100 Map Editor

Post by Andrie » 29 Jun 2012, 08:20

Hallo, Flame says: Unable to cast object of 'System.DBNull' 'Flame.clsUnitType'. Please help, it says this when I whant to place a object. :stressed: :stressed: :stressed: :stressed:
"My IRC en multiplay naam is Andrie"

Groete Andrie

User avatar
Andrie
Regular
Regular
Posts: 533
Joined: 20 Jun 2012, 14:11
Location: Suid Afrika

Re: FlaME -- The Warzone 2100 Map Editor

Post by Andrie » 29 Jun 2012, 09:05

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'FlaME.clsUnitType'.
at FlaME.frmMain.ObjectTypeSelectionUpdate(DataGridView dataView)
at FlaME.frmMain.dgvFeatures_SelectionChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.DataGridView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
FlaME
Assembly Version: 1.29.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FlaME%201.29/FlaME.exe
----------------------------------------
OpenTK
Assembly Version: 1.0.0.0
Win32 Version: 1.0.278.44921
CodeBase: file:///C:/Program%20Files%20(x86)/FlaME%201.29/OpenTK.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5462 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Matrix3D
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FlaME%201.29/Matrix3D.DLL
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
OpenTK.GLControl
Assembly Version: 1.0.0.0
Win32 Version: 1.0.278.44921
CodeBase: file:///C:/Program%20Files%20(x86)/FlaME%201.29/OpenTK.GLControl.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
"My IRC en multiplay naam is Andrie"

Groete Andrie

User avatar
Andrie
Regular
Regular
Posts: 533
Joined: 20 Jun 2012, 14:11
Location: Suid Afrika

Re: FlaME -- The Warzone 2100 Map Editor

Post by Andrie » 29 Jun 2012, 12:48

HELP!! ASB!! :stressed:
"My IRC en multiplay naam is Andrie"

Groete Andrie

User avatar
Goth Zagog-Thou
Regular
Regular
Posts: 1582
Joined: 06 Jan 2007, 08:08
Location: Delta Base
Contact:

Re: FlaME -- The Warzone 2100 Map Editor

Post by Goth Zagog-Thou » 02 Jul 2012, 23:57

Andrie, looks like you've got a lot more going on than I could help ya with. :(

Flail, I've got feature requests if you're willing to take them. :D

1) Allow for importing a tileset folder and have FlaME generate a new .ttp for that set. This is necessary to get the "grand unified tileset" working.

2) Up the maximum number of tiles in a set to 256 (for now). This will likewise accommodate the "grand unified tileset". Currently the maximum seems to be 96 (0-95).

3) Add Urban and Rockies terrain types to the Arizona list. This is also for the "grand unified tileset".

4) Increase maximum tile height to 512.

I tried modding FlaME myself but I'm in over my head.

Thanks buddy!
Last edited by Goth Zagog-Thou on 03 Jul 2012, 12:00, edited 1 time in total.

User avatar
Andrie
Regular
Regular
Posts: 533
Joined: 20 Jun 2012, 14:11
Location: Suid Afrika

Re: FlaME -- The Warzone 2100 Map Editor

Post by Andrie » 03 Jul 2012, 07:50

Yes PLEASE do what Got Zagog-Thou said.
"My IRC en multiplay naam is Andrie"

Groete Andrie

Post Reply