Support (Read Only) > Suggestions

Remove MAC's from Stronghold (Broken)

(1/4) > >>

Deathie:
Apparently, the code for the MAC-10 and MAC-11 aren't in the public repository for stronghold.

Curious, I decided to rent a MAC10 on the server.

I could equip it, but while trying to select it, there was no weapon in my slot 2.

So yeah, dem mac's are broken. :v

Nid to be removed from shared.lua

Deacon:
it would be simple to fix this. i'll talk to you after i get home from work about writing one

Rocket50:
works fine for me...

Deathie:

--- Quote from: Rocket50 on October 20, 2011, 10:15:01 PM ---works fine for me...

--- End quote ---

This was made at 3AM.

I meant to say the MAC 10/11.

Deathie:
MAC-11 .380
Price - $1300
Weapon Type - Machine Pistol
Damage - 30 per shot
Accuracy - 98.8%
Recoil - 0.9 feet
Clip Size - 30 bullets
Fire Rate - 0.04 Seconds between shots
Fire Modes - Semi Automatic / Fully Automatic
Spoiler: code (click to show/hide)
--- Code: (weapon_sh_mac11-380) ---if (SERVER) then
AddCSLuaFile("shared.lua")

elseif (CLIENT) then
SWEP.DrawAmmo = true
SWEP.PrintName = "MAC-11 .380"
SWEP.IconLetter = "d"

killicon.AddFont("weapon_sh_tmp", "CSKillIcons", SWEP.IconLetter, Color(200, 200, 200, 255))
end

SWEP.HoldType = "smg"
SWEP.MuzzleEffect = "silenced"
SWEP.ShellEffect = "rg_shelleject"
SWEP.MuzzleAttachment = "1"
SWEP.ShellEjectAttachment = "2"
SWEP.Base = "weapon_sh_base_pistol"
SWEP.Spawnable = true
SWEP.AdminSpawnable = true
SWEP.ViewModel = "models/weapons/v_smg_mac10.mdl"
SWEP.WorldModel = "models/weapons/w_smg_mac10.mdl"
SWEP.Primary.Sound = Sound("Weapon_MAC10.Single")
SWEP.Primary.Recoil = 0.3
SWEP.Primary.Damage = 10
SWEP.Primary.NumShots = 1
SWEP.Primary.Cone = 0.012
SWEP.Primary.ClipSize = 30
SWEP.Primary.Delay = 0.04
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.ModelRunAnglePreset = 2
SWEP.FireSelect = 1
SWEP.RMod = 1
SWEP.RRise = -0.001
SWEP.SlideLocks = 0
SWEP.FreeFloatHair = 0
SWEP.SMG = true
SWEP.IronSightsPos = Vector (6.192, -4.231, 2.881)
SWEP.IronSightsAng = Vector (0.574, 1.799, 5.824)

--- End code ---



MAC-10 .45
Price - $1700
Weapon Type - Machine Pistol
Damage - 36 per shot
Accuracy - 99%
Recoil - 0.8 feet
Clip Size - 30 bullets
Fire Rate - 0.04 Seconds between shots
Fire Modes - Semi Automatic / Fully Automatic
Spoiler: code (click to show/hide)
--- Code: (weapon_sh_mac10-45) ---if (SERVER) then
AddCSLuaFile("shared.lua")

elseif (CLIENT) then
SWEP.DrawAmmo = true
SWEP.PrintName = "MAC-10 .45"
SWEP.IconLetter = "d"

killicon.AddFont("weapon_sh_tmp", "CSKillIcons", SWEP.IconLetter, Color(200, 200, 200, 255))
end

SWEP.HoldType = "smg"
SWEP.MuzzleEffect = "silenced"
SWEP.ShellEffect = "rg_shelleject"
SWEP.MuzzleAttachment = "1"
SWEP.ShellEjectAttachment = "2"
SWEP.Base = "weapon_sh_base_pistol"
SWEP.Spawnable = true
SWEP.AdminSpawnable = true
SWEP.ViewModel = "models/weapons/v_smg_mac10.mdl"
SWEP.WorldModel = "models/weapons/w_smg_mac10.mdl"
SWEP.Primary.Sound = Sound("Weapon_MAC10.Single")
SWEP.Primary.Recoil = 0.25
SWEP.Primary.Damage = 12
SWEP.Primary.NumShots = 1
SWEP.Primary.Cone = 0.01
SWEP.Primary.ClipSize = 30
SWEP.Primary.Delay = 0.04
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.ModelRunAnglePreset = 2
SWEP.FireSelect = 1
SWEP.RMod = 1
SWEP.RRise = -0.001
SWEP.SlideLocks = 0
SWEP.FreeFloatHair = 0
SWEP.SMG = true
SWEP.IronSightsPos = Vector(6.192, -4.231, 2.881)
SWEP.IronSightsAng = Vector(0.574, 1.799, 5.824)

--- End code ---


----- For comparison purposes

STEYR TMP
Price - $1600
Weapon Type - Machine Pistol
Damage - 30 per shot
Accuracy - 99.2%
Recoil - 0.8 feet
Clip Size - 30 bullets
Fire Rate - 0.045 Seconds between shots
Fire Modes - Semi Automatic / Fully Automatic

Seem balanced?

Navigation

[0] Message Index

[#] Next page

Go to full version