![]() |
[Fixed]LBR Monsters, no animations when attacking - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: [Fixed]LBR Monsters, no animations when attacking (/Thread-Fixed-LBR-Monsters-no-animations-when-attacking) Pages: 1 2 |
RE: LBR Monsters, no animations when attacking - darksun84 - 08-23-2012 07:04 AM It's strange that they are all from LBR script file ![]() By working on bodyconv.def i managed to get those monsters working properly, But it's not a good solution, they override other monsters. The interesting thing is that if we put a working monster ,like an ogre , on the "slot" of not working monsters, the ogre will not attack! The common point of the not working monsters is that they are assigned to a chardef animId > 400 in anim1.mul But i don't think it's a client bug, it will be strange! In few words, the animations from different anim muls are fine, i think that Sphere doesn't handle in a good way the assigned slot from animx to anim1 with a id > 400 ( and high detail creature type) RE: LBR Monsters, no animations when attacking - darksun84 - 08-24-2012 12:13 AM Instead, Stygian Abyss monsters, that are mapped into a > 400 value slot works fine . Probably because they are mapped from the .uop file and not from a mul one. RE: LBR Monsters, no animations when attacking - darksun84 - 08-29-2012 08:30 AM By the way, you can use this workaround for making them showing attack animation PHP Code: [EVENTS e_override_animation] Animation 4,5,6 for High details creatures are always attacking animation ( i guess for low too). I prefer to attach it as a TEVENTS in the chardef of those monsterss But i hope someone do a fix or a better solution ![]() RE: LBR Monsters, no animations when attacking - Anarch Cassius - 08-30-2012 08:00 AM Yeah, ANIM is a broadcast so everyone should see. Good fix for now but it'd be nice to have functionality in the hardcode. For one thing Sphere scales ANIM speed by attack speed and that would be hard to script. RE: LBR Monsters, no animations when attacking - RanXerox - 08-30-2012 08:27 AM Would putting this code in @HitTry work instead of putting it in both @Hit and @HitMiss? RE: LBR Monsters, no animations when attacking - darksun84 - 08-30-2012 08:33 AM I tried , but in @HitTry anim doesn't want to work :\ RE: LBR Monsters, no animations when attacking - Ben - 08-30-2012 09:11 AM Hopefully it is fixed in the 1532 build. I had a typo in the 1531 that caused it to stop working completly. RE: LBR Monsters, no animations when attacking - darksun84 - 08-31-2012 08:12 AM Looks fixed ![]() what was the original problem at the end ? RE: LBR Monsters, no animations when attacking - Ben - 08-31-2012 08:42 AM Very primitive detection of animation type ![]() It was assuming that anything over 400 was a human or equipment, which was the case in the past... but not anymore ![]() The fix could have possibly buged something else, so just keep an eye for anomalies. RE: LBR Monsters, no animations when attacking - darksun84 - 08-31-2012 09:03 AM Sure! |