View Single Post
  #1  
Old 02-22-2011, 03:16 AM
AlexanderK AlexanderK is offline
Registered User
AlexanderK's Avatar
Join Date: Mar 2006
Location: Germany
Posts: 79
AlexanderK is on a distinguished road
Send a message via MSN to AlexanderK
Tileset and standard features questions

As I'm planning to have spikes that hurt the player when it walk on them, and pits, the player falls down, I looked into tiletypes, at is much easier to check for the tiletype than to check for single tiles.
This raised some questions:

Blue field:
Is it just my server's configuration or has lava been removed? All the templates say that there should be lava, but I can swim everywhere in there and tiletype(x,y) returns 11.

Red field:
tiletype(x,y); returns 2, hurting underground. When you stand on there, your character slowly looses 0.5 player.hearts until he dies. Is there a way to stop that? I guess I could use some kind of loop and add player.hearts but maybe theres something like disablehurtinggrounds(); or disabledying(); or a serveroption I don't know about.

Green field:
tiletype(x,y) returns 10. I have found no documentation about that tiletype. Is it undefined? Well then I could use it for scriptinng purposes without having to worry about the game's features interfering.

Finally, is there a way to turn off the little animations by your feet when you stand in water or wamp or just change their look?

Last edited by AlexanderK; 02-22-2011 at 03:30 AM..
Reply With Quote