Page 1 of 1

Applying Co-Op rules to Skirmish maps

Posted: 2014-04-22 18:10
by Rymosrac
How difficult would it be to apply Co-Op rules to skirmish maps, for use with small player counts at a LAN party?
I don't actually want to have bots on the map.
My initial thought is to just use the skirmish gameplay objects file, put it in the co-op folder and run it that way. Are there any problems with that approach? And would the change need to be made on clients, or just the server?

Re: Applying Co-Op rules to Skirmish maps

Posted: 2014-04-22 19:18
by Mats391
I assume you are mostly after the kit amounts, request requirements, spawn times etc. and not after the bot vehicles?
If thats the case it is really simple: Just go to python/game/realityconfig_coop and copy everything in there to the realityconfig_local. You can also make your own rule sets if you like.

Re: Applying Co-Op rules to Skirmish maps

Posted: 2014-04-22 19:23
by Rymosrac
... Wow, can't believe I didn't think of that. Thanks!

Update: Minor thing, but enabling KIT_RALLY_REQUEST is failing to allow people to request kits at rally points. Any idea why?

Re: Applying Co-Op rules to Skirmish maps

Posted: 2014-04-30 13:46
by Brisk187
I was fooling around with the python files, but there's one thing about the co-op rules that have me puzzled. Where exactly is it dictated that FOBs and emplacements are automatically built, in that you don't need to shovel them up?

Re: Applying Co-Op rules to Skirmish maps

Posted: 2014-04-30 14:40
by Mats391
You have to look for the templates the ones with "_sp" at the end are the instant build ones. For example for FOBs:

Code: Select all

C['OUTPOST_TEMPLATES'] = { 
	'us':  ['deployable_firebase_sp'],
	'usa': ['deployable_firebase_sp'],
	'cf':  ['deployable_firebase_sp'],
	'gb':  ['deployable_firebase_sp'], 
	'ger': ['deployable_firebase_sp'], 
	'ch':  ['deployable_firebase_sp'], 
	'mec': ['deployable_firebase_sp'],
	'ru':  ['deployable_firebase_sp'],
	'idf': ['deployable_firebase_sp'],
	'arf':         ['deployable_insurgent_hideout_sp'],
	'fsa':         ['deployable_insurgent_hideout_sp'],
	'chinsurgent': ['deployable_firebase_sp'],
	'hamas':       ['deployable_insurgent_hideout_sp'],
	'taliban':     ['deployable_insurgent_hideout_sp'],
	'meinsurgent': ['deployable_insurgent_hideout_sp'],
	'vnusa':       ['deployable_firebase_sp'],
	'vnusmc':      ['deployable_firebase_sp'],
	'vnnva':       ['deployable_firebase_sp'],
	'gb82':  ['deployable_firebase_sp'], 
	'arg82':  ['deployable_firebase_sp'],
	'fr': ['deployable_firebase_sp']
}
The others are 'ANTIAIR_TEMPLATES', 'HMG_TEMPLATES', 'TOW_TEMPLATES', 'MORTAR_TEMPLATES', 'FOXHOLE_TEMPLATES', 'RAZORWIRES_TEMPLATES', 'SANDBAGS_TEMPLATES'.
Dont worry about the "_dummy" stuff just leave those as they are.

Re: Applying Co-Op rules to Skirmish maps

Posted: 2014-04-30 16:01
by Brisk187
Interesting. Thanks a lot.