Raised This Month: $51 Target: $400
 12% 

Weapon scripts & ammo count


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bchewy
AlliedModders Donor
Join Date: Nov 2014
Old 04-28-2017 , 07:49   Weapon scripts & ammo count
Reply With Quote #1

Hi all, I've been trying to change my server's weapon magazine size for the m4a1_silenced without any luck!

I have the following plugins :
Code:
sm plugins list
[SM] Listing 60 plugins:
  01 "Fun Votes" (1.8.0.5985) by AlliedModders LLC
  02 "Server Advertisement" (2.3) by ESK0
  03 "Stop Map Music" (1.0.0) by GoD-Tony [Fixed by The Count]
  04 "Advanced Display Names" (1.0.1) by Mitchell
  05 "Toggle Weapon Sounds clientprefs" (1.0.2) by GoD-Tony
  06 "MapChooser" (1.8.0.5982) by AlliedModders LLC
  07 "Fun Commands" (1.8.0.5985) by AlliedModders LLC
  08 "Test" (0.0) by shadowz_au
  09 "Client Preferences" (1.8.0.5985) by AlliedModders LLC
  10 "Extend Map" (1.3) by MOPO3KO
  11 "Easy Restart Game" (1.0) by KryptoNite[IL]
  12 "Thirdperson | Mirrow Mode" (1.11) by Zephyrus
  13 "Basic Ban Commands" (1.8.0.5985) by AlliedModders LLC
  14 "Player Commands" (1.8.0.5985) by AlliedModders LLC
  15 "SM Console chat countdown detector" (1.1.3) by Franc1sco franug
  16 "SM Unlimited Reserve Ammo" (1.0) by Franc1sco franug
  17 "SM ZR Force Teams" (1.0) by bchewy
  18 "Terrible Enable Full Alltalk" (0.02) by Sheepdude
  19 "Basic Commands" (1.8.0.5985) by AlliedModders LLC
  20 "Gun Commands" (1.0) by bchewy/shanapu/master shake sidezz/shadowz_au
  21 "Zombie:Reloaded" (3.2 Franug edition) by Greyscale | Richard Helgeby and Franc1sco franug
  22 "Admin Menu" (1.8.0.5985) by AlliedModders LLC
  23 "CS:GO particle auto-precacher" (1.2.4) by Copypaste Slim
  24 "SM Franug Weapons" (3.1) by Franc1sco franug
  25 "RDG Help Menu" (0.9) by bchewy
  26 "Anti-Flood" (1.8.0.5985) by AlliedModders LLC
  27 "[ZR] CS:GO Grenade Effects" (2.2 CSGO fix by Franc1sco franug) by FrozDark (HLModders.ru LLC) and Franc1sco franug
  28 "Flashlight" (1.3.63) by Mitch
  29 "Nextmap" (1.8.0.5985) by AlliedModders LLC
  //30 <Error> "AFK Manager" (4.1.1) by Rothgar
  31 "autozspawn.smx"
  32 "Always Weapon Skins" (2.2.5) by Neuro Toxin
  33 "Button Watcher" (1.1) by Franc1sco franug
  34 "Store - Trade System" (1.0) by Zephyrus
  35 "Skin & Arms Fix" (1.2) by NomisCZ (-N-) | Headline | SHUFEN
  36 "Store - The Resurrection" (1.1) by Zephyrus
  37 "Burn Speed Penalty" (1.33333333333333) by Lickaroo Johnson McPhaley
  38 "No Dependencies Noblock" (1.0) by ml
  39 "'Inferno' weapons slowdown" (1.0.1) by Jeremiah Jackson
  40 "TOGs Console Colors" (1.2) by That One Guy
  41 "Self-Mute" (1.01) by Otokiru ,edit 93x
  42 "Rock The Vote" (1.8.0.5982) by AlliedModders LLC
  43 "RandomCycle" (1.8.0.5981) by AlliedModders LLC
  44 "'Inferno' weapons knockback" (0.0.1) by Jeremiah Dickson
  45 "Sound Commands" (1.8.0.5985) by AlliedModders LLC
  46 "Basic Chat" (1.8.0.5985) by AlliedModders LLC
  47 "Reserved Slots" (1.8.0.5985) by AlliedModders LLC
  48 "Basic Info Triggers" (1.8.0.5985) by AlliedModders LLC
  49 "Basic Comm Control" (1.8.0.5985) by AlliedModders LLC
  50 "Admin File Reader" (1.8.0.5985) by AlliedModders LLC
  51 "SwapTeam" (1.2.6) by Rogue - Originally by MistaGee
  52 "Test" (0.0) by shadowz_au
  53 "Weapon Clean up" (1.0) by CS:GO Port Team
  54 "Chat-Processor" (2.0.7) by Keith Warren (Drixevel)
  55 "Admin Help" (1.8.0.5985) by AlliedModders LLC
  56 "entWatch" (3.0.8) by Prometheum & zaCade & maoling( xQy )
  57 "Basic Votes" (1.8.0.5985) by AlliedModders LLC
  58 "Radar and map screen downloader" (1.0) by Joshua 'Woopers' Stinkson
  59 "Player-Teleport by Dr. HyperKiLLeR" (1.2.0.0) by Dr. HyperKiLLeR
  60 "Map Nominations" (1.8.0.5982) by AlliedModders LLC
Test plugins don't do anything related to gun ammo, and other than that, i don't see why weapon_m4a1_silencer.txt does not work.
Every other gun works fine.. except for this one!
weapon_m4a1_silencer.txt : https://pastebin.com/RLDS0rwJ

Thank you in advance!
__________________

Last edited by Bchewy; 04-28-2017 at 07:54.
Bchewy is offline
AntiTeal
Junior Member
Join Date: Sep 2015
Old 04-29-2017 , 15:52   Re: Weapon scripts & ammo count
Reply With Quote #2

scripts/items/items_game.txt

Find the section named weapon_m4a1_silencer_prefab, go to its attributes section, and change "primary clip size" to whatever you want the clip size to be.
AntiTeal is offline
Bchewy
AlliedModders Donor
Join Date: Nov 2014
Old 04-29-2017 , 16:47   Re: Weapon scripts & ammo count
Reply With Quote #3

Quote:
Originally Posted by AntiTeal View Post
scripts/items/items_game.txt

Find the section named weapon_m4a1_silencer_prefab, go to its attributes section, and change "primary clip size" to whatever you want the clip size to be.
Fixed it!!

and for anyone who may encounter the same problem, the lines for ammo are
15505 for reserve ammo &
15510 for primary clip size!

Thanks again <3
__________________

Last edited by Bchewy; 04-29-2017 at 16:47.
Bchewy is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode