[Portal 2] HOWTO: Test Co-Op maps alone
The following gets you started:
ss_map mapname: Load mapname in splitscreen mode.
ss_splitmode 0: Side-by-side split
ss_splitmode 1: Top-and-bottom split
If you run dual monitors and want to split to each monitor, follow the guide here: http://forums.steampowered.com/forums/s ... ?t=1857198
Controlling the second player:
There are a number of ways you can do this:
1. Use in_forceuser
This lets you "take over" the second player. It is flagged as a cheat, however, so cheats need to be enabled.
sv_cheats 1: Turn on cheats
in_forceuser 1: Control second player
in_forceuser 0: Control first player
I suggest a keybind for this:
BindToggle "z" in_forceuser
Swaps you between first and second player.
2. Use a controller
This is actually more complicated than it sounds, unless you have two controllers. There doesn't seem to be a way in Steam to bind actions on the first controller to actions for the second player.
More information for this can be found here: http://forums.steampowered.com/forums/s ... ?t=1847904
3. Use change_portalgun_linkage
This lets you create multiple sets of portals as one player, so isn't truly playing two players.
It's not yet tested to see if portals that are in the set you aren't currently linked to survive going through a fizzler.
I recommend the first option -- it's the easiest to set up, and doesn't require you to jump back and forth between mouse+keyboard and controller.
Of course, if you really are testing with two people, the second option is probably your best bet.
Since that prolly wont do shit, try decompiling the map, i noticed most maps have these dedicated boxes with entitys for mp, im sure you could fiddle with those. to achieve support for both sp and mp (and i guess you will need them for proper functioning coop anyway)
Thanks for the info
Aaand done! With some minor edits.
http://developer.valvesoftware.com/wiki ... Maps_Alone
added to http://developer.valvesoftware.com/wiki ... vel_Design
it always sets the maxplayers to 1.
however if I use ss_map mp_coop_lobby2 then use changelevel to enter my map it works.
I tried this with not only the map that I made but also with someone elses map and both gave the same results.
In the process of rechecking all of my entities and I can not find anything wrong I will just keep rechecking I suppose.
I followed this tutorial: http://wiki.p2mods.com/index.php?title=Co-Op_Spawn_room
Everything looks to be exactly as it should be. I have double checked and triple and... lots of checking has occured. No idea what I am doing wrong, obviously something.
I got this error when i tried:
Valve_Reject_Server_Full
Quote:
I got this error when i tried:Valve_Reject_Server_Full
the name of the map must be like this: "mp_coop_name"
same happens if you try to load sp maps in coop