Hi, i have a little question. Is it possible to give diffrent animations to diffrent models in SP?:confused:
Yes. For example the Rancor has different animations than a human.
I believe you have to not use the _humanoid skeleton, instead the model needs to provide its own, complete with custom animations.
If you want a single humanoid to have slightly different animations, you may be able to copy most of the default animations. As far as I know Raven published the .xsi sources for all models & animations, thus you could modify those which you want to be different an keep the rest and then assimilate them to a new gla file.
Why yes it is. I do this for a variety of characters that I animate for. I'm not sure if the method I'll describe works in mp but it does in sp.
To quote N-7
Thanks a lot, heavymetalgungan (and Toshi of course - though I doubt he'll ever read this).
So here's what to do: 1. Put the custom gla file, animation.cfg and animevents.cfg in a folder whose name starts with "_humanoid" 2. With a hex editor, enter the path to the gla file (including the file name, but not the extension) into a) the gla file itself (byte pos 8) - this is needed for the cfg files to take effect b) the glm's that are to use it (byte pos 72 = 0x48)
Here is how I did it for my Galen backhand animations. 1a. Have the _humanoid.gla and animation.cfg that you want to use 1b. Have the playermodel you want to use. 2. make a new set of folders in the playermodels folders following this path models/players/_humanoid_dbgalen 3. Put the _humanoid.gla, animation.cfg, and animevents.cfg in the new _humanoid_dbgalen folder. 4. Use the hex editor HxD and open the _humanoid.gla. 5. Find the path that reads: models/players/_humanoid/_humanoid 6. Change it to: models/players/_humanoid_dbgalen/_humanoid_dbgalen 7. Save as _humanoid_dbgalen.gla 8. Using the hex editor HxD open the playermodels model.glm 9. Find the path: models/players/_humanoid/_humanoid and change it to models/players/_humanoid_dbgalen/_humanoid_dbgalen and save it (don't rename this one, make sure it stays model.glm. 10. Delete the original _humanoid.gla. Zip, pk3, and test it out.
Doing this will allow you to set multiple characters to have their own animations. The only down side is that this will mess up most of the sp cutscenes. That is because the cutscenes reference the _humanoid.gla and since we just changed it to _humanoid_dbgalen.gla they will not work.
It could be fixed by changing the path of all the cutscene animations but really it is not worth the effort.
katanamaru;5407860The only down side is that this will mess up most of the sp cutscenes. That is because the cutscenes reference the _humanoid.gla and since we just changed it to _humanoid_dbgalen.gla they will not work.
The SP will by default refer to the core humanoid gla and the level specific gla. The cinematics specific anims generally reside in the level specific animation file because they differ from level to level. The catch here is that the game won't read from two glas at the same time, according to my observations. So, you can't animate upper from an external gla and at the same time lower from the core humanoid gla.
HELP! I tryed what katanamaru said, and it says something about no frames and cant load model, what did i do wrong???
Where does it say that? In game with the model. I think I got that a time or two in the beginning. Your path may be off somewhere, or did you include the .glm in the path? models/players/_humanoid_dbgalen/_humanoid_dbgalen and not models/players/_humanoid_dbgalen/_humanoid_dbgalen.gla I had to download Toshi's yoda to look at he did it originally. You could download that or my backhand beta and open those up with the hex editor and compare to what you did.
katanamaru;5412893 I had to download Toshi's yoda to look at he did it originally. You could download that or my backhand beta and open those up with the hex editor and compare to what you did.
Well I compared it to Wector's models, and It still didnt fix it, And the message appears on the menu. And when loaded the model is a stormtrooper the sign of error.
Yeah I had that happen a few times. Post your file path here as well as you folder structure.
I didn't make it!
Hey, make sure anyone trying to do this knows to use overwrite and not insert, when using HxD. This screwed me up a few times, apparently all those periods are just place holders.
Edit: Ok, what I was talking about has to do with the model.glm file. I don't know whether to use insert or overwrite in the .gla file, because I've been using Katanamaru's backhand beta which are already formatted for the _humanoid_dbgalen.
I imagine it is the overwrite function too. I never had to mess with that, but since the values are being changed it'd make since to overwrite vs insert.
Gilan: did you get success with the hex editor?