Helixhorned, on 01 January 2016 - 04:29 AM, said:
The reason is that after having found the NUKEBUTTON using neartag(), the code goes on to do a hitscan(), and only if it arrives at a wall without overpicnum, proceeds with the level exit. Having the NUKEBUTTON be blocking prevents that
.
Not sure I quite understand. In my example map it is literally NUKEBUTTONs - no mask walls or tagged sectors , just NUKEBUTTONs.
Helixhorned, on 01 January 2016 - 04:29 AM, said:
This is more likely another issue that was at one time discussed
from here on.
Now that may well explain the keycard switches responsible for a good portion of my main swear box's contents - they were planted on a complex rotate-rise sector(s). Shall investigate further but it makes sense - the test map in that disussion really helped.
Helixhorned, on 01 January 2016 - 04:29 AM, said:
I think that any non-zero lotag would do, but these values are used as a convention so as not to conflict with the other tags in the map.
I checked up to e2l4 (at which point I got bored) and they use 65535 except secret levels of course, also they are all non-blocking (I used an earlier version of mapster
)
Helixhorned, on 01 January 2016 - 04:29 AM, said:
Check "set showpal 1" using a.m32. You need a headroom of four color indexes above the one you specify since the range for the periodic fading is [0 .. 4].
Indeed, I used "do set showpal 1". Trouble is, purple-that-can-cycle-to-bright only exists in the last 16 full-bright colours which don't have any headroom - as you said "... you can't really use the last 16 (fullbright) colors, only the gradual "ramps" of the Duke3D palette." So in tiles.cfg I used:
colors 139 244
So it is old fashioned purple for blocking and if I move mouse over the sprite sure it gets a bit phsychadelic but at includes bright colours which, being a blind old fart, help me read the text.
TTFN,
Jon
PS: For anyone using "showpal", you may find it easier if you remove the following code from a.32 (circa line 1449 last time I looked):
ifge tmp 240
{
drawline16 xx 100 xx 200 -tmp
add xx 1
drawline16 xx 100 xx 200 -tmp
add xx 1
}
This doubles the scaling above colour 240 which threw me for a while and it only clicked what was happening after tickmarks were added in r5428.