![]() |
Swimming
While trying to add a custom swim animation on Mythic, I noticed something annoying.
If it has more then one frame, it'll keep repeating the first frame over and over again. Why? My conclusion is that Graal keeps checking if the player is swimming, and if he is, it sets his animation to swim.gani. PHP Code:
PHP Code:
EDIT: Forgot to mention that if you do replaceAni("swim", "yourswimani"); - it'll do the same thing and repeat the first frame of your animation over and over again. |
Hmm, is the continuous option for the gani set to true or false? I found that you'll encounter this problem if the option is false, and you set the gani in a loop.
|
Quote:
|
Eh, may as well try it. I just found no matter what, setting ani's in timeouts can cause the same problem.
|
You're not making a custom movement system? :eek:
I find the default one rather lacking. |
Hmm, well I reread and I guess you're right. There's a lot that needs to be redone in the default system... including this, there is also removing of the swim and swamp effects from the player. These show no matter what, and it's pretty annoying to see this show up even when you use a custom system.
|
Quote:
|
Quote:
|
Quote:
|
Quote:
2. It works. 3. See number 1. 4. Errr...what problems?! ;D 5. Well..yea. 6. disableWeapons()? 7. player.freezetime, and you could probably use disableDefMovement() aswell. |
Quote:
|
Quote:
Quote:
Quote:
Quote:
|
Quote:
|
Quote:
Anyways, stop derailing this thread please, hopefully Stefan will be arsed to share his wisdom supreme in this thread. |
Custom movement systems are oh so much better :[
|
Quote:
|
Well there's always my barebones system :)
But ya... like I said, lots of default stuff needs to be fixed to not interfere with scripted systems. There's also another post just made recently about step sounds and such. |
Quote:
|
Still you had to do so in a hackish way.
|
Quote:
|
| All times are GMT +2. The time now is 06:43 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.