Bully-Board
Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started 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 ?
-
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.
-
Wow thanks
-
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
-
Oooh yes, but when you press the attack button continuously it'll spam his voice like 50 times. I hate when that happens.
-
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
-
oh fuck, i forgot about the wait.
-
oh fuck, i forgot about the wait.
lol :)
-
This is how my code looks like
if IsButtonPressed(6, 0) then
SoundPlayScriptedSpeechEvent(gPlayer, "FIGHT", 0, "large")
Wait(12000)
end
end
-
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.
-
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?
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.
-
Does it really matter?
-
Yes, if he want's to play a action-node and speech event at the same time ffs.
-
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
-
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.
-
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.
-
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
-
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.
-
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
-
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
-
So if I change a player skin and use Taunt code that you provided earlier. whether the code will work? Is it like that?
-
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 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.
-
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
-
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!
-
Don't forget to use SoundDisableSpeech_ActionTree it disables speech for all ped's including the ones you spawn.
-
If you are using it for Jimmy put "PLAYER_TAUNT" "TAUNT" is only used for other peds.
-
Thanks All. I've finished for Taunt Mod