Lemmings Forums

NeoLemmix => Bugs & Suggestions => Closed => Topic started by: namida on March 06, 2019, 09:04:50 PM

Title: [SUGGESTION][EDITOR] Add support for sketches
Post by: namida on March 06, 2019, 09:04:50 PM
In old-formats there was a "sketches" style containing objects which do not show up during gameplay, but can be used to measure various things, eg. the length of a bridge, the destruction area of a bomber, etc.

New formats has no equivalent. The images from the sketches style are attached to the third post in this topic, though the blocker one needs fixing.
Title: Re: [BUG][CONTENT] nx_sketches style is missing
Post by: Nepster on March 07, 2019, 04:53:25 PM
Simple reason: I don't have this style :) Could you please post it here? Thanks.
Title: Re: [BUG][CONTENT] nx_sketches style is missing
Post by: namida on March 07, 2019, 07:38:06 PM
It doesn't convert automatically, so I'll do a manual conversion.

Is there a "sketch" object type in new-formats? (Implementation: Ignored entirely by the game; displayed in the editor. Nice extras in editor: Semitransparent and/or "remove all sketch objects from this level" feature.)

Alternatively, it might be preferable to directly include these as an editor feature. In case that's preferred, here are the images. Note that if I'm not mistaken, the blocker one is NOT accurate in regards to trigger areas' Y coordinates (it is for X).
Title: Re: [BUG][CONTENT] nx_sketches style is missing
Post by: Nepster on March 11, 2019, 06:35:30 PM
I did a brief search through the code and I don't think NeoLemmix currently supports sketch objects. There is a type "DOM_SKETCH" internally, but it is never used anywhere. And neither can the editor write sketch pieces to .nxlv level files, nor can NeoLemmix read them in.

So I suggest renaming this thread to something like "[SUG][EDITOR] Add sketch pieces".
Regarding the workload: This wouldn't be too bad if such pieces aren't stored in the nxlv-files, meaning no persistence at all. It they should be persistent over saving and reloading a level, we would have to extend the nxlv-format, which is somewhat more work.
Title: Re: [BUG][CONTENT] nx_sketches style is missing
Post by: namida on March 11, 2019, 07:20:45 PM
I'm not sure if there's a need to save them. May be good to see what other people think here.

EDIT: This topic is continued here: https://www.lemmingsforums.net/index.php?topic=4824.0