So you chose the 3 in 1 deal? Great choice! Let me get started.
I am currently trying to implement my own version of the twenty convenience stores in the game.
Right now I am working on the Dialogue spoken by the clerk whilst being robbed.
In my reference recording the asian clerk says: “Ok, I give you what you want, stay calm, relax!”
and “What you want now? You have taken all the money!”
But using PlayPedAmbientSpeechNative
I could only get these lines:
Speech Name | Dialogue | Comment |
---|---|---|
SHOP_NO_MESSING | Can we just relax please!; Just settle down, ok?; Take a chill pill! | - strong text |
SHOP_NO_COPS | You’re a wanted individual I can’t serve you!; I can’t help you if the cops are after you!; No, come back without the cops please! | When the player is wanted. |
SHOP_NO_WEAPON | You can’t have a weapon in here!; Absolutely not, no weapons allowed in here!; No weapons, that’s reasonable right? | When player has weapon in store. |
SHOP_SHOOTING | - wrong ped - |
- |
These were the ones all using SPEECH_PARAMS_SHOUTED
(changing this does not affect said content afaik) and using Ped ShopKeep01. My reference lines nowhere to be found? Then again those were said by a different ped.
Testing showed that PlayPedAmbientSpeechNative
is ped dependent! This means I have the wrong ped, at least to some degree. Thus my first two questions!
1. Have you seen the PedHash for this Ped (or any other store peds)?
I literally looked at all in-game peds and must have overlooked him due to probably a different outfit (I did this 3 times )
2. Is PlayPedAmbientSpeechNative
the only way to get in-game speech? What about cutscenes?
That were my first two questions!
Another thing I realized is that once all dialogue options have been said from that point onward there will only be silence and this silence is ped independent. Let me explain!
I go to store one, rob it, ped says its dialogue and all is fine. Now I do this three more times. The third time the last option of the three that hasn’t been said will be said and on the fourth try nothing will be said at all. Even though these peds are completely unrelated besides being of the same type (ShopKeep01).
3. How can I get PlayPedAmbientSpeechNative
to work an infinite ammount of times?
Again any help is appreciated, it’s 2am and I am desperate!