Raised This Month: $138 Target: $400
 34% 

Restrict weapons for certain maps


Post New Thread Reply   
 
Thread Tools Display Modes
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 03-06-2008 , 15:06   Re: Restrict weapons for certain maps
Reply With Quote #31

Just use my beta and Your per map config things and it should be OK...
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
Aje
Junior Member
Join Date: Mar 2008
Old 03-06-2008 , 21:26   Re: Restrict weapons for certain maps
Reply With Quote #32

Quote:
Originally Posted by KWo View Post
Just use my beta and Your per map config things and it should be OK...
ok kool... Do i need to do anything elese other than installing ur version?

I want to play cs_deagle5 with deagles only

Cheers
__________________
Please visit my server to have fun!
Aje is offline
Send a message via MSN to Aje
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 03-07-2008 , 02:35   Re: Restrict weapons for certain maps
Reply With Quote #33

Yes - after isntalling You just need to read a bit the config files and also this topic here - about per map config things.
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
Aje
Junior Member
Join Date: Mar 2008
Old 03-07-2008 , 20:12   Re: Restrict weapons for certain maps
Reply With Quote #34

Quote:
Originally Posted by KWo View Post
Yes - after isntalling You just need to read a bit the config files and also this topic here - about per map config things.
Wouldn't it work if i add the per map config file with the Official CSDM V2.1?

I have put in this file
C:\Counter-Strike\cstrike\addons\amxmodx\configs\maps

Code:
;;;;;;;;;;;;;;;;
;;WEAPON MENUS;;
;;;;;;;;;;;;;;;;

;Format for weapon menus is:
;shortname "Display Name" menupage
;Change the '1' to a '0' to block the weapon
;Removing or moving things 
;  from the list will change the order of the menus!

[secondary]
usp USP 0
glock18 Glock 0
deagle Deagle 1
p228 P228 0
elite Elite 0
fiveseven "Five Seven" 0

[primary]
m4a1 M4A1 0
ak47 AK47 0
aug AUG 0
sg552 SG552 0
galil Galil 0
famas Famas 0
scout Scout 0
awp AWP 0
sg550 SG550 0
m249 M249 0
g3sg1 G3SG1 0
ump45 "UMP 45" 0
mp5navy "MP5 Navy" 0
m3 M3 0
xm1014 XM1014 0
tmp TMP 0
mac10 "Mac 10" 0
p90 P90 0

mp_freezetime 0
mp_timelimit 0
Could you also help me with sv_downloadurl Please?

Thanks

Link: http://forums.alliedmods.net/showthread.php?t=67825
__________________
Please visit my server to have fun!

Last edited by Aje; 03-07-2008 at 20:17.
Aje is offline
Send a message via MSN to Aje
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 03-08-2008 , 15:54   Re: Restrict weapons for certain maps
Reply With Quote #35

Quote:
Originally Posted by Aje View Post
Wouldn't it work if i add the per map config file with the Official CSDM V2.1?

I have put in this file
C:\Counter-Strike\cstrike\addons\amxmodx\configs\maps
You need to have there the file called cs_deagle5.cfg with these lines:
Code:
csdm_reload "csdm\extraconfigs\items_cs_deagle5.cfg"
mp_freezetime 0
mp_timelimit 0
As You can see these cvars should be here, and the map specyfic configuration You have posted (except these 2 last lines they are already above) should be stored in the file items_cs_deagle5.cfg placed in csdm\extraconfigs folder (this what You have posted with all pistols greyed out except deagle and primary weapon grayed out).
There is also a better solution - instead have all grayed items in the menu You don't need to have them at all except deagle. All You need is this:
Code:
[secondary]
deagle Deagle 1

[primary]

[equip]
menus = s
Instead asking if it works with original 2.1 (You should use 2.1.1 if You are using AMX X 1.8.0) just try if it works - it will take You less time than waiting for my reply. It should, but with 2.1 version was a problem with too short path possible for extraconfig files (fixed a bit, but not finally in 2.1.1). In my version it works.
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
Aje
Junior Member
Join Date: Mar 2008
Old 03-08-2008 , 19:43   Re: Restrict weapons for certain maps
Reply With Quote #36

will that disable the CSDM weapon choose?

Cos maps like cs_deagle5 provide deagle.. and i dont want others to buy anything elese... Similar with awp maps
__________________
Please visit my server to have fun!
Aje is offline
Send a message via MSN to Aje
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 03-09-2008 , 05:55   Re: Restrict weapons for certain maps
Reply With Quote #37

Quote:
Originally Posted by Aje View Post
will that disable the CSDM weapon choose?

Cos maps like cs_deagle5 provide deagle.. and i dont want others to buy anything elese... Similar with awp maps
Yes, it is supposed to do exactly that. The only thing You will be able to see in Equip menu will be the deagle. I don't know if You are leting the people to use nades or helmet and kevlar on cs_deagle5 map, but if not - You can also disable them this way,having these lines in items_cs_deagle5.cfg:
Code:
autoitems = 
grenades =
Just try to change those settings to see what they have the influence for what, then You will be able understand better what I'm trying to explain You. You just need to do more tests.
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
Old 09-02-2008, 15:22
pqrs352
This message has been deleted by BAILOPAN. Reason: spam
Darknightcze2
Junior Member
Join Date: Oct 2008
Location: Czech Republic! - Middle
Old 10-03-2008 , 06:03   Re: Restrict weapons for certain maps
Reply With Quote #38

I have problem.
Restrict weapon per map working.
But when i connect fast(select team) after change map.
Show me original default weapon menu with all guns. (here i can choose primary weapon without problems.)
After show in chat "[CSDM] Config file reloaded" (config with etc. only dgl) AMXX late load map config.
When user connect late. He have menu with only deagle.

Code:
configs/maps/cs_deagle5.cfg 
csdm_reload "csdm\extraconfigs\csdm-dgl.cfg"


configs/csdm/extraconfigs/csdm-dgl.cfg 
[secondary]
;usp USP 1
;glock18 Glock 1
deagle Deagle 1
;p228 P228 1
;elite Elite 1
;fiveseven "Five Seven" 1

[primary]
m4a1 M4A1 0
;ak47 AK47 1
;aug AUG 1
;sg552 SG552 1
;galil Galil 1
;famas Famas 1
;scout Scout 1
;awp AWP 1
;sg550 SG550 1
;m249 M249 1
;g3sg1 G3SG1 1
;ump45 "UMP 45" 1
;mp5navy "MP5 Navy" 1
;m3 M3 1
;xm1014 XM1014 1
;tmp TMP 1
;mac10 "Mac 10" 1
;p90 P90 1
[equip]

;Equip Menu flags: 
menus = sa
AMXX-modules
Code:
11:01:26 Currently loaded modules:
         name                    version     author               status     
         MySQL                   1.8.1.3746  AMX Mod X Dev Team   running    
         Fun                     1.8.1.3746  AMX Mod X Dev Team   running    
         Engine                  1.8.1.3746  AMX Mod X Dev Team   running    
         FakeMeta                1.8.1.3746  AMX Mod X Dev Team   running    
         CStrike                 1.8.1.3746  AMX Mod X Dev Team   running    
         CSX                     1.8.1.3746  AMX Mod X Dev Team   running    
         Ham Sandwich            1.8.1.3746  AMX Mod X Dev Team   running    
         GeoIP                   1.8.1.3746  AMX Mod X Dev Team   running    
         CSDM2                   2.1.1       CSDM Team            running    
         9 modules

Last edited by Darknightcze2; 10-03-2008 at 06:07.
Darknightcze2 is offline
Send a message via ICQ to Darknightcze2
Teambash
Junior Member
Join Date: Sep 2009
Old 10-18-2009 , 11:10   Re: Restrict weapons for certain maps
Reply With Quote #39

i need help.

I search a plugin who the terrorist no weapon glock have for jail mod can zou help me

the weapon glock and usp have all person a tt an ct can a block the weapon and beginn in the new round all knife no usp and glock pls help meee


sorry my englisch is very bad
Teambash is offline
Send a message via MSN to Teambash
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 01-28-2010 , 12:33   Re: Restrict weapons for certain maps
Reply With Quote #40

Lol, if you have a HLDS, just go to configs and then theres a map in which you can restrict weapons on certain maps. Even I (which is one of the greatest noobs in the universe of coding) did it
The Art of War is offline
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 01:06.


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