PDA

View Full Version : Dod CustomSupply


Wilson [29th ID]
09-04-2006, 06:21 AM
UPDATED TO V1.2 -- 06 SEP 2006
UPDATED TO V1.1 -- 04 SEP 2006

/*
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!
*/

/*
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
*/

/*
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
*/

=|[76AD]|= TatsuSaisei
09-04-2006, 01:57 PM
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 !

You rock Wilson !!:D

diamond-optic
09-04-2006, 10:47 PM
heh nice work wilson..

ive 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-friendly

so good work once again :-)

Wilson [29th ID]
09-06-2006, 01:50 PM
Updated to v1.2 -- 06 SEP 2006
Actually a rather practical update. If you are using this plugin I suggest you update it. It includes the "clip" in the cvar setting.

kimball
10-31-2006, 11:24 AM
Running on linux with amxx v. 1.75a

ERROR: [AMXX] Plugin "dod_customsupply.amxx" failed to load: Module/Library Class "xstats" required for plugin. Check modules.ini.

Modules.ini ; AMX Mod X Modules
; You can specify both linux & win32 modules here
; To enable a module, remove the semi-colon from the line

; ------------------------------
; Fun - provides extra functions
; ------------------------------
fun_amxx_i386.so
fun_amxx.dll
fun_amxx_amd64.so

; ----------------------------------------------------
; Engine - provides engine functions core to Half-Life
; ----------------------------------------------------
engine_amxx_i386.so
engine_amxx.dll
engine_amxx_amd64.so

; ----------------------------------------------------------
; Fakemeta - provides a massive interface into the HL engine
; ----------------------------------------------------------
fakemeta_amxx_i386.so
fakemeta_amxx.dll
fakemeta_amxx_amd64.so

; -------------------------------------------
; Database Access - only enable one of these
; -------------------------------------------
; MySQL
;mysql_amxx_i386.so
;mysql_amxx.dll
;mysql_amxx_amd64.so
; PostgreSQL
;pgsql_amxx_i386.so
;pgsql_amxx.dll
; Microsoft SQL
;mssql_amxx.dll
; SQLite
;sqlite_amxx.dll
;sqlite_amxx_i386.so
;sqlite_amxx_amd64.so

; ---------------------------------------------
; GeoIP - determines the country of ip adresses
; ---------------------------------------------
geoip_amxx_i386.so
geoip_amxx.dll
geoip_amxx_amd64.so

; --------------------------------
; Sockets - network socket support
; --------------------------------
sockets_amxx_i386.so
sockets_amxx.dll
sockets_amxx_amd64.so

; --------------------------
; Regular Expression support
; --------------------------
regex_amxx_i386.so
regex_amxx.dll
regex_amxx_amd64.so

; --------------------
; Binary Vault support
; --------------------
nvault_amxx_i386.so
nvault_amxx.dll
nvault_amxx_amd64.so

; --------------------------------------------------
; Day of Defeat Fun - adds functions specific to DoD
; --------------------------------------------------
dodfun_amxx_i386.so
dodfun_amxx.dll
dodfun_amxx_amd64.so

; -------------------------------------------------------
; Day of Defeat X - adds stats and addition DoD functions
; -------------------------------------------------------
dodx_amxx_i386.so
dodx_amxx.dll
dodx_amxx_amd64.so


AMXX.CFG cvars for the plugin // custom classes //

dod_customsupply 1
dod_customsupply_allies 1
dod_customsupply_axis 1

// US Allies
custom_rifleman_primary 20
custom_rifleman_secondary 6
custom_rifleman_melee -1
custom_rifleman_gren 4

custom_ssgt_primary 28
custom_ssgt_secondary 4
custom_ssgt_melee 1
custom_ssgt_gren 5

custom_msgt_primary 16
custom_msgt_secondary 6
custom_msgt_melee 1
custom_msgt_gren 5

custom_sgt_primary 18
custom_sgt_secondary 6
custom_sgt_melee 1
custom_sgt_gren 5

custom_sniper_primary 8
custom_sniper_secondary 8
custom_sniper_melee -1

custom_support_primary 26
custom_support_secondary 4
custom_support_melee 1
custom_support_gren 4

custom_mg_primary 4
custom_mg_secondary 6
custom_mg_melee -1

custom_bazooka_primary 8
custom_bazooka_secondary 6
custom_bazooka_melee 1
custom_bazooka_gren 1

// British Allies
custom_britrifleman_primary 18
custom_britrifleman_secondary 6
custom_britrifleman_melee -1
custom_britrifleman_gren 5

custom_britsgt_primary 16
custom_britsgt_secondary 6
custom_britsgt_melee 1
custom_britsgt_gren 5

custom_marksman_primary 8
custom_marksman_secondary 6
custom_marksman_melee -1

custom_gunner_primary 20
custom_gunner_secondary 6
custom_gunner_melee 1
custom_gunner_gren 5

custom_piat_primary 8
custom_piat_secondary 6
custom_piat_melee 1
custom_piat_gren 1

// Axis
custom_grenadier_primary 16
custom_grenadier_secondary 6
custom_grenadier_melee -1
custom_grenadier_gren 4

custom_stross_primary 14
custom_stross_secondary 4
custom_stross_melee -1
custom_stross_gren 4

custom_unter_primary 20
custom_unter_secondary 6
custom_unter_melee 1
custom_unter_gren 4

custom_sturm_primary 18
custom_sturm_secondary 6
custom_sturm_melee 1
custom_sturm_gren 4

custom_scharfs_primary 8
custom_scharfs_secondary 6
custom_scharfs_melee -1

custom_fg42_primary 14
custom_fg42_secondary 6
custom_fg42_melee 1
custom_fg42_gren 3

custom_fg42s_primary 14
custom_fg42s_secondary 6
custom_fg42s_melee 1
custom_fg42s_gren 1

custom_mg42_primary 2
custom_mg42_secondary 6
custom_mg42_melee 1

custom_panzer_primary 8
custom_panzer_secondary 6
custom_panzer_melee 1
custom_panzer_gren 1

Kiel |17.SS|
11-19-2006, 06:08 PM
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?

Anyone know what's wrong with this plug-in?

Zor
12-11-2006, 07:05 PM
Your version of Amxmodx is old I would say as xstats is something out in the newest version.

Cheers!

dannyowan
12-13-2006, 02:22 AM
great plugin!
good job!
Then I can give more ammo for mger ..hehe

Mr. White
12-14-2006, 09:40 AM
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.

Do i need to upgrade to 1.76b inorder for the plugin to work like it should be working?

Thanks for the help and great plugin. :)

dOh_UnderLorD
01-08-2007, 09:37 PM
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.

Here are the plugins I currently running, all are running with no errors.
dod_classmenu.amxx
dod_uberrifles.amxx
dod_customsupply.amxx
dod_shellshock.amxx
dod_death_fade.amxx
dod_eviladmin.amxx
dod_dropgrenades.amxx


I disabled the plugin and all went back to normal, minus my custom settings for all other wweapons :(

If any one could help this would be great, if I left out any info sry...

Has anyone has a solution to this problem? I see another person had this issue, if you found the answer could you please post.

I 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.

My 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.

Thankx in advance............

Wilson [29th ID]
01-09-2007, 04:36 PM
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.

This version works on levels instead of cvars.

bind KEY supply_menu to adjust levels.

dOh_UnderLorD
01-11-2007, 11:15 AM
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.

I 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?

Other than that, looks str8 forward. This is a GREAT plugin, in theory anyways....this made my day, THANKX!

Wilson [29th ID]
01-12-2007, 01:36 AM
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.

Kiel |17.SS|
01-12-2007, 03:16 AM
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?

dOh_UnderLorD
01-12-2007, 09:34 AM
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...haha

Thank You again for the follow up and new files, cant wait to use em :p

Wilson [29th ID]
01-12-2007, 09:38 PM
lol, the level is a cvar. it's like dod_customsupply_allies LEVEL
replacing LEVEL with a #

Kiel |17.SS|
01-13-2007, 05:48 PM
where does the custom supply folder go?

Wilson [29th ID]
01-13-2007, 09:46 PM
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

Kiel |17.SS|
01-13-2007, 10:51 PM
Sweet, I'm going to test it right now.

Kiel |17.SS|
01-13-2007, 11:19 PM
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!

Kiel |17.SS|
01-15-2007, 02:01 PM
Also, snipers dont get grenades either. Is that something with DoD?

Wilson [29th ID]
01-15-2007, 05:48 PM
Snipers don't have nades in dod ever. They can with custom supply though if you want them too.

Kiel |17.SS|
01-15-2007, 06:13 PM
Well that part isn't working.

barney
03-02-2007, 02:13 PM
lol im dum where in amx.cfg do i put the stuff at bottom or wat?

=|[76AD]|= TatsuSaisei
03-02-2007, 04:03 PM
lol im dum where in amx.cfg do i put the stuff at bottom or wat?

well.. 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
03-02-2007, 04:07 PM
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
03-03-2007, 01:49 AM
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

I only use AIM (AD76TatsuSaisei) and would be glad to help live, but...

look over the CVAR list in the initial post....

open up the amxx.cfg file located in addons/amxmodx/configs/amxx.cfg

go 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)


dod_customsupply 1 //Enable or disable the entire plugin
dod_customsupply_allies 1 //Enable the plugin affecting allies
dod_customsupply_axis 1 //Enable 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 10 //give Garand 10 clips of ammo to start with !!
custom_rifleman_secondary 10 //might as well load up some pistol clips
custom_rifleman_melee 0 //take the knife away
custom_rifleman_gren 5 //but load him up with some grenades (I love grenades !!)

(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...)

now, 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
03-03-2007, 02:36 AM
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
03-04-2007, 08:05 PM
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]
03-05-2007, 03:27 AM
bind KEY supply_menu

barney
03-05-2007, 03:44 AM
where do i place the lvls txt file?

MBosta
04-12-2007, 05:02 PM
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.

MBosta
04-20-2007, 01:17 AM
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?

jondoe
09-23-2007, 04:59 AM
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]
09-23-2007, 11:28 AM
...either you meant to post that in the dropgrenades2 thread or you are upping the smoke grenade supply instead of the regular grenade supply..

jondoe
09-23-2007, 05:59 PM
;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..


I dont give any extra smoke grenades through this plugin.

Here is what i have in my amxx.cfg
--------------------------------------

//DOD CUSTOM SUPPLY CVARS

dod_customsupply 1
dod_customsupply_allies 1
dod_customsupply_axis 1

// US Allies
custom_rifleman_primary 10
custom_rifleman_secondary 10
custom_rifleman_melee 1
custom_rifleman_gren 1

custom_ssgt_primary 10
custom_ssgt_secondary 10
custom_ssgt_melee 1
custom_ssgt_gren 1

custom_msgt_primary 10
custom_msgt_secondary 10
custom_msgt_melee 1
custom_msgt_gren 1

custom_sgt_primary 10
custom_sgt_secondary 10
custom_sgt_melee 1
custom_sgt_gren 1

custom_sniper_primary 10
custom_sniper_secondary 10
custom_sniper_melee 1
custom_sniper_gren 1

custom_support_primary 10
custom_support_secondary 10
custom_support_melee 1
custom_support_gren 1

custom_mg_primary 3
custom_mg_secondary 3
custom_mg_melee 1
custom_mg_gren 1

custom_bazooka_primary 7
custom_bazooka_secondary 3
custom_bazooka_melee 1
custom_bazooka_gren 1

// Only for use with mortar plugin (available at dodplugins.net)
custom_mortar_primary 7
custom_mortar_secondary 3
custom_mortar_melee 1
custom_mortar_gren 0

// British Allies
custom_britrifleman_primary 10
custom_britrifleman_secondary 10
custom_britrifleman_melee 1
custom_britrifleman_gren 1

custom_britsgt_primary 10
custom_britsgt_secondary 10
custom_britsgt_melee 1
custom_britsgt_gren 1

custom_marksman_primary 7
custom_marksman_secondary 3
custom_marksman_melee 1
custom_marksman_gren 1

custom_gunner_primary 4
custom_gunner_secondary 4
custom_gunner_melee 1
custom_gunner_gren 1

custom_piat_primary 7
custom_piat_secondary 3
custom_piat_melee 1
custom_piat_gren 1

// Only for use with mortar plugin (available at dodplugins.net)
custom_britmortar_primary 7
custom_britmortar_secondary 3
custom_britmortar_melee 1
custom_britmortar_gren 0

// Axis
custom_grenadier_primary 10
custom_grenadier_secondary 10
custom_grenadier_melee 1
custom_grenadier_gren 1

custom_stross_primary 10
custom_stross_secondary 10
custom_stross_melee 1
custom_stross_gren 1

custom_unter_primary 10
custom_unter_secondary 10
custom_unter_melee 1
custom_unter_gren 1

custom_sturm_primary 10
custom_sturm_secondary 10
custom_sturm_melee 1
custom_sturm_gren 2

custom_scharfs_primary 7
custom_scharfs_secondary 3
custom_scharfs_melee 1
custom_scharfs_gren 1

custom_fg42_primary 4
custom_fg42_secondary 4
custom_fg42_melee 1
custom_fg42_gren 1

custom_fg42s_primary 4
custom_fg42s_secondary 4
custom_fg42s_melee 1
custom_fg42s_gren 1

custom_mg34_primary 3
custom_mg34_secondary 3
custom_mg34_melee 1
custom_mg34_gren 1

custom_mg42_primary 3
custom_mg42_secondary 3
custom_mg42_melee 1
custom_mg42_gren 1

custom_panzer_primary 7
custom_panzer_secondary 3
custom_panzer_melee 1
custom_panzer_gren 1

// Only for use with mortar plugin (available at dodplugins.net)
custom_germortar_primary 7
custom_germortar_secondary 3
custom_germortar_melee 1
custom_germortar_gren 0

END..


This would give those classes one extra grenade am i correct ?.
Very nice plugin BTW, :) But then again all your plugins rock.

jondoe
10-01-2007, 05:09 AM
So am i correct in assuming that what i posted above gives those classes extra grenades. Because i haven't added any smoke grenades.
But when the allies toss a nade, It's still an axis stick grenade.

Wilson [29th ID]
10-01-2007, 05:35 AM
Yeah it would. But are you using the version in the original post or the version on page 2 (or 3, I forget which) ?

You should use the one on page 2 or 3. It's better.

jondoe
10-01-2007, 10:23 PM
;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) ?

You should use the one on page 2 or 3. It's better.

Ok thanks wilson, I'll try those versons and post back about how it worked out.

jondoe
11-04-2007, 08:31 PM
This plugin will work on a per map basis correct ?.

All 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]
11-04-2007, 09:08 PM
So long as you are using this (http://www.dodplugins.net/forums/showthread.php?t=8), that should work fine.

jondoe
11-04-2007, 11:11 PM
;8003']So long as you are using this (http://www.dodplugins.net/forums/showthread.php?t=8), that should work fine.

I 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.

I 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.

Here are the cvars i'm using for this plugin in my amxx.cfg

//DOD CUSTOM SUPPLY CVARS

dod_customsupply 1
dod_customsupply_allies 1
dod_customsupply_axis 1

// US Allies
custom_rifleman_primary 10
custom_rifleman_secondary 10
custom_rifleman_melee 1
custom_rifleman_gren 2

custom_ssgt_primary 10
custom_ssgt_secondary 10
custom_ssgt_melee 1
custom_ssgt_gren 1

custom_msgt_primary 10
custom_msgt_secondary 10
custom_msgt_melee 1
custom_msgt_gren 1

custom_sgt_primary 10
custom_sgt_secondary 10
custom_sgt_melee 1
custom_sgt_gren 1

custom_sniper_primary 10
custom_sniper_secondary 10
custom_sniper_melee 1
custom_sniper_gren 1

custom_support_primary 10
custom_support_secondary 10
custom_support_melee 1
custom_support_gren 1

custom_mg_primary 3
custom_mg_secondary 3
custom_mg_melee 1
custom_mg_gren 1

custom_bazooka_primary 7
custom_bazooka_secondary 10
custom_bazooka_melee 1
custom_bazooka_gren 1

// Only for use with mortar plugin (available at dodplugins.net)
//custom_mortar_primary 7
//custom_mortar_secondary 3
//custom_mortar_melee 1
//custom_mortar_gren 0

// British Allies
custom_britrifleman_primary 10
custom_britrifleman_secondary 10
custom_britrifleman_melee 1
custom_britrifleman_gren 2

custom_britsgt_primary 10
custom_britsgt_secondary 10
custom_britsgt_melee 1
custom_britsgt_gren 1

custom_marksman_primary 10
custom_marksman_secondary 10
custom_marksman_melee 1
custom_marksman_gren 1

custom_gunner_primary 5
custom_gunner_secondary 10
custom_gunner_melee 1
custom_gunner_gren 1

custom_piat_primary 7
custom_piat_secondary 10
custom_piat_melee 1
custom_piat_gren 1

// Only for use with mortar plugin (available at dodplugins.net)
//custom_britmortar_primary 7
//custom_britmortar_secondary 3
//custom_britmortar_melee 1
//custom_britmortar_gren 0

// Axis
custom_grenadier_primary 10
custom_grenadier_secondary 10
custom_grenadier_melee 1
custom_grenadier_gren 2

custom_stross_primary 10
custom_stross_secondary 10
custom_stross_melee 1
custom_stross_gren 1

custom_unter_primary 10
custom_unter_secondary 10
custom_unter_melee 1
custom_unter_gren 1

custom_sturm_primary 10
custom_sturm_secondary 10
custom_sturm_melee 1
custom_sturm_gren 1

custom_scharfs_primary 7
custom_scharfs_secondary 10
custom_scharfs_melee 1
custom_scharfs_gren 1

custom_fg42_primary 6
custom_fg42_secondary 10
custom_fg42_melee 1
custom_fg42_gren 1

custom_fg42s_primary 6
custom_fg42s_secondary 10
custom_fg42s_melee 1
custom_fg42s_gren 1

custom_mg34_primary 3
custom_mg34_secondary 10
custom_mg34_melee 1
custom_mg34_gren 1

custom_mg42_primary 3
custom_mg42_secondary 10
custom_mg42_melee 1
custom_mg42_gren 1

custom_panzer_primary 7
custom_panzer_secondary 10
custom_panzer_melee 1
custom_panzer_gren 1

// Only for use with mortar plugin (available at dodplugins.net)
//custom_germortar_primary 7
//custom_germortar_secondary 3
//custom_germortar_melee 1
//custom_germortar_gren 0


As you can see i am giving players nades and extra clips but their not recieving them.


Here is the list of custom plugins i have running to see if you think something is conflicting with your plugin.


[ 19] Connect Announce 0.2 v3x connect_announc running
[ 20] DoD TeamManager 1.4 AMXX DoD Team dod_teammanager running
[ 21] Secret Spectate 1.0 29th ID dod_secretspect running
[ 22] Auto Message Displayer 1.0 GHW_Chronic GHW_Chat_Text.a running
[ 23] Aim Bot Detector 0.1d Amxmodx DoD Comm amx_aimbotdetec running
[ 24] Loading Sound 1.0 Amxx User loadingsound.am running
[ 25] DoD Gore Custom 1.7 AMXX DoD Team dod_gore_custom running
[ 26] DoD Melee Bonus 0.6beta AMXX DoD Team dod_meleebonus. running
[ 27] Exec 1.0 ToXiC amx_exec.amxx running
[ 28] DoD Say Ratio 0.2 AMXX DoD Team dod_say_ratio.a running
[ 29] admin alltalk 0.1 GORT admin_alltalk.a running
[ 30] DoD AFK Kicker 0.9.4 Fractal dod_anti_afk.am running
[ 31] DoD EvilAdmin 0.5beta AMXX DoD Team dod_eviladmin.a running

[ 33] Simple Slots 2.1 DynAstY simpleslots.amx running
[ 34] DoD MG Extra Recoil 1.3 AMXX DoD Team dod_mg_extrarec running
[ 35] Who's Spectating Me 1.0 diamond-optic amx_whospecme.a running
[ 36] CVAR Guard 1.0 29th ID amx_cvarguard.a running
[ 37] Zoom Info 0.1 VEN zoom_info.amxx running
[ 38] Server Rules 1.1 FullThrottle server_rules.am running
[ 39] DoD Shell Shock 1.4 AMXX DoD Team & dod_shellshock. running
[ 40] DoD Force Tracers 0.7 AMXX DoD Team dod_forcetracer running
[ 41] Weapons Mod 2.0 2.0 TooLz WeaponsMod2.amx running
[ 42] DoD Reset at 255 0.4 AMXX DoD Plugins dod_xkills.amxx running
[ 43] Shrikebot Admin 0.9 Orbit amx_shrikebot.a running
[ 44] ShrikeBot_classlimit_s 1.1 Vet(3TT3V) shrikebot_cls_n running
[ 45] DoD BotJoinScore 1.3 AMXX DoD Team dod_botjoinscor running
[ 46] Easy Custom Votes 0.3 JTP10181 amx_customvotes running
[ 47] MOTM Hud Display 1.0 <Evil>deadBeat & amx_motm.amxx running
[ 48] DoD Unlimited Pistol A 1.0 AMXX DoD Communi dod_unlimited_p running
[ 49] DoD Stronger Rifles 1.0 AMXX DoD Team dod_stronger_ri running
[ 50] DoD Tracers 0.2 AMXX DoD Team dod_tracers.amx running
[ 51] FUSION Spec-Fix 1.0 Gray Death specbugfix.amxx running
[ 52] DeagsMapManage 2.10i Deags mapmanager.amxx running
[ 53] Dod Custom Supply 1.0 29th ID dod_customsuppl running
53 plugins, 53 running


[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]
11-05-2007, 05:10 AM
Try using the version on page two or three - it's more stable.

jondoe
11-07-2007, 07:42 AM
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.
I have tried both of them with the same result.

I'm just trying to use this plugin to completely remove grenades from certain maps. Is there another way to do that ?.

dannyowan
02-17-2008, 10:33 PM
this plugin doesn't work to remove grenade..
anyone can help me?

Wilson [29th ID]
02-18-2008, 04:45 PM
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.

dannyowan
02-19-2008, 12:29 AM
Wilson

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

jondoe
03-06-2008, 08:27 AM
Have you stopped development on this plugin Wilson ?
currently using the one page two in the zip file.

Did you test this on linux ?

The supply menu isn't working.
The mp40 only gets one clip still.
The thompson only gets one clip
The mp44 gets only two clips.
The axis sniper gets 42 clips
the kar98 gets 36 clips but once you fire a full clip it goes to ten, Which is what i have it set too.

I know theres a few bug on the allies side as well.

Its 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]
03-06-2008, 10:25 AM
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....

dannyowan
12-08-2008, 10:31 AM
it's bad to hear wilson stopped development on this plugin..
it's a nice plugin......
but just has some bugs about clip problem