Author Topic: [SUGGESTION][EDITOR] Add support for sketches  (Read 126 times)

0 Members and 1 Guest are viewing this topic.

Offline namida

  • Administrator
  • Posts: 8506
    • View Profile
    • NeoLemmix Website
[SUGGESTION][EDITOR] Add support for sketches
« 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.
« Last Edit: March 11, 2019, 07:21:56 pm by namida »
My released level packs:
Lemmings Plus Series | Doomsday Lemmings

Offline Nepster

  • Moderator
  • Posts: 1802
    • View Profile
Re: [BUG][CONTENT] nx_sketches style is missing
« Reply #1 on: March 07, 2019, 04:53:25 pm »
Simple reason: I don't have this style :) Could you please post it here? Thanks.

Offline namida

  • Administrator
  • Posts: 8506
    • View Profile
    • NeoLemmix Website
Re: [BUG][CONTENT] nx_sketches style is missing
« Reply #2 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).
My released level packs:
Lemmings Plus Series | Doomsday Lemmings

Offline Nepster

  • Moderator
  • Posts: 1802
    • View Profile
Re: [BUG][CONTENT] nx_sketches style is missing
« Reply #3 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.

Offline namida

  • Administrator
  • Posts: 8506
    • View Profile
    • NeoLemmix Website
Re: [BUG][CONTENT] nx_sketches style is missing
« Reply #4 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.
My released level packs:
Lemmings Plus Series | Doomsday Lemmings