View Full Version: [Help] Adams' Muti Floors

wolfers >>Coding Alliance >>[Help] Adams' Muti Floors


<< Prev | Next >>

Conner94- 03-02-2005
[Help] Adams' Muti Floors
I got it working, so I can have more than one floor texture per level, but I want to do it to the ceiling to using Plane 4. Activating Plane 4 is no problem, but how do I change the drawflats (or anything else) to get it to do ceiling with plane 4?

Deathshead- 03-03-2005

This might be something to ask on DHW Conner... I was thinking something similar with the fourth plane thing. Wall Patches on a seperate plane, so you can have scrolling wall patches, animated wall patches, etc. Anyway, since the threads on DHW, it might be easier to ask the maker.

Conner94- 03-03-2005

I can't ask anything because I am banned frome there. Is Adam on this fourm? He is, right?

Deathshead- 03-03-2005

What you do to get kicked off? Anyway, I think I might have worked out part of it. The first bit doesn't look too hard (in my code). I'll try it when I get home. But here's my idea: Remember, I have BrotherTank's Starry Sky/ C/F Textures mod. //First, create the new variables: int roofx,roofy; unsigned currooftex, lastrooftex; Now: //SkyState is for Starry Sky if (!SkyState) //src_top=PM_GetPage(tex_c); // load ceiling texture lastrooftex=-1; This is all I've come up with so far, and it's fairly simple. Just mess around abit, you'll get there. All I practically did was rename the Variables for the roof, then used them on the ceiling side of the flats

Conner94- 03-03-2005

Does it work with 4th plane?

winwolf3d- 03-06-2005

Well, first off, why do you have four planes? Is the third being used? Can the fourth and third be used together as Ripper mentioned at DHW? Both CE and WDC should handle the hi/lo-byte stuff. Anyway, to grab the value from a plane, use MAPPLANE(x,y,3) where x is an xtile, y is a ytile and 3 is the fourth plane (planes start at #0). What seems to be the trouble, Conner?

Conner94- 03-07-2005

I will test it later. I had no trouble, I just wanted to know how to have the ceiling using the fourth plane.

KyleRTCW- 03-11-2005

There is no 4th plane, the 3rd one was coded in already and besides, the current editors don't support planes past 3 (Am I Right?)

winwolf3d- 03-11-2005

WDC v1.13.x supports 4-8 planes. But you need to make a couple of changes to your source code to work with them, it's not as simple as changing MAPPLANES to 4.

Conner94- 07-04-2005

I got it to work! I'll make another post on how-to.

George- 07-15-2005

Anyway, to grab the value from a plane, use MAPPLANE(x,y,3) where x is an xtile, y is a ytile and 3 is the fourth plane (planes start at #0). Don't you mean MAPSPOT? Let's not confuse the kids now. :lol: edit: Looks like they weren't fooled anyway: http://wolfers.greatboard.com/viewtopic.php?t=232

Conner94- 07-16-2005

Anyway, to grab the value from a plane, use MAPPLANE(x,y,3) where x is an xtile, y is a ytile and 3 is the fourth plane (planes start at #0). Don't you mean MAPSPOT? Let's not confuse the kids now. :lol: edit: Looks like they weren't fooled anyway: http://wolfers.greatboard.com/viewtopic.php?t=232 Hehe...I never noticed that was even mapplane, I just though mapspot :) .

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.