Skip to content

Separate animations from weapon v_models #562

Description

@ModSomeFun

Suggestion

As a modder, it can be dis-encouraging to make weapon mods that only replace the mesh since the animations are included inside the model itself. It's also very limiting for users to basically pick between a new gun model or new animations; they can't have both without conflicts or a commission for both as a single mod.

I'd like to request that the animations for the v_models be separate .mdl/.ani files while the models use $IncludeModel just like how the Survivors & Infected use their animations.

Pro's:

  • Gives both Modders and Players more freedom on what mods they want to use.
  • Will not affect old weapon mods at all if implemented, as they will simply use the animations baked inside the model.

Con's:

  • Will require new .ani/.mdl files for all v_models of weapons. (Except the Molotov/Bile Jar.)
  • All existing v_models will need to be updated to use $IncludeModel for the new animation files.

The easiest & dirtiest method to add animation files would be to just copy the existing .mdl's and rename them.
I.E.:

v_pistola.mdl --> a_pistola.mdl

Below is a demonstration mod. It replaces only the v_pistola model with Killing Floor 2's 9mm Pistol. It uses $IncludeModel to import its animations from the a_pistola file. If a_pistola was in the base game instead of a mod, users could mix and match between weapon models and animations.

pistoltest.zip

I'm pretty sure this is the most improper way to make animation files, but it works for us modders. I don't know if having the original raw animations would make it easier or not, but I do hope that this is taken into consideration.

Thanks for reading!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions