Outpost Universe Forums

Outpost Series Games => Outpost 2 Divided Destiny => Topic started by: Kramy on June 03, 2004, 11:03:11 PM

Title: Outpost 2 Map Editor
Post by: Kramy on June 03, 2004, 11:03:11 PM
Map Editor ( Beta Version 1.4 )
http://www.kramy.net/projects/Outpost2/Outpost2 Editor.zip (http://www.kramy.net/projects/Outpost2/Outpost2%20Editor.zip) (1.36 mb)

If you have XP or NT, switch the exe to windows 98 compatible mode after unzipping, or XP/NT will crash it.

----- Controls -----
Arrow Keys - Scrolling
PageDown/PageUp - TileSet Scrolling (This has to be improved - suggestions)

----- Panel -----
Left Click - Select a tile.
Right Click - Push another tile onto the stack.
----- Grid -----
Left Click on grid - Select where to push next tile
----- Map -----
Left Click on map - paste tile stack.


If you have any bugs or suggestions, please post.
Title: Outpost 2 Map Editor
Post by: Arklon on June 04, 2004, 10:23:54 AM
horray for a damn illegal operation before it loads
Title: Outpost 2 Map Editor
Post by: Kramy on June 04, 2004, 05:24:06 PM
Arklon: I'm not having any problems with it. :unsure:

Edit: Windows XP caused problem.
Title: Outpost 2 Map Editor
Post by: Hooman on June 04, 2004, 09:40:14 PM
It's crashing for me when it loads. It kinda dispalys the window first before crashing. If this helps to narrow down where the bug is, the background is grey and has a big white box painted on it. It looks like the window may have just resized before the crash.
 
Title: Outpost 2 Map Editor
Post by: Kramy on June 05, 2004, 12:07:39 AM
Well....there goes my credibility. <_<

Actually, that did help. :) The crash was caused by it accepting mouse input(for some reason) while it was disabled, then trying to move an uncreated sprite to a place on the screen. Naturally....crash.

Now it should be fixed by disabling Mouse Input, and only flagging "MouseOn" as true once everything has loaded.(Then checking it every time the mouse moves a pixel... *sighs* Must go file bug-report.)

Oh, and it didn't happen to me because I always selected "run" from the menu, so my mouse was never over it while it loaded.  :heh:  
Title: Outpost 2 Map Editor
Post by: Hooman on June 05, 2004, 05:51:15 PM
Hmm, it still seems to be crashing for me. Both the old copy without my mouse over it and the new copy. It seems to be the same as before.  :(  Ahh well, it will be great once it's working.  :)  
Title: Outpost 2 Map Editor
Post by: Kramy on June 06, 2004, 01:37:17 PM
Thanks Hooman. This is really weird though, since I just tested it on 3 computers, and no crash on any of them. :unsure: Now atleast I know I didn't code it wrong. :P I wonder if it's an XP thing? I'll have to try it on my uncle's laptop.

Edit: Windows XP thing - switch exe to 98 compatible.
Title: Outpost 2 Map Editor
Post by: BlackBox on June 06, 2004, 04:03:02 PM
A question Kramy:

What language did you code this in?
Title: Outpost 2 Map Editor
Post by: Kramy on June 06, 2004, 05:35:30 PM
I did this in Jamascript. Does it work for you Hacker? *hopes*

I'm starting to think Jamascript was made for games, not windows controlling....which is what vb is for. :P (mostly)

Oh wait, Jamascript WAS made for 2D games... :blink:

Edit: Windows XP caused crash. Switch to win98 compatibility.
Title: Outpost 2 Map Editor
Post by: Kramy on June 08, 2004, 07:13:16 PM
Beta Version 1.4 completed. Fixed 12 bugs in this version, and added a bunch of new features(including a bigger window), so now there should be plenty of bugs for you to find. :)

See first post.
Title: Outpost 2 Map Editor
Post by: Kramy on June 26, 2004, 01:30:09 AM
I just completed version 1.5, but am not going to bother uploading it, since I want to add a few more features, then just release it as version 1.6.(Hopefully tomorrow)

On a side note, I identified 4 more bugs, which render all previous versions(including v1.4) useless. :P All fixed now, so version 1.5 is fine....which I haven't uploaded. :heh:

I'm also adding a few surprise features to v1.6, that hacker's editor lacks....ok, maybe just 4 or so useful features. :blush:

Hey, can anyone guess what 16384 bilinear resamples can be used for? :whistle:
Title: Outpost 2 Map Editor
Post by: PlayingOutpost0-24 on June 27, 2004, 03:13:45 AM
Will you upload 1.6?
Title: Outpost 2 Map Editor
Post by: Kramy on June 27, 2004, 12:53:42 PM
Yes, when I'm done I'll upload v1.6.

Currently there are the following features(in 1.5) that hacker's editor doesn't have:
1) Minimap(can be used for scrolling by clicking on it. :) )
2) 6x6 Tile placement, for huge things like volcanoes
3) Transparent overlay of what tiles you're dropping
4) Updated coordinates as your mouse moves(so you know exactly where you're placing tiles)

It also needs these features:
5) Fix coordinates still being increased when over another panel.(it's weird having the tileset display as "X: 520", etc.)
6) Prevent incorrect map sizes from being created.(ex 512x64)
7) Draggable selector box to copy a maximum of a 6x6 region on the map, then let you paste it.
8) Make minimap dynamically updated while you paste tiles(hard).

And it also has the following features coded, which I'm considering removing.
9) World-map scrolling(off one edge and onto the other)
10) Render an bilinear resampled image of the entire map.
Title: Outpost 2 Map Editor
Post by: Kramy on June 28, 2004, 04:40:54 PM
7 implemented. Here's a screenshot(the mouse doesn't show. :P )

http://www.kramy.net/projects/Outpost2/Screenshot.png (http://www.kramy.net/projects/Outpost2/Screenshot.png)

I have 1 or 2 more features to implement before releasing v1.6.
Title: Outpost 2 Map Editor
Post by: Kramy on June 30, 2004, 04:00:32 PM
Download removed. Please see newer thread for updated version.

http://forum.outpost2.net/index.php/topic,990.0.html (http://forum.outpost2.net/index.php/topic,990.0.html)
 

[edit]
fixed link