Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Need the base? http://pastebin.com/QdYJdZ7X
- SWEP.Base = "weapon_flex_base" --Change to weapon_flex_base when making a new weapon
- SWEP.PrintName = "weapon_flex_wepname" --Name, MUST include weapon_flex_ to be included in FWP Uncategorized for the moment.
- SWEP.Author = "Author" --Change to your name
- SWEP.Category = "FWP" --Leave as is
- SWEP.Slot = 1 --Slot of weapon
- SWEP.SlotPos = 1 --Slot pos, doesn't matter
- SWEP.HoldType = "smg" --Holdtype, ar2 for CS weapons that are not shotguns, pistols, or SMGs
- SWEP.Spawnable = false --SET TO TRUE
- SWEP.AdminOnly = false --If it's an admin weapon
- SWEP.ViewModel = "models/weapons/c_smg1.mdl" --MUST BE A C_ MODEL, models/weapons/cstrike for CS c_ models
- SWEP.WorldModel = "models/weapons/w_smg1.mdl" --World model
- SWEP.UseHands = true --LEAVE TO TRUE UNLESS USING V_ MODEL
- SWEP.Primary.Sound = Sound("Weapon_SMG1.Single") --Fire sound, usually Weapon_Name.Single
- SWEP.Primary.Delay = 0.1 --Delay, 0.1 is good for rifles and SMGs
- SWEP.Primary.Damage = 10 --Damage, DO NOT GO INSANE UNLESS ADMIN WEAPON
- SWEP.Primary.Spread = 0 --Bullet spread, use 100th's (0.01)
- SWEP.Primary.Recoil = 0.5 --Recoil, below 0.55
- SWEP.Primary.Bullets = 1 --Leave as one unless shotgun
- SWEP.Primary.ClipSize = 6 --Clip size
- SWEP.Primary.DefaultClip = 36 --How much in reserve (clip + 2-3 extra)
- SWEP.Primary.Automatic = true --True for SMGs and Rifles
- SWEP.Primary.Ammo = "smg1" --Ammo type, ar2 for rifles, smg1 for SMGs, pistol for pistols, 357 for snipers, buckshot for shotguns
- --ONLY MODIFY IF YOU WANT A SECOND AMMO TYPE FOR YOUR SECONDARY FIRE
- SWEP.Secondary.ClipSize = -1
- SWEP.Secondary.DefaultClip = -1
- SWEP.Secondary.Automatic = false
- SWEP.Secondary.Ammo = "none"
- SWEP.SelectionFont = "CreditsLogo" --CreditsLogo for HL2 weapon icons, CSSelectIcons for CS weapon icons
- SWEP.SelectionLetter = "f" --Test with <font=fontname>letters if you want to in chat. Or install HL2.ttf and csd.ttf and open up a notepad or something and test.
- --Only add this if you're wanting to use ironsights
- SWEP.IronSightsPos = Vector(0, 0, 0)
- SWEP.IronSightsAng = Vector(0, 0, 0)
Advertisement
Add Comment
Please, Sign In to add comment