Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-23-2001, 12:31 PM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
tiletype(x,y)

a good idea would be

tiletype(x,y)

this way, the type of tile the player is on would be returned in a variable, thus making the onwall() and onwater() variables obsolete. the returned variables are as so


0 nonblocking
2 hurting underground
3 chair
4 bed upper side
5 bed lower side
6 swamp
7 lava swamp
8 near water
9 near lava
11 water
12 lava
20 throw-through (fences)
21 jumping stone
22 blocking tile


that way, something could be done like

if (tiletype(playerx+1.5,playery+2)=3) setani new_sit,;

one can see why this would not only replace onwater() and onwall(), but also eliminates the need for new commands like onchair() or onbed(). Anyways, hopefully stefan will see this and include it in the next version.
Reply With Quote
  #2  
Old 12-23-2001, 10:43 PM
jeff335 jeff335 is offline
Registered User
Join Date: Oct 2001
Posts: 605
jeff335 is on a distinguished road
makes sense. Hear, hear!
__________________

Quote:
Some people like standing around talking to idiots in the real world, and some don't. Neither choice is inherently better than the other.

-Kaimetsu
Reply With Quote
  #3  
Old 12-24-2001, 02:28 AM
aesquivel aesquivel is offline
Registered User
Join Date: Sep 2001
Location: Whitewright
Posts: 346
aesquivel is on a distinguished road
Send a message via AIM to aesquivel
Re: tiletype(x,y)

Quote:
Originally posted by Faheria_GP2
a good idea would be

tiletype(x,y)

this way, the type of tile the player is on would be returned in a variable, thus making the onwall() and onwater() variables obsolete. the returned variables are as so


0 nonblocking
2 hurting underground
3 chair
4 bed upper side
5 bed lower side
6 swamp
7 lava swamp
8 near water
9 near lava
11 water
12 lava
20 throw-through (fences)
21 jumping stone
22 blocking tile


that way, something could be done like

if (tiletype(playerx+1.5,playery+2)=3) setani new_sit,;

one can see why this would not only replace onwater() and onwall(), but also eliminates the need for new commands like onchair() or onbed(). Anyways, hopefully stefan will see this and include it in the next version.

thats a great idea *CLAPS*
__________________
Reply With Quote
  #4  
Old 12-24-2001, 06:42 AM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
wow, thanks guys!
Reply With Quote
  #5  
Old 12-24-2001, 09:19 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
I got a good idea! Add the DELETE key to the list of keydowns!
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #6  
Old 12-24-2001, 06:23 PM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
That exact command in implemented in the NewWorld EXE I believe. Would be nice if wee had it =(
__________________

subliminal message: 1+1=3
Reply With Quote
  #7  
Old 12-24-2001, 10:45 PM
jeff335 jeff335 is offline
Registered User
Join Date: Oct 2001
Posts: 605
jeff335 is on a distinguished road
C'mon Stefan...give us tiletype(x,y)!
__________________

Quote:
Some people like standing around talking to idiots in the real world, and some don't. Neither choice is inherently better than the other.

-Kaimetsu
Reply With Quote
  #8  
Old 12-31-2001, 02:35 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
It is already supported, but only works for
the new tiles layout and newworld tiles layout
Reply With Quote
  #9  
Old 01-01-2002, 12:48 AM
Spanko Spanko is offline
Squeaker of Soles
Spanko's Avatar
Join Date: Nov 2001
Location: The Netherworl...lands
Posts: 1,366
Spanko is on a distinguished road
Send a message via ICQ to Spanko Send a message via AIM to Spanko Send a message via Yahoo to Spanko
Quote:
Originally posted by Stefan
It is already supported, but only works for
the new tiles layout and newworld tiles layout
Soul Blade-

THE new tiles layout? Meaning now? Present Tense? Already added?

So tell us about it!

When I look at the tile defs, I noticed something strange....

Take a look

mtiles1.png,m_outside_world,0,0,0

3 0's at the end...which means if you play with them it probably does something....
__________________

ICQ: 125283920
MSN: [email protected]
AIM: Squeax0r
Squeaker seems unable to access the forum using this account.. tis a sad day.
Now with occasional Asuka flavour! Ooops a bit too much...
Asuka should be king of Dustari!

"Y'know, some days even my lucky rocketship underpants don't even help."
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:01 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.