Changing clip sizes
You can help by adding links to this article from other relevant articles.
A simple bit of "programming" that can easily be done by modifying the Weapon script for your chosen weapon.
Script location
Open up the directory for your mod and the scripts can be found in the scripts folder. Each script is named after its corresponding class.
Let's take weapon_ar2.txt as our example, we will make the magazine size of the Weapon_ar2 smaller. Opening up the script file we see a good number of variables, find the following line:
"clip_size" "30" "default_clip" "60"
clip_size is the amount of ammo in the magazine each time it's reloaded. This can be set between 0 and 999, -1 denotes magazines/clips will not be used.
default_clip is amount of ammo in the weapon when it spawns. This can be any number between 0 (no ammo given at spawn) and the maximum amount (defined by the Cvar sk_max_<weaponname>)
For the purpose of this example, we will set the magazine size of the AR2 to 10, with a default clip size of 30, giving us three magazines.
"clip_size" "10" "default_clip" "30"