Duke4.net Forums: Stainglass windows. - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Stainglass windows.

#1

When I'm making smashable stain glass windows of duke and battlelord, I can only get the battlelord to smash, duke wont smash.

My way of building them is use M for masked wall press b then h on the masked wall.

Using the latest Eduke32.
0

User is offline   Aleks 

#2

I was quite sure the stainglass with Duke is breakable as well, but seems it isn't - the Battlelord tile is named "STAINGLASS1" while Duke one is nameless, so probably can't be destroyed at all.

BTW, where was the one with Duke used in the game anyway?
0

User is offline   ck3D 

#3

No yeah, I'm pretty sure only the Battlelord tile could ever be destroyed, going as far as DOS Duke (and indeed the Duke one was never used in the game that I know of). Pretty easy fix in .con I would assume, though.

This post has been edited by ck3D: 14 July 2021 - 10:41 AM

0

User is offline   Jimmy 

  • Let's go Brandon!

#4

I don't think the Duke stain glass is used in the game.
1

User is offline   oasiz 

  • Dr. Effector

#5

Yup, Aleks is on the right track, from SECTORS.C
        case STAINGLASS1:
            updatesector(x,y,&sn); if( sn < 0 ) return;
            lotsofcolourglass(spr,dawallnum,80);
            wal->cstat = 0;
            if(wal->nextwall >= 0)
                wall[wal->nextwall].cstat = 0;
            spritesound(VENT_BUST,spr);
            spritesound(GLASS_BREAKING,spr);
            return;


You would need to define i.e. STAINGLASS2 in NAMES.H and insert a case for it under STAINGLASS1 to get the same effect (Needs a re-compile).
Did a quick grep through 1.5 code and I couldn't find anything for tile number 511 (510 is blord one).
Seems that even 0.99 defs.con lacks the definition so they probably just forgot about it likely never got used (Also what Jimmy & ck3d pointed out, I don't remember seeing this.)
1

#6

Thanks guys, that solves that issue, I presumed it was coded. :D
1

User is offline   DNSKILL5 

  • Honored Donor

#7

It's not used in the game originally, but it was definitely meant to be seen in Death Row in the chapel, at least that's where it would've fit in the best. Would've been a great indicator for the player of what was awaiting them once they reach the abyss.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options