Author Topic: Bizarre Custlemm/nocdlem Problem  (Read 8470 times)

0 Members and 1 Guest are viewing this topic.

Jazzem

  • Guest
Bizarre Custlemm/nocdlem Problem
« on: October 02, 2005, 03:52:14 PM »
I've come across a game-ruining problem that seems to have started today, and I have no idea why it's doing it. Whenever a lemming walks into an interactive object (Level exit, lava, trap etc), it'll simply ignore it and act as if it wasn't there (So if you have lava at the bottom of the level, the lemming will fall through it and die because of falling through the bottomless gap, not because of the lava). It also means I cannot complete levels, as the lemmings do not react to the exit.

Does anyone know why it's happening, and could explain how to stop it? All help appreciated.

Offline Shvegait

  • Posts: 772
    • View Profile
Re: Bizarre Custlemm/nocdlem Problem
« Reply #1 on: October 02, 2005, 04:21:25 PM »
Not really bizarre, limitations perhaps.

Make sure your interactive objects (traps, exits) line up at a Y value divisible by 4 (Edited for accuracy).

Make sure your Z-order of traps and exits is 14 (15?) or less. Higher Z than this will make the trap/exit "fake" (useful if you need fake exits (or traps), as in one of the Holiday Lemmings levels.)

Also, if the lava is at the very bottom of the screen, it might not be able to affect lemmings anyway, so raise it up a little. ccexplore has said something about how the trigger region for some traps, etc. is not necessarily exactly where you expect, and can be cut off completely.

Jazzem

  • Guest
Re: Bizarre Custlemm/nocdlem Problem!
« Reply #2 on: October 02, 2005, 04:38:13 PM »
Wow, it was just the Z-variables then. Thank you! :D

Offline ccexplore

  • Posts: 5311
    • View Profile
Re: Bizarre Custlemm/nocdlem Problem
« Reply #3 on: October 02, 2005, 08:21:49 PM »
Quote from: Shvegait  link=1128268334/0#1 date=1128270085
Make sure your interactive objects (traps, exits) line up at a Y value divisible by 8 (I think it's 8, anyway).

4, actually.  (Of course, 8 would work too)

Quote
Make sure your Z-order of traps and exits is 14 (15?) or less.

15

Incidentally, since entrances don't work the same way as traps, you can set your entrances' z-orders to 16 and above to free up slots for traps.  Ditto for decorative objects that have no effect on Lemmings.

JM

  • Guest
Re: Bizarre Custlemm/nocdlem Problem
« Reply #4 on: October 03, 2005, 10:29:53 AM »
I sometimes have trouble with some objects not working in my levels. I hate most of my levels because most of them have objects not working but I love my newest packs. I don't have trouble with Custlemm in XP as I run Custlemm in XP.

Leviathan

  • Guest
Re: Bizarre Custlemm/nocdlem Problem
« Reply #5 on: October 03, 2005, 05:58:57 PM »
I noticed that the acid in the pink brick set has a faulty trigger area...
The lemming drowns 2 or 3 pixels above the acid surface.

When you want exits to work where they don't work,you can try to put a smal (invisible) terrain piece right below the exit.
If you look closely to my "need any help from above" levels you'll notice what I mean :)

Offline geoo

  • Administrator
  • Posts: 1475
    • View Profile
Re: Bizarre Custlemm/nocdlem Problem
« Reply #6 on: October 03, 2005, 06:14:39 PM »
I think (but don't know) it depends on the Y-position of the object.

If it's divisible by 4, then the area should be where the object's graphics let suppose.
If not, the area is shifted a little.

JM

  • Guest
Re: Bizarre Custlemm/nocdlem Problem
« Reply #7 on: October 03, 2005, 06:39:12 PM »
I noticed that invisible terrain in Custlemm is shown as plain grey terrain when you run Custlemm in EGA mode. One small problem is the water on A BeastII of a level does not always work wherever you place it. I also noticed that some exits do not work where they are placed. Mostly in graphic sets 3-9. If you lower them into terrain they sometimes work.

Offline ccexplore

  • Posts: 5311
    • View Profile
Re: Bizarre Custlemm/nocdlem Problem
« Reply #8 on: October 10, 2005, 11:29:52 PM »
Let me re-quote what Shvegait already said, in case people weren't listening:

Quote from: Shvegait  link=1128268334/0#1 date=1128270085
Make sure your interactive objects (traps, exits) line up at a Y value divisible by 4

If you don't, the game will still align the trigger area to the nearest lower multiple of 4 anyway, so you end up with the trigger area shifted slightly from where the object's graphics is being drawn.

JM

  • Guest
Re: Bizarre Custlemm/nocdlem Problem
« Reply #9 on: October 13, 2005, 06:44:20 PM »
When the music plays on nocdlem when I play on the levels that use special graphics why do the songs for the special graphics not play?

Offline ccexplore

  • Posts: 5311
    • View Profile
Re: Bizarre Custlemm/nocdlem Problem
« Reply #10 on: October 13, 2005, 07:09:34 PM »
The original CustLemm plays specific tracks from some CD, and it only does exactly 6 tracks it seems.  Nocdlem changes it to play the original music, but still uses the same 6 numbers CustLemm was using for the CD music.

And those 6 numbers apparently don't include any of the special graphics level music.

Once I figure out how the original game handles music selection maybe I can review Nocdlem to behave more like the original game.  But even so, it might not work.  For example, the special graphics level music might be tied in to specific level numbers in the game, rather than actually checking whether the level uses VGASPEC graphics.  It also begs the quesiton of what to do with something like geoo89's level 7, which uses VGASPEC4, which doesn't exist in the original game.

Offline ccexplore

  • Posts: 5311
    • View Profile
Re: Bizarre Custlemm/nocdlem Problem
« Reply #11 on: October 13, 2005, 07:11:43 PM »
I wanted to add that I had some plans in mind for allowing the level designer to select which music to use for each of the 10 levels, but I've been neglecting the project at this point, I'll get back to it at the soonest convenient time.

JM

  • Guest
Re: Bizarre Custlemm/nocdlem Problem
« Reply #12 on: October 13, 2005, 07:56:31 PM »
I played Geoo89's level 7 in the original game and it had no music track it was blank.

Offline ccexplore

  • Posts: 5311
    • View Profile
Re: Bizarre Custlemm/nocdlem Problem
« Reply #13 on: October 13, 2005, 11:31:51 PM »
Hmm interesting, maybe the original game does have logic to detect a level as using special graphics.

Of course, what I need is for CustLemm has the same logic.  It might not.  It's still unclear how CustLemm originated and how much hacking occurred to the program.

I still think the best solution would be an update to nocdlem and nocdlem2 to accept music that can be specified by the level designer directly in the .DAT file.  I'll get to that this weekend or something.

JM

  • Guest
Re: Bizarre Custlemm/nocdlem Problem
« Reply #14 on: October 14, 2005, 05:10:30 PM »
Good idea
I want to hear songs for A Beast of a level etc in Custlemm