Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

Dod CustomSupply

by Wilson [29th ID] · 2006-09-04 · 50 replies · 30282 views · 370 downloads

Read the thread (51 posts)

From the first post

UPDATED TO V1.2 -- 06 SEP 2006
rnUPDATED TO V1.1 -- 04 SEP 2006
rn
rn
/* rn DOD CUSTOMSUPPLYrn by Wilson [29th ID]rn [url]www.29th.org[/url]rn rn Part of the 29th ID's modification torn Day of Defeat, making it more realisticrn DOD:Realism - dodrealism.branzone.comrn rn DESCRIPTIONrn This plugin allows you to customize everyrn class in Day of Defeat. You can assign howrn many primary weapon clips each class gets,rn how many pistol clips they get, whether orrn not they get a pistol, whether or not theyrn get a knife, and how many grenades they get.rn rn You can use this for knives-only or pistols-rn only by setting the weapons you don't want torn give to -1. You can also have a class not rn get any weapon at all if you like.rn rn This plugin is also compatable with Zor'srn smokegrenades plugin and 29th's Mortar Class.rn rn CREDITSrn [url]www.dodplugins.net[/url]rn GO THERE - All your Dod plugins/scripting help!rn*/

rn
rn
/*rn VERSIONS/CHANGELOGrn v1.0rn -Initial Releasern -Compatable with Zor's Smoke nade pluginrn -Compatable with 29th's Mortar Class pluginrn v1.1rn -Fixed bug that gave enemy grenades even ifrn smoke grenades were disabledrn v1.2rn -Included "clip ammo" in the cvars - this wayrn setting ammo to 2 means 1 in clip 1 in backpackrn -Fixed default bren grenade setting to 1rn*/

rn
rn
/*rn	USAGE (CVARS)rn	rn	dod_customsupply <1/0>rn		Enable or disable the entire pluginrn	dod_customsupply_allies <1/0>rn		Enable or disable the plugin affectingrn		alliesrn	dod_customsupply_axis <1/0>rn		Enable or disable the plugin affectingrn		axisrn	---------------------------------rn	SMOKE GRENADESrn		There is nothing you need to adjust to rn		make this plugin compatable with smokern		grenades. Do it how you usually wouldrn		and it will work.rn	---------------------------------	rn	INSTRUCTIONSrn	There are four sections to eachrn	class for this: Primary, Secondary, Melee, and rn	Grenades. They are set to the Dod defualts so putrn	the ones you want to adjust in amxx.cfg (you don'trn	need the ones you don't want to adjust)rn	rn	For Primary: Setting to "1" gives player 1 cliprn	Setting to "2" gives player 2 clips, etc.rn	Set to "0" to give player an empty gunrn	Set to "-1" to not give player a gunrn	rn	For Secondary: Setting to "1" gives player 1 cliprn	Setting to "2" gives player 2 clips, etc.rn	Set to "-1" to not give a pistolrn	rn	For Melee: Setting to "1" gives player a knife.rn	Set to "0" or "-1" to not give a knifern	rn	For Grenades: Setting to "1" gives a player 1 nade.rn	Setting to "2" gives player 2 nades, etc.rn	----------------------------------rn	SETTINGS (CVARS)rn	rn	// US Alliesrn	custom_rifleman_primaryrn	custom_rifleman_secondaryrn	custom_rifleman_meleern	custom_rifleman_grenrn	rn	custom_ssgt_primaryrn	custom_ssgt_secondaryrn	custom_ssgt_meleern	custom_ssgt_grenrn	rn	custom_msgt_primaryrn	custom_msgt_secondaryrn	custom_msgt_meleern	custom_msgt_grenrn	rn	custom_sgt_primaryrn	custom_sgt_secondaryrn	custom_sgt_meleern	custom_sgt_grenrn	rn	custom_sniper_primaryrn	custom_sniper_secondaryrn	custom_sniper_meleern	custom_sniper_grenrn	rn	custom_support_primaryrn	custom_support_secondaryrn	custom_support_meleern	custom_support_grenrn	rn	custom_mg_primaryrn	custom_mg_secondaryrn	custom_mg_meleern	custom_mg_grenrn	rn	custom_bazooka_primaryrn	custom_bazooka_secondaryrn	custom_bazooka_meleern	custom_bazooka_grenrn	rn	// Only for use with mortar plugin (available at dodplugins.net)rn	custom_mortar_primaryrn	custom_mortar_secondaryrn	custom_mortar_meleern	custom_mortar_grenrn	rn	// British Alliesrn	custom_britrifleman_primaryrn	custom_britrifleman_secondaryrn	custom_britrifleman_meleern	custom_britrifleman_grenrn	rn	custom_britsgt_primaryrn	custom_britsgt_secondaryrn	custom_britsgt_meleern	custom_britsgt_grenrn	rn	custom_marksman_primaryrn	custom_marksman_secondaryrn	custom_marksman_meleern	custom_marksman_grenrn	rn	custom_gunner_primaryrn	custom_gunner_secondaryrn	custom_gunner_meleern	custom_gunner_grenrn	rn	custom_piat_primaryrn	custom_piat_secondaryrn	custom_piat_meleern	custom_piat_grenrn	rn	// Only for use with mortar plugin (available at dodplugins.net)rn	custom_britmortar_primaryrn	custom_britmortar_secondaryrn	custom_britmortar_meleern	custom_britmortar_grenrn	rn	// Axisrn	custom_grenadier_primaryrn	custom_grenadier_secondaryrn	custom_grenadier_meleern	custom_grenadier_grenrn	rn	custom_stross_primaryrn	custom_stross_secondaryrn	custom_stross_meleern	custom_stross_grenrn	rn	custom_unter_primaryrn	custom_unter_secondaryrn	custom_unter_meleern	custom_unter_grenrn	rn	custom_sturm_primaryrn	custom_sturm_secondaryrn	custom_sturm_meleern	custom_sturm_grenrn	rn	custom_scharfs_primaryrn	custom_scharfs_secondaryrn	custom_scharfs_meleern	custom_scharfs_grenrn	rn	custom_fg42_primaryrn	custom_fg42_secondaryrn	custom_fg42_meleern	custom_fg42_grenrn	rn	custom_fg42s_primaryrn	custom_fg42s_secondaryrn	custom_fg42s_meleern	custom_fg42s_grenrn	rn	custom_mg34_primaryrn	custom_mg34_secondaryrn	custom_mg34_meleern	custom_mg34_grenrn	rn	custom_mg42_primaryrn	custom_mg42_secondaryrn	custom_mg42_meleern	custom_mg42_grenrn	rn	custom_panzer_primaryrn	custom_panzer_secondaryrn	custom_panzer_meleern	custom_panzer_grenrn	rn	// Only for use with mortar plugin (available at dodplugins.net)rn	custom_germortar_primaryrn	custom_germortar_secondaryrn	custom_germortar_meleern	custom_germortar_grenrn*/

Files

dod_customsupply.sma Plugin Source 27 KB 282 dl Download Compile

Added later in the thread

dod_customsupply.zip Archive 22 KB 88 dl Download

The thread

All 51 posts from 13 people on Dod CustomSupply, kept as they were written.

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
09-04-2006, 05:21 AM #1

UPDATED TO V1.2 -- 06 SEP 2006rnUPDATED TO V1.1 -- 04 SEP 2006rnrn

/* rn DOD CUSTOMSUPPLYrn by Wilson [29th ID]rn www.29th.orgrn rn Part of the 29th ID's modification torn Day of Defeat, making it more realisticrn DOD:Realism - dodrealism.branzone.comrn rn DESCRIPTIONrn This plugin allows you to customize everyrn class in Day of Defeat. You can assign howrn many primary weapon clips each class gets,rn how many pistol clips they get, whether orrn not they get a pistol, whether or not theyrn get a knife, and how many grenades they get.rn rn You can use this for knives-only or pistols-rn only by setting the weapons you don't want torn give to -1. You can also have a class not rn get any weapon at all if you like.rn rn This plugin is also compatable with Zor'srn smokegrenades plugin and 29th's Mortar Class.rn rn CREDITSrn www.dodplugins.netrn GO THERE - All your Dod plugins/scripting help!rn*/
rnrn
/*rn VERSIONS/CHANGELOGrn v1.0rn -Initial Releasern -Compatable with Zor's Smoke nade pluginrn -Compatable with 29th's Mortar Class pluginrn v1.1rn -Fixed bug that gave enemy grenades even ifrn smoke grenades were disabledrn v1.2rn -Included "clip ammo" in the cvars - this wayrn setting ammo to 2 means 1 in clip 1 in backpackrn -Fixed default bren grenade setting to 1rn*/
rnrn
/*rn	USAGE (CVARS)rn	rn	dod_customsupply <1/0>rn		Enable or disable the entire pluginrn	dod_customsupply_allies <1/0>rn		Enable or disable the plugin affectingrn		alliesrn	dod_customsupply_axis <1/0>rn		Enable or disable the plugin affectingrn		axisrn	---------------------------------rn	SMOKE GRENADESrn		There is nothing you need to adjust to rn		make this plugin compatable with smokern		grenades. Do it how you usually wouldrn		and it will work.rn	---------------------------------	rn	INSTRUCTIONSrn	There are four sections to eachrn	class for this: Primary, Secondary, Melee, and rn	Grenades. They are set to the Dod defualts so putrn	the ones you want to adjust in amxx.cfg (you don'trn	need the ones you don't want to adjust)rn	rn	For Primary: Setting to "1" gives player 1 cliprn	Setting to "2" gives player 2 clips, etc.rn	Set to "0" to give player an empty gunrn	Set to "-1" to not give player a gunrn	rn	For Secondary: Setting to "1" gives player 1 cliprn	Setting to "2" gives player 2 clips, etc.rn	Set to "-1" to not give a pistolrn	rn	For Melee: Setting to "1" gives player a knife.rn	Set to "0" or "-1" to not give a knifern	rn	For Grenades: Setting to "1" gives a player 1 nade.rn	Setting to "2" gives player 2 nades, etc.rn	----------------------------------rn	SETTINGS (CVARS)rn	rn	// US Alliesrn	custom_rifleman_primaryrn	custom_rifleman_secondaryrn	custom_rifleman_meleern	custom_rifleman_grenrn	rn	custom_ssgt_primaryrn	custom_ssgt_secondaryrn	custom_ssgt_meleern	custom_ssgt_grenrn	rn	custom_msgt_primaryrn	custom_msgt_secondaryrn	custom_msgt_meleern	custom_msgt_grenrn	rn	custom_sgt_primaryrn	custom_sgt_secondaryrn	custom_sgt_meleern	custom_sgt_grenrn	rn	custom_sniper_primaryrn	custom_sniper_secondaryrn	custom_sniper_meleern	custom_sniper_grenrn	rn	custom_support_primaryrn	custom_support_secondaryrn	custom_support_meleern	custom_support_grenrn	rn	custom_mg_primaryrn	custom_mg_secondaryrn	custom_mg_meleern	custom_mg_grenrn	rn	custom_bazooka_primaryrn	custom_bazooka_secondaryrn	custom_bazooka_meleern	custom_bazooka_grenrn	rn	// Only for use with mortar plugin (available at dodplugins.net)rn	custom_mortar_primaryrn	custom_mortar_secondaryrn	custom_mortar_meleern	custom_mortar_grenrn	rn	// British Alliesrn	custom_britrifleman_primaryrn	custom_britrifleman_secondaryrn	custom_britrifleman_meleern	custom_britrifleman_grenrn	rn	custom_britsgt_primaryrn	custom_britsgt_secondaryrn	custom_britsgt_meleern	custom_britsgt_grenrn	rn	custom_marksman_primaryrn	custom_marksman_secondaryrn	custom_marksman_meleern	custom_marksman_grenrn	rn	custom_gunner_primaryrn	custom_gunner_secondaryrn	custom_gunner_meleern	custom_gunner_grenrn	rn	custom_piat_primaryrn	custom_piat_secondaryrn	custom_piat_meleern	custom_piat_grenrn	rn	// Only for use with mortar plugin (available at dodplugins.net)rn	custom_britmortar_primaryrn	custom_britmortar_secondaryrn	custom_britmortar_meleern	custom_britmortar_grenrn	rn	// Axisrn	custom_grenadier_primaryrn	custom_grenadier_secondaryrn	custom_grenadier_meleern	custom_grenadier_grenrn	rn	custom_stross_primaryrn	custom_stross_secondaryrn	custom_stross_meleern	custom_stross_grenrn	rn	custom_unter_primaryrn	custom_unter_secondaryrn	custom_unter_meleern	custom_unter_grenrn	rn	custom_sturm_primaryrn	custom_sturm_secondaryrn	custom_sturm_meleern	custom_sturm_grenrn	rn	custom_scharfs_primaryrn	custom_scharfs_secondaryrn	custom_scharfs_meleern	custom_scharfs_grenrn	rn	custom_fg42_primaryrn	custom_fg42_secondaryrn	custom_fg42_meleern	custom_fg42_grenrn	rn	custom_fg42s_primaryrn	custom_fg42s_secondaryrn	custom_fg42s_meleern	custom_fg42s_grenrn	rn	custom_mg34_primaryrn	custom_mg34_secondaryrn	custom_mg34_meleern	custom_mg34_grenrn	rn	custom_mg42_primaryrn	custom_mg42_secondaryrn	custom_mg42_meleern	custom_mg42_grenrn	rn	custom_panzer_primaryrn	custom_panzer_secondaryrn	custom_panzer_meleern	custom_panzer_grenrn	rn	// Only for use with mortar plugin (available at dodplugins.net)rn	custom_germortar_primaryrn	custom_germortar_secondaryrn	custom_germortar_meleern	custom_germortar_grenrn*/
=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
09-04-2006, 12:57 PM #2

Thanx for releasing this one. It was a pleasure seeing it work first hand. And yes, it is trully odd that before now, noone ever made a plugin like this !n nYou rock Wilson !!:D

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
09-04-2006, 09:47 PM #3

heh nice work wilson..nnive got a plugin on my server to change the defualt weapons and such... but its real messy & sorta server specific and i was never gonna make it user-friendlynnso good work once again :-)

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
09-06-2006, 12:50 PM #4

Updated to v1.2 -- 06 SEP 2006rnActually a rather practical update. If you are using this plugin I suggest you update it. It includes the "clip" in the cvar setting.

K kimball
posted here
Posts: 4
Threads: 0
Joined: May 2005
10-31-2006, 11:24 AM #5

Running on linux with amxx v. 1.75annERROR:

[AMXX] Plugin "dod_customsupply.amxx" failed to load: Module/Library Class "xstats" required for plugin.  Check modules.ini.
nnModules.ini
; AMX Mod X Modulesn; You can specify both linux & win32 modules heren; To enable a module, remove the semi-colon from the linenn; ------------------------------n; Fun - provides extra functionsn; ------------------------------nfun_amxx_i386.sonfun_amxx.dllnfun_amxx_amd64.sonn; ----------------------------------------------------n; Engine - provides engine functions core to Half-Lifen; ----------------------------------------------------nengine_amxx_i386.sonengine_amxx.dllnengine_amxx_amd64.sonn; ----------------------------------------------------------n; Fakemeta - provides a massive interface into the HL enginen; ----------------------------------------------------------nfakemeta_amxx_i386.sonfakemeta_amxx.dllnfakemeta_amxx_amd64.sonn; -------------------------------------------n; Database Access - only enable one of thesen; -------------------------------------------n; MySQLn;mysql_amxx_i386.son;mysql_amxx.dlln;mysql_amxx_amd64.son; PostgreSQLn;pgsql_amxx_i386.son;pgsql_amxx.dlln; Microsoft SQLn;mssql_amxx.dlln; SQLiten;sqlite_amxx.dlln;sqlite_amxx_i386.son;sqlite_amxx_amd64.sonn; ---------------------------------------------n; GeoIP - determines the country of ip adressesn; ---------------------------------------------ngeoip_amxx_i386.songeoip_amxx.dllngeoip_amxx_amd64.sonn; --------------------------------n; Sockets - network socket supportn; --------------------------------nsockets_amxx_i386.sonsockets_amxx.dllnsockets_amxx_amd64.sonn; --------------------------n; Regular Expression supportn; --------------------------nregex_amxx_i386.sonregex_amxx.dllnregex_amxx_amd64.sonn; --------------------n; Binary Vault supportn; --------------------nnvault_amxx_i386.sonnvault_amxx.dllnnvault_amxx_amd64.sonn; --------------------------------------------------n; Day of Defeat Fun - adds functions specific to DoDn; --------------------------------------------------ndodfun_amxx_i386.sondodfun_amxx.dllndodfun_amxx_amd64.sonn; -------------------------------------------------------n; Day of Defeat X - adds stats and addition DoD functionsn; -------------------------------------------------------ndodx_amxx_i386.sondodx_amxx.dllndodx_amxx_amd64.son
nnAMXX.CFG cvars for the plugin
// custom classes //nndod_customsupply 1ndod_customsupply_allies 1ndod_customsupply_axis 1nn// US Alliesncustom_rifleman_primary 20ncustom_rifleman_secondary 6ncustom_rifleman_melee -1ncustom_rifleman_gren 4n	ncustom_ssgt_primary 28ncustom_ssgt_secondary 4ncustom_ssgt_melee 1ncustom_ssgt_gren 5nncustom_msgt_primary 16ncustom_msgt_secondary 6ncustom_msgt_melee 1ncustom_msgt_gren 5nncustom_sgt_primary 18ncustom_sgt_secondary 6ncustom_sgt_melee 1ncustom_sgt_gren 5nncustom_sniper_primary 8ncustom_sniper_secondary 8ncustom_sniper_melee -1nncustom_support_primary 26ncustom_support_secondary 4ncustom_support_melee 1ncustom_support_gren 4nncustom_mg_primary 4ncustom_mg_secondary 6ncustom_mg_melee -1nncustom_bazooka_primary 8ncustom_bazooka_secondary 6ncustom_bazooka_melee 1ncustom_bazooka_gren 1nn// British Alliesncustom_britrifleman_primary 18ncustom_britrifleman_secondary 6ncustom_britrifleman_melee -1ncustom_britrifleman_gren 5nncustom_britsgt_primary 16ncustom_britsgt_secondary 6ncustom_britsgt_melee 1ncustom_britsgt_gren 5nncustom_marksman_primary 8ncustom_marksman_secondary 6ncustom_marksman_melee -1nncustom_gunner_primary 20ncustom_gunner_secondary 6ncustom_gunner_melee 1ncustom_gunner_gren 5nncustom_piat_primary 8ncustom_piat_secondary 6ncustom_piat_melee 1ncustom_piat_gren 1nn// Axisncustom_grenadier_primary 16ncustom_grenadier_secondary 6ncustom_grenadier_melee -1ncustom_grenadier_gren 4nncustom_stross_primary 14ncustom_stross_secondary 4ncustom_stross_melee -1ncustom_stross_gren 4nncustom_unter_primary 20ncustom_unter_secondary 6ncustom_unter_melee 1ncustom_unter_gren 4nncustom_sturm_primary 18ncustom_sturm_secondary 6ncustom_sturm_melee 1ncustom_sturm_gren 4nncustom_scharfs_primary 8ncustom_scharfs_secondary 6ncustom_scharfs_melee -1nncustom_fg42_primary 14ncustom_fg42_secondary 6ncustom_fg42_melee 1ncustom_fg42_gren 3nncustom_fg42s_primary 14ncustom_fg42s_secondary 6ncustom_fg42s_melee 1ncustom_fg42s_gren 1nncustom_mg42_primary 2ncustom_mg42_secondary 6ncustom_mg42_melee 1nncustom_panzer_primary 8ncustom_panzer_secondary 6ncustom_panzer_melee 1ncustom_panzer_gren 1n
K Kiel |17.SS|
posted here
Posts: 163
Threads: 12
Joined: Jul 2006
11-19-2006, 06:08 PM #6

I have a problem when I'm using this, especially on the axis side. The MP40 only has 1 clip when I set it to 7, and other stuff like that. Can you help me out please?n nAnyone know what's wrong with this plug-in?

Zor
posted here
Posts: 688
Threads: 75
Joined: Jun 2006
12-11-2006, 07:05 PM #7

Your version of Amxmodx is old I would say as xstats is something out in the newest version.nnCheers!

D dannyowan
posted here
Posts: 54
Threads: 12
Joined: Aug 2005
12-13-2006, 02:22 AM #8

great plugin!rngood job!rnThen I can give more ammo for mger ..hehe

M Mr. White
posted here
Posts: 13
Threads: 4
Joined: Mar 2005
12-14-2006, 09:40 AM #9

I have the same error. Running 1.76a ver, windows. The gren starts out with 48 clips, the stross only has 3 clips, the mp44 has about 1 and half clips and the mp40 nothing. Do you need to specify each cvar to avoid this problem, all i want to do is take away the nades. I set each nade class to -1 and still had problems mentioned above.rnrnDo i need to upgrade to 1.76b inorder for the plugin to work like it should be working? rnrnThanks for the help and great plugin. :)

D dOh_UnderLorD
posted here
Posts: 4
Threads: 1
Joined: May 2005
01-08-2007, 09:37 PM #10

This pplugin works awesome!...except one problem I am currently having. On Axis using the MP40 you only get the one clip in the gun and that is it. I have completely taken out ALL the custom_unter settings and still same problem. I have checked and redone everything 3 times with no fix. I am going to disable plugin and see if this is the problem. This is the newest version of AMXMODx 1.76c running on a Linux server.n nHere are the plugins I currently running, all are running with no errors.ndod_classmenu.amxxndod_uberrifles.amxxndod_customsupply.amxxndod_shellshock.amxxndod_death_fade.amxxndod_eviladmin.amxxndod_dropgrenades.amxxn n nI disabled the plugin and all went back to normal, minus my custom settings for all other wweapons :(n nIf any one could help this would be great, if I left out any info sry...n nHas anyone has a solution to this problem? I see another person had this issue, if you found the answer could you please post.n nI REALLY love the concept behind this plugin. This does everything anyone could ask for as far as giving and taking anyway ammo to ALL classes. I run an unlimited pistol ammo and dropGrenades on my other server (windows), was also looking forward to replacing 2 for 1 on my new Linux server.n nMy current solution (temporary hopefully) was to disable the plugin altogether. I did however leave all plugin settings in hoping that someone here at this AWESOME website would take care of a fellow DoD ADDICT, as they have ALWAYS done in the past.n nThankx in advance............

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
01-09-2007, 04:36 PM #11

Here is version 2.0 - it's not at a full release state yet because I haven't made comments and instructions and such, but open levels.inl to set all the levels.rnrnThis version works on levels instead of cvars.rnrnbind KEY supply_menu to adjust levels.

D dOh_UnderLorD
posted here
Posts: 4
Threads: 1
Joined: May 2005
01-11-2007, 11:15 AM #12

Thank You Wilson, I havent tied it yet but have it sitting here on my desktop. I will compile it and put it in later today. rnrnI do have a couple quick question for you. When I bind or use supply_menu, will the settings save or will they reset on map changes, server restarts, etc, etc? And where do I put the customsupply folder at, in configs folder? rnrnOther than that, looks str8 forward. This is a GREAT plugin, in theory anyways....this made my day, THANKX!

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
01-12-2007, 01:36 AM #13

they don't save, but they are cvars so you can put them in configs/amxx.cfg and it will load them automatically to save em.

K Kiel |17.SS|
posted here
Posts: 163
Threads: 12
Joined: Jul 2006
01-12-2007, 03:16 AM #14

I havn't tried it yet either, but is supply_menu a menu that allows you to choose how much ammo you want to give to a certain gun?

D dOh_UnderLorD
posted here
Posts: 4
Threads: 1
Joined: May 2005
01-12-2007, 09:34 AM #15

Now I am confused, you said that this works on levels and NOT cvars, and in your last post you say they are cvars. So, do I modify the levels.ini file or add cvars to the amxx.cfg? I will wait for instructions and such...haharnrnThank You again for the follow up and new files, cant wait to use em :p

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
01-12-2007, 09:38 PM #16

lol, the level is a cvar. it's like dod_customsupply_allies LEVELrnreplacing LEVEL with a #

K Kiel |17.SS|
posted here
Posts: 163
Threads: 12
Joined: Jul 2006
01-13-2007, 05:48 PM #17

where does the custom supply folder go?

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
01-13-2007, 09:46 PM #18

It would theoretically go in the amxmodx/scripting directory. But that's only if you want to edit it and re-compile. If you'd like to use the settings it comes with, just use the .amxx file

K Kiel |17.SS|
posted here
Posts: 163
Threads: 12
Joined: Jul 2006
01-13-2007, 10:51 PM #19

Sweet, I'm going to test it right now.

K Kiel |17.SS|
posted here
Posts: 163
Threads: 12
Joined: Jul 2006
01-13-2007, 11:19 PM #20

Awesome it works. The only problem is when you have more ammo, it tells you you have 2 clips, then when you empty it and reload, it shows you how much you actually have. I'm assuming its a DoD problem, though. Other than that, it's pretty sweet. Thanks!

K Kiel |17.SS|
posted here
Posts: 163
Threads: 12
Joined: Jul 2006
01-15-2007, 02:01 PM #21

Also, snipers dont get grenades either. Is that something with DoD?

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
01-15-2007, 05:48 PM #22

Snipers don't have nades in dod ever. They can with custom supply though if you want them too.

K Kiel |17.SS|
posted here
Posts: 163
Threads: 12
Joined: Jul 2006
01-15-2007, 06:13 PM #23

Well that part isn't working.

barney
posted here
Posts: 25
Threads: 3
Joined: Jan 2007
03-02-2007, 02:13 PM #24

lol im dum where in amx.cfg do i put the stuff at bottom or wat?

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
03-02-2007, 04:03 PM #25
lol im dum where in amx.cfg do i put the stuff at bottom or wat?
n nwell.. it will work as long as it is in there anywhere... front, back, middle... but.. for the sake of future updates, removals, etc.. it makes it alot easier to find and alter a setting if you get in the habit of placing the cvars at the end of the amxx.cfg file...

barney
posted here
Posts: 25
Threads: 3
Joined: Jan 2007
03-02-2007, 04:07 PM #26

could u give me ex: plz bc im not to smart when it comes to this im rly srry for bugging ummm could u like add my xfire and tell me or somethin its alot easier if u have time xfire= barney17

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
03-03-2007, 01:49 AM #27
could u give me ex: plz bc im not to smart when it comes to this im rly srry for bugging ummm could u like add my xfire and tell me or somethin its alot easier if u have time xfire= barney17
n nI only use AIM (AD76TatsuSaisei) and would be glad to help live, but...n nlook over the CVAR list in the initial post....n nopen up the amxx.cfg file located in addons/amxmodx/configs/amxx.cfgn ngo to the very bottom of the list in that file and add some of the following lines ... (example is for enabling plugin for both teams and altering the Allied Rifleman class)n n
 n[U]dod_customsupply 1[/U] //Enable or disable the entire pluginn[U]dod_customsupply_allies 1[/U] //Enable the plugin affecting alliesn[U]dod_customsupply_axis 1[/U] //Enable the plugin affecting axisn---------------------------------nSMOKE GRENADESnThere is nothing you need to adjust to nmake this plugin compatable with smokengrenades. Do it how you usually wouldnand it will work.n--------------------------------- nINSTRUCTIONSnThere are four sections to eachnclass for this: Primary, Secondary, Melee, and nGrenades. They are set to the Dod defualts so putnthe ones you want to adjust in amxx.cfg (you don'tnneed the ones you don't want to adjust)n nFor Primary: Setting to "1" gives player 1 clipnSetting to "2" gives player 2 clips, etc.nSet to "0" to give player an empty gunnSet to "-1" to not give player a gunn nFor Secondary: Setting to "1" gives player 1 clipnSetting to "2" gives player 2 clips, etc.nSet to "-1" to not give a pistoln nFor Melee: Setting to "1" gives player a knife.nSet to "0" or "-1" to not give a knifen nFor Grenades: Setting to "1" gives a player 1 nade.nSetting to "2" gives player 2 nades, etc.n----------------------------------nSETTINGS (CVARS)n n// US Alliesn[U]custom_rifleman_primary 10[/U] //give Garand 10 clips of ammo to start with !!n[U]custom_rifleman_secondary 10[/U] //might as well load up some pistol clipsn[U]custom_rifleman_melee 0[/U] //take the knife awayn[U]custom_rifleman_gren 5[/U] //but load him up with some grenades (I love grenades !!)n
n(You ONLY need to add what is underlined from above.. the rest are just comments for you to read... to understand what the command is for...)n nnow, to add the next class and alter their settings... just list them below to rifleman cvars... any class you want to "leave alone" simply do not list...

barney
posted here
Posts: 25
Threads: 3
Joined: Jan 2007
03-03-2007, 02:36 AM #28

umm yea it still doesnt use the ammount of ammo Ect of wat i put it starts garrand out with 2 clips no nades and stuff and everything is different and i dno wats going on do u? Umm wilson if u could contact me on xfire = barney17 or something bc i rly need ur help thx :P

barney
posted here
Posts: 25
Threads: 3
Joined: Jan 2007
03-04-2007, 08:05 PM #29

yes umm the plugin seems to work except for my ammo isnt wat i put in my amx.cfg file ... and i cant seem to get it to work both of my rifle classes for axis and allies spawn with 2 clips and no nades and no pistol ammo

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
03-05-2007, 03:27 AM #30

bind KEY supply_menu

barney
posted here
Posts: 25
Threads: 3
Joined: Jan 2007
03-05-2007, 03:44 AM #31

where do i place the lvls txt file?

M MBosta
posted here
Posts: 208
Threads: 30
Joined: Sep 2006
04-12-2007, 04:02 PM #32

could you give the option like -2 or somethign so it uses the default numbers on the server. I just wanted to take off nades, and leave everything else normal. Hm, i get very odd numbers when trying this out. I set the garand to have 12 clips yet it gave me 46 and the first clip has about 60 bullets, so the ammo hud is very disfigured. Same with carbine and the k98, i get crazy numbers.

M MBosta
posted here
Posts: 208
Threads: 30
Joined: Sep 2006
04-20-2007, 12:17 AM #33

lol i tried using this to just turn off nades, but ended up messing up my primary weapons. I didn't even have them in the amxx.cfg and ended up having 79 clips for the garand, 45 for the carbine etc. I then tried giving them ammo according to their defaults, but it made it worse by distorting the first clip. So the first clip is like 120 bullets and the rest are ok. Weird, eh? Anyone know why?

J jondoe
posted here
Posts: 129
Threads: 6
Joined: Aug 2005
09-23-2007, 03:59 AM #34

Why are the allies given axis stickgrenades ? , Because when an allie primes and axis nade it always says "impressive" because of the grenade catch feature in AMXX.

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
09-23-2007, 10:28 AM #35

...either you meant to post that in the dropgrenades2 thread or you are upping the smoke grenade supply instead of the regular grenade supply..

J jondoe
posted here
Posts: 129
Threads: 6
Joined: Aug 2005
09-23-2007, 04:59 PM #36
;7653']...either you meant to post that in the dropgrenades2 thread or you are upping the smoke grenade supply instead of the regular grenade supply..
rnrnrnI dont give any extra smoke grenades through this plugin.rnrnHere is what i have in my amxx.cfgrn--------------------------------------rnrn//DOD CUSTOM SUPPLY CVARSrnrndod_customsupply 1rndod_customsupply_allies 1rndod_customsupply_axis 1rnrn// US Alliesrncustom_rifleman_primary 10rncustom_rifleman_secondary 10rncustom_rifleman_melee 1rncustom_rifleman_gren 1rn rncustom_ssgt_primary 10rncustom_ssgt_secondary 10rncustom_ssgt_melee 1rncustom_ssgt_gren 1rn rncustom_msgt_primary 10rncustom_msgt_secondary 10rncustom_msgt_melee 1rncustom_msgt_gren 1rn rncustom_sgt_primary 10rncustom_sgt_secondary 10rncustom_sgt_melee 1rncustom_sgt_gren 1rn rncustom_sniper_primary 10rncustom_sniper_secondary 10rncustom_sniper_melee 1rncustom_sniper_gren 1rn rncustom_support_primary 10rncustom_support_secondary 10rncustom_support_melee 1rncustom_support_gren 1rn rncustom_mg_primary 3rncustom_mg_secondary 3rncustom_mg_melee 1rncustom_mg_gren 1rn rncustom_bazooka_primary 7rncustom_bazooka_secondary 3rncustom_bazooka_melee 1rncustom_bazooka_gren 1rn rn// Only for use with mortar plugin (available at dodplugins.net)rncustom_mortar_primary 7rncustom_mortar_secondary 3rncustom_mortar_melee 1rncustom_mortar_gren 0rn rn// British Allies rncustom_britrifleman_primary 10rncustom_britrifleman_secondary 10rncustom_britrifleman_melee 1rncustom_britrifleman_gren 1rn rncustom_britsgt_primary 10rncustom_britsgt_secondary 10rncustom_britsgt_melee 1rncustom_britsgt_gren 1rn rncustom_marksman_primary 7rncustom_marksman_secondary 3rncustom_marksman_melee 1rncustom_marksman_gren 1rn rncustom_gunner_primary 4rncustom_gunner_secondary 4rncustom_gunner_melee 1rncustom_gunner_gren 1rn rncustom_piat_primary 7rncustom_piat_secondary 3rncustom_piat_melee 1rncustom_piat_gren 1rn rn// Only for use with mortar plugin (available at dodplugins.net)rncustom_britmortar_primary 7rncustom_britmortar_secondary 3rncustom_britmortar_melee 1rncustom_britmortar_gren 0rn rn // Axisrncustom_grenadier_primary 10rncustom_grenadier_secondary 10rncustom_grenadier_melee 1rncustom_grenadier_gren 1rn rncustom_stross_primary 10rncustom_stross_secondary 10rncustom_stross_melee 1rncustom_stross_gren 1rn rncustom_unter_primary 10rncustom_unter_secondary 10rncustom_unter_melee 1rncustom_unter_gren 1rn rncustom_sturm_primary 10rncustom_sturm_secondary 10rncustom_sturm_melee 1rncustom_sturm_gren 2rn rncustom_scharfs_primary 7rncustom_scharfs_secondary 3rncustom_scharfs_melee 1rncustom_scharfs_gren 1rn rncustom_fg42_primary 4rncustom_fg42_secondary 4rncustom_fg42_melee 1rncustom_fg42_gren 1rn rncustom_fg42s_primary 4rncustom_fg42s_secondary 4rncustom_fg42s_melee 1rncustom_fg42s_gren 1rn rncustom_mg34_primary 3rncustom_mg34_secondary 3rncustom_mg34_melee 1rncustom_mg34_gren 1rn rncustom_mg42_primary 3rncustom_mg42_secondary 3rncustom_mg42_melee 1rncustom_mg42_gren 1rn rncustom_panzer_primary 7rncustom_panzer_secondary 3rncustom_panzer_melee 1rncustom_panzer_gren 1rn rn// Only for use with mortar plugin (available at dodplugins.net)rncustom_germortar_primary 7rncustom_germortar_secondary 3rncustom_germortar_melee 1rncustom_germortar_gren 0rnrnEND..rnrnrnThis would give those classes one extra grenade am i correct ?.rnVery nice plugin BTW, :) But then again all your plugins rock.

J jondoe
posted here
Posts: 129
Threads: 6
Joined: Aug 2005
10-01-2007, 04:09 AM #37

So am i correct in assuming that what i posted above gives those classes extra grenades. Because i haven't added any smoke grenades.rnBut when the allies toss a nade, It's still an axis stick grenade.

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
10-01-2007, 04:35 AM #38

Yeah it would. But are you using the version in the original post or the version on page 2 (or 3, I forget which) ?rnrnYou should use the one on page 2 or 3. It's better.

J jondoe
posted here
Posts: 129
Threads: 6
Joined: Aug 2005
10-01-2007, 09:23 PM #39
;7733']Yeah it would. But are you using the version in the original post or the version on page 2 (or 3, I forget which) ?rnrnYou should use the one on page 2 or 3. It's better.
rnrnOk thanks wilson, I'll try those versons and post back about how it worked out.

J jondoe
posted here
Posts: 129
Threads: 6
Joined: Aug 2005
11-04-2007, 08:31 PM #40

This plugin will work on a per map basis correct ?.rnrnAll i would do is place the cvars in the addons/amxmod/configs/maps/dod_anzio.cfg file and that should do the trick.

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
11-04-2007, 09:08 PM #41

So long as you are using this, that should work fine.

J jondoe
posted here
Posts: 129
Threads: 6
Joined: Aug 2005
11-04-2007, 11:11 PM #42
;8003']So long as you are using this, that should work fine.
rnrnI guess what i posted before wasn't quite correct, the map configs that work for me are the ones in the DoD folder, not the ones in the amxmodx/configs/maps folder.rnrnI just tested this plugin on a few other maps and players arn't being given any nades on those maps and are also not being given the correct amount of ammo in their primary or secondary weapons.rnrnHere are the cvars i'm using for this plugin in my amxx.cfgrn
rn//DOD CUSTOM SUPPLY CVARSrnrndod_customsupply 1rndod_customsupply_allies 1rndod_customsupply_axis 1rnrn// US Alliesrncustom_rifleman_primary 10rncustom_rifleman_secondary 10rncustom_rifleman_melee 1rncustom_rifleman_gren 2rn	rncustom_ssgt_primary 10rncustom_ssgt_secondary 10rncustom_ssgt_melee 1rncustom_ssgt_gren 1rn	rncustom_msgt_primary 10rncustom_msgt_secondary 10rncustom_msgt_melee 1rncustom_msgt_gren 1rn	rncustom_sgt_primary 10rncustom_sgt_secondary 10rncustom_sgt_melee 1rncustom_sgt_gren 1rn	rncustom_sniper_primary 10rncustom_sniper_secondary 10rncustom_sniper_melee 1rncustom_sniper_gren 1rn	rncustom_support_primary 10rncustom_support_secondary 10rncustom_support_melee 1rncustom_support_gren 1rn	rncustom_mg_primary 3rncustom_mg_secondary 3rncustom_mg_melee 1rncustom_mg_gren 1rn	rncustom_bazooka_primary 7rncustom_bazooka_secondary 10rncustom_bazooka_melee 1rncustom_bazooka_gren 1rn	rn// Only for use with mortar plugin (available at dodplugins.net)rn//custom_mortar_primary 7rn//custom_mortar_secondary 3rn//custom_mortar_melee 1rn//custom_mortar_gren 0rn	rn// British Allies rncustom_britrifleman_primary 10rncustom_britrifleman_secondary 10rncustom_britrifleman_melee 1rncustom_britrifleman_gren 2rn	rncustom_britsgt_primary 10rncustom_britsgt_secondary 10rncustom_britsgt_melee 1rncustom_britsgt_gren 1rn	rncustom_marksman_primary 10rncustom_marksman_secondary 10rncustom_marksman_melee 1rncustom_marksman_gren 1rn	rncustom_gunner_primary 5rncustom_gunner_secondary 10rncustom_gunner_melee 1rncustom_gunner_gren 1rn	rncustom_piat_primary 7rncustom_piat_secondary 10rncustom_piat_melee 1rncustom_piat_gren 1rn	rn// Only for use with mortar plugin (available at dodplugins.net)rn//custom_britmortar_primary 7rn//custom_britmortar_secondary 3rn//custom_britmortar_melee 1rn//custom_britmortar_gren 0rn	rn// Axisrncustom_grenadier_primary 10rncustom_grenadier_secondary 10rncustom_grenadier_melee 1rncustom_grenadier_gren 2rn	rncustom_stross_primary 10rncustom_stross_secondary 10rncustom_stross_melee 1rncustom_stross_gren 1rn	rncustom_unter_primary 10rncustom_unter_secondary 10rncustom_unter_melee 1rncustom_unter_gren 1rn	rncustom_sturm_primary 10rncustom_sturm_secondary 10rncustom_sturm_melee 1rncustom_sturm_gren 1rn	rncustom_scharfs_primary 7rncustom_scharfs_secondary 10rncustom_scharfs_melee 1rncustom_scharfs_gren 1rn	rncustom_fg42_primary 6rncustom_fg42_secondary 10rncustom_fg42_melee 1rncustom_fg42_gren 1rn	rncustom_fg42s_primary 6rncustom_fg42s_secondary 10rncustom_fg42s_melee 1rncustom_fg42s_gren 1rn	rncustom_mg34_primary 3rncustom_mg34_secondary 10rncustom_mg34_melee 1rncustom_mg34_gren 1rn	rncustom_mg42_primary 3rncustom_mg42_secondary 10rncustom_mg42_melee 1rncustom_mg42_gren 1rn	rncustom_panzer_primary 7rncustom_panzer_secondary 10rncustom_panzer_melee 1rncustom_panzer_gren 1rn	rn// Only for use with mortar plugin (available at dodplugins.net)rn//custom_germortar_primary 7rn//custom_germortar_secondary 3rn//custom_germortar_melee 1rn//custom_germortar_gren 0rn
rnrnAs you can see i am giving players nades and extra clips but their not recieving them.rnrnrnHere is the list of custom plugins i have running to see if you think something is conflicting with your plugin.rnrn
rn[ 19] Connect Announce        0.2      v3x               connect_announc  running  rn [ 20] DoD TeamManager         1.4      AMXX DoD Team     dod_teammanager  running  rn [ 21] Secret Spectate         1.0      29th ID           dod_secretspect  running  rn [ 22] Auto Message Displayer  1.0      GHW_Chronic       GHW_Chat_Text.a  running  rn [ 23] Aim Bot Detector        0.1d     Amxmodx DoD Comm  amx_aimbotdetec  running  rn [ 24] Loading Sound           1.0      Amxx User         loadingsound.am  running  rn [ 25] DoD Gore Custom         1.7      AMXX DoD Team     dod_gore_custom  running  rn [ 26] DoD Melee Bonus         0.6beta  AMXX DoD Team     dod_meleebonus.  running  rn [ 27] Exec                    1.0      ToXiC             amx_exec.amxx    running  rn [ 28] DoD Say Ratio           0.2      AMXX DoD Team     dod_say_ratio.a  running  rn [ 29] admin alltalk           0.1      GORT              admin_alltalk.a  running  rn [ 30] DoD AFK Kicker          0.9.4    Fractal           dod_anti_afk.am  running  rn [ 31] DoD EvilAdmin           0.5beta  AMXX DoD Team     dod_eviladmin.a  running  rn  rn [ 33] Simple Slots            2.1      DynAstY           simpleslots.amx  running  rn [ 34] DoD MG Extra Recoil     1.3      AMXX DoD Team     dod_mg_extrarec  running  rn [ 35] Who's Spectating Me     1.0      diamond-optic     amx_whospecme.a  running  rn [ 36] CVAR Guard              1.0      29th ID           amx_cvarguard.a  running  rn [ 37] Zoom Info               0.1      VEN               zoom_info.amxx   running  rn [ 38] Server Rules            1.1      FullThrottle      server_rules.am  running  rn [ 39] DoD Shell Shock         1.4      AMXX DoD Team &   dod_shellshock.  running  rn [ 40] DoD Force Tracers       0.7      AMXX DoD Team     dod_forcetracer  running  rn [ 41] Weapons Mod 2.0         2.0      TooLz             WeaponsMod2.amx  running  rn [ 42] DoD Reset at 255        0.4      AMXX DoD Plugins  dod_xkills.amxx  running  rn [ 43] Shrikebot Admin         0.9      Orbit             amx_shrikebot.a  running  rn [ 44] ShrikeBot_classlimit_s  1.1      Vet(3TT3V)        shrikebot_cls_n  running  rn [ 45] DoD BotJoinScore        1.3      AMXX DoD Team     dod_botjoinscor  running  rn [ 46] Easy Custom Votes       0.3      JTP10181          amx_customvotes  running  rn [ 47] MOTM Hud Display        1.0      <Evil>deadBeat &  amx_motm.amxx    running  rn [ 48] DoD Unlimited Pistol A  1.0      AMXX DoD Communi  dod_unlimited_p  running  rn [ 49] DoD Stronger Rifles     1.0      AMXX DoD Team     dod_stronger_ri  running  rn [ 50] DoD Tracers             0.2      AMXX DoD Team     dod_tracers.amx  running  rn [ 51] FUSION Spec-Fix         1.0      Gray Death        specbugfix.amxx  running  rn [ 52] DeagsMapManage          2.10i    Deags             mapmanager.amxx  running  rn [ 53] Dod Custom Supply       1.0      29th ID           dod_customsuppl  running  rn53 plugins, 53 runningrn
rnrn[NOTE] I tried adding your plugin at the top of the list to make sure another plugin wasn't hooking something before yours was but it still isn't working right

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
11-05-2007, 05:10 AM #43

Try using the version on page two or three - it's more stable.

J jondoe
posted here
Posts: 129
Threads: 6
Joined: Aug 2005
11-07-2007, 07:42 AM #44

I am using the one on page two. There is no seperate version of this plugin on page 3 just the first page or the 2nd page.rnI have tried both of them with the same result.rnrnI'm just trying to use this plugin to completely remove grenades from certain maps. Is there another way to do that ?.

D dannyowan
posted here
Posts: 54
Threads: 12
Joined: Aug 2005
02-17-2008, 10:33 PM #45

this plugin doesn't work to remove grenade..nanyone can help me?

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
02-18-2008, 04:45 PM #46

dannyowan if all you're trying to do is remove grenades, just hook spawn with dod_client_spawn() and set_user_ammo to 0 for the nades.

D dannyowan
posted here
Posts: 54
Threads: 12
Joined: Aug 2005
02-19-2008, 12:29 AM #47

Wilson rnrnsorry, which file I should modify ??rnanother bug is I found this plug-in will make mp40 and thompson's have 1 clip

J jondoe
posted here
Posts: 129
Threads: 6
Joined: Aug 2005
03-06-2008, 08:27 AM #48

Have you stopped development on this plugin Wilson ?rncurrently using the one page two in the zip file.rnrnDid you test this on linux ?rnrnThe supply menu isn't working.rnThe mp40 only gets one clip still.rnThe thompson only gets one cliprnThe mp44 gets only two clips.rnThe axis sniper gets 42 clipsrnthe kar98 gets 36 clips but once you fire a full clip it goes to ten, Which is what i have it set too.rnrnI know theres a few bug on the allies side as well.rnrnIts strange, In you're other post you said i had to use Zors map config plugin in order for map specific configs too work, But there working without anyway, At least for removing grenades. If you need me to test this really well so you can get it too work, I will.

Wilson [29th ID]
started this thread
Posts: 623
Threads: 57
Joined: Oct 2005
03-06-2008, 10:25 AM #49

I stopped development on this out of lack of interest. This and dropgrenades seem to both screw me when it comes to linux, and I don't have a linux test server on which to test it. This and dropgrenades...I spent tons of time working on and half the servers they don't work on now....

D dannyowan
posted here
Posts: 54
Threads: 12
Joined: Aug 2005
12-08-2008, 10:31 AM #50

it's bad to hear wilson stopped development on this plugin..nit's a nice plugin......nbut just has some bugs about clip problem

G godfodder
posted here
Posts: 2
Threads: 0
Joined: Jul 2022
07-03-2022, 09:43 AM #51

Even if I set the value higher I can't seem to get more 3 grenades for any class. Anyone else have this issue? Is this a limitation of the game itself? So many people on here are posting configs that say they have classes being given 4 or 5.

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC