Levitation Bounce
When Secrets of Faydwer went live, SoE removed the bounce effect when you have a levitation type spell on you. Would it be possible to introduce this to the Emu or is it a client thing?
|
If you have the ability to edit and compile the source code, changing file spells.cpp line 985 from:
Code:
SendAppearancePacket(AT_Levitate, 2, true, true); Code:
SendAppearancePacket(AT_Levitate, 1, true, true); |
That sounds simple enough. I haven't even attempted to do any source modifications yet. I'm still learning perl scripting and cosmetic type things. Could it be added as a rule for easier modification for the novice?
|
Add a rule!
|
Quote:
Code:
SendAppearancePacket(AT_Levitate, RuleB(Character, LevitationBounce) ? 2 : 1, true, true); |
Was just thinking, wouldnt turning off the bounce also reduce the clients sending of location updates since while bouncing, the Z axis is constantly changing?
Its probably the reason Sony changed this beyond the fact that it tends to lag everyone while raiding for those raids where DMF/levitate is needed. |
Does the Z axis actually change when bobbing though? I was always under the impression the bobbing was merely just an 'appearance' thing.
|
The bobbing is probably just appearance, since everyone bobs at the same rate the client can just set the appearance of a foreign entity to bob and it should match up pretty well. I would be pretty silly if they actually were sending more updates than usual for that, not that I would put it past Sony.
|
Inquiring minds wanna know.
|
Quote:
It doesn't look like we have anything currently send in the spawn packet that tells other clients that it's levitating, other than maybe flymode, so that might be something we need to look into as far as a visual issue. |
Setting the flymode to 1 or 2 in the spawn struct has the same effect as #flymode 1 or 2.
#flymode 1 is not actually levitate without the bounce, as with flymode 1, you can gain height by just looking upwards and moving forwards, which you can't do with levitate. |
All times are GMT -4. The time now is 12:54 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.