Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: barca769 on July 25, 2015, 03:05:41 PM

Title: How To Use Taunt?
Post by: barca769 on July 25, 2015, 03:05:41 PM
How to use Fighting speech for other fightng styles?. example:i'm gonna use P_Striker_A ActionTree. so how to set fighting speech for player to bif speech?

the code is:F_PlaySpeechAndWait(l_9_0, "STORE_VIOLENCE_RESPONSE", 0, "supersize") or what ?

Title: Re: How To Use Taunt?
Post by: Shrimp on July 25, 2015, 03:11:56 PM
If you mean you want him to play fighting quote's during fights, use this.

if IsButtonPressed(8, 0) then
  SoundPlayScriptedSpeechEvent(gPlayer, "FIGHT", 0, "large")

8 = Jump
So when you press the jump button you have binded, it'll play his fighting quotes.
Title: Re: How To Use Taunt?
Post by: barca769 on July 26, 2015, 11:53:14 AM
Wow thanks
Title: Re: How To Use Taunt?
Post by: denizthebest on July 26, 2015, 11:55:17 AM
If you mean you want him to play fighting quote's during fights, use this.

if IsButtonPressed(8, 0) then
  SoundPlayScriptedSpeechEvent(gPlayer, "FIGHT", 0, "large")

8 = Jump
So when you press the jump button you have binded, it'll play his fighting quotes.

Yes you are right,but i prefer using it on attack button so it'll play when you attack someone
but other than that its pretty much like shrimp showed
Title: Re: How To Use Taunt?
Post by: Shrimp on July 26, 2015, 12:04:04 PM
Oooh yes, but when you press the attack button continuously it'll spam his voice like 50 times. I hate when that happens.
Title: Re: How To Use Taunt?
Post by: denizthebest on July 26, 2015, 01:09:03 PM
Oooh yes, but when you press the attack button continuously it'll spam his voice like 50 times. I hate when that happens.
yes it does thats why i put Wait(12000) lol so it does it only every 12 seconds
Title: Re: How To Use Taunt?
Post by: Shrimp on July 26, 2015, 01:10:04 PM
oh fuck, i forgot about the wait.
Title: Re: How To Use Taunt?
Post by: denizthebest on July 26, 2015, 01:37:36 PM
oh fuck, i forgot about the wait.
lol :)
Title: Re: How To Use Taunt?
Post by: denizthebest on July 26, 2015, 01:39:09 PM
This is how my code looks like
if IsButtonPressed(6, 0) then
  SoundPlayScriptedSpeechEvent(gPlayer, "FIGHT", 0, "large")
Wait(12000)
end
  end
Title: Re: How To Use Taunt?
Post by: AlphaTech on July 26, 2015, 04:01:08 PM
Dude what about the fighting move, put the uppercut before the voice so it will be move then voice. Kind of like how Johnny's style works, did something similiar with the AI.
Title: Re: How To Use Taunt?
Post by: Shrimp on July 26, 2015, 04:36:25 PM
Dude what about the fighting move, put the uppercut before the voice so it will be move then voice. Kind of like how Johnny's style works, did something similiar with the AI.

Do you mean this?

Code: [Select]
elseif IsButtonPressed(3, 0) and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
PedSetActionNode(gPlayer, "/Global/Ambient/HarassMoves/HarassShort/Trip","Act/Anim/Ambient.act")
SoundPlayScriptedSpeechEvent(gPlayer, "TAUNT", 0, "large")

Just replace the action-node I have there and the TAUNT.
Title: Re: How To Use Taunt?
Post by: denizthebest on July 26, 2015, 07:19:45 PM
Does it really matter?
Title: Re: How To Use Taunt?
Post by: Shrimp on July 26, 2015, 08:00:30 PM
Yes, if he want's to play a action-node and speech event at the same time ffs.
Title: Re: How To Use Taunt?
Post by: DaBOSS54320 on July 26, 2015, 08:07:20 PM
Use SoundSpeechPlaying(ped,event) to make sure the ped isn't playing the speech event before setting it.

For example:
if IsButtonBeingPressed(3,0) and not SoundSpeechPlaying(gPlayer,"YOUR_SOUND") then
  SoundPlayScriptedSpeechEvent(gPlayer,"YOUR_SOUND")
end
Title: Re: How To Use Taunt?
Post by: Shrimp on July 26, 2015, 08:14:11 PM
Use SoundSpeechPlaying(ped,event) to make sure the ped isn't playing the speech event before setting it.

For example:
if IsButtonBeingPressed(3,0) and not SoundSpeechPlaying(gPlayer,"YOUR_SOUND") then
  SoundPlayScriptedSpeechEvent(gPlayer,"YOUR_SOUND")
end

It stop's the current speech and play's the new one, so I don't think the SoundSpeechPlaying(ped,event) thing would help.
Title: Re: How To Use Taunt?
Post by: AlphaTech on July 27, 2015, 01:19:32 AM
SoundDisableSpeech_ActionTree disables all speech within the game. Can be useful for making ped's SDFU when your're trying to get your ped to talk LOL and not ramble ambiet crap.
Title: Re: How To Use Taunt?
Post by: denizthebest on July 27, 2015, 06:37:25 AM
Hey..! for taunt code I don't know. Solo can you gift me the list taunt code?

PLEASE?

Barca i allready said you before use frickin search bar,dont ask it from people jeez
Title: Re: How To Use Taunt?
Post by: Shrimp on July 27, 2015, 09:22:50 AM
Hey..! for taunt code I don't know. Solo can you gift me the list taunt code?

PLEASE?

We just gave you examples and how to use them.
Title: Re: How To Use Taunt?
Post by: barca769 on July 28, 2015, 02:48:21 AM
Okay do not assume
Which was that serious . So do you mean that word in quotation ( " FIGHT " and " Taunt " ) that's where I put the code? ( Code Taunt )
I'm sorry xD

Don't angry xD
And also I improve my shortcomings as far as possible , next time for sure I do not trouble you anymore
Title: Re: How To Use Taunt?
Post by: denizthebest on July 28, 2015, 06:43:10 AM
Look if you use PlayerSwapModel("GRLead_Johnny") -- changes skin after you changed skin,if you use taunt he will use taunt of johnny

and here is ped tables it have all models style act index's and more


Title: Re: How To Use Taunt?
Post by: barca769 on July 28, 2015, 09:34:09 AM

So if I change a player skin and use Taunt code that you provided earlier. whether the code will work? Is it like that?
Title: Re: How To Use Taunt?
Post by: denizthebest on July 28, 2015, 01:39:11 PM

So if I change a player skin and use Taunt code that you provided earlier. whether the code will work? Is it like that?
Work's for me
Title: Re: How To Use Taunt?
Post by: Shrimp on July 28, 2015, 05:47:21 PM
Okay do not assume
Which was that serious . So do you mean that word in quotation ( " FIGHT " and " Taunt " ) that's where I put the code? ( Code Taunt )
I'm sorry xD

Don't angry xD
And also I improve my shortcomings as far as possible , next time for sure I do not trouble you anymore

I see. SoundPlayScriptedSpeechEvent(gPlayer, "TAUNT", 0, "large") You replace the TAUNT.
Title: Re: How To Use Taunt?
Post by: barca769 on July 29, 2015, 11:52:27 AM

So if I change a player skin and use Taunt code that you provided earlier. whether the code will work? Is it like that?
Work's for me
okay I will try this.. but later. thanks
Title: Re: How To Use Taunt?
Post by: barca769 on July 29, 2015, 11:54:18 AM
Okay do not assume
Which was that serious . So do you mean that word in quotation ( " FIGHT " and " Taunt " ) that's where I put the code? ( Code Taunt )
I'm sorry xD

Don't angry xD
And also I improve my shortcomings as far as possible , next time for sure I do not trouble you anymore

I see. SoundPlayScriptedSpeechEvent(gPlayer, "TAUNT", 0, "large") You replace the TAUNT.
replace Taunt? Understood!
Title: Re: How To Use Taunt?
Post by: AlphaTech on July 29, 2015, 12:26:29 PM
Don't forget to use SoundDisableSpeech_ActionTree it disables speech for all ped's including the ones you spawn.
Title: Re: How To Use Taunt?
Post by: Masterreys100 on August 08, 2015, 06:00:25 AM
If you are using it for Jimmy put "PLAYER_TAUNT" "TAUNT" is only used for other peds.
Title: Re: How To Use Taunt?
Post by: barca769 on August 10, 2015, 03:25:40 AM
Thanks All. I've finished for Taunt Mod