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)
 
Line 13: Line 13:
 
Note: Not all parameters are use all the time, some are skipped entirely
 
Note: Not all parameters are use all the time, some are skipped entirely
  
Example Sounds From Scocl
+
== Examples ==
Found/Used in 268 of 693 R* Scripts
+
{{research}}
<h2>Extracted From</h2>
+
* 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
  
<ul>
+
Taken from ''abigail2.txt'', ''act_cinema.txt'', ''agency_heist1.txt'', ''agency_heist3a.txt'', ''agency_heist3b.txt'', ''altruist_cult.txt''.
<li>abigail2.txt</li>
 
<li>act_cinema.txt</li>
 
<li>agency_heist1.txt</li>
 
<li>agency_heist3a.txt</li>
 
<li>agency_heist3b.txt</li>
 
<li>altruist_cult.txt</li>
 
</ul>
 
<h4>Originally Listed by ricci07/TheVideoVolcano</h4>
 
<h2>Please continue listing here</h2>
 
<ul>
 
<li>"FocusOut", "HintCamSounds"</li>
 
<li>"FocusIn", "HintCamSounds"</li>
 
<li>"SELECT", "HUD_FRONTEND_DEFAULT_SOUNDSET"</li>
 
<li>"BACK", "HUD_FRONTEND_DEFAULT_SOUNDSET"</li>
 
<li>"In", "SHORT_PLAYER_SWITCH_SOUND_SET"</li>
 
<li>"Hit_In", "PLAYER_SWITCH_CUSTOM_SOUNDSET"</li>
 
<li>"Camera_Move_Loop", "PLAYER_SWITCH_CUSTOM_SOUNDSET"</li>
 
<li>"Hit_Out", "PLAYER_SWITCH_CUSTOM_SOUNDSET"</li>
 
<li>"HACKING_MOVE_CURSOR"</li>
 
<li>"HACKING_CLICK_BAD"</li>
 
<li>"HACKING_COUNTDOWN_IP_FIND"</li>
 
<li>"HACKING_COUNTDOWN_IP_FIND++"</li>
 
<li>"HACKING_FAILURE"</li>
 
<li>"HACKING_CLICK_GOOD"</li>
 
<li>"HACKING_CLICK"</li>
 
<li>"HACKING_SUCCESS"</li>
 
<li>"HACKING_COUNTDOWN_CRACK_PASS"</li>
 
<li>"TIME_LAPSE_MASTER"</li>
 
<li>"Heli_Crash", "FBI_HEIST_FINALE_CHOPPER"</li>
 
<li>"ScreenFlash", "WastedSounds"</li>
 
<li>"Bed", "WastedSounds"</li>
 
<li>"TextHit", "WastedSounds"</li>
 
<li>"ScreenFlash", "MissionFailedSounds"</li>
 
<li>"NO", "HUD_FRONTEND_DEFAULT_SOUNDSET"</li>
 
<li>"YES", "HUD_FRONTEND_DEFAULT_SOUNDSET"</li>
 
<li>"PROPERTY_PURCHASE", "HUD_AWARDS"</li>
 
</ul>
 

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.