How do you make custom viewmodel animations for workshop weapons, override the inganme ones?

Discussion in 'Off Topic' started by Pixenal, Aug 24, 2016.

  1. Pixenal

    Pixenal L1: Registered

    Messages:
    31
    Positive Ratings:
    27
    This isn't really related to mapping in anyway (hence why its in off-topic), but I couldn't get an answer from facepunch. Anyway, I'm making a weapon for the Frontline project, and because of the design of the gun, it needs to have custom animations. I have already made these animations and they are in .smd format, however I am lost as to how I would make them override the default animations (it replaces the smg).

    Any help is greatly appreciated, thanks.
     
  2. Anreol

    Anreol L6: Sharp Member

    Messages:
    262
    Positive Ratings:
    273
    Well, I dont know anything about modelling or animating, but what I do to replace vanilla stuff with custom stuff is just rename the custom file with the same name of a animation already existing.
    Im very bad at explaining but here is a example:
    You have a custom animation for engi and want to test it, then you go to /custom and do:<customfoldername>/models/weapons/c_models/c_engineer_animations.mdl (Im not even sure if that is the right folder for animations)

    I hope it helped, even if I dont know what Im talking about
     
  3. Pixenal

    Pixenal L1: Registered

    Messages:
    31
    Positive Ratings:
    27
    That would be what you do when creating a custom animation for a weapon already ingame, I'm making animations for a workshop weapon.
    Thanks anyway though.