Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-20-2011, 01:07 PM
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
Water Splash

I've been working on my custom movement system and the swimming/drowning part is almost finished.
One thing that makes it just not feel right is that it misses the classic Graal water splashes. How can I access them?
I've found something here, but I'm not sure how that could help me.
http://wiki.graal.net/index.php/Crea...ent/PlayerData
Reply With Quote
  #2  
Old 02-20-2011, 01:51 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
What you found looks like some Graal 3D leftovers. For the default water splash stuff you can use putleaps(type, x, y), the "leap type" for water is 5.
Reply With Quote
  #3  
Old 02-20-2011, 01:55 PM
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
Quote:
Originally Posted by Crow View Post
What you found looks like some Graal 3D leftovers. For the default water splash stuff you can use putleaps(type, x, y), the "leap type" for water is 5.
This will only show Clientside, right?
Reply With Quote
  #4  
Old 02-20-2011, 02:00 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by AlexanderK View Post
This will only show Clientside, right?
Probably, yea. If you want all players to see it, I suggest creating a gani with the water splash in it, then doing some magic so all players see it. There are several ways, pick one.
Reply With Quote
  #5  
Old 02-20-2011, 04:56 PM
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
Thank you Crow!
I guess displaying it clientside is enough. I don't want more timeout-loops going over players... My server is already kind of laggy in v6. It runs smoothly in v5 though. :/
Reply With Quote
  #6  
Old 02-20-2011, 05:56 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by AlexanderK View Post
Thank you Crow!
I guess displaying it clientside is enough. I don't want more timeout-loops going over players... My server is already kind of laggy in v6. It runs smoothly in v5 though. :/
You're doing something very wrong then.

To display "water splashing" globally, you just make a gani (as Crow suggested) and use a global (1-199) index with showani when they enter the water and hide it like a second later.
__________________
Quote:
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 06:46 PM.


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