| View previous topic :: View next topic |
| Author |
Message |
Conner94 Moderator

Joined: 15 Jan 2005 Posts: 249 Location: ???
|
Posted: Thu Mar 03, 2005 3:14 am Post subject: [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? _________________ My Wolfenstein Website:
http://www.wolf94.cjb.net
Status: Falling apart over a product I ordered that is taking forever to arrive. |
|
| Back to top |
|
 |
Deathshead Corporal

Joined: 18 Feb 2005 Posts: 87
|
Posted: Thu Mar 03, 2005 9:53 am Post subject: |
|
|
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. _________________ Myspace
VampireFreaks
Music4Life
Wolfing Time |
|
| Back to top |
|
 |
Conner94 Moderator

Joined: 15 Jan 2005 Posts: 249 Location: ???
|
Posted: Thu Mar 03, 2005 3:47 pm Post subject: |
|
|
I can't ask anything because I am banned frome there. Is Adam on this fourm? He is, right? _________________ My Wolfenstein Website:
http://www.wolf94.cjb.net
Status: Falling apart over a product I ordered that is taking forever to arrive. |
|
| Back to top |
|
 |
Deathshead Corporal

Joined: 18 Feb 2005 Posts: 87
|
Posted: Fri Mar 04, 2005 5:19 am Post subject: |
|
|
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.
| Code: |
//First, create the new variables:
int roofx,roofy;
unsigned currooftex, lastrooftex;
|
Now:
| Code: |
//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[/code] _________________ Myspace
VampireFreaks
Music4Life
Wolfing Time |
|
| Back to top |
|
 |
Conner94 Moderator

Joined: 15 Jan 2005 Posts: 249 Location: ???
|
Posted: Fri Mar 04, 2005 5:25 am Post subject: |
|
|
Does it work with 4th plane? _________________ My Wolfenstein Website:
http://www.wolf94.cjb.net
Status: Falling apart over a product I ordered that is taking forever to arrive. |
|
| Back to top |
|
 |
winwolf3d Newbie
Joined: 08 Feb 2005 Posts: 13
|
Posted: Mon Mar 07, 2005 4:09 am Post subject: |
|
|
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? |
|
| Back to top |
|
 |
Conner94 Moderator

Joined: 15 Jan 2005 Posts: 249 Location: ???
|
Posted: Tue Mar 08, 2005 4:59 am Post subject: |
|
|
I will test it later. I had no trouble, I just wanted to know how to have the ceiling using the fourth plane. _________________ My Wolfenstein Website:
http://www.wolf94.cjb.net
Status: Falling apart over a product I ordered that is taking forever to arrive. |
|
| Back to top |
|
 |
KyleRTCW Moderator

Joined: 17 Jan 2005 Posts: 36 Location: United States
|
Posted: Sat Mar 12, 2005 3:14 am Post subject: |
|
|
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?) _________________ ~Kyle Albert
Check out my TC: Click Here and Forum: Click Here |
|
| Back to top |
|
 |
winwolf3d Newbie
Joined: 08 Feb 2005 Posts: 13
|
Posted: Sat Mar 12, 2005 4:28 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
Conner94 Moderator

Joined: 15 Jan 2005 Posts: 249 Location: ???
|
Posted: Mon Jul 04, 2005 3:13 pm Post subject: |
|
|
I got it to work! I'll make another post on how-to. _________________ My Wolfenstein Website:
http://www.wolf94.cjb.net
Status: Falling apart over a product I ordered that is taking forever to arrive. |
|
| Back to top |
|
 |
George Newbie

Joined: 17 Jan 2005 Posts: 27
|
Posted: Sat Jul 16, 2005 3:35 am Post subject: |
|
|
| winwolf3d wrote: |
| 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.
edit: Looks like they weren't fooled anyway: http://wolfers.greatboard.com/viewtopic.php?t=232 |
|
| Back to top |
|
 |
Conner94 Moderator

Joined: 15 Jan 2005 Posts: 249 Location: ???
|
Posted: Sat Jul 16, 2005 3:04 pm Post subject: |
|
|
| George wrote: |
| winwolf3d wrote: |
| 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.
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 . _________________ My Wolfenstein Website:
http://www.wolf94.cjb.net
Status: Falling apart over a product I ordered that is taking forever to arrive. |
|
| Back to top |
|
 |
|