Manual Respawning

From EVERYWHERE wiki
Jump to navigation Jump to search

Description

The Manual Spawning Template stamp expands on the Game Flow Template stamp which contains the logic setup of a basic game flow through “Pregame”, “Game”, and “Postgame” states.

The Manual Spawning Template stamp is a basic example for how to handle spawning in a basic game flow when the Spawn System setting is set to “Manual”.

What The Stamp Does

The stamp handles the transition between game states, with each state containing the typical setup used for that state, featuring the Pregame Screen, Game Timer, and Postgame Screen. There are timer length variables that can be adjusted and a spawn point that can be placed anywhere in the ARC.

The stamp also handles manual spawning, spawning the player at one point during the Pregame state, then spawning them again at another point during the Game state.

Rules of output

Pregame State

The “Pregame” state allows time for players to join before the game starts. In this stamp, players are not allowed to move or fire their weapons while in the Pregame state. The game flow enters the “Pregame” state immediately when the ARC is loaded. In this state, players will see the Pregame Screen, which allows them to ready up while they wait for players to join. The Pregame screen is shown for a duration, which can be edited using the Pregame Timer Duration variable. Once all players in the game ready up or the Pregame timer expires, then the game state transitions to the “Game” state, the pregame screen disappears, and players can now move and fire their weapons.

Game State

The “Game” state is where the actual gameplay occurs. In this stamp, players have no restrictions on their actions while the “Game” state is active. A game timer is started when we first transition to this state which can be edited using the Game Timer Duration variable. The main timer is shown at the top of the screen, and once complete, transitions to the “Postgame” state.

Postgame State

The “Postgame” state is where players vote for the next ARC they want to play. When transitioning to this state, the Postgame screen is shown for a duration which can be edited using the Postgame Timer Duration variable. The Postgame screen allows players to vote which ARC will be played next. The votes of all players in the game will be considered when deciding which ARC to play next. Once all players have voted or the postgame timer runs out, all players travel to the selected ARC.

Player Spawning

Since the Spawn System has been set to “Manual”, spawning and respawning needs to be handled using nodes. This stamp has a basic setup to spawn/respawn a player at a spawn point whenever they are killed or whenever they join the game.

There are 2 types of player spawn points:

  • Pregame: Players spawn here during the Pregame state
  • Game: Players spawn here during the Game state

Instructions for use

Setup

  • Set ARC Type to Game or Game with a Lobby
  • Set Spawn System to Manual
  • Customize stamp variable default values (optional)

Requirements

  • There are sample spawn points that can be placed anywhere
  • Place as many Player Spawn Points as needed for each gameplay state with the appropriate attributes (the stamp contains examples of spawn points for Pregame and Game states)
  • There are 2 types: Pregame and Game
    • Players spawn at Pregame spawn points during the pregame state
    • Players spawn at Game spawn points during the game state

Once these setup steps have been completed, the Manual Spawning Template stamp will be ready to go.

Variables

Changeable Setting Option Description
Pregame Timer Duration 0-1000 (Default 45) The duration (in seconds) that pregame state and the pregame screen will be active for.
Game Timer Duration 0-1000 (Default 60) The duration (in seconds) of the game state.
Postgame Timer Duration 0-1000 (Default 45) The duration (in seconds) that postgame state and the postgame screen will be active for.