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

0 Members and 1 Guest are viewing this topic.

Offline namida

  • Administrator
  • Posts: 12398
    • 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 Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline Nepster

  • Posts: 1829
    • 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: 12398
    • 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 Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline Nepster

  • Posts: 1829
    • 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: 12398
    • 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.

EDIT: This topic is continued here: https://www.lemmingsforums.net/index.php?topic=4824.0
« Last Edit: June 05, 2020, 12:38:35 AM by namida »
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)