Imported existing sources
|
After Width: | Height: | Size: 527 KiB |
|
After Width: | Height: | Size: 468 KiB |
|
After Width: | Height: | Size: 360 KiB |
|
After Width: | Height: | Size: 394 KiB |
|
After Width: | Height: | Size: 603 KiB |
|
After Width: | Height: | Size: 341 KiB |
|
After Width: | Height: | Size: 485 KiB |
|
After Width: | Height: | Size: 521 KiB |
|
After Width: | Height: | Size: 376 KiB |
|
After Width: | Height: | Size: 186 KiB |
|
After Width: | Height: | Size: 164 KiB |
|
After Width: | Height: | Size: 582 KiB |
@@ -0,0 +1,8 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "effects/actionflash1"
|
||||
"$additive" 1
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "effects/multi/muzzleflash1"
|
||||
"$additive" "1"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" "1"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "effects/multi/muzzleflash2"
|
||||
"$additive" "1"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" "1"
|
||||
@@ -0,0 +1,6 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "effects/multi/muzzleflash3"
|
||||
"$additive" "1"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" "1"
|
||||
@@ -0,0 +1,6 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "effects/multi/muzzleflash4"
|
||||
"$additive" "1"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" "1"
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "effects/multi/muzzleflashX"
|
||||
"$additive" "1"
|
||||
"$vertexcolor" "1"
|
||||
"$vertexalpha" "1"
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "effects/muzzle_root"
|
||||
"$additive" 1
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "effects/muzzleflash4p"
|
||||
"$additive" 1
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
"SpriteCard"
|
||||
{
|
||||
$basetexture "materials/effects/muzzleflash_ptp"
|
||||
$addself 1
|
||||
// $addbasetexture2 2
|
||||
// $addbasetexture2 1.5
|
||||
$overbrightfactor 6
|
||||
$DEPTHBLEND 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_ak47"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_aug"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_autoshotgun"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_awp"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_deagle"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_elites"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_famas"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_fiveseven"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_g3sg1"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_galil"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_glock"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_knife"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_m4"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_mac10"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_mp5"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_p228"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_p90"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_para"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_pumpshotgun"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_scout"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_sg550"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_sg552"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_tmp"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_ump45"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_cs_usp"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_weapon_flash"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_weapon_grenade"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"UnlitGeneric"
|
||||
{
|
||||
"$basetexture" "vgui/entities/ptp_weapon_smoke"
|
||||
"$vertexcolor" 1
|
||||
"$vertexalpha" 1
|
||||
"$nolod" 1
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
"coopgamemode"
|
||||
{
|
||||
"base" "sandbox"
|
||||
"title" "Feedc0de's coop Mode"
|
||||
"menusystem" "1"
|
||||
"maps" "coop"
|
||||
"settings"
|
||||
{
|
||||
1
|
||||
{
|
||||
"name" "gc_bringcooldown"
|
||||
"text" "!bring cooldown:"
|
||||
"type" "Numeric"
|
||||
"default" "120"
|
||||
}
|
||||
2
|
||||
{
|
||||
"name" "gc_allowbringplayers"
|
||||
"text" "Allow the !bring command"
|
||||
"type" "CheckBox"
|
||||
"default" "0"
|
||||
}
|
||||
3
|
||||
{
|
||||
"name" "gc_allowcheckpoints"
|
||||
"text" "Generate checkpoints (doors/health rechargers)"
|
||||
"type" "CheckBox"
|
||||
"default" "1"
|
||||
}
|
||||
4
|
||||
{
|
||||
"name" "gc_respawndistance"
|
||||
"text" "Item distance to map origin to trigger a respawn"
|
||||
"type" "Numeric"
|
||||
"default" "75"
|
||||
}
|
||||
6
|
||||
{
|
||||
"name" "gc_realismmode"
|
||||
"text" "Spectate after death until players reach checkpoint"
|
||||
"type" "CheckBox"
|
||||
"default" "0"
|
||||
}
|
||||
7
|
||||
{
|
||||
"name" "gc_realheadcrabs"
|
||||
"text" "Headcrabs do more damage"
|
||||
"type" "CheckBox"
|
||||
"default" "1"
|
||||
}
|
||||
8
|
||||
{
|
||||
"name" "gc_realzombies"
|
||||
"text" "Zombies do more damage"
|
||||
"type" "CheckBox"
|
||||
"default" "1"
|
||||
}
|
||||
9
|
||||
{
|
||||
"name" "gc_realisticdamage"
|
||||
"text" "Damage increases with amount of players"
|
||||
"type" "CheckBox"
|
||||
"default" "1"
|
||||
}
|
||||
10
|
||||
{
|
||||
"name" "sbox_playershurtplayers"
|
||||
"text" "Friendly Fire"
|
||||
"type" "CheckBox"
|
||||
"default" "0"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,109 @@
|
||||
if ( SERVER ) then
|
||||
|
||||
AddCSLuaFile( "shared.lua" )
|
||||
|
||||
end
|
||||
|
||||
if ( CLIENT ) then
|
||||
|
||||
SWEP.PrintName = "AK-47"
|
||||
SWEP.Author = ""
|
||||
SWEP.Slot = 3
|
||||
SWEP.SlotPos = 0
|
||||
SWEP.IconLetterCSS = "b"
|
||||
|
||||
killicon.AddFont( "coop_ak47", "CSKillIcons", SWEP.IconLetterCSS, Color( 255, 80, 0, 255 ) )
|
||||
|
||||
end
|
||||
|
||||
SWEP.HoldType = "ar2"
|
||||
SWEP.Base = "coop_weapon_base"
|
||||
SWEP.Category = "CO-OP"
|
||||
SWEP.ViewModelFlip = false
|
||||
SWEP.ViewModelFOV = 47
|
||||
|
||||
SWEP.Spawnable = true
|
||||
SWEP.AdminSpawnable = true
|
||||
SWEP.UseHands = true
|
||||
|
||||
SWEP.ViewModel = "models/weapons/cstrike/c_rif_ak47.mdl"
|
||||
SWEP.WorldModel = "models/weapons/w_rif_ak47.mdl"
|
||||
|
||||
SWEP.Weight = 5
|
||||
SWEP.AutoSwitchTo = true
|
||||
SWEP.AutoSwitchFrom = true
|
||||
|
||||
SWEP.Primary.Sound = Sound( "weapon_ak47.single" )
|
||||
SWEP.Primary.Recoil = 6
|
||||
SWEP.Primary.Damage = 15
|
||||
SWEP.Primary.NumShots = 1
|
||||
SWEP.Primary.Cone = 0.03
|
||||
SWEP.Primary.ClipSize = 30
|
||||
SWEP.Primary.Delay = 0.12
|
||||
SWEP.Primary.DefaultClip = 30
|
||||
SWEP.Primary.Automatic = true
|
||||
SWEP.Primary.Ammo = "smg1"
|
||||
|
||||
SWEP.Secondary.ClipSize = -1
|
||||
SWEP.Secondary.DefaultClip = -1
|
||||
SWEP.Secondary.Automatic = false
|
||||
SWEP.Secondary.Ammo = "none"
|
||||
|
||||
SWEP.IronSightsPos = Vector(-6.614, -11.551, 2.648)
|
||||
SWEP.IronSightsAng = Vector(2.275, 0, 0)
|
||||
SWEP.AimSightsPos = Vector(-6.614, -11.551, 2.648)
|
||||
SWEP.AimSightsAng = Vector(2.275, 0, 0)
|
||||
SWEP.DashArmPos = Vector(4.355, -7.206, -0.681)
|
||||
SWEP.DashArmAng = Vector(-10.965, 37.062, -10.664)
|
||||
|
||||
|
||||
--Extras
|
||||
SWEP.ReloadHolster = 2.4
|
||||
SWEP.StockIronSightAnim = false
|
||||
|
||||
-- Accuracy
|
||||
SWEP.CrouchCone = 0.01 -- Accuracy when we're crouching
|
||||
SWEP.CrouchWalkCone = 0.02 -- Accuracy when we're crouching and walking
|
||||
SWEP.WalkCone = 0.08 -- Accuracy when we're walking
|
||||
SWEP.AirCone = 0.1 -- Accuracy when we're in air
|
||||
SWEP.StandCone = 0.02 -- Accuracy when we're standing still
|
||||
SWEP.Delay = 0.1
|
||||
SWEP.Recoil = 5
|
||||
SWEP.RecoilZoom = 1
|
||||
SWEP.IronSightsCone = 0.01
|
||||
|
||||
/*---------------------------------------------------------
|
||||
SetIronsights
|
||||
---------------------------------------------------------*/
|
||||
function SWEP:SetIronsights(b)
|
||||
|
||||
|
||||
if self.Owner:KeyDown(IN_USE) then return end
|
||||
|
||||
if self.Owner:KeyDown(IN_SPEED) then return end
|
||||
|
||||
if !self.Owner:OnGround() then return end
|
||||
|
||||
self.Weapon:SetNetworkedBool("Ironsights", b)
|
||||
|
||||
if self.Weapon:GetNetworkedBool( "Ironsights", true) then
|
||||
--self.Primary.Recoil = self.RecoilZoom
|
||||
self.IronSightsPos = self.AimSightsPos
|
||||
self.IronSightsAng = self.AimSightsAng
|
||||
self.Weapon:EmitSound("weapons/universal/iron_in.wav")
|
||||
self.Owner:SetFOV(self.ZoomFOV, 0.15)
|
||||
if self.CSSZoom then
|
||||
self.Primary.Recoil = self.RecoilZoom
|
||||
self.Primary.Delay = self.DelayZoom
|
||||
end
|
||||
else
|
||||
self.Primary.Recoil = self.Recoil
|
||||
self.Owner:SetFOV(0, 0.15)
|
||||
if self.CSSZoom then
|
||||
self.Primary.Recoil = self.Recoil
|
||||
self.Primary.Delay = self.Delay
|
||||
end
|
||||
self.Weapon:EmitSound("weapons/universal/iron_out.wav")
|
||||
end
|
||||
|
||||
end
|
||||
@@ -0,0 +1,63 @@
|
||||
if ( SERVER ) then
|
||||
|
||||
AddCSLuaFile( "shared.lua" )
|
||||
|
||||
end
|
||||
|
||||
if ( CLIENT ) then
|
||||
|
||||
SWEP.PrintName = "Automatic Shotgun"
|
||||
SWEP.Author = ""
|
||||
SWEP.Slot = 2
|
||||
SWEP.SlotPos = 0
|
||||
SWEP.IconLetterCSS = "B"
|
||||
|
||||
|
||||
killicon.AddFont( "coop_autoshotgun", "CSKillIcons", SWEP.IconLetterCSS, Color( 255, 80, 0, 255 ) )
|
||||
|
||||
end
|
||||
|
||||
SWEP.HoldType = "shotgun"
|
||||
SWEP.Base = "coop_shotgun_base"
|
||||
SWEP.Category = "CO-OP"
|
||||
|
||||
SWEP.Spawnable = true
|
||||
SWEP.AdminSpawnable = true
|
||||
|
||||
SWEP.ViewModel = "models/weapons/cstrike/c_shot_xm1014.mdl"
|
||||
SWEP.WorldModel = "models/weapons/w_shot_xm1014.mdl"
|
||||
SWEP.UseHands = true
|
||||
SWEP.ViewModelFlip = false
|
||||
SWEP.ViewModelFOV = 54
|
||||
|
||||
SWEP.Weight = 10
|
||||
SWEP.AutoSwitchTo = false
|
||||
SWEP.AutoSwitchFrom = false
|
||||
|
||||
SWEP.Primary.Sound = Sound( "Weapon_xm1014.Single" )
|
||||
SWEP.Primary.Recoil = 3
|
||||
SWEP.Primary.Damage = 10
|
||||
SWEP.Primary.NumShots = 6
|
||||
SWEP.Primary.Cone = 0.09
|
||||
SWEP.Primary.ClipSize = 7
|
||||
SWEP.Primary.Delay = 0.25
|
||||
SWEP.Primary.DefaultClip = 7
|
||||
SWEP.Primary.Automatic = false
|
||||
SWEP.Primary.Ammo = "buckshot"
|
||||
|
||||
SWEP.IronSightsPos = Vector(-6.96, -4.329, 2.7)
|
||||
SWEP.IronSightsAng = Vector(-0.2, -0.8, 0)
|
||||
SWEP.AimSightsPos = Vector(-6.96, -4.329, 2.7)
|
||||
SWEP.AimSightsAng = Vector(-0.2, -0.8, 0)
|
||||
SWEP.DashArmPos = Vector(4.355, -7.206, -0.681)
|
||||
SWEP.DashArmAng = Vector(-10.965, 47.062, -10.664)
|
||||
|
||||
--Extras
|
||||
SWEP.ReloadHolster = 3
|
||||
SWEP.StockIronSightAnim = true
|
||||
|
||||
--Accuracy
|
||||
SWEP.Delay = 0.25
|
||||
SWEP.Recoil = 3
|
||||
SWEP.RecoilZoom = 2
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
|
||||
if ( SERVER ) then
|
||||
|
||||
AddCSLuaFile( "shared.lua" )
|
||||
|
||||
end
|
||||
|
||||
if ( CLIENT ) then
|
||||
|
||||
SWEP.PrintName = "Desert Eagle"
|
||||
SWEP.Author = ""
|
||||
|
||||
SWEP.Slot = 1
|
||||
SWEP.SlotPos = 0
|
||||
SWEP.IconLetterCSS = "f"
|
||||
|
||||
killicon.AddFont( "coop_deagle", "CSKillIcons", SWEP.IconLetterCSS, Color( 255, 80, 0, 255 ) )
|
||||
|
||||
end
|
||||
|
||||
SWEP.HoldType = "revolver"
|
||||
SWEP.Base = "coop_weapon_base"
|
||||
SWEP.Category = "CO-OP"
|
||||
|
||||
SWEP.Spawnable = true
|
||||
SWEP.AdminSpawnable = true
|
||||
|
||||
SWEP.ViewModel = "models/weapons/cstrike/c_pist_deagle.mdl"
|
||||
SWEP.WorldModel = "models/weapons/w_pist_deagle.mdl"
|
||||
SWEP.UseHands = true
|
||||
SWEP.ViewModelFlip = false
|
||||
SWEP.ViewModelFOV = 45
|
||||
SWEP.Weight = 5
|
||||
SWEP.AutoSwitchTo = false
|
||||
SWEP.AutoSwitchFrom = false
|
||||
|
||||
SWEP.Primary.Sound = Sound( "Weapon_Deagle.Single" )
|
||||
SWEP.Primary.Recoil = 7
|
||||
SWEP.Primary.Damage = 60
|
||||
SWEP.Primary.NumShots = 1
|
||||
SWEP.Primary.Cone = 0.01
|
||||
SWEP.Primary.ClipSize = 7
|
||||
SWEP.Primary.Delay = 0.3
|
||||
SWEP.Primary.DefaultClip = 7
|
||||
SWEP.Primary.Automatic = false
|
||||
SWEP.Primary.Ammo = "357"
|
||||
|
||||
SWEP.IronSightsPos = Vector(-6.365, -11.287, 2.134)
|
||||
SWEP.IronSightsAng = Vector(0.056, 0, 0)
|
||||
SWEP.AimSightsPos = Vector(-6.365, -11.287, 2.134)
|
||||
SWEP.AimSightsAng = Vector(0.056, 0, 0)
|
||||
SWEP.DashArmPos = Vector(0, 0, 0)
|
||||
SWEP.DashArmAng = Vector(-10, 0, 0)
|
||||
|
||||
|
||||
--Extras
|
||||
SWEP.ReloadHolster = 2
|
||||
SWEP.ZoomFOV = 85
|
||||
SWEP.StockIronSightAnim = true
|
||||
|
||||
-- Accuracy
|
||||
SWEP.CrouchCone = 0.01 -- Accuracy when we're crouching
|
||||
SWEP.CrouchWalkCone = 0.02 -- Accuracy when we're crouching and walking
|
||||
SWEP.WalkCone = 0.08 -- Accuracy when we're walking
|
||||
SWEP.AirCone = 0.1 -- Accuracy when we're in air
|
||||
SWEP.StandCone = 0.01 -- Accuracy when we're standing still
|
||||
SWEP.IronsightsCone = 0.015
|
||||
SWEP.Recoil = 7
|
||||
SWEP.Delay = 0.3
|
||||
SWEP.DelayZoom = 0.2
|
||||
@@ -0,0 +1,73 @@
|
||||
if ( SERVER ) then
|
||||
|
||||
AddCSLuaFile( "shared.lua" )
|
||||
|
||||
end
|
||||
|
||||
if ( CLIENT ) then
|
||||
|
||||
SWEP.PrintName = "Famas"
|
||||
SWEP.Author = ""
|
||||
SWEP.Slot = 3
|
||||
SWEP.SlotPos = 0
|
||||
SWEP.IconLetterCSS = "t"
|
||||
|
||||
killicon.AddFont( "coop_famas", "CSKillIcons", SWEP.IconLetterCSS, Color( 255, 80, 0, 255 ) )
|
||||
|
||||
end
|
||||
|
||||
SWEP.HoldType = "ar2"
|
||||
SWEP.Base = "coop_zoom_base"
|
||||
SWEP.Category = "CO-OP"
|
||||
|
||||
SWEP.Spawnable = true
|
||||
SWEP.AdminSpawnable = true
|
||||
SWEP.ViewModelFlip = false
|
||||
SWEP.ViewModel = "models/weapons/cstrike/c_rif_famas.mdl"
|
||||
SWEP.WorldModel = "models/weapons/w_rif_famas.mdl"
|
||||
SWEP.UseHands = true
|
||||
SWEP.ViewModelFOV = 57
|
||||
|
||||
SWEP.Weight = 5
|
||||
SWEP.AutoSwitchTo = false
|
||||
SWEP.AutoSwitchFrom = false
|
||||
|
||||
SWEP.Primary.Sound = Sound( "Weapon_famas.Single" )
|
||||
SWEP.Primary.Recoil = 4
|
||||
SWEP.Primary.Damage = 14
|
||||
SWEP.Primary.NumShots = 1
|
||||
SWEP.Primary.Cone = 0.015
|
||||
SWEP.Primary.ClipSize = 25
|
||||
SWEP.Primary.Delay = 0.1
|
||||
SWEP.Primary.DefaultClip = 25
|
||||
SWEP.Primary.Automatic = true
|
||||
SWEP.Primary.Ammo = "smg1"
|
||||
|
||||
SWEP.Secondary.ClipSize = -1
|
||||
SWEP.Secondary.DefaultClip = -1
|
||||
SWEP.Secondary.Automatic = false
|
||||
SWEP.Secondary.Ammo = "none"
|
||||
|
||||
SWEP.IronSightsPos = Vector(-3.57, -6.375, 0)
|
||||
SWEP.IronSightsAng = Vector(2.497, 0.05, 0.7)
|
||||
SWEP.AimSightsPos = Vector(-3.57, -6.375, 0)
|
||||
SWEP.AimSightsAng = Vector(2.497, 0.05, 0.7)
|
||||
SWEP.DashArmPos = Vector(2.055, -4.206, -0.681)
|
||||
SWEP.DashArmAng = Vector(-10.965, 37.062, -10.664)
|
||||
|
||||
--Extras
|
||||
SWEP.ReloadHolster = 3.3
|
||||
SWEP.StockIronSightAnim = true
|
||||
|
||||
|
||||
-- Accuracy
|
||||
SWEP.CrouchCone = 0.01 -- Accuracy when we're crouching
|
||||
SWEP.CrouchWalkCone = 0.02 -- Accuracy when we're crouching and walking
|
||||
SWEP.WalkCone = 0.05 -- Accuracy when we're walking
|
||||
SWEP.AirCone = 0.1 -- Accuracy when we're in air
|
||||
SWEP.StandCone = 0.015 -- Accuracy when we're standing still
|
||||
SWEP.Delay = 0.09
|
||||
SWEP.Recoil = 3
|
||||
SWEP.RecoilZoom = 0.7
|
||||
SWEP.IronSightsCone = 0.01
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
|
||||
|
||||
if ( SERVER ) then
|
||||
|
||||
AddCSLuaFile( "shared.lua" )
|
||||
|
||||
end
|
||||
|
||||
if ( CLIENT ) then
|
||||
|
||||
SWEP.PrintName = "Five-Seven"
|
||||
SWEP.Author = ""
|
||||
SWEP.Slot = 1
|
||||
SWEP.SlotPos = 0
|
||||
SWEP.IconLetterCSS = "u"
|
||||
|
||||
killicon.AddFont( "coop_fiveseven", "CSKillIcons", SWEP.IconLetterCSS, Color( 255, 80, 0, 255 ) )
|
||||
|
||||
end
|
||||
|
||||
SWEP.HoldType = "pistol"
|
||||
SWEP.Base = "coop_weapon_base"
|
||||
SWEP.Category = "CO-OP"
|
||||
|
||||
SWEP.Spawnable = true
|
||||
SWEP.AdminSpawnable = true
|
||||
|
||||
SWEP.ViewModel = "models/weapons/cstrike/c_pist_fiveseven.mdl"
|
||||
SWEP.WorldModel = "models/weapons/w_pist_fiveseven.mdl"
|
||||
SWEP.ViewModelFOV = 47
|
||||
SWEP.UseHands = true
|
||||
SWEP.ViewModelFlip = false
|
||||
SWEP.Weight = 5
|
||||
SWEP.AutoSwitchTo = false
|
||||
SWEP.AutoSwitchFrom = false
|
||||
|
||||
SWEP.Primary.Sound = Sound( "Weapon_FiveSeven.Single" )
|
||||
SWEP.Primary.Recoil = 2.5
|
||||
SWEP.Primary.Damage = 8
|
||||
SWEP.Primary.NumShots = 1
|
||||
SWEP.Primary.Cone = 0.01
|
||||
SWEP.Primary.ClipSize = 20
|
||||
SWEP.Primary.Delay = 0.09
|
||||
SWEP.Primary.DefaultClip = 20
|
||||
SWEP.Primary.Automatic = false
|
||||
SWEP.Primary.Ammo = "pistol"
|
||||
|
||||
SWEP.IronSightsPos = Vector(-5.95, -6.375, 3)
|
||||
SWEP.IronSightsAng = Vector(-0.5, 0, 0)
|
||||
SWEP.AimSightsPos = Vector(-5.95, -6.375, 3)
|
||||
SWEP.AimSightsAng = Vector(-0.5, 0, 0)
|
||||
SWEP.DashArmPos = Vector(0, 0, 0)
|
||||
SWEP.DashArmAng = Vector(-10, 0, 0)
|
||||
|
||||
--Extras
|
||||
SWEP.ReloadHolster = 3
|
||||
SWEP.StockIronSightAnim = true
|
||||
|
||||
-- Accuracy
|
||||
SWEP.CrouchCone = 0.01 -- Accuracy when we're crouching
|
||||
SWEP.CrouchWalkCone = 0.015 -- Accuracy when we're crouching and walking
|
||||
SWEP.WalkCone = 0.04 -- Accuracy when we're walking
|
||||
SWEP.AirCone = 0.085 -- Accuracy when we're in air
|
||||
SWEP.StandCone = 0.01 -- Accuracy when we're standing still
|
||||
SWEP.Recoil = 2.5
|
||||
SWEP.RecoilZoom = 0.7
|
||||
SWEP.Delay = 0.09
|
||||
@@ -0,0 +1,79 @@
|
||||
|
||||
|
||||
if ( SERVER ) then
|
||||
|
||||
AddCSLuaFile( "shared.lua" )
|
||||
|
||||
end
|
||||
|
||||
if ( CLIENT ) then
|
||||
|
||||
SWEP.PrintName = "Glock"
|
||||
SWEP.Author = ""
|
||||
SWEP.Slot = 1
|
||||
SWEP.SlotPos = 0
|
||||
SWEP.IconLetterCSS = "c"
|
||||
|
||||
killicon.AddFont( "coop_glock", "CSKillIcons", SWEP.IconLetterCSS, Color( 255, 80, 0, 255 ) )
|
||||
|
||||
end
|
||||
|
||||
SWEP.HoldType = "pistol"
|
||||
SWEP.Base = "coop_weapon_base"
|
||||
SWEP.Category = "CO-OP"
|
||||
|
||||
SWEP.Spawnable = true
|
||||
SWEP.AdminSpawnable = false
|
||||
|
||||
SWEP.ViewModel = "models/weapons/cstrike/c_pist_glock18.mdl"
|
||||
SWEP.WorldModel = "models/weapons/w_pist_glock18.mdl"
|
||||
SWEP.UseHands = true
|
||||
SWEP.ViewModelFlip = false
|
||||
SWEP.ViewModelFOV = 44
|
||||
SWEP.Weight = 5
|
||||
SWEP.AutoSwitchTo = false
|
||||
SWEP.AutoSwitchFrom = false
|
||||
|
||||
SWEP.Primary.Sound = Sound( "Weapon_Glock.Single" )
|
||||
SWEP.Primary.Recoil = 3
|
||||
SWEP.Primary.Damage = 9
|
||||
SWEP.Primary.NumShots = 1
|
||||
SWEP.Primary.Cone = 0.015
|
||||
SWEP.Primary.ClipSize = 20
|
||||
SWEP.Primary.Delay = 0.09
|
||||
SWEP.Primary.DefaultClip = 20
|
||||
SWEP.Primary.Automatic = false
|
||||
SWEP.Primary.Ammo = "pistol"
|
||||
|
||||
SWEP.Secondary.ClipSize = -1
|
||||
SWEP.Secondary.DefaultClip = -1
|
||||
SWEP.Secondary.Automatic = false
|
||||
SWEP.Secondary.Ammo = "none"
|
||||
|
||||
SWEP.IronSightsPos = Vector(-5.77, -5.15, 2.785)
|
||||
SWEP.IronSightsAng = Vector(0.46, 0, 0)
|
||||
SWEP.AimSightsPos = Vector(-5.77, -5.15, 2.785)
|
||||
SWEP.AimSightsAng = Vector(0.46, 0, 0)
|
||||
SWEP.DashArmPos = Vector(0, 0, 0)
|
||||
SWEP.DashArmAng = Vector(-10, 0, 0)
|
||||
|
||||
--Extras
|
||||
SWEP.ReloadHolster = 1.9
|
||||
SWEP.PistolBurstOnly = true
|
||||
SWEP.StockIronSightAnim = true
|
||||
|
||||
--FireModes
|
||||
SWEP.FiringMode = true
|
||||
SWEP.Burstable = true
|
||||
SWEP.BurstShots = 3
|
||||
|
||||
-- Accuracy
|
||||
SWEP.CrouchCone = 0.01 -- Accuracy when we're crouching
|
||||
SWEP.CrouchWalkCone = 0.015 -- Accuracy when we're crouching and walking
|
||||
SWEP.WalkCone = 0.02 -- Accuracy when we're walking
|
||||
SWEP.AirCone = 0.1 -- Accuracy when we're in air
|
||||
SWEP.StandCone = 0.015 -- Accuracy when we're standing still
|
||||
SWEP.Recoil = 3
|
||||
SWEP.RecoilZoom = 0.7
|
||||
SWEP.Delay = 0.09
|
||||
|
||||