| View previous topic :: View next topic |
| Author |
Message |
JackaL Soldier

Joined: 17 Jan 2005 Posts: 69 Location: New Zealand
|
Posted: Wed Jan 19, 2005 6:52 am Post subject: [Question] Warped floor and ceiling! |
|
|
Hello! I used Darkones tutorial for textured floors and cielings. But if i face a more 45 degree angle rather than a straight north,south,east or west angle it looks all warped like. like its been stretched. Is there a simple solution to this? _________________ Amohs Awamuras...Self Titled "EoD Clone" |
|
| Back to top |
|
 |
Mega Luigi Site Admin

Joined: 12 Jan 2005 Posts: 127 Location: Brazil
|
Posted: Wed Jan 19, 2005 6:09 pm Post subject: |
|
|
I don't know if that will helps, but I have made a copy from a tutorial from MCS, so FULL CREDITS MCS!!!!!
Open WL_Def.h and locate this:
Now, add this line below:
Now in WL_Agent.c, add this line to WarpPlayer() function:
| Code: |
| gamestate.warped ^= 1; |
Now open Wl_Draw.c and locate this line:
Replace that line with:
| Code: |
if (gamestate.warped)
asm mov ax,0x0000 (alter this to your liking)
else
asm mov ax,0x1919 |
REMEMBER FULL CREDITS TO MCS!
I don't know if there is some way to make change the textured floors and ceilings, but I think you can try to something. _________________ Mega Luigi
Site Admin
Forums Admin |
|
| Back to top |
|
 |
JackaL Soldier

Joined: 17 Jan 2005 Posts: 69 Location: New Zealand
|
Posted: Wed Jan 19, 2005 7:05 pm Post subject: |
|
|
| Quote: |
| Now in WL_Agent.c, add this line to WarpPlayer() function: |
I dont mean to be a bother... but that doesnt seem to be there  _________________ Amohs Awamuras...Self Titled "EoD Clone" |
|
| Back to top |
|
 |
Mega Luigi Site Admin

Joined: 12 Jan 2005 Posts: 127 Location: Brazil
|
Posted: Wed Jan 19, 2005 7:36 pm Post subject: |
|
|
The WarpPlayer() function is of Teleporter's code. You need to do it first. If you already made and that function don't appears, I think the only way to get it is do the code again.  _________________ Mega Luigi
Site Admin
Forums Admin |
|
| Back to top |
|
 |
JackaL Soldier

Joined: 17 Jan 2005 Posts: 69 Location: New Zealand
|
Posted: Thu Jan 20, 2005 7:58 am Post subject: |
|
|
What do I have to do to have this? Insert a teleporter into my source code? I dont remember having to put a teleport thing in before. _________________ Amohs Awamuras...Self Titled "EoD Clone" |
|
| Back to top |
|
 |
Mario Maniac Site Admin

Joined: 13 Jan 2005 Posts: 47 Location: Brazil,RS,POA
|
Posted: Thu Jan 20, 2005 5:28 pm Post subject: |
|
|
Yes, you must do it. You can get it at MCS'S site. _________________ -Mario Maniac |
|
| Back to top |
|
 |
JackaL Soldier

Joined: 17 Jan 2005 Posts: 69 Location: New Zealand
|
Posted: Thu Jan 20, 2005 8:00 pm Post subject: |
|
|
Ok, thanks. _________________ Amohs Awamuras...Self Titled "EoD Clone" |
|
| Back to top |
|
 |
|