Daskers Posted August 8, 2005 Share Posted August 8, 2005 The other day, I experimented with a modification that makes Hapslash's Count Dooku use a different GLA file. The idea was to make him use Keshires Count Dooku saber stance. I was successful in my mod, as the character used my modified GLA. However, their was a small problem, as the saber was not attached to his hand correctly. Could anybody suggest a way round this? One that would still allow the model to work in Single Player, if possible (I have a fondness for making my own NPC's)? Link to comment Share on other sites More sharing options...
riceplant Posted August 8, 2005 Share Posted August 8, 2005 Can you rule out a problem with the gla? My initial reaction is that the tags are placed wrong, but I can't be sure. Where can I find the file? I've looked for it but no luck. Link to comment Share on other sites More sharing options...
CortoCG Posted August 8, 2005 Share Posted August 8, 2005 When a model doesn't "hold" a weapon or a saber as it should, it's mainly because of tags problems. But I seriously doubt Hap has something wrong with the tags. Could you post a screenshot illustrating the bug? Link to comment Share on other sites More sharing options...
riceplant Posted August 8, 2005 Share Posted August 8, 2005 I was thinking of the tags in the gla, though there are issues with JK2 models tags in JA (Namely two Saber Kata and taunts). Link to comment Share on other sites More sharing options...
CortoCG Posted August 8, 2005 Share Posted August 8, 2005 There're no meshes in the gla file. JK2 models are converted on runtime to JKA files by the game. Link to comment Share on other sites More sharing options...
riceplant Posted August 8, 2005 Share Posted August 8, 2005 Um, if there are no tags in the gla file, how does the game know where the saber is meant to be? I know very little about animating, but even I know about the l & rhang_tag_bones. I think you must have misunderstood me, because I don't think there can be any way that a modeller and animator would not know about this. Link to comment Share on other sites More sharing options...
CortoCG Posted August 8, 2005 Share Posted August 8, 2005 The l & rhang_tag_bone are in the .gla file cuz they're are bones. But the lhand & rhand tags are in the .glm file. The engine know where they are cuz they are weighted to the hang bones. Link to comment Share on other sites More sharing options...
riceplant Posted August 8, 2005 Share Posted August 8, 2005 Oh, right. Sorry, I'm new at this. Seems what I meant to say was: Maybe the hand tag bones are set up wrong. That's what I would check first, but like I said, I'm new at this. Link to comment Share on other sites More sharing options...
Daskers Posted August 9, 2005 Author Share Posted August 9, 2005 Well, let me elaborate on what I did. I used a txt editor to change the reference for the GLA in the model file from humanoid.gla to humanoi1.gla. I also renamed the modified GLA file to humanoi1.gla. This resulted in the dooku model using the modified GLA, whilst all other models still used the basic humanoid.gla. All the animations worked, but as I said, the saber and other weapons did not align to the tags. Its possible that my crude editing of the glm file resulted in the tags being lost. Maybe if someone made a model from scratch that used the alternative stances, we could see if its possible. The reason i did this was because I really wanted dooku to use his proper stance, without overiding the animations for the rest of the game. Link to comment Share on other sites More sharing options...
Psyk0Sith Posted August 9, 2005 Share Posted August 9, 2005 Could it be the saber? just to make sure: have you tried with a default saber hilt? Some custom made saber hilts dont line up correctly with the model's hands (the dooku hilt i use has this problem). Link to comment Share on other sites More sharing options...
CortoCG Posted August 9, 2005 Share Posted August 9, 2005 You could name you custom .gla animations file dooku.gla and ask Hap to recompile the Dooku model using a dummy dooku.gla file just to fool the compiler. Just to be sure your raw editing maneuver didn't bug the file (which I personally think it didn't). Link to comment Share on other sites More sharing options...
Daskers Posted August 9, 2005 Author Share Posted August 9, 2005 Hmmm. I'll take your point. Maybe the game is coded for tags to work only on the Humanoid.gla. Maybe its not programmed to recognise tags with any others. Link to comment Share on other sites More sharing options...
riceplant Posted August 9, 2005 Share Posted August 9, 2005 I wouldn't have thought so. Tauntauns, swoops, wampas and rancors all use tags, presumably. I would expect tham to be required for interaction with other entities. Where did you find the gla, because I've been looking for it. Dooku's style would be much cooler than just using Tavion's. Link to comment Share on other sites More sharing options...
Daskers Posted August 10, 2005 Author Share Posted August 10, 2005 The Dooku stance is in Real Kains latest saber mod. Link to comment Share on other sites More sharing options...
CortoCG Posted August 10, 2005 Share Posted August 10, 2005 Hapslash uses the JO skeleton to build his models. He likes to keep them JO and JA compliant. When you replaced the .gla file for your Dooku model, you probably used a new .gla made with the JA skeleton. I think JA only fixes those models pointing to the _humanoid.gla file. Link to comment Share on other sites More sharing options...
Cid88 Posted August 21, 2005 Share Posted August 21, 2005 The dooku animations can be found on PCGamemods. Link to comment Share on other sites More sharing options...
riceplant Posted August 31, 2005 Share Posted August 31, 2005 Hapslash uses the JO skeleton to build his models. He likes to keep them JO and JA compliant. When you replaced the .gla file for your Dooku model, you probably used a new .gla made with the JA skeleton. I think JA only fixes those models pointing to the _humanoid.gla file.I noticed that. While there's nothing wrong with it in theory, in practice dual saber style is a complete mess, as it isn't compliant with the JO skeleton (All guesswork, but it fits the facts). Link to comment Share on other sites More sharing options...
keshire Posted April 7, 2006 Share Posted April 7, 2006 You may hit issues by not merging the animations into the main _Humanoid. A lot of the older animations that I did weren't done using the newer carcass that had an option to use a bone index from another file. The glamerge app did that automatically on merge. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.