67
« on: Saturday, January 25, 2014, 19:22:01 PM »
So, typing 'mutate mapvote' by itself might give:
AA3_Airfield,AA3_Alley,AA3_Bridge,AA3_Impact,AA3_Pipeline
AA3_Ranch,Border,Bridge,Bridge_SE,Dusk,FLS,HQ_Raid
Insurgent_Camp,JRTC_Farm,Mountain_Ambush,Mountain_Pass,
Mountain_Pass_SE,MOUT_McKenna,MP_Aztec,MP_Berg,MP_Breakout
MP_Bridge_Construction,MP_Bunker_Crisis,MP_Canyon,
MP_City_Block,MP_District,MP_ESLDusk,MP_Glass_Kill_House
MP_Ice,MP_Interdiction,MP_Monkey_Island,MP_PBall,MP_Petrol
MP_Pipeline,MP_Pool_Day,MP_Residence,MP_RiverVillage,
MP_Rooftop,MP_SF_Contingency,MP_SF_Floodgate
MP_SF_Office_Assault,MP_SF_OldTown,MP_SF_Refinery,
SFoasis,Pipeline,Pipeline_SF,Radio_Tower,River_Basin
SFarctic,SFblizzard,SFCourtyard,SFcsar,SFDockside
SFextraction,SFhospital,SFPCR,SFrecon
Since futures maps being added would add to the length of this list, it would scoll past the end of
what the user might see in the long console. Another possibility is to have: 'mutate mapvote [map or category]'
So, if the mod doesn't match the map name, it then looks thru an array of categories and offers a list based on that category.
'mutate mapvote'
Response:
Categories: AA3,285,mAAP,
'mutate mapvote AA3'
Response:
AA3_Airfield,AA3_Alley,AA3_Bridge,AA3_Impact,AA3_Pipeline
AA3_Ranch
'mutate mapvote AA3_Airfield'
Response:
Shad voted mapvote AA3_Airfield
The 285 category is large though. If you wanted to make the categories conform the the 'Mission' categories from the tours.ini, you could break it down smaller. But because those categories have spaces in the names and we couldn't expect anyone to get it right, you might have to have a scheme like:
'mutate mapvote'
Response:
'mutate mapvote 1' lists mAAP CIty maps
'mutate mapvote 2' lists 172nd Sep. Infantry BDE maps
'mutate mapvote 2'
Response:
Border,Bridge,Bridge_SE,Mountain_Pass,Mountain_Pass_SE
Pipeline,Urban_Assault
URLs might be difficult since you can't click on links, you have to remember the whole url and alt-tab out of the game to get the list, then remember the exact mapname and switch back into the game