Co op and single player in same map without rename?
Quote from TheAlexby on May 20, 2011, 5:07 pmI noticed there is a map that have both Co op and single player, and it loads fine with both, even without having to rename the map? It does not start with mp_coop_ so i'm confused how it loads in Co op, but it does. Any ideas?
I noticed there is a map that have both Co op and single player, and it loads fine with both, even without having to rename the map? It does not start with mp_coop_ so i'm confused how it loads in Co op, but it does. Any ideas?
Quote from msleeper on May 20, 2011, 5:09 pmWhat map? Why don't you ask the map author?
What map? Why don't you ask the map author?
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.
Quote from TheAlexby on May 20, 2011, 6:24 pmhttp://forums.thinking.withportals.com/downloads.php?view=detail&df_id=363
The Playground map, and thanks for the advice, i did ask
http://forums.thinking.withportals.com/downloads.php?view=detail&df_id=363
The Playground map, and thanks for the advice, i did ask ![]()
Quote from NocturnalGhost on May 20, 2011, 6:46 pmIsn't it just a case of having an info_player_start for sp, and a pair of info_coop_spawn for mp? I don't think the actual map name matters, other than to make it easier to know the map's intended use.
Isn't it just a case of having an info_player_start for sp, and a pair of info_coop_spawn for mp? I don't think the actual map name matters, other than to make it easier to know the map's intended use.
Quote from TheAlexby on May 20, 2011, 6:50 pmNocturnalGhost wrote:Isn't it just a case of having an info_player_start for sp, and a pair of info_coop_spawn for mp? I don't think the actual map name matters, other than to make it easier to know the map's intended use.Actually, the name does matter. If you try to launch a map that starts with mp_coop_ in single player, it will say Your partner has disconnected, or something like that. If you launch a map that does not start with mp_coop_ in Co op, it will not work most of the time, however, if you change the name of a map that is ment for Co op (For an example mp_coop_lobby_2) and remove mp_coop_, it loads in singleplayer... I'm very confused..
Actually, the name does matter. If you try to launch a map that starts with mp_coop_ in single player, it will say Your partner has disconnected, or something like that. If you launch a map that does not start with mp_coop_ in Co op, it will not work most of the time, however, if you change the name of a map that is ment for Co op (For an example mp_coop_lobby_2) and remove mp_coop_, it loads in singleplayer... I'm very confused..
Quote from NocturnalGhost on May 20, 2011, 7:29 pmYep, it seems you are right, the name does matter. Ignore my post, I haven't actually made any coop maps yet, just looked at the decompiled ones.
Yep, it seems you are right, the name does matter. Ignore my post, I haven't actually made any coop maps yet, just looked at the decompiled ones.
Quote from NocturnalGhost on May 20, 2011, 7:37 pmI just looked at the map you were referring to, and although it doesn't have the mp_coop_ name, it does instruct you to launch coop first, then use the changelevel command when both players are in the hub. I'd imagine that this same technique would work with any map that has coop spawn points, regardless of the name, since coop is already initiated.
I could be wrong, but it's something you could test for, if you haven't already.
I just looked at the map you were referring to, and although it doesn't have the mp_coop_ name, it does instruct you to launch coop first, then use the changelevel command when both players are in the hub. I'd imagine that this same technique would work with any map that has coop spawn points, regardless of the name, since coop is already initiated.
I could be wrong, but it's something you could test for, if you haven't already.
Quote from TheAlexby on May 21, 2011, 4:53 amThank you for your advice! The only thing i tried was ss_map (mapname) which launches Coop on your computer, splitscreen, but maybe going to hub first might solve it
i'm not at home right now but i will try it later.
Thank you for your advice! The only thing i tried was ss_map (mapname) which launches Coop on your computer, splitscreen, but maybe going to hub first might solve it
i'm not at home right now but i will try it later.

