Search
Username:
Password:

Register or Reset Password

SUBMISSIONS
Counter Strike
   New Maps
   New Tutorials
   New Skins
   New GUI's
   New Sounds
   New Threads
Other
   Media
   Gamers
   Clans
   Studios
Adding Ammo to Weapons in CS:S
Difficulty: Intermediate
Category: CS:S > MappingAuthor(s): nintendo2012
Did you create this? Request ownership

STEP BY STEP, HOW TO ADD AMMO.
by nintendo2012

note- the following pictures for the steps are made with a weapon_m4a1 brand new entity. But please keep in mind that you can use the following steps for adding ammo to any weapon that you are working with.


STEP 1) "TURN OFF SMART EDIT"

Start by creating (or selecting) your weapon of choice ENTITY, (assuming you already know how to do this)

Next Bring up your 'OBJECT PROPERTIES' (by selecting your entity and right clicking your entity in/on GRID VIEW and select 'Properties' or simply select your entity and press ALT+ENTER.

First thing, click the "SMART EDIT" Box ( See Reference Screenshot A)

-this well then bring us OUT of SMART EDIT, here we can ADD/DELETE new KeyValues for our entity(s)

STEP 2) "ADD NEW KEY/VALUE"

Click the "ADD" button below, to add a new Key and Value to the current entity.

See Reference Screenshot B

STEP 3) "INPUTTING AMMO KEY & CLIP AMOUNT"

See Reference Screenshot C

In the section box for "KEY " we are going to type in "ammo" (without quotations)

In For the section box "VALUE" we are going to put in the "X" number of EXTRA bullets you want to be included in that weapon. (again, without quotations)

(in example, If we were to add a VALUE of 60 the the M4A1, then in game, the gun would be picked up with the included first clip, plus the "X" number "60" bullets. So there would be room for one more full clip)

After we input the "KEY" AMMO and the "VALUE" X BULLETS, we need to click OK.

STEP 4) "Verifying correct KEY/VALUE"

After clicking OK, we should be brought back to the main OBJECT PROPERTIES of our current entity. Notice we are still NOT in SMART EDIT mode. As we can see our newly added KEY of AMMO and VALUE of EXTRA BULLET #. lets just check to make sure our key & value here are correctly inputed for our new values.

See Reference Screenshot C

STEP 5) "SMART EDIT "ON"

Lets turn SMART EDIT back on by clicking the SMART EDIT button.

See Reference Screenshot E

Notice now while SMART EDIT is ON, we DO NOT see our latest ammo and bullet # key/value listed here. That is because those key values are not currently included in the .FGD file for standard Source SDK.

Do not worry though, because they will stay there. If you need to edit the number of bullets, just turn OFF SMART EDIT again and u have access to the value on the right of your ammo key. No need to add another new keyvalue.

LAST WE NEED TO CLICK THE "APPLY" BUTTON ON OUR OBJECT PROPERTIES WINDOW, BELOW.

*** NOTE, IF YOU DON'T CLICK APPLY, THEN NOTHING WILL BE SAVED AND YOU WILL HAVE TO REDO KEY / VALUES***

WE ARE NOW PRACTICALLY FINISHED!!! AND OUR WEAPON NOW HAS WORKING PERFECT AMMO IN IT, READY FOR COMPILING o_O!?


LAST STEP 6) "CHECK MAP FOR ERRORS"


See Reference Screenshot F

I did just want to point out / inform you all of one last thing. when you check your map for any errors, (which I hope you do periodically!) you WILL notice X amount of errors for X amount of guns you added ammo for. Just to let you know that it will compile fine with these errors there. Hakuna Matata. Just remember that if you click FIX ALL or FIX, YOU WILL LOSE THOSE CUSTOM SETTINGS AND WILL HAVE TO REDO POSSIBLY ALL AMMO KEY VALUES FOR THE GUNS IN YOUR MAP. So please just remember this final note.

If you did Check for errors and you only see errors for ammo key values, then all should work and you can click the Close button on the Check Map For Errors window.

=================================================

BELOW IS A LIST OF WEAPONS AND THEIR AMMO CLIP SIZE / THEN THE MAX AMOUNT OF + AMMO FOR SPECIFIC WEAPON.

Helpful, for if your trying to add specific # "full" clips to your weapons.
in example, i like to sometimes, when creating fy_ maps, include only 2 full extra clips for the guns, instead of full ammo. That way clients have to run into a buy zone to fill up gun clips, etc..

( this list was compiled by me, so i do apologize if a few numbers are off )

PISTOLS
----------
1) 9x19mm Sidearm "Glock"
clip 20 / max 120

2) KM .45 Tactical "USP"
clip 12 / max 100

3) 228 Compact
clip 13 / max 52

4) Night Hawk .50c "Deagle"
clip 7 / max 35

5) ES Five-Seven "COUNTER TERRORIST"
clip 20 / max 100

6) .40 Duel Elites "TERRORIST"
clip 30 / max 120


SHOTGUNS
------------
1) Leone 12 Gauge Super
clip 8 / max 32

2) Leone YG1265 Auto Shotgun
clip 7 / max 32


SMG
-----
1) Schmidt Machine Pistol "COUNTER TERRORIST"
clip 30 / max 120

2) Ingram Mac-10 "TERRORIST"
clip 30 / max 100

3) KM Sub-Machine Gun
clip 30 / max 120

4) KM UMP45
clip 25 / max 100

5) ES C90
clip 50 / max 100


RIFLES
--------
1) Clarion 5.56
clip 25 / max 90

2) IDF Defender
clip 35 / max 90

3) Schmidt Scout
clip 10 / max 90

4) Maverick M4A1 Carbine "COUNTER TERRORIST"
clip 30 / max 90

5) CV-47 "AK-47" "TERRORIST"
clip 30 / max 90

6) Bullpup "COUNTER TERRORIST"
clip 30 / max 90

7) Krieg 552 "TERRORIST"
clip 30 / max 90

8) Krieg 550 Commando
clip 30 / max 90

9) D3 / AU-1
clip 20 / max 90

10) Magnum Sniper Rifle "AWP"
clip 10 / max 30

MACHINE GUNS
-----------------
M249 Machine Gun
clip 100 / max 200


-----------------------------------------------------------------------------
nintendo2012
Added: 2 years agoTags: adding, ammo, weapons, guns, bullets, bullet, ammunition
Feedback (41)
Page of 5   1 2 3 4 ... 5 Next Page
tom_tom92 .
MapBananite? lolY2M
Posted 18 days ago
Pros: Great i was searching sdk docs when i ran across this.
Cons: none
Improvements: none
Notes: The Screenshots explain the whole process all the Step:1 Step:2 just made it more complicated than it had to be.
- MapBananite? lol
DeMoN_LoRd .
BananiteY2M
Posted 2 months ago
Thank you man, it would be nice if anybody could explain how to add Kevlar+helmet.
Thanks again
- Bananite
7MM3 .
King of the NoobsY2M
Posted 2 months ago
Awesomeness ;D Thanks
- King of the Noobs
YESS .
Indeed.Y2M
Posted 4 months ago
Very helpful, thanks.
Mastatang .
BananiteY2M
Posted 5 months ago
Yay this helps a ton :D
- Bananite
.
Remember to thumb up!Y2M
Posted 5 months ago
This helps me a lot man, thanks :)
:
Pixelated Nectar ModeratorY2M
Posted 5 months ago
Posted by snowjpc

Pros: very well written and very useful
Cons: none

Thank you snowjpc. I am glad you found it to be useful. I hope it wasn't to difficult to follow.
BANANARAMA .
I do userpics/sigs/banners/flags pm meY2M
Posted 5 months ago
Pros: very well written and very useful
Cons: none
Lemonth .
BananiteY2M
Posted 6 months ago
Pros: Helps add ammo to the guns
easy
Easy to read screen shots
Cons: none
Improvements: none
Notes: It helped me.
- Bananite
HalfEvil333 .
Y2M
Posted 6 months ago
Nice! I've been wondering how to do this for ages >.>
10/10
-
Page of 5   1 2 3 4 ... 5 Next Page
Add Feedback
Provide constructive feedback. What is "constructive"?
You cannot post yet!
Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login.
Assessment
The community's verdict.
User Rating [+]
9.3/10
bScore
9.3/10
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamps
This Tutorial in a nutshell...
Useful & Helpful
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.






Brought to you by...
World 8-1
"U, U, D, D, L, R, L, R, B, A, Select, Start!"
Membership: On Request
Primary Skills: 3D Animation, 3D Art & Rendering, Compiling, Concept Art, Graphic Design, Mapping, Modelling, Motion Graphics, Texturing, UV Mapping
Inception: 1 year ago
Vote for Studio
Like this tut? Vote World 8-1 for one or more monthly awards.
You must login or register to access this!
Related Tutorials