Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - xoft

Pages: [1] 2
1
Knytt Stories Level Editing Support / Re: KS Level Composer
« on: January 24, 2010, 22:29:57 »
MidnightDaystar, what exactly do you mean by "copy multiple tiles"?

You can select several tiles in the tileset and insert them into the room by a single click in the current KSLC version.

However, what I suppose you meant was to copy several rooms from one level to another, right? That is unfortunately not possible at the moment, and generally such a feature is very difficult to design, so I don't think it'll be available within any foreseeable future.

Note, it's difficult to design, not implement. There's just too many things to decide what to do about when copying rooms; the actual implementation then is rather trivial.

A simpler approach that might be implemented quite soon is importing a (complete) level into another level. This is way easier, because most of the world.ini settings stay intact. Still there are issues, such as tileset collisions, custom objects etc. that need to be solved.

Anyway, nothing's gonna happen in the nearest future (month or so), since i'm working on different projects now and simply don't have the time needed for KSLC.

Still, any programmers who'd want to join are welcome, KSLC is, after all, open source.

2
Knytt Stories Level Editing Support / Re: KS Level Composer
« on: October 03, 2009, 08:15:50 »
I found the same problem yesterday, I'm investigating it now.

In the mean time, I think the easiest solution is to delete the settings file, KSLC.ini. That should take care of it.

3
Knytt Stories Level Editing Support / Re: KS Level Composer
« on: October 01, 2009, 20:43:17 »
Yes, that's exactly the feature. The room duplication dialog now looks like this:
And all the choices should be working correctly.
The controls are set so that by default, the contained shifts / warps work within the new rooms and outgoing shifts / warps go to same locations as the old rooms. So effectively it creates an alternate path.

4
Knytt Stories Level Editing Support / Re: KS Level Composer
« on: October 01, 2009, 12:23:43 »
New version: 0.3.16

Contains a single fix, thanks to AA, the custom objects shouldnt get chewed up anymore.

5
Knytt Stories Level Editing Support / Re: KS Level Composer
« on: October 01, 2009, 11:05:37 »
[...]
Maybe I'm missing something, but by looking at the source code it doesn't seem that the procedure that saves the World.ini file accounts for Custom Objects anywhere.
[...]

Oy, of course, you're right! I've parsed the params in, but never included them when saving back! Stupid me. Fixing now.

EDIT: Plus, there is an object leak in the code, ep never gets destroyed. Must've been sleeping already when writing that code :P

6
Knytt Stories Level Editing Support / Re: KS Level Composer
« on: October 01, 2009, 09:23:33 »
Bored2death, can you please provide a sample level when this happens? A short one with as little rooms as needed to reproduce is okay, as long as the effect is observable; a description of which of the detected wallswims is the false positive would be nice too.

JerkDouglas, I don't think it has anything to do with the OS, rather there's still some error in parsing the world.ini file. I could not test COs since I don't have a single level using them. I'll try to find one and see what the problem is. Thanks for the report.

7
Knytt Stories Level Editing Support / Re: KS Level Composer
« on: September 30, 2009, 07:24:16 »
Definitely with flags, possibly even with normal warps.

If you know something I don't, please share. I was under the impression that normal warps were working ok. And noone else has ever complained.

8
Knytt Stories Level Editing Support / Re: KS Level Composer
« on: September 29, 2009, 07:54:28 »
Shifts no, that didn't occur to me, there's not much of a chance that a shift destination inside a wall would go unnoticed :)
Warps have been checked since forever, though there may be some issues when using flags.

9
Knytt Stories Level Editing Support / Re: KS Level Composer
« on: September 28, 2009, 16:04:49 »
Good news, everyone :)

KSLC has reached the age of two years today. On 28th September 2007, the first line of its code was written and the first log entry reads "Development started. ZLib for Delphi found"

To commemorate, I've dusted off the decaying sources and made some changes, yay. New version 0.3.15 is out there, grab it while it's still warm :)
In this new version:
Fixed: Crashes after selecting rooms in the map view
Fixed: Selection-only room duplication copied wrong parameters from World.ini
Fixed: Exception occured when entering negative / invalid numbers in Duplication dialog
Fixed: Custom objects should stay untouched
Added: Option whether to modify shifts / warps or not while duplicating rooms

I think many people have been waiting for these features, at least it seems so from the posts here. Hopefully I didn't mess anything up, so give it a try. But remember, always make a backup before trying KSLC, just in case.

10
Knytt Stories Level Editing Support / Re: KS Level Composer
« on: September 23, 2009, 09:23:45 »
[...]
 1) I have no idea how to start to work on a new screen past the first. All that clicking on the minimap seems to do, is create a selection of the screens you click on.
[...]
 2) Once any selection larger than one screen has been made, the program crashes shortly thereafter.
[...]
 3) Whenever I save in KSLC, it chews up the custom object parameters I've set in my world.ini file...
[...]

Sorry to get back to you so late.

Thanks for the praise, as a programmer I really rarely see such, I really appreciate it :)

1. KSLC was meant only as a checker, editting features are there only for the "quick-fix" type of editting rather than creating new levels from scratch. A full-fledged editor would be much more difficult to make. Though I can see KSLC is becoming an editor more and more.
If you have a clear use-case on how to implement new room creation, I'd appreciate if you shared your thoughts. For me, this kind of work is the most difficult (beside getting the free time, obviously ;) , deciding on how the stuff should interact together; if a mouse-click should start selection or create a new room or ...

2. This is a known issue, I believe I've already solved it, but since in between I've messed up other things, the new version is not yet ready for release.

3. KSLC was built when custom objects didn't exist, so it doesn't account for them. I really need to catch up on this issue. Thanks for the report, I'll add it to the ToDo list.

11
Knytt Stories Level Editing Support / Re: KS Level Composer
« on: September 23, 2009, 09:15:09 »
Right now it should take all screen's parameters in World.ini and copy them to the new room exactly the same as they were.

12
Knytt Stories Level Editing Support / Re: KS Level Composer
« on: September 18, 2009, 08:00:43 »
At the same page where you can find KSLC - http://xoft.cz/games/kslc.html - Downloads section, support DLLs

13
Knytt Stories Level Editing Support / Re: KS Level Composer
« on: May 12, 2009, 20:24:10 »
... edit KSLC's .ini

No need for this, You could actually use the menu from inside KSLC, it is in the Settings.

Thanks for the clarification, BloxMaster.

KSLC should work with any KS mod, provided that it uses the same level file format and same directory structure as KS (but then I can't imagine what the "mod" would actually be ;)


On a different note, I'm working on the shifts / warps duplication and it's proving to be quite a lot of work on the coding side. An update is likely to be quite far away in the future, unfortunately.

14
Knytt Stories Level Editing Support / Re: KS Level Composer
« on: May 12, 2009, 19:58:03 »
Pardon me for my ignorance, but what is KSA?

15
Knytt Stories Level Editing Support / Re: KS Level Composer
« on: March 05, 2009, 22:37:47 »
I'm not sure, I think I've already fixed that bug but I think I haven't released that version yet. Thanks for reminding me, I'll try to improve on that soon(ish).

Oh, I remember now, I fixed the problem with copying totally unrelated data, but wanted to add an option whether to adjust or not shifts / warps in the copied section. I'll try looking the info up on the old forum.

Pages: [1] 2