Enabling Teamplay?

Need Help? The Day isnt going so well on the Mapping front?
Post Reply
ConTron
prop_static
prop_static
Posts: 73
Joined: Fri May 15, 2009 10:50 pm
Location: Jersey

Enabling Teamplay?

Post by ConTron »

Hi,

I cant seem to find on how to do this and i've spent atleast 4 hours trying to find out. So,

How do you enable teams and/or teamplay in an Obsidian Conflict map?

Thanks very much
fug4life
Beta Tester
Beta Tester
Posts: 4093
Joined: Mon Dec 11, 2006 10:35 am

Post by fug4life »

You have two choices.

1).
If you are building the map in hammer yourself then go to 'view' and then 'map' or 'map properties'
(Where you get to set your sky_box names etc).
Some where near the bottom of the list should be the 'Enable Team Play' option.

Note: Ignore the game play mode as classic co-op is only one listed. but if you enable the team play it'll be fine.


2). The second one below is using a mapname_cfg.txt (script)
fug4life wrote:Not sure if it qualifies as a tutorial though its handy for people to know.

mapname_cfg.txt's allow you to change game cvars/commands for the individual map and unless specified will overide exsisting cvars/commands.

Save to your maps\cfg folder as mapname_cfg.txt (mapname being the name of the map no.bsp exstension required just the name)

How to add Team (vs) gameplay:

Code: Select all

"mapname" 
{ 
mp_teamoverride "1"
mp_teamplay "1"  
mp_autoteambalance "1"
}

How to add lives gameplay:

Code: Select all

"mapname" 
{ 
mp_livesoverride "1" 
mp_numlives "5" //Five being the number of lives for each player
}

Some other useful cvars/commands (Note: you can look through the ingame console to find whats available) mainly mp_,sv_ and sk_ commands are all useful.

Code: Select all

mp_friendlyfire "1"
mp_falldamage "0"
mp_flashlight "1" 
mp_footsteps "1" 
mp_timelimit "0:00" //Very useful for maps with no endings
"sv_allowgaussjump" "1"

'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.

fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
ConTron
prop_static
prop_static
Posts: 73
Joined: Fri May 15, 2009 10:50 pm
Location: Jersey

Post by ConTron »

Thanks man.
shiftey
npc_combinegunship
npc_combinegunship
Posts: 705
Joined: Thu Oct 09, 2008 4:45 pm
Contact:

Post by shiftey »

What is command for enable foreplay?
User avatar
RocketRunner
npc_combine_elite
npc_combine_elite
Posts: 467
Joined: Thu Apr 23, 2009 5:19 am
Location: Phoenix, AZ

Post by RocketRunner »

shiftey wrote:What is command for enable foreplay?
:lolcry:
I usually run from rockets.
Pretty straightforward.
fug4life
Beta Tester
Beta Tester
Posts: 4093
Joined: Mon Dec 11, 2006 10:35 am

Post by fug4life »

:ohdamn:
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.

fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
Post Reply