ooeJack Posted September 24, 2017 Posted September 24, 2017 Heya guys! Is there a way for constraints that are enabled on an object to work in-game? I want to work on this character which would utilise a 'Look At' / 'Locked Track' constraint that would look awesome if it worked. In the test below, I've pointed the constraint to look at the hand region. I've tried pointing it to the hand model, hand bones, and the tag located at the hand, but no version seems to want to work in-game. Blender: https://jkhub.org/images/qLsMpMW.gifvIn-game: https://jkhub.org/images/EGT1QVy.gifv Is there anything I can do to get this to work? Any help would be greatly appreciated! <3 Thanks! ooeJack
minilogoguy18 Posted September 24, 2017 Posted September 24, 2017 No, it'd be more of a code thing than an animation thing, look at the code that makes the characters head track to follow the closest player in MP. The GLM/GLA formats don't support costraints even though the format it's compiled from (dotXSI 3.x) does I don't think that info is taken through the compiler. ooeJack likes this
Tempust85 Posted September 24, 2017 Posted September 24, 2017 Pretty sure there's already code to move the head to look at another npc. No idea if there's something in Icarus that you can use, but worth a look. ooeJack likes this
ooeJack Posted September 24, 2017 Author Posted September 24, 2017 I'll have a look at Icarus, thanks fellas. I hope I can find what I need. ooeJack
ooeJack Posted September 27, 2017 Author Posted September 27, 2017 Well. A mate and I couldn't find anything in Icarus that would help out. The head-tracking-player movement is quite close to what I need actually. But instead of the head bones moving to follow a player, and instead of another player needed to be in range for the head to follow, it would be just an object moving to follow another object with a locked rotation which would always be in range and always working. I wanna work on IG-88 based off Ryan Valle's Art: https://img00.deviantart.net/9654/i/2017/119/b/4/ig_88_by_r_valle-d8fi8oh.jpg If I'm understanding it correctly, looking at Ryan Valle's art, when IG-88 would be doing a walking cycle animation, then his cylindrical shoulder would be spinning so that the arm would always remain in the slot (in the shoulder). When IG-88 would be putting his arms up, or aiming his gun etc., when his arms would move, the shoulder would spin accordingly so that his arm can actually move to the position he wanted. So looking at IG-88's shoulder, I made a quick example just to see how it would look/work: https://jkhub.org/images/bYlBv8N.gifv This is essentially what I want to get working in-game, but it doesn't seem like I can so far. Was the head tracking movement done in Icarus? Am I missing something in Icarus that could actually help? Is there anything else I can try? I really appreciate your guys's help! ooeJack
AshuraDX Posted September 27, 2017 Posted September 27, 2017 @@ooeJack For something like this you'd need a custom skeleton and custom animations. The _humanoid skeleton used in Jka does not lend itself to things like this.
Noodle Posted September 27, 2017 Posted September 27, 2017 The head-tracking must be hard-coded. Still, if you can make your own skeleton for an IG-88 model, you could achieve most of what you want to animate. There are NPCs with custom skeletons in base JA, like the Hazard Trooper and the Rocket trooper, so it could be quite interesting if you achieve the same!
Tempust85 Posted October 1, 2017 Posted October 1, 2017 You can set up the constraints in your 3D package, then bake it so all movement is keyed onto the bones. It's how I managed to get the pistons on my t-800 to move right years ago in both source and JKA.
Archangel35757 Posted October 1, 2017 Posted October 1, 2017 Like @@AshuraDX said... IG-88 needs to be a custom NPC character with its own animations... I have IG-88 as one of many characters laying in my pile of WIPs, also will include the Lancer droid variant. https://jkhub.org/albums/9eqmhI do plan to get back to it one day...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now