Skip to content

Commit

Permalink
all speech names and params
Browse files Browse the repository at this point in the history
  • Loading branch information
coalaura committed Oct 25, 2024
1 parent 9690545 commit dffb7f1
Showing 1 changed file with 269 additions and 45 deletions.
314 changes: 269 additions & 45 deletions AUDIO/PlayPedAmbientSpeechNative.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,56 +9,280 @@ 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
```cpp
static const char *SpeechNames[] =
{
"A_F_Y_EPSILON_01_WHITE_MINI_01",
"A_M_Y_Epsilon_01_Black_FULL_01",
"A_M_Y_EPSILON_01_BLACK_FULL_01",
"A_M_Y_Epsilon_01_Korean_FULL_01",
"A_M_Y_EPSILON_01_KOREAN_FULL_01",
"A_M_Y_Epsilon_01_White_FULL_01",
"A_M_Y_EPSILON_01_WHITE_FULL_01",
"A_M_Y_Epsilon_02_WHITE_MINI_01",
"A_M_Y_EPSILON_02_WHITE_MINI_01",
"AGREE_ACROSS_STREET",
"ANGRY_WITH_PLAYER_FRANKLIN",
"ANGRY_WITH_PLAYER_MICHAEL",
"ANGRY_WITH_PLAYER_TREVOR",
"APOLOGY_NO_TROUBLE",
"ARRESTED",
"BEACH_GUARD",
"BEEN_SHOT",
"BLOCKED_GENERIC",
"BUMP",
"CHALLENGE_ACCEPTED_BUMPED_INTO",
"CHALLENGE_ACCEPTED_GENERIC",
"CHALLENGE_ACCEPTED_STARING",
"CHALLENGE_THREATEN",
"CHASED",
"CHAT_ACROSS_STREET_RESP",
"CHAT_ACROSS_STREET_STATE",
"CHAT_RESP",
"CHAT_STATE",
"CLIMB_LARGE",
"CLIMB_SMALL",
"CONV_GENERIC_RESP",
"COP_HELI_MEGAPHONE",
"COP_HELI_MEGAPHONE_WARNING",
"COUGH",
"COWER",
"CRASH_GENERIC",
"DEATH_GARGLE",
"DEATH_HIGH_LONG",
"DEATH_HIGH_MEDIUM",
"DEATH_HIGH_SHORT",
"DEATH_LOW",
"DEATH_LOW_GENERIC",
"DEATH_LOW_TOUGH",
"DEATH_LOW_WEAK",
"DEATH_UNDERWATER",
"DIRECTIONS_NO",
"DODGE",
"DROWNING",
"DRUGS_CUST_PRICE_APPROVE",
"DRUGS_CUST_PRICE_APPROVE_CHEAP",
"DYING_MOAN",
"EXHALE",
"EXHALE_CYCLING",
"FIGHT",
"FIGHT_RUN",
"FRANKLIN",
"FUCK_FALL",
"GANG_BUMP",
"GANG_DODGE_WARNING",
"GENERIC_BYE",
"GENERIC_CURSE_HIGH",
"GENERIC_CURSE_MED",
"GENERIC_FRIGHTENED_HIGH",
"GENERIC_FRIGHTENED_MED",
"GENERIC_HI",
"GENERIC_HOWS_IT_GOING",
"GENERIC_INSULT_HIGH",
"GENERIC_INSULT_MED",
"GENERIC_SHOCKED_HIGH",
"GENERIC_SHOCKED_MED",
"GENERIC_THANKS",
"GENERIC_WAR_CRY",
"GENERIC_WHATEVER",
"GET_WANTED_LEVEL",
"GREET_ACROSS_STREET",
"GREET_ACROSS_STREET_02",
"GREET_BUM",
"GREET_COP",
"GREET_GANG_BALLAS_F",
"GREET_GANG_BALLAS_M",
"GREET_GANG_FAMILIES_F",
"GREET_GANG_FAMILIES_M",
"GREET_GANG_VAGOS_F",
"GREET_GANG_VAGOS_M",
"GREET_HILLBILLY_M",
"GREET_HIPPY_M",
"GREET_HIPSTER_F",
"GREET_HIPSTER_M",
"GREET_STRONG_M",
"GREET_TRANSVESTITE",
"GUN_BEG",
"GUN_COOL",
"HIGH_FALL",
"HIGH_FALL_DEATH",
"HIGH_FALL_NEW",
"HOOKER_STORY",
"INHALE",
"INTIMIDATE_RESP",
"JACK_VEHICLE_BACK",
"JACKED_CAR",
"JACKED_GENERIC",
"JACKED_IN_CAR",
"JACKED_SOFT",
"JACKING_BIKE",
"JACKING_CAR_FEMALE",
"JACKING_CAR_MALE",
"JACKING_DEAD_PED",
"JACKING_GENERIC",
"JEERING_RESP",
"JUMP",
"KIFFLOM_GREET",
"KILLED_ALL",
"KNOCK_OVER_PED",
"M_ZOMBIE",
"MEGAPHONE_FOOT_PURSUIT",
"MEGAPHONE_PED_CLEAR_STREET",
"MELEE_LARGE_GRUNT",
"MELEE_SMALL_GRUNT",
"MESSING_WITH_PHONE",
"MICHAEL",
"MISSION_BLIND_RAGE",
"MISSION_FAIL_RAGE",
"MOBILE_INTRO",
"NICE_CAR",
"NICE_CAR_SHOUT",
"ON_FIRE",
"PAIN_DEATH",
"PAIN_FEMALE_EXTRAS",
"PAIN_GARGLE",
"PAIN_HIGH",
"PAIN_HIGH_GENERIC",
"PAIN_HIGH_TOUGH",
"PAIN_HIGH_WEAK",
"PAIN_LOW",
"PAIN_LOW_GENERIC",
"PAIN_LOW_TOUGH",
"PAIN_LOW_WEAK",
"PAIN_MALE_EXTRAS",
"PAIN_MED",
"PAIN_MEDIUM_GENERIC",
"PAIN_MEDIUM_TOUGH",
"PAIN_MEDIUM_WEAK",
"PAIN_RAPIDS",
"PAIN_SHOVE",
"PAIN_TAZER",
"PAIN_VOICE",
"PAIN_WHEEZE",
"PANIC",
"PANIC_SHORT",
"PED_RANT",
"PHONE_CONV1_CHAT1",
"PHONE_CONV1_CHAT2",
"PHONE_CONV1_CHAT3",
"PHONE_CONV1_INTRO",
"PHONE_CONV1_OUTRO",
"PHONE_CONV2_CHAT1",
"PHONE_CONV2_CHAT2",
"PHONE_CONV2_CHAT3",
"PHONE_CONV2_INTRO",
"PHONE_CONV2_OUTRO",
"PHONE_CONV3_CHAT1",
"PHONE_CONV3_CHAT2",
"PHONE_CONV3_CHAT3",
"PHONE_CONV3_INTRO",
"PHONE_CONV3_OUTRO",
"PHONE_CONV4_CHAT1",
"PHONE_CONV4_CHAT2",
"PHONE_CONV4_CHAT3",
"PHONE_CONV4_INTRO",
"PHONE_CONV4_OUTRO",
"PHONE_CONV5_CHAT1",
"PHONE_CONV5_CHAT2",
"PHONE_CONV5_CHAT3",
"PHONE_CONV5_INTRO",
"PHONE_CONV5_OUTRO",
"PHONE_CONV6_CHAT1",
"PHONE_CONV6_CHAT2",
"PHONE_CONV6_CHAT3",
"PHONE_CONV6_INTRO",
"PHONE_CONV6_OUTRO",
"PLAYER_BIKE_CYCLING_EXHALE",
"PLAYER_BIKE_EXHALE",
"PLAYER_BIKE_INHALE",
"PLAYER_EXHALE",
"PLAYER_INHALE",
"POLICE_PURSUIT_DRIVEN",
"PROVOKE_BUMPED_INTO",
"PROVOKE_GENERIC",
"PROVOKE_STARING",
"PULL_OVER",
"PULL_OVER_WARNING",
"SCOPING_CAUGHT",
"SCREAM_PANIC",
"SCREAM_PANIC_SHORT",
"SCREAM_SCARED",
"SCREAM_SHOCKED",
"SCREAM_SHOCKED_TOUGH",
"SCREAM_SHOCKED_WEAK",
"SCREAM_TERROR",
"SCREAM_TERROR_TOUGH",
"SCREAM_TERROR_WEAK",
"SEE_WEIRDO",
"SHARK",
"SHARK_ATTACK",
"SHARK_AWAY",
"SHARK_SCREAM",
"SHOOTOUT_SPECIAL",
"SHOOTOUT_SPECIAL_TO_NOBODY",
"SHOT_IN_LEG",
"SNEEZE",
"SPOT_BY_POLICE",
"STOP_ON_FOOT_MEGAPHONE_03",
"SUPER_HIGH_FALL",
"SURPRISED",
"SWIMMING_COME_UP_FOR_AIR",
"TAXI_HAIL",
"TAXI_START",
"TOUR_ABOUT_TO_START",
"TOUR_CHAT",
"TOUR_LANDMARK",
"TREVOR",
"WHIMPER",
"WON_DISPUTE"
}
```

```
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.

0 comments on commit dffb7f1

Please sign in to comment.