View Single Post
Author Message
Silent_Water
Member
Join Date: Sep 2008
Old 01-03-2010 , 16:50   [DOD:S] Ammo Settings
Reply With Quote #1

DOD:S Ammo Settings v1.0

With this plugin you are able to set the amount of ammo for each weapon type (on player spawn).

This plugin works different to the dod_equip plugin by List / Lebson506th I've found after completing my work.

It sets the ammo for each weapon type and not for the players class. And it is much simplier if you just want to set the ammo of the bazooka or more smoke grenades.


Variables
// shows the version
sm_dod_ammo_version

// enable/disable DOD:S Ammo Settings (0/1)
sm_dod_ammo_enabled 1


Installation
Just copy the dod_ammo.smx to your plugins folder. The ammo.txt goes to your sourcemod configs folder.

Configuration

There is a file called ammo.txt in the sourcemod configs folder. All settings go there. An example ammo.txt is attached. Without this file the plugin wont load. Please make the settings according your wishes and comment out the lines you dont want to set (using //). Each line contains a weapon name and a value. The value is the amount of ammunition of the weapon (not the clips, the number of bullets!).

This plugin is designed to work in DOD:S. Other Mods will not work - the weapons and offsets are hardcoded.
Attached Files
File Type: txt ammo.txt (512 Bytes, 2938 views)
File Type: sp Get Plugin or Get Source (dod_ammo.sp - 4608 views - 3.6 KB)

Last edited by Silent_Water; 01-03-2010 at 16:53.
Silent_Water is offline