Difference between revisions of "PLAY SOUND FRONTEND"

From GTAMods Wiki
Jump to navigation Jump to search
(This will play a internal game sound with given parameters)
(this one needs to be cleared)
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Native
 
{{Native
|np=2
+
|np=4
 
|p1t=Integer
 
|p1t=Integer
 
|p1d=Unknown, Suggested: -1
 
|p1d=Unknown, Suggested: -1
Line 11: Line 11:
 
}}
 
}}
  
Example Sounds From Scocl
+
Note: Not all parameters are use all the time, some are skipped entirely
Found in 268 of 693 R* Scripts
 
...Extracted From...
 
abigail2.txt
 
act_cinema.txt
 
agency_heist1.txt
 
agency_heist3a.txt
 
agency_heist3b.txt
 
altruist_cult.txt
 
Originally Listed by RGS aka ricci07 aka TheVideoVolcano
 
Please continue listing here
 
  
"FocusOut", "HintCamSounds"
+
== Examples ==
"FocusIn", "HintCamSounds"
+
{{research}}
"SELECT", "HUD_FRONTEND_DEFAULT_SOUNDSET"
+
* FocusOut, HintCamSounds
"BACK", "HUD_FRONTEND_DEFAULT_SOUNDSET"
+
* FocusIn, HintCamSounds
"In", "SHORT_PLAYER_SWITCH_SOUND_SET"
+
* SELECT, HUD_FRONTEND_DEFAULT_SOUNDSET
"Hit_In", "PLAYER_SWITCH_CUSTOM_SOUNDSET"
+
* BACK, HUD_FRONTEND_DEFAULT_SOUNDSET
"Camera_Move_Loop", "PLAYER_SWITCH_CUSTOM_SOUNDSET"
+
* In, SHORT_PLAYER_SWITCH_SOUND_SET
"Hit_Out", "PLAYER_SWITCH_CUSTOM_SOUNDSET"
+
* Hit_In, PLAYER_SWITCH_CUSTOM_SOUNDSET
"HACKING_MOVE_CURSOR"
+
* Camera_Move_Loop, PLAYER_SWITCH_CUSTOM_SOUNDSET
"HACKING_CLICK_BAD"
+
* Hit_Out, PLAYER_SWITCH_CUSTOM_SOUNDSET
"HACKING_COUNTDOWN_IP_FIND"
+
* HACKING_MOVE_CURSOR
"HACKING_COUNTDOWN_IP_FIND++"
+
* HACKING_CLICK_BAD
"HACKING_FAILURE"
+
* HACKING_COUNTDOWN_IP_FIND
"HACKING_CLICK_GOOD"
+
* HACKING_COUNTDOWN_IP_FIND++
"HACKING_CLICK"
+
* HACKING_FAILURE
"HACKING_SUCCESS"
+
* HACKING_CLICK_GOOD
"HACKING_COUNTDOWN_CRACK_PASS"
+
* HACKING_CLICK
"TIME_LAPSE_MASTER"
+
* HACKING_SUCCESS
"Heli_Crash", "FBI_HEIST_FINALE_CHOPPER"
+
* HACKING_COUNTDOWN_CRACK_PASS
"ScreenFlash", "WastedSounds"
+
* TIME_LAPSE_MASTER
"Bed", "WastedSounds"
+
* Heli_Crash, FBI_HEIST_FINALE_CHOPPER
"TextHit", "WastedSounds"
+
* ScreenFlash, WastedSounds
"ScreenFlash", "MissionFailedSounds"
+
* Bed, WastedSounds
"NO", "HUD_FRONTEND_DEFAULT_SOUNDSET"
+
* TextHit, WastedSounds
"YES", "HUD_FRONTEND_DEFAULT_SOUNDSET"
+
* ScreenFlash, MissionFailedSounds
"PROPERTY_PURCHASE", "HUD_AWARDS"
+
* NO, HUD_FRONTEND_DEFAULT_SOUNDSET
 +
* YES, HUD_FRONTEND_DEFAULT_SOUNDSET
 +
* PROPERTY_PURCHASE, HUD_AWARDS
 +
 
 +
Taken from ''abigail2.txt'', ''act_cinema.txt'', ''agency_heist1.txt'', ''agency_heist3a.txt'', ''agency_heist3b.txt'', ''altruist_cult.txt''.

Latest revision as of 09:17, 30 April 2015

PLAY_SOUND_FRONTEND
Number of parameters: 4
Parameter #TypeDescription
1.IntegerUnknown, Suggested: -1
2.StringSound FileName, e.g "NAV_UP_DOWN"
3.StringSoundset, e.g "HUD_FRONTEND_DEFAULT_SOUNDSET"
4.BooleanUnknown, Suggested: 0
Return value:
TypeDescription
None

Note: Not all parameters are use all the time, some are skipped entirely

Examples

  • FocusOut, HintCamSounds
  • FocusIn, HintCamSounds
  • SELECT, HUD_FRONTEND_DEFAULT_SOUNDSET
  • BACK, HUD_FRONTEND_DEFAULT_SOUNDSET
  • In, SHORT_PLAYER_SWITCH_SOUND_SET
  • Hit_In, PLAYER_SWITCH_CUSTOM_SOUNDSET
  • Camera_Move_Loop, PLAYER_SWITCH_CUSTOM_SOUNDSET
  • Hit_Out, PLAYER_SWITCH_CUSTOM_SOUNDSET
  • HACKING_MOVE_CURSOR
  • HACKING_CLICK_BAD
  • HACKING_COUNTDOWN_IP_FIND
  • HACKING_COUNTDOWN_IP_FIND++
  • HACKING_FAILURE
  • HACKING_CLICK_GOOD
  • HACKING_CLICK
  • HACKING_SUCCESS
  • HACKING_COUNTDOWN_CRACK_PASS
  • TIME_LAPSE_MASTER
  • Heli_Crash, FBI_HEIST_FINALE_CHOPPER
  • ScreenFlash, WastedSounds
  • Bed, WastedSounds
  • TextHit, WastedSounds
  • ScreenFlash, MissionFailedSounds
  • NO, HUD_FRONTEND_DEFAULT_SOUNDSET
  • YES, HUD_FRONTEND_DEFAULT_SOUNDSET
  • PROPERTY_PURCHASE, HUD_AWARDS

Taken from abigail2.txt, act_cinema.txt, agency_heist1.txt, agency_heist3a.txt, agency_heist3b.txt, altruist_cult.txt.