Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all speech names and params #1217

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 43 additions & 46 deletions AUDIO/PlayPedAmbientSpeechNative.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,56 +9,53 @@ aliases: ["_PLAY_AMBIENT_SPEECH1"]
void PLAY_PED_AMBIENT_SPEECH_NATIVE(Ped ped, char* speechName, char* speechParam);
```

Plays ambient speech; see also [`PLAY_PED_AMBIENT_SPEECH_AND_CLONE_NATIVE`](#_0xC6941B4A3A8FBBB9).
Plays ambient speech; see also [`PLAY_PED_AMBIENT_SPEECH_AND_CLONE_NATIVE`](#_0xC6941B4A3A8FBBB9). Some speeches only play on certain ped models.

```
speechParam: Can be one of the following:
SPEECH_PARAMS_STANDARD
SPEECH_PARAMS_ALLOW_REPEAT
SPEECH_PARAMS_BEAT
SPEECH_PARAMS_FORCE
SPEECH_PARAMS_FORCE_FRONTEND
SPEECH_PARAMS_FORCE_NO_REPEAT_FRONTEND
SPEECH_PARAMS_FORCE_NORMAL
SPEECH_PARAMS_FORCE_NORMAL_CLEAR
SPEECH_PARAMS_FORCE_NORMAL_CRITICAL
SPEECH_PARAMS_FORCE_SHOUTED
SPEECH_PARAMS_FORCE_SHOUTED_CLEAR
SPEECH_PARAMS_FORCE_SHOUTED_CRITICAL
SPEECH_PARAMS_FORCE_PRELOAD_ONLY
SPEECH_PARAMS_MEGAPHONE
SPEECH_PARAMS_HELI
SPEECH_PARAMS_FORCE_MEGAPHONE
SPEECH_PARAMS_FORCE_HELI
SPEECH_PARAMS_INTERRUPT
SPEECH_PARAMS_INTERRUPT_SHOUTED
SPEECH_PARAMS_INTERRUPT_SHOUTED_CLEAR
SPEECH_PARAMS_INTERRUPT_SHOUTED_CRITICAL
SPEECH_PARAMS_INTERRUPT_NO_FORCE
SPEECH_PARAMS_INTERRUPT_FRONTEND
SPEECH_PARAMS_INTERRUPT_NO_FORCE_FRONTEND
SPEECH_PARAMS_ADD_BLIP
SPEECH_PARAMS_ADD_BLIP_ALLOW_REPEAT
SPEECH_PARAMS_ADD_BLIP_FORCE
SPEECH_PARAMS_ADD_BLIP_SHOUTED
SPEECH_PARAMS_ADD_BLIP_SHOUTED_FORCE
SPEECH_PARAMS_ADD_BLIP_INTERRUPT
SPEECH_PARAMS_ADD_BLIP_INTERRUPT_FORCE
SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED
SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED_CLEAR
SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED_CRITICAL
SPEECH_PARAMS_SHOUTED
SPEECH_PARAMS_SHOUTED_CLEAR
SPEECH_PARAMS_SHOUTED_CRITICAL
Note: A list of Name and Parameters can be found here pastebin.com/1GZS5dCL
```
A full list of speech names can be found [here](https://pastebin.com/GEtEq86R).

```
NativeDB Added Parameter 4: Any p3
```cpp
static const char *SpeechParams[] = {
"SPEECH_PARAMS_ADD_BLIP",
"SPEECH_PARAMS_ADD_BLIP_ALLOW_REPEAT",
"SPEECH_PARAMS_ADD_BLIP_FORCE",
"SPEECH_PARAMS_ADD_BLIP_INTERRUPT",
"SPEECH_PARAMS_ADD_BLIP_INTERRUPT_FORCE",
"SPEECH_PARAMS_ADD_BLIP_SHOUTED",
"SPEECH_PARAMS_ADD_BLIP_SHOUTED_FORCE",
"SPEECH_PARAMS_ALLOW_REPEAT",
"SPEECH_PARAMS_BEAT",
"SPEECH_PARAMS_FORCE",
"SPEECH_PARAMS_FORCE_FRONTEND",
"SPEECH_PARAMS_FORCE_HELI",
"SPEECH_PARAMS_FORCE_MEGAPHONE",
"SPEECH_PARAMS_FORCE_NO_REPEAT_FRONTEND",
"SPEECH_PARAMS_FORCE_NORMAL",
"SPEECH_PARAMS_FORCE_NORMAL_CLEAR",
"SPEECH_PARAMS_FORCE_NORMAL_CRITICAL",
"SPEECH_PARAMS_FORCE_PRELOAD_ONLY",
"SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED",
"SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED_CLEAR",
"SPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED_CRITICAL",
"SPEECH_PARAMS_FORCE_SHOUTED",
"SPEECH_PARAMS_FORCE_SHOUTED_CLEAR",
"SPEECH_PARAMS_FORCE_SHOUTED_CRITICAL",
"SPEECH_PARAMS_HELI",
"SPEECH_PARAMS_INTERRUPT",
"SPEECH_PARAMS_INTERRUPT_FRONTEND",
"SPEECH_PARAMS_INTERRUPT_NO_FORCE",
"SPEECH_PARAMS_INTERRUPT_NO_FORCE_FRONTEND",
"SPEECH_PARAMS_INTERRUPT_SHOUTED",
"SPEECH_PARAMS_INTERRUPT_SHOUTED_CLEAR",
"SPEECH_PARAMS_INTERRUPT_SHOUTED_CRITICAL",
"SPEECH_PARAMS_MEGAPHONE",
"SPEECH_PARAMS_SHOUTED",
"SPEECH_PARAMS_SHOUTED_CLEAR",
"SPEECH_PARAMS_SHOUTED_CRITICAL",
"SPEECH_PARAMS_STANDARD"
}
```

## Parameters
* **ped**: The ped to play the ambient speech.
* **speechName**: Name of the speech to play, eg. "GENERIC_HI".
* **speechParam**:

* **speechParam**: Name of the speechParam rage game object to look to for various details on how the speech should be played.
Loading