Coop: custom ending
Quote from Parano.Oya on October 31, 2015, 2:58 pmGood evenening, I have a question. I am working on my new map and I don't want to use the default coop end room, I would like to use a custom made end room. Based on a single player map, I might need these entities:
- env_fade
- point_clientcommand
- a trigger (trigger_playerteam)
- math_counter (fires, if value is 2): env_fade -> fade, point_clientcommand -> Command -> DisconnectSo, what would you think? Are these all entities which are in use?
Good evenening, I have a question. I am working on my new map and I don't want to use the default coop end room, I would like to use a custom made end room. Based on a single player map, I might need these entities:
- - env_fade
- point_clientcommand
- a trigger (trigger_playerteam)
- math_counter (fires, if value is 2): env_fade -> fade, point_clientcommand -> Command -> Disconnect
So, what would you think? Are these all entities which are in use?
Quote from Gemarakup on October 31, 2015, 4:04 pmBad idea to use the "point_clientcommand". You don't want the two players to disconnect even though the map is finished. If it's a workshop map, you should trigger the @relay_pti_end, and if it's a playtest, make them go back to the hub.
Bad idea to use the "point_clientcommand". You don't want the two players to disconnect even though the map is finished. If it's a workshop map, you should trigger the @relay_pti_end, and if it's a playtest, make them go back to the hub.
Quote from Parano.Oya on November 1, 2015, 5:22 amWell, I also would use the logic_relay "@pti_level_end" after exiting the map. <-- Is it possible to fire the relay after exiting the map? Example:
math_counter (value = 2):
- env_fade -> fade
- point_clientcommand -> Command -> Disconnect
- @pti_level_end -> TriggerIf I shouldn't use the entity "point_clientcommand", which equality entity should to be used? Otherwise, does the given logic_relay also quit the map after triggering? I do not know. I looked into one of the default coop end rooms, which have too much of these entities, without trigger and other stuff.
If it's possible, I also don't want to go back to the hub after finishing the map.
Well, I also would use the logic_relay "@pti_level_end" after exiting the map. <-- Is it possible to fire the relay after exiting the map? Example:
math_counter (value = 2):
- - env_fade -> fade
- point_clientcommand -> Command -> Disconnect
- @pti_level_end -> Trigger
If I shouldn't use the entity "point_clientcommand", which equality entity should to be used? Otherwise, does the given logic_relay also quit the map after triggering? I do not know. I looked into one of the default coop end rooms, which have too much of these entities, without trigger and other stuff.
If it's possible, I also don't want to go back to the hub after finishing the map.
Quote from DaMaGepy on November 2, 2015, 6:50 amThe voting trigger also ends the map. Same happens in singleplayer, but in singleplayer you may also want to use a disconnect 1 sec after the voting trigger, so if the map was run from console and not as a workshop map, the map can end (running from console with map command the oldschool way, the workshop voting trigger does nothing so needs disconnect, but if played from workshop, the voting automatically ends the map). In coop, the normal voting (pti_level_end) should be enough.
The voting trigger also ends the map. Same happens in singleplayer, but in singleplayer you may also want to use a disconnect 1 sec after the voting trigger, so if the map was run from console and not as a workshop map, the map can end (running from console with map command the oldschool way, the workshop voting trigger does nothing so needs disconnect, but if played from workshop, the voting automatically ends the map). In coop, the normal voting (pti_level_end) should be enough.