Game Modes
Deathmatch
Shooter modes use Game mode rather than Game device, so health, damage, respawns and teams are built in.
- Pick the mode. BP_VRItemMarker → Game mode → Deathmatch (FFA) or Team Deathmatch (TFFA). Sliders for score to win, player health, damage per hit (“N hits to kill”). One per map.
- Respawn points. Match role → Respawn point (Red/Blue for teams). Game picks the spawn farthest from everyone else.
- Scoreboard. Match role → Scoreboard.
- Guns. Item → Rifle Pad, Pistol Pad or SMG Pad. A gun from a pad costs the player a little gold (pistol 5, SMG 10, rifle 15); picking the same gun up again within a minute is free, and bots get theirs for nothing.
- Health and shield pickups (optional). Item → Health Pickup or Shield Pickup on a marker, or put a Target Point where you want one and give it the tag
VRItem.HealthPickup(a heart) orVRItem.ShieldPickup(a shield). It finds the floor under the marker by itself, so a marker a little above the ground is fine. A heart gives 50 health. A shield gives 50 shield, up to 100, and the shield takes hits before health does. A heart comes back 20 seconds after it is taken, a shield after 30. They work in free for all and team matches, and bots go for them too, a heart first when they are hurt. The two items are in the Item list since Creator Kit 0.4.31, under Match; with an older kit use the tags. - Match area (optional). For a map that also has a place to hang out, draw a Trigger Box around the part where the match is played and set Match role → Match area (arena box). Inside it the guns work. A gun carried out of it dissolves, and shots stop at its walls. The box stays in the level, unseen. A map that is all match does not need one. The Match area choice is in the kit since Creator Kit 0.4.31; with an older kit select the Trigger Box and add the tag
VRGame.Arenaunder Actor, Tags.
New in 0.3.3, the next update: the pistol, the rifle and the new SMG hit where you aim the moment you pull the trigger, in every match map, with or without a match area. Health and shield pickups work in every match, and a host on their own can add up to 9 bots in Settings, Host; in a team match the bots fill both teams.
| Setting | Default |
|---|---|
| Player health | 100 HP |
| Damage per hit | 20 → five hits to down |
| Score to win (FFA) | 20 kills |
| Score to win (TDM) | 30 team kills |
- Get hit: screen flashes red, health drops
- Respawn: instant, safest spawn, spawn protection
- Teams: auto-balanced, no friendly fire
- Leaving: quitter drops off the board; in TDM the other side is credited