BrainBread 2
Shizuru 24 Aug, 2016 @ 1:40am
[SOLVED] Unable to make the map play multiple rounds in Arena gamemode.
As the title said it, I am cannot make my map play multiple rounds, it just ends after the first round and clean-up stage.

This is my setup:
I have made the map run two rounds, once the required amount of zombies has been killed the cleaning stage begins. Once the remaining zombies have been killed, the cleaning stage ends, logic_entity_monitor ends both checknpcs_obj and manager afterwards. The first round ends, but before the second one can commence, the game ends.

Detailed setup
  1. game_manager: manager
    Plays 2 rounds with 1 try.
    Output:
    • OnRound1 > round1 > Start
    • OnRound2 > round2 > Start

  2. logic_objective: round1
    Index: 0
    No timing
    Team: Humans
    Shouldn't fail
    Objective: "Kill %s1 zombies!"
    No icons
    Entity to kill: npc_walker
    Kills needed: 4
    No scaling
    Maximum kills needed: 4
    Minimum kills needed: 1
    Outputs:
    • OnEnd > volume1 > StopSpawn
    • OnEnd > checknpcs_obj > Start
    • OnEnd > volume1 > Kill > Delayed 0.05s
    • OnStart > volume1 > ForceSpawn

  3. logic_objective: round2
    Index: 1
    No timing
    Team: Humans
    Shouldn't fail
    Objective: "Kill %s1 zombies!"
    No icons
    Entity to kill: npc_walker
    Kills needed: 8
    No scaling
    Maximum kills needed: 8
    Minimum kills needed: 5
    Outputs:
    • OnEnd > volume1 > StopSpawn
    • OnEnd > checknpcs_obj > Start
    • OnEnd > volume1 > Kill > Delayed 0.05s
    • OnStart > volume1 > ForceSpawn

  4. logic_objective: checknpcs_obj
    Index: 2
    No timing
    Team: Humans
    Shouldn't fail
    Objective: "Kill the remaining zombies!"
    No icons
    Entity to kill: npc_walker
    Kills needed: 0
    No scaling
    Rest of the info is 0
    Outputs:
    • OnStart > checknpcs > StartMonitoring

  5. logic_entity_monitor: checknpcs
    Entity Classname: npc_*
    Outputs:
    • OnFinished > checknpcs_obj > End
    • OnFinished > manager > EndRound > Parameter: 0 > Delayed 0.20s
    • OnNotFound > checknpcs_obj > End
    • OnNotFound > manager > EndRound > Parameter: 0 > Delayed 0.20s
    Flags:
    • Exclude Military NPCS
    • Only check Players and NPCS
Last edited by Shizuru; 24 Aug, 2016 @ 3:24am
< >
Showing 1-1 of 1 comments
Shizuru 24 Aug, 2016 @ 3:20am 
Problem solved
I had everything working fine, I had forgotten that the game ends for a few seconds to show the ranking screen and then changes to the following round.
Last edited by Shizuru; 24 Aug, 2016 @ 3:20am
< >
Showing 1-1 of 1 comments
Per page: 1530 50