Exmirai Posted January 8, 2016 Posted January 8, 2016 I think would be fine if we could add *.gla animations without edit vanilla animation file.e.g: ===assetX.pk3/models/players/_humanoid.gla ]/models/players/animation.cfg ] --main animations files ( contains all base anims )/models/players/animevents.cfg ] ===zz_somemodname.pk3/models/players/_humanoid.gla ]/models/players/animation.cfg ] --additional animations files ( contains only new FACE_SMILE and FACE_NONSMILE )/models/players/animevents.cfg ] In that case zz_somemodname.pk3 will overwrite exist animation ( that defined in that file e.g: FACE_SMILE etc ) and add non-exist ( FACE_NONSMILE etc ) Keyten likes this
ensiform Posted January 8, 2016 Posted January 8, 2016 MP is only going to support humanoid for players. Both server and client use it. Also, the mod code and engine code and renderer expects it to be humanoid. And, the animation file used is attached to the model directly in the header of the file. And in the mod code it refuses to allow any other animation files if they are not humanoid.
mrwonko Posted January 9, 2016 Posted January 9, 2016 I've given this some thought in the past - I'd prefer for overrides to go at models/player/_humanoid/_humanoid.gla/yourmod.gla. In SP there are already per-level overrides so the technology is partially there... Archangel35757 likes this
eezstreet Posted January 9, 2016 Posted January 9, 2016 I like this idea. Makes animation mods much simpler and allows for mixing/matching of different mods. +1 Archangel35757 and Exmirai like this
ensiform Posted January 9, 2016 Posted January 9, 2016 I don't get that syntax? A subfile of a file? Keep in mind both cgame and jampgame both restrict and only have the one humanoid anims compatible for clients. And animations are used in the bg_pmove code as well.
mrwonko Posted January 9, 2016 Posted January 9, 2016 A folder with the name of the gla - although come to think about it you probably can't have a file and a folder of the same name. Maybe omit the extension then.
Archangel35757 Posted January 9, 2016 Posted January 9, 2016 Yes... have the engine look for and load all the GLA files found in the player folder??? Does this mean you would need an overarching animation.cfg file that would cover all animation gla files: _humanoid.gla, myCustomAnims.gla, myKravMaga.gla, etc.? Likewise for the animevents.cfg file?
ensiform Posted January 10, 2016 Posted January 10, 2016 Great sure the engine could do that.......... But the mods will still fail to understand as they would only know about the main one and they couldn't load the other anim cfg files etc. mrwonko likes this
Tempust85 Posted January 10, 2016 Posted January 10, 2016 MBII has an experimental loading of any gla without having to use OpenJK. From what we can tell, it works. We can load models like rocket trooper as a player model, which uses its own gla. So the MP restriction of using only humanoid.gla and its animation.cfg has been overcome. Again, it's experimental. Archangel35757 likes this
ensiform Posted January 10, 2016 Posted January 10, 2016 Yes but MB2 of course is a *requires server and client* mod. Tempust85 likes this
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