Category talk:Lua:Articles:Scripted Weapons
From GMod Wiki
Contents |
= Sry...
I wasnt sure how to paste my own article... but this is very helpful
How it works
Add some sound to your weapons. example:
local ShootSound = Sound ("Weapon_IRifle.Single"); self.Weapon:EmitSound (ShootSound);
Bullets
- "Bullets.DefaultNearmiss"
- "Bullets.GunshipNearmiss"
- "Bullets.StriderNearmiss"
- "FX_RicochetSound.Ricochet"
- "FuncTank.Fire"
Weapons
- "Weapon_AR2.Empty"
- "Weapon_AR2.Reload"
- "Weapon_AR2.Reload_Rotate"
- "Weapon_AR2.Reload_Push"
- "Weapon_AR2.Single"
- "Weapon_AR2.Special1"
- "Weapon_AR2.Special2"
- "Weapon_AR2.Double"
-
- "Weapon_Binoculars.Special1"
- "Weapon_Binoculars.Special2"
- "Weapon_Binoculars.Reload"
-
- "Weapon_Bugbait.Splat"
- "Weapon_Crowbar.Single"
- "Weapon_Crowbar.Melee_Hit"
- "Weapon_Crowbar.Melee_HitWorld"
-
- "Weapon_IRifle.Empty"
- "Weapon_IRifle.Single"
-
- "Weapon_PhysCannon.Launch"
- "Weapon_MegaPhysCannon.Launch"
- "Weapon_PhysCannon.Charge"
- "Weapon_MegaPhysCannon.Charge"
- "Weapon_PhysCannon.Pickup"
- "Weapon_MegaPhysCannon.Pickup"
- "Weapon_PhysCannon.OpenClaws"
- "Weapon_PhysCannon.CloseClaws"
-
- "Weapon_Pistol.Reload"
- "Weapon_Pistol.Empty"
- "Weapon_Pistol.Single"
- "Weapon_Pistol.Special1"
- "Weapon_Pistol.Special2"
- "Weapon_Pistol.Burst"
-
- "Weapon_RPG.Single"
-
- "Weapon_Shotgun.Empty"
- "Weapon_Shotgun.Reload"
- "Weapon_Shotgun.Special1"
- "Weapon_Shotgun.Single"
- "Weapon_Shotgun.Double"
-
- "Weapon_SMG1.Reload"
- "Weapon_SMG1.Empty"
- "Weapon_SMG1.Single"
- "Weapon_SMG1.Double"
- "Weapon_SMG1.Special1"
- "Weapon_SMG1.Special2"
- "Weapon_SMG1.Burst"
-
- "Weapon_SniperRifle.Special1"
- "Weapon_SniperRifle.Special2"
- "Weapon_SniperRifle.Reload"
- "Weapon_SniperRifle.Single"
-
- "Weapon_StunStick.Swing"
- "Weapon_StunStick.Melee_Miss"
- "Weapon_StunStick.Melee_Hit"
- "Weapon_StunStick.Activate"
- "Weapon_StunStick.Deactivate"
-
- "Weapon_357.Single"
- "Weapon_357.Reload"
-
- "Weapon_Crossbow.Single"
- "Weapon_Crossbow.Reload"
- "Weapon_Crossbow.BoltFly"
- "Weapon_Crossbow.BoltElectrify"
Explosions
- "BaseExplosionEffect.Sound"
- "WaterExplosionEffect.Sound"
- "BaseGrenade.Explode"
- "GrenadeBottle.Detonate"
- "Grenade_Molotov.Detonate"
By Astarum: a question
How do I add my own article?
- Just search for the name of your article to create it. For it to be linked here you need to have [[Category:Lua:Articles:Scripted Weapons]] in the page. It won't be visible.
- I also suggest you use the Article template. --Crazy Quebecer 22:05, 18 June 2010 (UTC)