Raised This Month: $ Target: $400
 0% 

Repeating switch through game types(Classic, CSDM, another mod) after mapcycle ends


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Identity
Member
Join Date: Mar 2007
Old 03-05-2007 , 03:13   Repeating switch through game types(Classic, CSDM, another mod) after mapcycle ends
Reply With Quote #1

mapcycle:
cs_assault
de_aztec
de_dust
de_dust2
>>> When mapcycle ends -> Switch to next game type
>>> When gametypes ends -> start from first gametype.

game types:
:START
1. Classic
2. CSDM
3. another mod
...
goto :START


Easy and stupid variant to do this:
:START
cs_assault
de_aztec
de_dust
de_dust2
enable CSDM for all maps below using maps/mapname.cfg
cs_assault2 (just renamed original cs_assault)
de_aztec2 (just renamed original de_aztec)
de_dust2 (just renamed original de_dust)
de_dust22 (just renamed original de_dust2)
enable Another mod for all maps below using maps/mapname.cfg
cs_assault3 (just renamed original cs_assault)
de_aztec3 (just renamed original de_aztec)
de_dust3 (just renamed original de_dust)
de_dust23 (just renamed original de_dust2)
goto :START

In this case, clients will have to download copy of maps because i want to use different conditions for same maps and maps/mapsname.cfg not supposed to use so.

How to make it nice?

Last edited by Identity; 03-06-2007 at 05:37.
Identity is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 03-05-2007 , 03:21   Re: Repeating switch through game types(Classic, CSDM, another mod) after mapcycle en
Reply With Quote #2

Your method may not work because of one reason - CSDM reads everytime at map start its csdm.cfg so if there is enabled = 0 - it will not be activated except Your cs_assault (because You enabled it for that map and only for that map). I'll try to think a bit of it later to find something for You, but I think You may need to write a separate plugin which will change the mapname.cfg files for You.
__________________
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
Identity
Member
Join Date: Mar 2007
Old 03-06-2007 , 05:37   Re: Repeating switch through game types(Classic, CSDM, another mod) after mapcycle en
Reply With Quote #3

updated 1st post.
Identity is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 03-06-2007 , 06:53   Re: Repeating switch through game types(Classic, CSDM, another mod) after mapcycle en
Reply With Quote #4

I think You can ask in Scripting Help of AMX X forum how to write the plugin changing the mode of Your CS (normal, CSDM, another mod..). I think there might be the only way to change by plugin the files mapname.cfg according to the mapcycle (amx_nextmap) state.
I haven't had time to think more about this, but Your question is not related to CSDM2, but to the whole AMX X work, so You should ask there (link above).
__________________
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
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:15.


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