SphereCommunity
How Use C_Gargoyle_male with Human ANim? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: How Use C_Gargoyle_male with Human ANim? (/Thread-How-Use-C-Gargoyle-male-with-Human-ANim)



How Use C_Gargoyle_male with Human ANim? - Jhobean - 08-25-2020 11:04 PM

On our shard we finnaly succes to add dwarf Race. We took Human anim and LOT of item anim and modify it to fit to a dwarf.

For simplify the systeme, We juste replace ANIM 666 (gargoyle_male) 667 (gargoyle female) by our dwarf ANIM. So when we do .body c_gargoyle_male, the character take the shape of a Dwarf. Making it this way make the paperdoll and the equipconv work.

All work perfect! We can do lot of thing and all work like it,s expected except 1 THING!

The problem is the ANIM.
When I do .anim 1 on C_man I walk
When I do .anim 1 on c_gargoyle_male, I do not walk...
You can see here what kind of problem I get:
https://cdn.discordapp.com/attachments/701875186722537493/747551979789746326/2020-08-24_16-24-06.mp4


The core don't detect me as a Human so it swap the anim.

HUMAN:
https://github.com/Sphereserver/Source-X/blob/bef98bbb36c7ac21c311f96ca1486eb5a8945de1/src/game/uo_files/uofiles_enums.h#L146

GARGOYLE:
https://github.com/Sphereserver/Source-X/blob/bef98bbb36c7ac21c311f96ca1486eb5a8945de1/src/game/uo_files/uofiles_enums.h#L238

How I can force the core tinking i'm a human?

THX for your help


RE: How Use C_Gargoyle_male with Human ANim? - golfin - 08-26-2020 03:23 AM

Hmm, I'm just guessing. Can't this be affected by the new packet of motion for Gargoyle animations?

Setings sphere.ini
PHP Code:
// SA expansion features
// FEATURE_SA_UPDATE            01 // Unlocks gargoyle character creation and housing items
// FEATURE_SA_MOVEMENT            02 // Activates new movement packets (not good)
FeatureSA=02 

It is possible that the ID positions created and actually blocked for gargoyles are handled by a different packet than the classic animation. By replacing them with classic imaging for the old client, an error may occur and the client cannot handle it. But I'm just guessing. I do not know it. Unfortunately, I can't go to Discord today, so I'd discuss it with you there. But this is really a problem. I'd like to work this out to make it work.

Try it on another emulator, RunUO or ServUO. What will he do there?


RE: How Use C_Gargoyle_male with Human ANim? - Jhobean - 08-26-2020 06:15 AM

Infortunately not working with this setting.. I don't have setup and knowledge for trying other emulator. I'll work on this


RE: How Use C_Gargoyle_male with Human ANim? - golfin - 08-26-2020 09:45 PM

As I understood from the translation of your discussion with Drk on Discord, so it can't be fixed? It's a client matter. I'm not very wise about it and I'm not happy about it. I consider this more of a big mistake.


RE: How Use C_Gargoyle_male with Human ANim? - Jhobean - 08-27-2020 02:45 AM

Don't sure it can't be fix. Just need to figure how it work, Drk did not give lot of explanation.

He linked us a Shard already doing it in italia. I checked fast their Mul and they do not use Gargoyle anim like USE. They took other anim slot. Maybe it will help but I think if we dont use gargoyle we will have bug about the paperdoll ETC.


RE: How Use C_Gargoyle_male with Human ANim? - golfin - 08-27-2020 08:00 PM

Oh so. But the classic No-Gargoyle slot is few. Not all dress-up animations will fit there. That's why I ended it half a year ago. But a Gargoyle slot would solve it. So we'll see. When I have time in the autumn, I'll look into it.

Another idea, what if you tried to assign an animation to a given activity violently in a sphere script? Won't that help? Do not solve the preset sphere, but write typedef of each activity to the tool with which the character is doing something.


RE: How Use C_Gargoyle_male with Human ANim? - Prapilk - 11-29-2020 04:43 PM

I see the post late but Jhobean and I think with the help of Nirad we modified the core of SphereX so that the animations of the gargoyle use the same order of animations as the c_man. So I was able to finish + - 160 dwarf animations that work perfectly there.


RE: How Use C_Gargoyle_male with Human ANim? - Jhobean - 11-30-2020 12:46 AM

Yep... Just commented one line:
https://github.com/Sphereserver/Source-X/commit/56c9fd4d9a85591308337855400e690f59724fd0


RE: How Use C_Gargoyle_male with Human ANim? - golfin - 11-30-2020 03:42 AM

Gud working