MaskedReplacePlayer

v1.0.1·Updated 2024-01-11

Masked Will Replace Player Randomly

About this mod Machine translation

Introduction

This module has two functions. The first is to make masked enemies look more difficult to distinguish from the player. The second is to randomly replace teammates directly with masked enemies or generate an identical enemy near the player.

More realistic masked enemies

Masked enemies now display the player name

Refer to MaskedEnemyOverhaul to remove the masked enemy's arm raise and mask.

Spawn masked enemies

It is refreshed every 60 seconds, and the refresh probability is configured in the parameter Replace player rate per min.

By default, the following events will be triggered randomly during refresh:

  • Teleport a player to a random location (teleport near the spaceship if outdoors), and spawn an identical masked enemy at his current location.
  • Spawn an identical masked enemy near a player

Parameter list

Replace player rate per min --The probability of triggering a replacement event every minute

Rate change per min --The probability of the spacecraft increasing per minute after landing

Can zombie replace player outside -- Whether the player outside will be selected to trigger the replacement event

Replace player type --The type of trigger event 0-Spawn a masked enemy near the player 1-Teleport the player and spawn an enemy at the same location 2-The above two are random

Remove zombie mask -- Whether to remove the enemy mask

Remove zombie arms -- Whether to remove the enemy's hand-raising action

Masked show player name -- whether to display the player name 0-not displayed 1-normally displayed 2-permanently displayed

English Introduction(translated by ChatGPT)

This mod features two functions. The first makes masked enemies look more indistinguishable from players, and the second randomly replaces teammates with masked enemies or spawns an identical enemy near the player.

More Realistic Masked Enemies

Masked enemies now display player names. Following the MaskedEnemyOverhaul, the characteristic arm-raising and masks of masked enemies have been removed.

Generating Masked Enemies

Refreshes every 60 seconds, with the probability configured in the "Replace player rate per min" parameter. By default, the refresh randomly triggers one of the following events:

Teleport a player to a random location (near the spaceship if outdoors) and generate an identical masked enemy at their original position.

Spawn an identical masked enemy near a player.

Parameter List

Replace player rate per min -- Probability per minute of triggering a replacement event.

Rate change per min -- Probability increase per minute after the spaceship lands.

Can zombie replace player outside -- Whether players outdoors can be selected for the replacement event.

Replace player type -- Type of event triggered: 0 - Spawn masked enemy near a player, 1 - Teleport player and spawn enemy at the same location, 2 - Randomly choose between the two.

Remove zombie mask -- Whether to remove the enemy's mask.

Remove zombie arms -- Whether to remove the enemy's arm-raising action.

Masked show player name -- Whether to display player names: 0 - Do not show, 1 - Show normally, 2 - Show permanently.

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
MaskedReplacePlayer-1.0.1.zip
File size
121.2 KiB