Please or Register to create posts and topics.

Co op and single player in same map without rename?

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?

What map? Why don't you ask the map author?

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
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.

http://forums.thinking.withportals.com/downloads.php?view=detail&df_id=363

The Playground map, and thanks for the advice, i did ask :)

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.

NocturnalGhost 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..

Be careful with paradoxes! You know what happens.

Image

the hills are alive... with the sound of music

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.

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.

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.