zokHalsen / sourcemod-ultimate-mapchooser

Automatically exported from code.google.com/p/sourcemod-ultimate-mapchooser
0 stars 0 forks source link

State-machine implementation of umc_mapcycle.txt #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This will allow for multiple settings in the UMC-Mapcycle. The file will be 
read sequentially, when a new setting is found react appropriately.

Ex: 

"default_*" -- update the current default setting, affecting all following map 
definitions

"command" -- Add another command to a list of commands to be executed

etc.

Original issue reported on code.google.com by Steell1...@gmail.com on 3 Mar 2012 at 5:50

GoogleCodeExporter commented 8 years ago
Temporarily Accepted
------

Problems with doing this:
Right now, modules know their own settings, and core has no idea of what these 
are. For this to work, each module would have to sequentially parse the KV each 
time it is queried for weighting/exclusion. This is quite inefficient.

Original comment by Steell1...@gmail.com on 4 Mar 2012 at 6:08