Raised This Month: $51 Target: $400
 12% 

DoD OneWeaponMod


Post New Thread Reply   
 
Thread Tools Display Modes
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 03-21-2005 , 12:58  
Reply With Quote #11

EDITED

here is a list of weapon ID numbers for this plugin:

1 = amer knife
2 = german knife
3 = colt
4 = luger
5 = garand
6 = scoped kar
7 = thompson
8 = mp44
9 = springfield
10 = kar
11 = bar
12 = mp40
13 = handgrenade
14 = stickgrenade
15 = wrong weapon id (that's what it said when I input that number)
16 = wrong weapon id (ditto)
17 = mg42
18 = .30 cal
19 = spade
20 = M1 carbine
21 = mg34
22 = greasegun
23 = fg42
24 = k43
25 = enfield
26 = sten
27 = bren
28 = webley
29 = bazooka
30 = pschreck
31 = piat
pendragon is offline
Send a message via ICQ to pendragon
SidLuke
Senior Member
Join Date: Mar 2004
Location: Poland, Chrzanow
Old 03-21-2005 , 17:19  
Reply With Quote #12

all weapons should have unlimited ammo so should I check something ?
__________________
Looking for DoD plugins ? Check DoD Plugins Center
SidLuke is offline
Send a message via AIM to SidLuke Send a message via MSN to SidLuke
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 03-21-2005 , 20:09  
Reply With Quote #13

oh no sid - im sorry. I did a copy/paste from my forum pages to here. forgot about the unlimited ammo thing. The point of my post was just for Weapon ID number reference sake only.

@ All - yes he's right - all weapons should be unlimmited ammo. Sorry for the confusion
__________________
pendragon is offline
Send a message via ICQ to pendragon
[415]StoNeD
Senior Member
Join Date: Mar 2004
Old 03-22-2005 , 07:05  
Reply With Quote #14

Unlimted means.. nade spam.
[415]StoNeD is offline
[SAS]==Colster==
Junior Member
Join Date: Dec 2004
Old 03-25-2005 , 09:52  
Reply With Quote #15

If I wanted to make a menu for admins to use in game so they could select the weapon they wanted from a list, how would I do this.

Never managed to work out the custommenu.cfg thingy
[SAS]==Colster== is offline
Send a message via MSN to [SAS]==Colster==
SidLuke
Senior Member
Join Date: Mar 2004
Location: Poland, Chrzanow
Old 03-25-2005 , 10:20  
Reply With Quote #16

Funny [SAS]==Colster==, I was on your server yesterday and had a very nice game on marijuana! map
Ok , I think I should add a menu but now you can use configs menu. You just need to create a config for weapon you want.
Example:
in dod directory create garand_only.cfg and add there :
Quote:
amx_oneweapon 0
amx_setoneweapon 5
amx_oneweapon 1
now open configs.ini file ( amxmodx\configs ) and add there :
Quote:
"Garand Only" "exec garand_only.cfg;servercfgfile \'\'" "a" "u"
so garand only mode should be available from configs menu (amxmodmenu second page -> configs menu , or just type amx_cfgmenu in console )
__________________
Looking for DoD plugins ? Check DoD Plugins Center
SidLuke is offline
Send a message via AIM to SidLuke Send a message via MSN to SidLuke
[SAS]==Colster==
Junior Member
Join Date: Dec 2004
Old 03-25-2005 , 10:39  
Reply With Quote #17

Hehe, thought that was you..

Can u change weapon mid map from one thing to another, I tried it earlier but it kept going back to bazooka when i set amx_oneweapon to 1
[SAS]==Colster== is offline
Send a message via MSN to [SAS]==Colster==
SidLuke
Senior Member
Join Date: Mar 2004
Location: Poland, Chrzanow
Old 03-25-2005 , 11:11  
Reply With Quote #18

because you must also change this : amx_setoneweapon 5
where number is weapon id. Weapon id's are in pentdragon's reply or look at dodconst.inc ( you must count from 1 ). You must disable OWM first ( amx_oneweapon 0 ) to do this.
__________________
Looking for DoD plugins ? Check DoD Plugins Center
SidLuke is offline
Send a message via AIM to SidLuke Send a message via MSN to SidLuke
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 03-25-2005 , 12:23  
Reply With Quote #19

to better clarify....

Lets look at this example:

I want to start a Colt only round:
  • amx_setoneweapon 3
    amx_oneweapon 1
and mid Colt Only round I want to start a Spade only round, i must first turn off the original Colt only round, before I can start the Spade only round:
  • amx_oneweapon 0
    amx_setoneweapon 19
    amx_oneweapon 1

Hope that helps.

@Sid, I was actually thinking about asking you that... any possibility on having a menu system for this anytime soon?
__________________
pendragon is offline
Send a message via ICQ to pendragon
SidLuke
Senior Member
Join Date: Mar 2004
Location: Poland, Chrzanow
Old 03-25-2005 , 13:13  
Reply With Quote #20

I will try to add menu next week.
__________________
Looking for DoD plugins ? Check DoD Plugins Center
SidLuke is offline
Send a message via AIM to SidLuke Send a message via MSN to SidLuke
Reply



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 22:27.


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