TheGameCreators / GameGuruRepo

The GameGuru Repository For Community Collaboration
http://www.game-guru.com
137 stars 56 forks source link

GGMAX - Enhancment NPC Wearables #3867

Open Necrym59 opened 1 year ago

Necrym59 commented 1 year ago

I have been working on additive wearable objects for npc's, in this example i have an npc walking around with a torch, but positioning an object (the torch) on an npc is a compliceted matter as we have to attach to a limb due to animations. wearable_item

I can get the NPC Limb name easy enough but needs a positonal lock command or one to be able to track the x,y,z and angles of that limb. I think Amen hinted at this at some stage in somthing he was doing in Classic.

A command, something either like this for tracking (expensive processing plus positioning lag) : x, y, z, Ax, Ay, Az = GetLimbPosAng( e, limbID,) or x, y, z, Ax, Ay, Az = AttachToLimbPosAng( e, limbID, Lockmode) so its attached and locked to the npc so the positioning is anchored to the visible frame of the character.

If we can, it opens up 'wearables' or 'carryables'on npc's.

synchromesh62 commented 1 year ago

Agreed that would be awesome. You have done 90% of the work with the script :) and it looks fantastic in action.

AmenMoses commented 1 year ago

1093

Teabone3 commented 1 week ago

Would really love this. Especially for Classic as well as I have a project on there I've had to do crazy work arounds to try to emulate attachments. Both engines could benefit greatly.