Botdra Posted June 11, 2013 Posted June 11, 2013 Howdy. I was wanting to see if I could make a mod that implemented an animation (or at least a post) when you are typing something in the chat in MP. Is it possible? How easy would it be? I'd just be using a base animation really, just want to know if it's possible and how to do it. Cheers!
Fighter Posted June 16, 2013 Posted June 16, 2013 This sounds like it could be done using some code. It doesn't seem like it would be too difficult to do. I should have some free time tonight or tomorrow in which I'll try to look into this for you.
Botdra Posted June 17, 2013 Author Posted June 17, 2013 This sounds like it could be done using some code. It doesn't seem like it would be too difficult to do. I should have some free time tonight or tomorrow in which I'll try to look into this for you. Thanks man, that would be great.
Fighter Posted June 18, 2013 Posted June 18, 2013 Untested, but give it a try and see if it works: In bg_pmove.c under // set the talk balloon flag if ( pm->cmd.buttons & BUTTON_TALK ) { pm->ps->eFlags |= EF_TALK; } else { pm->ps->eFlags &= ~EF_TALK; } Add if ( pm->ps->eFlags & EF_TALK ) PM_SetAnim(SETANIM_TORSO,BOTH_STAND1,SETANIM_FLAG_OVERRIDE, 100); Replacing the "ANIM" with the animation you want.
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