Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Fixed]LBR Monsters, no animations when attacking
Author Message
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #11
RE: LBR Monsters, no animations when attacking
It's strange that they are all from LBR script file Shock

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)
(This post was last modified: 08-23-2012 10:34 AM by darksun84.)
08-23-2012 07:04 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #12
RE: LBR Monsters, no animations when attacking
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.
08-24-2012 12:13 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #13
RE: LBR Monsters, no animations when attacking
By the way, you can use this workaround for making them showing attack animation

PHP Code:
[EVENTS e_override_animation]
ON=@Hit
anim 
<R4,6>

ON=@HitMiss
anim 
<R4,6

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 Sad , i don't even know if nearby players will get the animation ( but i think so)
(This post was last modified: 08-29-2012 08:36 AM by darksun84.)
08-29-2012 08:30 AM
Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #14
RE: LBR Monsters, no animations when attacking
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.

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
(This post was last modified: 08-30-2012 08:01 AM by Anarch Cassius.)
08-30-2012 08:00 AM
Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #15
RE: LBR Monsters, no animations when attacking
Would putting this code in @HitTry work instead of putting it in both @Hit and @HitMiss?
08-30-2012 08:27 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #16
RE: LBR Monsters, no animations when attacking
I tried , but in @HitTry anim doesn't want to work :\
08-30-2012 08:33 AM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #17
RE: LBR Monsters, no animations when attacking
Hopefully it is fixed in the 1532 build. I had a typo in the 1531 that caused it to stop working completly.

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
08-30-2012 09:11 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #18
RE: LBR Monsters, no animations when attacking
Looks fixed Smile thank you ben !
what was the original problem at the end ?
(This post was last modified: 08-31-2012 08:15 AM by darksun84.)
08-31-2012 08:12 AM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #19
RE: LBR Monsters, no animations when attacking
Very primitive detection of animation type Smile
It was assuming that anything over 400 was a human or equipment, which was the case in the past... but not anymore Smile
The fix could have possibly buged something else, so just keep an eye for anomalies.

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
08-31-2012 08:42 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #20
RE: LBR Monsters, no animations when attacking
Sure!
08-31-2012 09:03 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)