Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


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:21 AM.


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