-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(audio): batch 17 of native updates (#1012)
* feat(audio): batch 17 of native updates * Update SetPedVoiceFull.md Document what `SetPedVoiceFull` does, internally. --------- Co-authored-by: ammonia-cfx <[email protected]>
- Loading branch information
1 parent
4ec7d47
commit 8f7c02b
Showing
16 changed files
with
111 additions
and
130 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
ns: AUDIO | ||
aliases: ["0x1B7ABE26CBCBF8C7"] | ||
--- | ||
## SET_PED_RACE_AND_VOICE_GROUP | ||
|
||
```c | ||
// 0x1B7ABE26CBCBF8C7 | ||
void SET_PED_RACE_AND_VOICE_GROUP(Ped ped, int pedRace, int pvgHash); | ||
``` | ||
## Parameters | ||
* **ped**: | ||
* **pedRace**: | ||
* **pvgHash**: PedVoiceGroup hash, defaults to 0 | ||
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
ns: AUDIO | ||
aliases: ["0x40CF0D12D142A9E8", "_SET_PED_SCREAM"] | ||
--- | ||
## SET_PED_VOICE_FULL | ||
|
||
```c | ||
// 0x40CF0D12D142A9E8 | ||
void SET_PED_VOICE_FULL(Ped ped); | ||
``` | ||
Calls the same internal function [`_SET_PED_VOICE_GROUP`](#_0x7CDC8C3B89F661B3) calls, but passes `voiceGroupHash` (defined as a parameter in the referenced native) as `0`. | ||
## Parameters | ||
* **ped**: | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
ns: AUDIO | ||
aliases: ["0x149AEE66F0CB3A99"] | ||
--- | ||
## SET_PED_WALLA_DENSITY | ||
|
||
```c | ||
// 0x149AEE66F0CB3A99 0xE64F97A0 | ||
void SET_PED_WALLA_DENSITY(float density, float applyValue); | ||
``` | ||
Overrides the calculated ped density that is used to modulate the ambient ped walla sounds (in exteriors only) | ||
If you want to use this for interiors, use [SET_PED_INTERIOR_WALLA_DENSITY](#_0x8BF907833BE275DE) | ||
## Parameters | ||
* **density**: desired walla density | ||
* **applyValue**: how much the desired density affects the actual one | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
ns: AUDIO | ||
aliases: ["0x6FDDAD856E36988A"] | ||
--- | ||
## SET_PLAYER_VEHICLE_ALARM_AUDIO_ACTIVE | ||
|
||
```c | ||
// 0x6FDDAD856E36988A 0x934BE749 | ||
void SET_PLAYER_VEHICLE_ALARM_AUDIO_ACTIVE(Vehicle vehicle, BOOL active); | ||
``` | ||
Enable player vehicle specific alarm disarm/arm sound triggering | ||
## Parameters | ||
* **vehicle**: | ||
* **active**: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
ns: AUDIO | ||
aliases: ["0x33E3C6C6F2F0B506"] | ||
--- | ||
## SET_POSITION_FOR_NULL_CONV_PED | ||
|
||
```c | ||
// 0x33E3C6C6F2F0B506 0x73C6F979 | ||
void SET_POSITION_FOR_NULL_CONV_PED(int speakerConversationIndex, float x, float y, float z); | ||
``` | ||
## Parameters | ||
* **speakerConversationIndex**: | ||
* **x**: | ||
* **y**: | ||
* **z**: | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
ns: AUDIO | ||
aliases: ["0xDA07819E452FFE8F"] | ||
--- | ||
## SET_POSITIONED_PLAYER_VEHICLE_RADIO_EMITTER_ENABLED | ||
|
||
```c | ||
// 0xDA07819E452FFE8F | ||
void SET_POSITIONED_PLAYER_VEHICLE_RADIO_EMITTER_ENABLED(cs_type(Any) BOOL enabled); | ||
``` | ||
## Parameters | ||
* **enabled**: enables/disables a positioned emitter for the player vehicle radio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters