1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

TnB Models w/ Emotes

Discussion in 'Programming' started by Stinky Pants, Mar 18, 2013.

  1. Could someone help me enable the Emotes with the custom TnB models? The leaning, sitting etc. doesn't work with the models. Thanks so much in advance.
     
  2. Datzy

    Datzy Guest

    They do work.
     
  3. Hmm, they still don't seem to work for me. /animsit, or /animlean etc does not do anything. It works with the default models, but does not allow me to do anything while using a TnB model. These models are the citizen models for TnB. Does anybody know what to do?

    Thanks.

    Just a note: This is HL2RP
     
  4. diablo1675

    diablo1675 Guest

    Some of the models ARE known to be incapable of /animsit or /animlean. The other animations should be just fine. And OTHERWISE, you'll have to code them into the gamemode itself, so they appear as Civilian Models.
     
  5. alexgrist

    alexgrist Guest

    There's not really a way to code the animations, they either work or they don't uses you're going to add the animation to the model yourself.

    Also, player models don't work with emote animations.
     
  6. Thanks for all the replies, everyone. What file should I open, and what lines should I add in order to make the animations work with the models? Thanks
     
  7. Razor

    Razor Guest

    Decompile the model
    Add animation
    Recompile
     
  8. And how can I do that? Sorry for being so new at this, thanks for the time and help!
     
  9. connall

    connall Guest

    With a glass of whiskey in one hand, a cigar in the other and a lot of swearing.
     
  10. It's not worth it, especially considering the fact that you have no idea what to do and that you can just use a different model.

    Modeling is not something you can just do. It's a skill you have to learn over time.
     
  11. connall

    connall Guest

    Duck's right. Modelling and animating are rarely simple. Just don't do it.
     
  12. Razor

    Razor Guest

  13. Datzy

    Datzy Guest

    In sh_schema and sh_animation:
    Code:
    Clockwork.animation:AddFemaleHumanModel("models/insertmodelpathhere.mdl");
      
    Clockwork.animation:AddMaleHumanModel("models/insertmodelpathhere.mdl");
     
  14. TJjokerR

    TJjokerR Formerly known as TJjokerR

    Thats shit.

    And anyone can decompile a model and add the right animations into a model, as long as the model has the right bones. I wrote a tutorial on this years ago, I'll see if I made a backup of it somewhere.
     
  15. Razor

    Razor Guest

    You are shit :c
     
  16. :OOO
     
  17. I think this is what I'm looking for. I've placed the lines I need inside sh_animation, but I'm not too sure where to place them inside sh_schema. If you could tell me where to place the lines, that'd be great!

    Thanks for all the help!
     
  18. Datzy

    Datzy Guest

    Right under where it notes the Civil Protection/other models.

    schemaname/schema/sh_schema.lua
     
  19. diablo1675

    diablo1675 Guest

    Invalid statement.
     
  20. Razor

    Razor Guest

    Cervidae is just mad, that's a perfectly valid statement if you ask me.
     

Previous Readers (Total: 0)