David Anderson
63cb644232
deprecated LoadMaps() and its usage in three plugins
...
renamed basefun* to fun*
removed map file list cvars
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401895
2008-02-22 21:01:08 +00:00
Michael McKoy
363c7821e5
File saved wrong? Fixed...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401868
2008-01-27 16:04:36 +00:00
Michael McKoy
a0a916de6e
MapChooser extensions simplied. "maxtime/maxround/maxfrag" cvars removed. sm_mapvote_extend now controls the number of extensions that will occur. If set to 0, no extensions occur. If set to 1, then 1, and set to 2, then 2. The "step" cvars are still used to determine how big the extension is.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401867
2008-01-26 19:54:15 +00:00
Michael McKoy
5849a0d2e2
The current map played shouldn't appear in MapChooser votes or RTV votes now. It can still be nominated in RTV though.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401725
2007-11-24 03:28:33 +00:00
Michael McKoy
3d4d583182
Fixed the counting of team wins and rounds played in MapChooser
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401704
2007-11-19 23:11:10 +00:00
Michael McKoy
daaf961c07
New adt_array functions: CloneArray, FindStringInArray, FindCellInArray
...
Adjusted mapchooser/randomcycle/rockthevote and LoadMaps stock to use new array functions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401670
2007-11-09 23:46:05 +00:00
Michael McKoy
60af5442d4
Fixed handle leak in mapchooser and rtv
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401648
2007-10-25 03:29:55 +00:00
Michael McKoy
bd58aa930b
Added new stock to helpers.inc: LoadMaps()
...
Adjusted all plugins that use LoadMaps()
Nextmap no longer worries about mapcyclefile until the map changes
RTV/MC/RC use OnConfigsExecuted() instead of OnMapStart() now
RTV/MC/RC will no longer "permanently" exclude the current map being played when the map file is loaded.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401612
2007-10-18 01:16:42 +00:00
Michael McKoy
69ee0e01b1
Fixed an incorrect variable name
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401545
2007-10-13 19:41:25 +00:00
Michael McKoy
3fb88f9178
Removed nondeterministic loop in mapchooser.sp
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401539
2007-10-08 21:55:20 +00:00
Michael McKoy
2173773f35
-Fixed MapChooser translating the last map in a vote without extend to "Extend Map"
...
-Added convar sm_mapvote_novote to MapChooser. Default is 1. Set to 0 and MapChooser will not set the map when no one votes
-Added convar sm_mapvote_extend. Default is 1, set to 0 and Extend option will not appear, even if the other extend cvars would allow it.
-MapChooser now sets sm_nextmap to "Vote Pending" when the map starts. (Note: If using RandomCycle as well, it will be changed to RandomCycle's choice.)
-Nextmap changed to reset sm_nextmap if it is invalid at end of map intermission
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401537
2007-10-05 22:38:22 +00:00
Michael McKoy
de496cc583
Fixed GetArraySize problem in mapchooser
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401536
2007-10-05 00:12:14 +00:00
Michael McKoy
a15f245e5c
Crash loop in Mapchooser fixed.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401535
2007-10-03 23:51:34 +00:00
Michael McKoy
f4f5083ef2
Minor adjustments in mapchooser, no bugs fixed...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401534
2007-10-02 22:42:38 +00:00
Michael McKoy
f8e2a09b39
Log messages added to MapChooser to help debug issues with repeated or early votes.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401523
2007-10-02 00:23:14 +00:00
Michael McKoy
cb3b2a9ab6
Fixed MapChooser using sm_mapvote_start as seconds instead of minutes
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401512
2007-09-30 21:26:45 +00:00
Michael McKoy
beafe4411a
Small fraglimit fix
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401489
2007-09-26 04:03:22 +00:00
Michael McKoy
3c9a2414df
ExtendTimelimit works off seconds, so we should too.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401488
2007-09-26 02:48:22 +00:00
Michael McKoy
17b7f4c68d
MapChooser "final"
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401485
2007-09-26 02:39:27 +00:00
Michael McKoy
7df54ec38d
"say timeleft" changed to use new Core timeleft functionality.
...
Minor fix to mapchooser, in case no maps were loaded to the list
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401473
2007-09-23 20:33:22 +00:00
Michael McKoy
c49555b174
Removed a debug log message
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401460
2007-09-22 18:02:42 +00:00
Michael McKoy
dd076961bf
Fixed most of mapchooser.sp. May have issues with mp_winlimit on DoD. Timelimits may not function 100% in cstrike (Depends on something else, sorry)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401458
2007-09-22 17:44:18 +00:00
Michael McKoy
b59e16ff97
Stupid semicolon
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401452
2007-09-21 02:30:01 +00:00
Michael McKoy
ea0678cf3c
Some minor changes to mapchooser, plus added the translation file.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401451
2007-09-20 23:54:17 +00:00
Michael McKoy
d5998d6622
Initial import of mapchooser.sp. Untested, not in builds yet, awaiting a change to core
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401446
2007-09-19 00:24:53 +00:00