Common Sounds

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (Not a tutorial)
Line 1: Line 1:
  
= Weapon Sounds =
+
= Render Order =
  
<pre>AlyxEMP.Charge
+
Below is the order in which rendering hooks are called. This is useful if you would only like to draw to the screen during a certain step.
AlyxEMP.Discharge
+
 
AlyxEMP.Stop
+
<pre>1 PreRender
BaseExplosionEffect.Sound
+
2 RenderScene
BaseGrenade.BounceSound
+
3 DrawMonitors
BaseGrenade.Explode
+
4 PreDrawSkyBox
BaseGrenade.StopSounds
+
5 PostDraw2DSkyBox
Bullets.DefaultNearmiss
+
6 PreDrawOpaqueRenderables
Bullets.GunshipNearmiss
+
7 PostDrawOpaqueRenderables
Bullets.StriderNearmiss
+
8 PreDrawTranslucentRenderables
Func_Tank.BeginUse
+
9 PostDrawTranslucentRenderables
FuncTank.Fire
+
10 PostDrawSkyBox
FX_RicochetSound.Ricochet
+
11 PreDrawOpaqueRenderables
GenericNPC.GunSound
+
12 PostDrawOpaqueRenderables
Grenade.Blip
+
13 PreDrawTranslucentRenderables
Grenade_Molotov.Detonate
+
14 PostDrawTranslucentRenderables
GrenadeBeam.HitSound
+
15 PreDrawViewModel
GrenadeBottle.Detonate
+
16 PreDrawViewModel
GrenadeBugBait.Splat
+
17 PostDrawViewModel
GrenadeHomer.StopSounds
+
18 PreDrawEffects
GrenadePathfollower.StopSounds
+
19 RenderScreenspaceEffects
GrenadeScanner.StopSound
+
20 PreDrawHalos
TripwireGrenade.ShootRope
+
21 PostDrawEffects
WaterExplosionEffect.Sound
+
22 PreDrawHUD
Weapon_357.OpenLoader
+
23 HUDPaintBackground
Weapon_357.Reload
+
24 HUDPaint
Weapon_357.RemoveLoader
+
25 HUDDrawScoreBoard
Weapon_357.ReplaceLoader
+
26 PostDrawHUD
Weapon_357.Single
+
27 DrawOverlay
Weapon_357.Spin
+
28 PostRenderVGUI
Weapon_AR2.Double
+
29 PostRender</pre>
Weapon_AR2.Empty
+
Weapon_AR2.NPC_Double
+
Weapon_AR2.NPC_Reload
+
Weapon_AR2.NPC_Single
+
Weapon_AR2.Reload
+
Weapon_AR2.Reload_Push
+
Weapon_AR2.Reload_Rotate
+
Weapon_AR2.Single
+
Weapon_AR2.Special1
+
Weapon_AR2.Special2
+
Weapon_Binoculars.Reload
+
Weapon_Binoculars.Special1
+
Weapon_Binoculars.Special2
+
Weapon_Brickbat.Special1
+
Weapon_Bugbait.Splat
+
Weapon_CombineGuard.Special1
+
Weapon_Crossbow.BoltElectrify
+
Weapon_Crossbow.BoltFly
+
Weapon_Crossbow.BoltHitBody
+
Weapon_Crossbow.BoltHitWorld
+
Weapon_Crossbow.BoltSkewer
+
Weapon_Crossbow.Reload
+
Weapon_Crossbow.Single
+
Weapon_Crowbar.Melee_Hit
+
Weapon_Crowbar.Melee_HitWorld
+
Weapon_Crowbar.Single
+
Weapon_Extinguisher.Double
+
Weapon_Extinguisher.Empty
+
Weapon_Extinguisher.NPC_Double
+
Weapon_Extinguisher.NPC_Reload
+
Weapon_Extinguisher.NPC_Single
+
Weapon_Extinguisher.Reload
+
Weapon_Extinguisher.Single
+
Weapon_Extinguisher.Special1
+
Weapon_FlareGun.Burn
+
Weapon_FlareGun.Reload
+
Weapon_FlareGun.Single
+
Weapon_functank.Single
+
Weapon_Gauss.ChargeLoop
+
Weapon_IRifle.Empty
+
Weapon_IRifle.Single
+
Weapon_MegaPhysCannon.Charge
+
Weapon_MegaPhysCannon.ChargeZap
+
Weapon_MegaPhysCannon.Drop
+
Weapon_MegaPhysCannon.DryFire
+
Weapon_MegaPhysCannon.HoldSound
+
Weapon_MegaPhysCannon.Launch
+
Weapon_MegaPhysCannon.Pickup
+
Weapon_Mortar.Impact
+
Weapon_Mortar.Incomming
+
Weapon_Mortar.Single
+
Weapon_PhysCannon.Charge
+
Weapon_PhysCannon.CloseClaws
+
Weapon_PhysCannon.Drop
+
Weapon_PhysCannon.DryFire
+
Weapon_PhysCannon.HoldSound
+
Weapon_PhysCannon.Launch
+
Weapon_PhysCannon.OpenClaws
+
Weapon_PhysCannon.Pickup
+
Weapon_PhysCannon.TooHeavy
+
Weapon_Physgun.HeavyObject
+
Weapon_Physgun.LightObject
+
Weapon_Physgun.LockedOn
+
Weapon_Physgun.Off
+
Weapon_Physgun.On
+
Weapon_Physgun.Scanning
+
Weapon_Physgun.Special1
+
Weapon_Pistol.Burst
+
Weapon_Pistol.Empty
+
Weapon_Pistol.NPC_Reload
+
Weapon_Pistol.NPC_Single
+
Weapon_Pistol.Reload
+
Weapon_Pistol.Single
+
Weapon_Pistol.Special1
+
Weapon_Pistol.Special2
+
Weapon_RPG.LaserOff
+
Weapon_RPG.LaserOn
+
Weapon_RPG.NPC_Single
+
Weapon_RPG.Single
+
Weapon_Shotgun.Double
+
Weapon_Shotgun.Empty
+
Weapon_Shotgun.NPC_Reload
+
Weapon_Shotgun.NPC_Single
+
Weapon_Shotgun.Reload
+
Weapon_Shotgun.Single
+
Weapon_Shotgun.Special1
+
Weapon_SMG1.Burst
+
Weapon_SMG1.Double
+
Weapon_SMG1.Empty
+
Weapon_SMG1.NPC_Reload
+
Weapon_SMG1.NPC_Single
+
Weapon_SMG1.Reload
+
Weapon_SMG1.Single
+
Weapon_SMG1.Special1
+
Weapon_SMG1.Special2
+
Weapon_SniperRifle.NPC_Reload
+
Weapon_SniperRifle.NPC_Single
+
Weapon_SniperRifle.Reload
+
Weapon_SniperRifle.Single
+
Weapon_SniperRifle.Special1
+
Weapon_SniperRifle.Special2
+
Weapon_StunStick.Activate
+
Weapon_StunStick.Deactivate
+
Weapon_StunStick.Melee_Hit
+
Weapon_StunStick.Melee_HitWorld
+
Weapon_StunStick.Melee_Miss
+
Weapon_StunStick.Swing
+
WeaponFrag.Roll
+
WeaponFrag.Throw</pre>
+
  
 
[[Category:Lua Reference]]
 
[[Category:Lua Reference]]

Revision as of 06:56, 13 December 2013

Render Order

Below is the order in which rendering hooks are called. This is useful if you would only like to draw to the screen during a certain step.

1	PreRender
2	RenderScene
3	DrawMonitors
4	PreDrawSkyBox
5	PostDraw2DSkyBox
6	PreDrawOpaqueRenderables
7	PostDrawOpaqueRenderables
8	PreDrawTranslucentRenderables
9	PostDrawTranslucentRenderables
10	PostDrawSkyBox
11	PreDrawOpaqueRenderables
12	PostDrawOpaqueRenderables
13	PreDrawTranslucentRenderables
14	PostDrawTranslucentRenderables
15	PreDrawViewModel
16	PreDrawViewModel
17	PostDrawViewModel
18	PreDrawEffects
19	RenderScreenspaceEffects
20	PreDrawHalos
21	PostDrawEffects
22	PreDrawHUD
23	HUDPaintBackground
24	HUDPaint
25	HUDDrawScoreBoard
26	PostDrawHUD
27	DrawOverlay
28	PostRenderVGUI
29	PostRender
Personal tools
Navigation