Forum Logo Welcome, Guest. Please login or register.
Did you miss your activation email?
January 16, 2019, 21:47:07 | See new unread posts
Home Help Search Arcade Chat Login Register

nifflas.ni2.se  |  Nifflas' Support Forum  |  Being Creative  |  Nifflas' Sources  |  Topic: KS Editor Mod « previous next »
Pages: [1] 2 3 4 5 ... 10 Print
Author Topic: KS Editor Mod  (Read 51518 times)
Looki


Total My honestly gotten stars: 7
Offline Offline


View Profile
« on: March 24, 2009, 17:20:21 »

Hey everybody. I've been working on a modification of the KS Editor.

Level Editor Modification by Looki, 2009

New features:

* Open a world by double-clicking it.
* Open a world by searching for it in the input box above the list.
* Hold down the arrow keys when navigating through the world.
* Custom objects are displayed on-screen if "Screen->Show custom objects" is set.
* In-built INI Editor with syntax highlighting:
---Press F3 or "Script" left to the tileset settings. Reload the original file by "Edit->Reload World.ini".
---(NOT WORKING) You can press on a room's group, e.g. [x1000y1000], to jump to the room.
---The font can be changed in Worlds\EditorSettings.temp.
* Tile replacing, Press Shift+Right click. Like Flood Fill, but not only for connected tiles.
* Rectangular selection: Select multiple tiles at once.
---You can right-click a tile to keep the current selection rectangle. You can press F to reset it.
* Rectangular filling: Hold down Ctrl while placing tiles. You can select multiple tiles to fill using a pattern.
* Undo, Press Ctrl+Z or "Edit->Undo". Undo only works for object and tile placement.
* Flood Fill, Press Shift+Click. Use can select multiple tiles to use a pattern. Only for tiles (single layer).
* Minor fix for German users by setting "Qwertz" in EditorSettings.temp to 1 (Z gets Y, bank-changing shortcut).
* The executable to use for testing is read from "Executable" in EditorSettings.temp.
* Press Ctrl+G or "Go to>Coordinates" to jump to a screen by entering its coordinates.

The Worlds folder only contains a EditorSettings.temp file which has to be updated in order to be able to test your level.

One note, undo only works per screen. If you switch the screen, all the undo information is lost.

I hope you like it as much as I do!  >)

Get it here!
Pictures:
http://clickteam.info/looki/Pictures/KSE1.png
http://clickteam.info/looki/Pictures/KSE2.png
« Last Edit: February 21, 2010, 03:32:34 by Looki » Logged

LPChip
You can only truly help other people by allowing them to fail.
Administrator


Total My honestly gotten stars: 122
Offline Offline


Excel at the thing you're the best at!


View Profile WWW
« Reply #1 on: March 24, 2009, 19:04:11 »

Nice :)

I'm moving this to Nifflas' Sources forum, cus it suits that better I think.
Logged

If this post was helpful to you, please consider giving it a shorter hidden star code by pressing the on the left, above my avatar.

MODPlug Central Forum
"If I tried to kill you, I'd end up with a big fat hole through my laptop." - Chironex
Shawnachu


Total My honestly gotten stars: 1
Offline Offline


Contemplating


View Profile
« Reply #2 on: March 24, 2009, 22:24:10 »

Flood fill?
UNDO?

 :nuts:

EDIT: This is awesome! The only problem I could find was that you can't undo a flood fill. Also, why does it say "Knytt Stories - Level Editor 1.1?
« Last Edit: March 24, 2009, 22:27:30 by shawnachu » Logged
Purple Pineapple


Total My honestly gotten stars: 20
Offline Offline


View Profile
« Reply #3 on: March 25, 2009, 01:16:26 »

Flood fill?
UNDO?

 :nuts:
Oh boy oh boy oh boy.
Also, why does it say "Knytt Stories - Level Editor 1.1?
Does it support COs?
Logged

Lurk more.
Mr. Monkey


Total My honestly gotten stars: 1
Offline Offline

jolly good fellow


View Profile
« Reply #4 on: March 25, 2009, 01:53:48 »

It should.  The editor doesn't do the CO work, really.  If it works like I think it does (and reads images from the Data directories, and writes values to the map file without needing to know if an object exists), then it should be fine :D
Logged

o__  o
Purple Pineapple


Total My honestly gotten stars: 20
Offline Offline


View Profile
« Reply #5 on: March 25, 2009, 04:15:51 »

So Level Editor 1.1 in KS folder 1.2.1 would still be able to test COs?
Logged

Lurk more.
Pumpkinbot


Total My honestly gotten stars: 20
Offline Offline


No terrain is too hard. Not even dragons.


View Profile WWW
« Reply #6 on: March 25, 2009, 04:17:55 »

So Level Editor 1.1 in KS folder 1.2.1 would still be able to test COs?
Actually, no. The first Level Editor didn't have Bank 255, so I don't think it would work. :/ Try fixing that, Looki.
Logged

A God, a Messiah, an Angel, a King, a Prince, and an All Terrain Vehicle.
Purple Pineapple


Total My honestly gotten stars: 20
Offline Offline


View Profile
« Reply #7 on: March 25, 2009, 04:19:05 »

But, if you added the images for that bank in the folder...
Logged

Lurk more.
Pumpkinbot


Total My honestly gotten stars: 20
Offline Offline


No terrain is too hard. Not even dragons.


View Profile WWW
« Reply #8 on: March 25, 2009, 04:26:50 »

But, if you added the images for that bank in the folder...
...That might work. Try it.
Logged

A God, a Messiah, an Angel, a King, a Prince, and an All Terrain Vehicle.
Purple Pineapple


Total My honestly gotten stars: 20
Offline Offline


View Profile
« Reply #9 on: March 25, 2009, 05:04:01 »

It works! This is awesome. Editing power now greatly increased.
Logged

Lurk more.
Looki


Total My honestly gotten stars: 7
Offline Offline


View Profile
« Reply #10 on: March 25, 2009, 13:40:20 »

Thanks a lot, guys. :)
I'm planning to add undo for flood fill, it shouldn't be that hard. Can't access the source code right now, though.
I also wanted to add rectangular selection onthe tileset, instead of single tiles, so you can easily place trees etc.
LPChip: Sorry for that :oops:

Oh by the way, I took the "No dev edition" source, silly me. I even have MMF2 Developer, so I could've used the latest version of the Editor...

I added that new selection mode. It works perfectly, but I can't release a new version right now.
« Last Edit: March 25, 2009, 14:20:54 by Looki » Logged

AmADizii


Total My honestly gotten stars: 0
Offline Offline

From The Black Comes Rays Of Hope.


View Profile
« Reply #11 on: March 25, 2009, 19:28:02 »

I also wanted to add rectangular selection onthe tileset, instead of single tiles, so you can easily place trees etc.

Like you can drag a rectangle around what you want to use? Something like that, you'll be legend. Also,m this is really cool. undo teh oosum.
Logged

TeamWork - Gives The Enemy More People To Shoot At.

- Unknown.
Looki


Total My honestly gotten stars: 7
Offline Offline


View Profile
« Reply #12 on: March 25, 2009, 20:49:30 »

Indeed. As I said, it works. I'll be able to release it tomorrow. And thanks. :^^:
Logged

Looki


Total My honestly gotten stars: 7
Offline Offline


View Profile
« Reply #13 on: March 26, 2009, 15:06:23 »

I added the new selection feature. As I said in the changelog, you can press F to reset the selection size to 1x1, and you can right-click a tile to select it to keep the "selection rectangle".
Logged

Joozey


Total My honestly gotten stars: 0
Offline Offline

It's a clockwork universe.


View Profile
« Reply #14 on: March 27, 2009, 15:00:46 »

Excellent!
Logged

Gears grinding on maximum power, belts slipping to high speed.<br />In name of Her Majesty Victoria, FULL THRUST INTO ARMADA!
Pages: [1] 2 3 4 5 ... 10 Print 
nifflas.ni2.se  |  Nifflas' Support Forum  |  Being Creative  |  Nifflas' Sources  |  Topic: KS Editor Mod « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2013, Simple Machines