PDA

View Full Version : Wall Allignment


Roger
04-07-2001, 11:46 PM
Is it possible to get a wall to be "allignable"? I copied walls from Redneck Rampage and I when I hit ">" to allign the walls, it locks up. Do I have to name it in Defs.con, then give it cstat 16 in EDuke.con to allign it, or is this information hard-coded?

Usurper
04-08-2001, 03:48 AM
I assume you mean wall textures.

For autoalign, wall texture widths must be powers of 2. 2,4,8,16,32,64,128,256,or 1024.

cyborg
04-08-2001, 08:32 AM
Where on earth did you get the idea that you could cstat textures?

Roger
04-08-2001, 02:12 PM
Thanks to Usurper, even though I think its size is EVEN X EVEN. And Cyborg, I got the cstat idea from a site I found on con hacking. I forgot the website, but they missed a few items. In other words:
16= Wall
32= Floor.
They forgot to add "sprite(s)." But cstat can be used to make a floor texture. When I make one, even if its square, it will be screwed-up. So I fix it with cstat 32.

cyborg
04-08-2001, 04:21 PM
Those particular flags you meantion change sprite alignment and have nothing to do with the wall structure.
Floor alignment only works correctly with sprites with x widths in multiples of 8.