Raised This Month: $188 Target: $400
 47% 

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 11-08-2006 , 10:54   Re: Restrict weapons for certain maps
Reply With Quote #21

I'll try to compile it against AMX X 1.76b (I believe You are using that version) when I'll be at home later (after few hours). But You can compile it Your-self - just put that sma I posted into amxmodx/scripting folder (after uznipping). Make sure in Your amxmodx/scripting/include there is a file called csdm.inc (it exists in csdm2.1 release pack). If everything is in the correct place, just go back to the amxmodx\scripting folder and hit (by "Enter" key) the file called compile.exe...
Then in the folder scripting/compiled You should see some compiled files - also csdm_main.amxx - copy it to amxmodx/plugins folder (overwrite the old one).
__________________
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 Beta V3B23 (rel. 19 april 2016!!!) is available here.
KWo is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 11-08-2006 , 13:55   Re: Restrict weapons for certain maps
Reply With Quote #22

OK - here You have the compiled file csdm_main.amxx (zipped). Please try it and let me know if it works for You. Don't forget restart the server.

[EDIT]Use whole the beta instead.[/EDIT]
__________________
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 Beta V3B23 (rel. 19 april 2016!!!) is available here.

Last edited by KWo; 10-07-2007 at 10:25.
KWo is offline
HelllBoy
Member
Join Date: Aug 2006
Location: Romania
Old 11-10-2006 , 02:55   Re: Restrict weapons for certain maps
Reply With Quote #23

i belive it works i tested for 2 maps

you are good man ty

now i must ask somting my server is for 30 slots but few maps are to liltle for 30 people and make lag

can i set sv_maxplayers 20 or 30 for certain maps ?
HelllBoy is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 11-10-2006 , 13:47   Re: Restrict weapons for certain maps
Reply With Quote #24

If I remember good - You cannot change the cvar mp_maxplayers in-game. But You should ask about that rather at AMX X Offtopic forum.

Back to Your map specyfic weapons configurations - if You got finally working that what I was elaborating for You last few days - You can try to go one step ahead. For now when You are playing cs_india with awp only, You can see stupid equip menus with all items unavailable with available awp only (on the second or third page) instead to see only 1 page wth available awp only. Do You now what I mean? You can remove all unwanted items from the menu. To do this You can try to edit Your items_awp_india.cfg so:
Quote:
Originally Posted by items_awp_india.cfg
[secondary]

[primary]
awp AWP 1
I mean - edit only these 2 parts - for secondary and for primary weapons - the first one is empty, the second is awp only - so You have now in Your gun menu awp only as the only available weapon (instead 3 pages ith useless unavailable weapons). Don' need to write all these lines with 0 at the end. Let me know if You like it so when You get it working.
__________________
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 Beta V3B23 (rel. 19 april 2016!!!) is available here.
KWo is offline
pulpy
Senior Member
Join Date: Oct 2005
Location: Brights Grove, ON
Old 11-12-2006 , 19:36   Re: Restrict weapons for certain maps
Reply With Quote #25

KWO, i did the per map csdm reload thing, it works, thx great work!
__________________
pulpy is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 01-28-2007 , 21:25   Re: Restrict weapons for certain maps
Reply With Quote #26

This way seems to work "visually". I will try yours just above KWo. But my issue is I have all the configs setup for disabeling the 2 Auto snipers and awp. THey are greyed out of the guns menu, but you can still get them by hitting the button they represent... Pissin me off, so ill try your main up above and see eh

I find that is takes the menu away completely, I diddnt read enought I guess. But I still have that issue.
__________________

Last edited by bmann_420; 01-28-2007 at 21:37.
bmann_420 is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 01-29-2007 , 00:39   Re: Restrict weapons for certain maps
Reply With Quote #27

I tried Bail's and KWo's and with Bail's stock one no menu shows up... And KWo's the menu shows up but the weapons that are restricted are "greyed out" but able to be bought.
__________________
bmann_420 is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 01-29-2007 , 03:00   Re: Restrict weapons for certain maps
Reply With Quote #28

Try the version csdm_equip 2.1g posted here with the pack 2.1f (replace only csdm_equip in that beta) and let me know if it works. I don't have time to figure it out what is the problem with these grayed up but available menus. More than likely there is some bug in the new menu system (with callback functions), but I don't have time to work on it right now. Before that I don't want to bother Bailopan. Temporary I did some workaround for that.
__________________
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 Beta V3B23 (rel. 19 april 2016!!!) is available here.
KWo is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 01-29-2007 , 03:20   Re: Restrict weapons for certain maps
Reply With Quote #29

Thank you, I will try it.
__________________
bmann_420 is offline
Aje
Junior Member
Join Date: Mar 2008
Old 03-05-2008 , 16:09   Re: Restrict weapons for certain maps
Reply With Quote #30

Im interested in doing this... But the posts confuse me... its say many different ways and theres 2 files to download by KWo.

Im unsure which is working and which is the common method... I checked the current file for weapons and its not in the layout given above...

Someone please help me. Thanks
__________________
Please visit my server to have fun!
Aje is offline
Send a message via MSN to Aje
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 05:56.


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