Garik Loran Posted June 9, 2002 Posted June 9, 2002 I often wanted some new taunts for the character, because I think repeating one sentence is boring. So I added some lines to the code that plays 3 different taunts, one each time you use the taunt command. I don't know if somebodey is interested in this, it was just a try, but it works fine.
Subject452 Posted June 9, 2002 Posted June 9, 2002 yeah, if it works fine, then why not, maybe u can post it?
Garik Loran Posted June 9, 2002 Author Posted June 9, 2002 Ok. Here's what I changed. In the cg_event.c under /* ============== CG_EntityEvent An entity has an event value also called by CG_CheckPlayerstateEvents ============== */ add "static int tauntcounter = 0;" change the case EV_TAUNT:... to " DEBUGNAME("EV_TAUNT"); tauntcounter++; switch (tauntcounter) { case 1: trap_S_StartSound (NULL, es->number, CHAN_VOICE, CG_CustomSound( es->number, "*taunt1.wav" ) ); break; case 2: trap_S_StartSound (NULL, es->number, CHAN_VOICE, CG_CustomSound( es->number, "*taunt2.wav" ) ); break; default: trap_S_StartSound (NULL, es->number, CHAN_VOICE, CG_CustomSound( es->number, "*taunt.wav" ) ); tauntcounter = 0; break; } break; " then open the cg_players.c and add "*taunt1.wav", "*taunt2.wav" to char *cg_customSoundNames[MAX_CUSTOM_SOUNDS]. Now you just have to add a taunt1.mp3 and a taunt2.mp3 to your player sounds from assets1 and you have different taunts ingame.
Garik Loran Posted June 9, 2002 Author Posted June 9, 2002 If you don't want to make the changes yourself you can try this pk3 but it also includes my not correct working white saber, so it's some sort of beta right now.
remark 666 Posted June 10, 2002 Posted June 10, 2002 it'd be cool if there could be 3 different animations aswell
Garik Loran Posted June 10, 2002 Author Posted June 10, 2002 I looked through it, and that would be much more complicated. So three sound for a character has to be enough for now
yodaissmart Posted June 11, 2002 Posted June 11, 2002 Erm... Like this idea i do test it i may. If like it I do on my server it will be. My server is up on weekends only untill over the weekend is.
Garik Loran Posted June 13, 2002 Author Posted June 13, 2002 Originally posted by yodaissmart Erm... Like this idea i do test it i may. If like it I do on my server it will be. My server is up on weekends only untill over the weekend is. Updated my mod, go to http://www.lucasforums.com/showthread.php?s=&threadid=61803 for details.
nomad Posted June 18, 2002 Posted June 18, 2002 Gorik, that link is no longer good because of the server switch. I'm going to try and find the post, where ever it may be now. Looking forward to checking out your mod. -nomad MTFBWY
normal Posted June 18, 2002 Posted June 18, 2002 http://64.246.44.70/~lucasforums.com/showthread.php?s=&threadid=61803
Garik Loran Posted June 18, 2002 Author Posted June 18, 2002 Originally posted by normal http://64.246.44.70/~lucasforums.com/showthread.php?s=&threadid=61803 Thx. that's the right link.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.