-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dc15s weaker added to support to an extent tiered equipment
- Loading branch information
Showing
3 changed files
with
97 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
96 changes: 96 additions & 0 deletions
96
Live Addons/servius_uploader/dc15s_addon_live/lua/weapons/tfa_dc15s_ashura_weaker/shared.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
if ( SERVER ) then | ||
AddCSLuaFile( "shared.lua" ) | ||
end | ||
if ( CLIENT ) then | ||
SWEP.PrintName = "DC-15s Weaker" | ||
SWEP.Author = "TFA, Servius" | ||
SWEP.Slot = 2 | ||
SWEP.SlotPos = 3 | ||
end | ||
SWEP.Base = "tfa_gun_base" | ||
SWEP.Category = "TFA Star Wars" | ||
SWEP.Spawnable = true | ||
SWEP.AdminSpawnable = true | ||
SWEP.HoldType = "ar2" | ||
SWEP.ViewModelFOV = 70 | ||
SWEP.ViewModelFlip = false | ||
SWEP.ViewModel = "models/servius/starwars/c_ashuradc15s.mdl" | ||
SWEP.WorldModel = "models/servius/starwars/w_ashuradc15s.mdl" | ||
SWEP.ShowViewModel = true | ||
SWEP.ShowWorldModel = true | ||
SWEP.UseHands = true | ||
SWEP.Primary.Sound = Sound ("strasser/weapons/dc15/dc15_laser.wav"); | ||
SWEP.Primary.ReloadSound = Sound ("weapons/bf3/standard_reload2.ogg"); | ||
|
||
SWEP.Weight = 5 | ||
SWEP.AutoSwitchTo = false | ||
SWEP.AutoSwitchFrom = false | ||
|
||
SWEP.SafetyPos = Vector(0, 0, 0) | ||
SWEP.SafetyAng = Vector(-10, 10, 0) | ||
|
||
SWEP.Primary.Damage = 25 | ||
SWEP.Primary.NumShots = 1 | ||
SWEP.Primary.Spread = 0.009 | ||
SWEP.Primary.IronAccuracy = .001 -- Ironsight accuracy, should be the same for shotguns | ||
SWEP.Primary.ClipSize = 35 | ||
SWEP.Primary.RPM = 280 | ||
SWEP.Primary.DefaultClip = 50 | ||
SWEP.Primary.Automatic = true | ||
SWEP.Primary.Ammo = "ar2" | ||
SWEP.DisableChambering = true | ||
|
||
SWEP.Primary.Force = nil | ||
SWEP.Primary.Knockback = nil | ||
SWEP.Primary.Recoil = 0 | ||
SWEP.Primary.KickUp = .3 | ||
|
||
SWEP.Primary.SpreadMultiplierMax = nil -- How far the spread can expand when you shoot. Example val: 2.5 | ||
SWEP.Primary.SpreadIncrement = 1/2.9 -- What percentage of the modifier is added on, per shot. Example val: 1/3.5 | ||
|
||
SWEP.Tracer = 0 | ||
SWEP.TracerName = "effect_sw_laser_blue" | ||
SWEP.TracerCount = 1 | ||
SWEP.TracerLua = false | ||
SWEP.TracerDelay = 0.01 | ||
SWEP.ImpactEffect = "effect_sw_impact" | ||
SWEP.ImpactDecal = "FadingScorch" | ||
SWEP.SelectiveFire = false --Allow selecting your firemode? | ||
SWEP.DisableBurstFire = false --Only auto/single? | ||
SWEP.OnlyBurstFire = false --No auto, only burst/single? | ||
SWEP.DefaultFireMode = "" --Default to auto or whatev | ||
SWEP.FireModeName = nil --Change to a text value to override it | ||
SWEP.Secondary.Automatic = false | ||
SWEP.Secondary.Ammo = "none" | ||
SWEP.Secondary.IronFOV = 90 | ||
SWEP.IronSightsPos = Vector(-2.8, 0, 1.96) | ||
SWEP.IronSightsAng = Vector(0, 0, 0.5) | ||
SWEP.BlowbackVector = Vector(0,0,0) | ||
SWEP.Blowback_Only_Iron = false | ||
SWEP.DoProceduralReload = false | ||
SWEP.ProceduralReloadTime = 2.5 | ||
|
||
SWEP.DoMuzzleFlash = true | ||
SWEP.CustomMuzzleFlash = true | ||
SWEP.MuzzleFlashEffect = "rw_sw_muzzleflash_blue" | ||
|
||
SWEP.GrappleHookSound = "weapons/rpg/shotdown.wav" | ||
SWEP.GrappleMoveSound = "weapons/tripwire/ropeshoot.wav" | ||
|
||
SWEP.VElements = { | ||
["lasersight"] = { type = "Model", model = "models/sw_battlefront/props/flashlight/flashlight.mdl", bone = "DC15_S", rel = "", pos = Vector(0.99, 6.752, 0.518), angle = Angle(0, -90, 180), size = Vector(0.5, 0.5, 0.5), color = Color(255, 255, 255, 255), surpresslightning = false, material = "", skin = 0, bodygroup = {}, bonermerge = true, active = true }, | ||
["laser"] = { type = "Model", model = "models/tfa/lbeam.mdl", bone = "DC15_S", rel = "lasersight", pos = Vector(0, 0, 0), angle = Angle(0, 0, 0), size = Vector(1.274, 1.274, 1.274), color = Color(255, 255, 255, 255), surpresslightning = false, material = "", skin = 0, bodygroup = {}, bonermerge = true, active = false } | ||
} | ||
|
||
SWEP.WElements = { | ||
["lazer"] = { type = "Model", model = "models/tfa/lbeam.mdl", bone = "ValveBiped.Bip01_R_Hand", rel = "lazersight", pos = Vector(0, 0, 0), angle = Angle(0, 0, 0), size = Vector(0.755, 0.755, 0.755), color = Color(255, 255, 255, 255), surpresslightning = false, material = "", skin = 0, bodygroup = {}, bonermerge = true, active = false }, | ||
["lazersight"] = { type = "Model", model = "models/sw_battlefront/props/flashlight/flashlight.mdl", bone = "ValveBiped.Bip01_R_Hand", rel = "", pos = Vector(17, 2.2, -6), angle = Angle(-10.52, 0, 0), size = Vector(0.5, 0.5, 0.5), color = Color(255, 255, 255, 255), surpresslightning = false, material = "", skin = 0, bodygroup = {}, bonermerge = true, active = true } | ||
} | ||
|
||
SWEP.Attachments = { | ||
[1] = { offset = { 0, 0 }, atts = { "lazersight4"}, order = 1 }, | ||
[2] = { offset = { 0, 0 }, atts = { "clipexpand2"}, order = 2 }, | ||
-- [3] = { offset = { 0, 0 }, atts = { "grapplehookatt","mod_stun5_servius","mod_stun10_servius","mod_stun15_servius","mod_stun20_servius","mod_stun5_servius2"}, order = 3 }, | ||
|
||
|
||
} |
Binary file added
BIN
+125 KB
...ervius_uploader/dc15s_addon_live/materials/entities/tfa_dc15s_ashura_weaker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.