Counter-Strike 1.6 Icon CS1.6 Game file

[AMXX] CS:GO M4A1-S and M4A4

Greetings! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending hellmonja points.
  • Post: Give hellmonja your thoughts on this Game file.
  • Vote: Help hellmonja win the Monthly Awards.
  • Rate: Give this Game file a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Game file.
  • Watch: Get notified when this Game file is updated.
Mascot

Interested?

Become a Bananite

Already a Bananite? Login

Updates

CSWS 1.3
  • Better player death detection
  • Better new round detection
  • Small fixes and optimizations
  • Improved un/silenced p_models swapping
  • Fixed inspect function
  • More robust ammo restriction to 20/40
  • Ejecting shells on M4A4
  • Changes in M4A4 HUD sprites and kill icon
  • Fixed muzzle flashes of p_models
hellmonja avatar
hellmonja avatar Banned
CS:GO Ports Flag Affiliation: CS:GO Ports
Member Joined 2y
1,026 points Ranked 4416th
28 medals 5 rare
  • Received thanks 50 times Medal icon
  • Returned 1000 times Medal icon
  • Thanked 50 submitters Medal icon
  • 10 submissions featured Medal icon
  • Reached 50 subscribers Medal icon
  • One month a member Medal icon
hellmonja avatar
hellmonja
CS:GO Ports Flag
CS:GO Ports
2d
Extra sound replacements
  • Added extra fire sounds to replace the M4A4's silenced fire sounds.
As reported by papaschlange. This, I admit, is just a quick fix as I can't see thru the code how a bot is able to switch into silenced mode...
hellmonja avatar
hellmonja avatar Banned
CS:GO Ports Flag Affiliation: CS:GO Ports
Member Joined 2y
1,026 points Ranked 4416th
28 medals 5 rare
  • Received thanks 50 times Medal icon
  • Returned 1000 times Medal icon
  • Thanked 50 submitters Medal icon
  • 10 submissions featured Medal icon
  • Reached 50 subscribers Medal icon
  • One month a member Medal icon
hellmonja avatar
hellmonja
CS:GO Ports Flag
CS:GO Ports
1mo

Written on CS Weapons System Mod v1.3

IMPORTANT: Backup all your M4A1 files first before proceeding just to be sure. Also choose only one plugin to install, you cannot have both.

 “With a smaller magazine than its unmuffled counterpart, the silenced M4A1 provides quieter shots with less recoil and better accuracy.”

DESCRIPTION:

Adds CSGO's M4A1-S as a separate weapon to CS 1.6 and changes the default M4A1 into CS:GO's M4A4.

This one features an ammo handling system as it sets reserve ammo to just 40 instead of the default 90 and prevents buying ammo beyond that amount. In theory, BPAMMO can be set higher than the base weapons default and the code should handle it well, although I haven't tried this yet.

Another notable feature is having two weapons in one plugin. The M4A4 has a slightly higher rate of fire and recoil, and the silencer is disabled, while the M4A1-S' is left untouched but damage is slightly higher to make it more proficient in long range engagements.

Attached are additional textures and another plugin for those who just want to add the M4A4 in their game and leave the default M4A1 unchanged.

WEAPON STATS:



PREREQUISITES:

  • CS 1.6 with the latest AMXmodX installed properly.
  • Know-how on installing plugins.

REQUIRED MODULES:

amxmodx | cstrike | engine | fakemeta | fun | hamsandwich | xs

CONSOLE COMMANDS:

  • m4a1s - command for buying the Weapon. If you don't have a buy menu especially edited, you can bind this to a key like "bind f4 m4a1s" which will allow you to buy the weapon by pressing the F4 key.
  • m4a4 - buy command for the M4A4 plugin.
  • inspect - Activates inspect animation.
  • repurchase - A version of rebuy that includes the custom weapon. Will still work for any other weapon

CVARS:

  • csws_decals - [default 0] Changes the bullet hole decals. Set it to 0 if you're using default decals and to 1 if you're using the CSGO decals mod.

INSTALLATION:

  1. Choose only one plugin to install.
  2. Like any plugin, extract contents, then copy-paste the 'cstrike' folder over your 'cstrike folder'
  3. Go to 'cstrike/addons/amxmodx/configs' and open 'plugin.ini' in Notepad. Type the name of the plugin (csgo_m4a1s.amxx) in a new line at the bottom. Save upon closing.
  4. Go to 'cstrike/sprites' and open 'hud.txt' in Notepad. In a new line at the bottom, copy-paste the code below, then save upon closing:
  5.  d_m4a1s 640 640csws02_s 170 50  50 13 d_m4a4  640 640csws01_s 170 13  50 16
  6. In-game, type "bind f inspect" in the console to bind the Inspect function to the F key.
  7. To bind the Repurchase function, let's say, to F2, type in the console "bind f2 repurchase". Now you can use that as your rebuy to include the M4A1-S.
  8. For people who know how to edit CS menus, you can replace the command from "rebuy" to "repurchase;rebuy". That way, even with the plugin disabled/removed the rebuy function will still work.

KNOWN ISSUES:

  • Kill icon does not work on everyone. Still working on a solution.
  • As of writing, it also has conflicts with the Death and Money plugin.
  • Bullet hole decals do not appear on doors, and probably a few select surfaces.
  • Shells when firing are not mirrored when the weapon is oriented to the left.

Map Featured:
css_aztec by Tatu Eugen

Download

Posts

  • 1
  • 2
  • 1d
    hi sir.. . can u or anyone please teach me on how to install this plugin.. ive done it many times but failed.. i just want to know how to install this plugin detail
    Bananite
  • 7d
    everything is working except for the inspect animation
    otaku avatar
    Mantra
    otaku
  • 24d
    robinxx avatar
    robinxx Offline
    Member Joined 9mo
    Eu não conseguia entender como ele funciona ... este plugin usa ambas as armas? Quando eu entrar no jogo, não consigo
    Bananite
  • 1mo
    =NIGHT-WOLF= avatar
    =NIGHT-WOLF= avatar Offline
    CS:GO Ports Flag Affiliation: CS:GO Ports
    Member Joined 3y
    990 points Ranked 4590th
    9 medals 1 rare
    • Returned 1000 times Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • Became a Studio Leader Medal icon
    • 1 year a member Medal icon
    • Reached 1,000 Points Medal icon
    =NIGHT-WOLF= avatar
    =NIGHT-WOLF=
    CS:GO Ports Flag
    CS:GO Ports
    another bug if you have the m4a4 and have 90 reserve bullets then drop it and pick up the m4a1s the 1s has 90 reserve ammo instead of 40
  • 1mo
    robinxx avatar
    robinxx Offline
    Member Joined 9mo
    How can you reduce the price of the scout?
    In csgo it has a lower price
    Bananite
  • 1mo
    papaschlange avatar
    Member Joined 1y
    1,340 points Ranked 3408th
    11 medals 1 rare
    • Returned 1000 times Medal icon
    • One month a member Medal icon
    • Received thanks 5 times Medal icon
    • Returned 100 times Medal icon
    • Submission featured Medal icon
    • Thanked 5 submitters Medal icon
    A bot bought an m4a4 and put silencer on it. I killed the bot and picked up his gun and it was sounding like a silenced version although no silencer visible.
    I'm not sure if the gun also got silenced spread and damage characteristics.
    I guess you could replace the silenced sound files for m4a4 with unsilenced ones to avoid this problem.
    • Agree x 1
    Tin Foil Hit Man
  • 1mo
    FunnkyHD avatar
    FunnkyHD avatar cloaked
    CS:GO Ports Flag Affiliation: CS:GO Ports
    Member Joined 1y
    2,819 points Ranked 1596th
    22 medals 1 legendary 5 rare
    • 30 submissions featured Medal icon
    • 10 submissions featured Medal icon
    • Returned 1000 times Medal icon
    • Received thanks 50 times Medal icon
    • Reached 50 subscribers Medal icon
    • Submitted 50 Skins Medal icon
    FunnkyHD avatar
    FunnkyHD
    CS:GO Ports Flag
    CS:GO Ports
    these are my texture ports , no ? xd
    • Agree x 1
    • Sorry x 1
  • 1mo
    papaschlange avatar
    Member Joined 1y
    1,340 points Ranked 3408th
    11 medals 1 rare
    • Returned 1000 times Medal icon
    • One month a member Medal icon
    • Received thanks 5 times Medal icon
    • Returned 100 times Medal icon
    • Submission featured Medal icon
    • Thanked 5 submitters Medal icon
    The plugin runs smoothly but all three download links lead to the same content, i.e. the full plugin only.
    Tin Foil Hit Man
  • 1mo
    s041603 avatar
    s041603 Offline
    Member Joined 9mo
    483 points Ranked 8694th
    can you also share your ct model? thanks
    Bananite
  • 1mo
    Bloody Death Skull avatar
    Bloody Death Skull avatar In The Shadows
    Member Joined 2y
    Nice Work M8 As Always!!! :)

    10/10

    • Thanks x 1
    • Cheers x 1
    Mapper,Texturer,Skinner... avatar
    Mantra
    Mapper,Texturer,Skinner...
  • 1
  • 2

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Studio

Credits

CODE
Sneaky.amxx avatar GlobalModders Development Flag
GlobalModders Development
Sneaky.amxx avatar Offline
Moderator Joined 6y
556 points Ranked 7633rd
21 medals 5 rare
  • Submitted 20 Gamefiles Medal icon
  • Received thanks 50 times Medal icon
  • Submitted 50 Maps Medal icon
  • Submitted 20 Maps Medal icon
  • 6 years a member Medal icon
  • Became a Studio Leader Medal icon
Original Weapons Code
dias GlobalModders Development Flag
GlobalModders Development
dias Offline
Member Joined 7y
Original Weapons Code
Arkshine
HUD Sprite Code
MeRcyLeZZ
Price Mechanic
HamletEagle
Optimization, Mentor
edon1337
Optimization
SKINS
sasekM avatar Cell 1 Flag
Cell 1
sasekM avatar Offline
Cell 1 Flag Affiliation: Cell 1
Member Joined 2y
63,922 points Ranked 57th
38 medals 5 legendary 9 rare
  • Submitted 100 Skins Medal icon
  • Returned 5000 times Medal icon
  • Reached 100 subscribers Medal icon
  • 30 submissions featured Medal icon
  • Received thanks 500 times Medal icon
  • Received thanks 50 times Medal icon
Import and Compile
=NIGHT-WOLF= avatar CS:GO Ports Flag
CS:GO Ports
=NIGHT-WOLF= avatar Offline
CS:GO Ports Flag Affiliation: CS:GO Ports
Member Joined 3y
990 points Ranked 4590th
9 medals 1 rare
  • Returned 1000 times Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon
  • Became a Studio Leader Medal icon
  • 1 year a member Medal icon
  • Reached 1,000 Points Medal icon
Replaced M4A4 with M4A1-S
FunnkyHD avatar CS:GO Ports Flag
CS:GO Ports
FunnkyHD avatar Offline
CS:GO Ports Flag Affiliation: CS:GO Ports
Member Joined 1y
2,819 points Ranked 1596th
22 medals 1 legendary 5 rare
  • 30 submissions featured Medal icon
  • 10 submissions featured Medal icon
  • Returned 1000 times Medal icon
  • Received thanks 50 times Medal icon
  • Reached 50 subscribers Medal icon
  • Submitted 50 Skins Medal icon
Additional Textures
HUD Sprites
[Kokorov] avatar
[Kokorov] avatar Offline
Member Joined 5y
42 medals 3 legendary 6 rare
  • Submitted 60 Sprites Medal icon
  • Returned 5000 times Medal icon
  • Submitted 60 Effects Medal icon
  • 3rd Place - Winter Textures Contest Medal icon
  • Received thanks 50 times Medal icon
  • Submitted 30 Sprites Medal icon
Sprites
And...
hellmonja avatar CS:GO Ports Flag
CS:GO Ports
hellmonja avatar Offline
CS:GO Ports Flag Affiliation: CS:GO Ports
Member Joined 2y
1,026 points Ranked 4416th
28 medals 5 rare
  • Received thanks 50 times Medal icon
  • Returned 1000 times Medal icon
  • Thanked 50 submitters Medal icon
  • 10 submissions featured Medal icon
  • Reached 50 subscribers Medal icon
  • One month a member Medal icon
The Machine-- sort of...

Submitter

hellmonja avatar
hellmonja avatar Banned
CS:GO Ports Flag Affiliation: CS:GO Ports
Member Joined 2y
1,026 points Ranked 4416th
28 medals 5 rare
  • Received thanks 50 times Medal icon
  • Returned 1000 times Medal icon
  • Thanked 50 submitters Medal icon
  • 10 submissions featured Medal icon
  • Reached 50 subscribers Medal icon
  • One month a member Medal icon

hellmonja avatar
hellmonja
CS:GO Ports Flag
CS:GO Ports

Creator
Send a Private Message to the submitter

Stats

Posts
29
Views
2,874
Downloads
862
Date Added
1mo
Date Modified
4hr
Date Updated
2d

Rating

10/10 by 3 raters

DevNotes

v3.0
Improved swapping p_models of un/silenced M4A1-S. Slightly reduced M4A4's rate of fire. Fixed the inspect functions, improved restriction of rounds to 20/40 (though still a bit flawed), M4A4 now has ejecting shells and cleaned some unnecessary codes.

Apart from the code, replaced M4A4 HUD sprites with a proper unsilenced one, as well as the kill icon and fixed muzzle flashes of p_models..

Development

More Game files from hellmonja

WiPs by hellmonja

More from CS:GO Ports

WiPs by CS:GO Ports