Wolf Planet Forum Index Wolf Planet
We want you here!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Question] Warped floor and ceiling!

 
Post new topic   Reply to topic    Wolf Planet Forum Index -> Coding Alliance
View previous topic :: View next topic  
Author Message
JackaL
Soldier


Joined: 17 Jan 2005
Posts: 69
Location: New Zealand

PostPosted: Wed Jan 19, 2005 6:52 am    Post subject: [Question] Warped floor and ceiling! Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Mega Luigi
Site Admin


Joined: 12 Jan 2005
Posts: 127
Location: Brazil

PostPosted: Wed Jan 19, 2005 6:09 pm    Post subject: Reply with quote

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:

Code:
int      difficulty;


Now, add this line below:

Code:
boolean      warped;


Now in WL_Agent.c, add this line to WarpPlayer() function:

Code:
 gamestate.warped ^= 1;


Now open Wl_Draw.c and locate this line:

Code:
asm   mov   ax,0x1919


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
View user's profile Send private message Send e-mail MSN Messenger
JackaL
Soldier


Joined: 17 Jan 2005
Posts: 69
Location: New Zealand

PostPosted: Wed Jan 19, 2005 7:05 pm    Post subject: Reply with quote

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 Sad
_________________
Amohs Awamuras...Self Titled "EoD Clone"
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Mega Luigi
Site Admin


Joined: 12 Jan 2005
Posts: 127
Location: Brazil

PostPosted: Wed Jan 19, 2005 7:36 pm    Post subject: Reply with quote

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. Smile
_________________
Mega Luigi
Site Admin
Forums Admin
Back to top
View user's profile Send private message Send e-mail MSN Messenger
JackaL
Soldier


Joined: 17 Jan 2005
Posts: 69
Location: New Zealand

PostPosted: Thu Jan 20, 2005 7:58 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Mario Maniac
Site Admin


Joined: 13 Jan 2005
Posts: 47
Location: Brazil,RS,POA

PostPosted: Thu Jan 20, 2005 5:28 pm    Post subject: Reply with quote

Yes, you must do it. You can get it at MCS'S site.
_________________
-Mario Maniac
Back to top
View user's profile Send private message Send e-mail MSN Messenger
JackaL
Soldier


Joined: 17 Jan 2005
Posts: 69
Location: New Zealand

PostPosted: Thu Jan 20, 2005 8:00 pm    Post subject: Reply with quote

Ok, thanks.
_________________
Amohs Awamuras...Self Titled "EoD Clone"
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Wolf Planet Forum Index -> Coding Alliance All times are GMT
Page 1 of 1

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001 phpBB Group

Chronicles phpBB2 theme by Jakob Persson (http://www.eddingschronicles.com). Stone textures by Patty Herford.