Raised This Month: $218 Target: $400
 54% 

Dod CustomSupply


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Xanimos (85)
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 09-04-2006 , 05:16   Dod CustomSupply
Reply With Quote #1

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

Quote:
/*
DOD CUSTOMSUPPLY
by Wilson [29th ID]
www.29th.org

Part of the 29th ID's modification to
Day of Defeat, making it more realistic
DOD:Realism - dodrealism.branzone.com

DESCRIPTION
This plugin allows you to customize every
class in Day of Defeat. You can assign how
many primary weapon clips each class gets,
how many pistol clips they get, whether or
not they get a pistol, whether or not they
get a knife, and how many grenades they get.

You can use this for knives-only or pistols-
only by setting the weapons you don't want to
give to -1. You can also have a class not
get any weapon at all if you like.

This plugin is also compatable with Zor's
smokegrenades plugin and 29th's Mortar Class.

CREDITS
www.dodplugins.net
GO THERE - All your Dod plugins/scripting help!
*/
Quote:
/*
VERSIONS/CHANGELOG
v1.0
-Initial Release
-Compatable with Zor's Smoke nade plugin
-Compatable with 29th's Mortar Class plugin
v1.1
-Fixed bug that gave enemy grenades even if
smoke grenades were disabled
v1.2
-Included "clip ammo" in the cvars - this way
setting ammo to 2 means 1 in clip 1 in backpack
-Fixed default bren grenade setting to 1
*/
Code:
/*
	USAGE (CVARS)
	
	dod_customsupply <1/0>
		Enable or disable the entire plugin
	dod_customsupply_allies <1/0>
		Enable or disable the plugin affecting
		allies
	dod_customsupply_axis <1/0>
		Enable or disable the plugin affecting
		axis
	---------------------------------
	SMOKE GRENADES
		There is nothing you need to adjust to 
		make this plugin compatable with smoke
		grenades. Do it how you usually would
		and it will work.
	---------------------------------	
	INSTRUCTIONS
	There are four sections to each
	class for this: Primary, Secondary, Melee, and 
	Grenades. They are set to the Dod defualts so put
	the ones you want to adjust in amxx.cfg (you don't
	need the ones you don't want to adjust)
	
	For Primary: Setting to "1" gives player 1 clip
	Setting to "2" gives player 2 clips, etc.
	Set to "0" to give player an empty gun
	Set to "-1" to not give player a gun
	
	For Secondary: Setting to "1" gives player 1 clip
	Setting to "2" gives player 2 clips, etc.
	Set to "-1" to not give a pistol
	
	For Melee: Setting to "1" gives player a knife.
	Set to "0" or "-1" to not give a knife
	
	For Grenades: Setting to "1" gives a player 1 nade.
	Setting to "2" gives player 2 nades, etc.
	----------------------------------
	SETTINGS (CVARS)
	
	// US Allies
	custom_rifleman_primary
	custom_rifleman_secondary
	custom_rifleman_melee
	custom_rifleman_gren
	
	custom_ssgt_primary
	custom_ssgt_secondary
	custom_ssgt_melee
	custom_ssgt_gren
	
	custom_msgt_primary
	custom_msgt_secondary
	custom_msgt_melee
	custom_msgt_gren
	
	custom_sgt_primary
	custom_sgt_secondary
	custom_sgt_melee
	custom_sgt_gren
	
	custom_sniper_primary
	custom_sniper_secondary
	custom_sniper_melee
	custom_sniper_gren
	
	custom_support_primary
	custom_support_secondary
	custom_support_melee
	custom_support_gren
	
	custom_mg_primary
	custom_mg_secondary
	custom_mg_melee
	custom_mg_gren
	
	custom_bazooka_primary
	custom_bazooka_secondary
	custom_bazooka_melee
	custom_bazooka_gren
	
	// Only for use with mortar plugin (available at dodplugins.net)
	custom_mortar_primary
	custom_mortar_secondary
	custom_mortar_melee
	custom_mortar_gren
	
	// British Allies
	custom_britrifleman_primary
	custom_britrifleman_secondary
	custom_britrifleman_melee
	custom_britrifleman_gren
	
	custom_britsgt_primary
	custom_britsgt_secondary
	custom_britsgt_melee
	custom_britsgt_gren
	
	custom_marksman_primary
	custom_marksman_secondary
	custom_marksman_melee
	custom_marksman_gren
	
	custom_gunner_primary
	custom_gunner_secondary
	custom_gunner_melee
	custom_gunner_gren
	
	custom_piat_primary
	custom_piat_secondary
	custom_piat_melee
	custom_piat_gren
	
	// Only for use with mortar plugin (available at dodplugins.net)
	custom_britmortar_primary
	custom_britmortar_secondary
	custom_britmortar_melee
	custom_britmortar_gren
	
	// Axis
	custom_grenadier_primary
	custom_grenadier_secondary
	custom_grenadier_melee
	custom_grenadier_gren
	
	custom_stross_primary
	custom_stross_secondary
	custom_stross_melee
	custom_stross_gren
	
	custom_unter_primary
	custom_unter_secondary
	custom_unter_melee
	custom_unter_gren
	
	custom_sturm_primary
	custom_sturm_secondary
	custom_sturm_melee
	custom_sturm_gren
	
	custom_scharfs_primary
	custom_scharfs_secondary
	custom_scharfs_melee
	custom_scharfs_gren
	
	custom_fg42_primary
	custom_fg42_secondary
	custom_fg42_melee
	custom_fg42_gren
	
	custom_fg42s_primary
	custom_fg42s_secondary
	custom_fg42s_melee
	custom_fg42s_gren
	
	custom_mg34_primary
	custom_mg34_secondary
	custom_mg34_melee
	custom_mg34_gren
	
	custom_mg42_primary
	custom_mg42_secondary
	custom_mg42_melee
	custom_mg42_gren
	
	custom_panzer_primary
	custom_panzer_secondary
	custom_panzer_melee
	custom_panzer_gren
	
	// Only for use with mortar plugin (available at dodplugins.net)
	custom_germortar_primary
	custom_germortar_secondary
	custom_germortar_melee
	custom_germortar_gren
*/

Support for this plugin at
http://www.dodplugins.net/forums/showthread.php?t=242
Attached Files
File Type: sma Get Plugin or Get Source (dod_customsupply.sma - 1175 views - 26.5 KB)
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician

Last edited by Wilson [29th ID]; 09-06-2006 at 12:47.
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 09-06-2006 , 12:48   Re: Dod CustomSupply
Reply With Quote #2

Updated to v1.2 -- 06 SEP 2006
Actually a very practical update - it includes "clip ammo" in the cvar setting. If you are using this plugin I suggest you update it to this version.
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:00.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode