Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Customise the gamemode

VictorienXP edited this page Oct 10, 2020 · 1 revision

Hello! If you read this, it's mean you have a dedicated server or just want to customise things in the gamemode!

ConVars

  • fnafgm_deathscreendelay: The death screen delay. (Time of the jumpscare)
  • fnafgm_deathscreenduration: The death screen duration.
  • fnafgm_autorespawn: Auto respawn after the death screen.
  • fnafgm_allowflashlight: Enables/Disables the player's flashlight. (Bypassable)
  • fnafgm_respawnenabled: Enable/Disable the respawn. (Bypassable)
  • fnafgm_deathscreenfade: Enable/Disable the death screen fade.
  • fnafgm_deathscreenoverlay: Enable/Disable the death screen overlay.
  • fnafgm_ragdollinstantremove: Instant remove dead bodies.
  • fnafgm_ragdolloverride: Change the dead bodies.
  • fnafgm_autocleanupmap: Auto clean up when the server is empty.
  • fnafgm_preventdoorkill: Prevent doors from killing players.
  • fnafgm_timethink_endlesstime: The time will be endless.
  • fnafgm_timethink_infinitenights: The nights will be endless.
  • fnafgm_forceseasonalevent: 2 for April Fool. 3 for Halloween. 4 for Christmas.
  • fnafgm_killextsrplayers: Stay in the security room otherwise you risk getting caught by the animatronics.
  • fnafgm_playermodel: Override the player model. You can set multiple playermodels separated with |. Example: fnafgm_playermodel "barney|male10"
  • fnafgm_playerskin: Override the skin to use, if the model has any.
  • fnafgm_playerbodygroups: Override the bodygroups to use, if the model has any.
  • fnafgm_playercolor: The value is a Vector - so between 0-1 - not between 0-255.
  • fnafgm_respawndelay: The time before respawn. (After the death screen)
  • fnafgm_enablebypass: Enable admins and customs groups bypass functionalities.
  • fnafgm_timethink_autostart: Auto start the night, so the players don't have to press the button.
  • fnafgm_timethink_autostartdelay: Auto start delay.
  • fnafgm_disablemapsmonitors: If the gamemode should disable the map's monitors.
  • fnafgm_disablepower: Disable the power.
  • fnafgm_forcesavingloading: Force save and load for dedicated servers.
  • fnafgm_enablecreatorsbypass: Allows the gamemode's creator to use all the bypass functionalities.
  • fnafgm_enabledevmode: Development mode. Enable logs.
  • fnafgm_sgvsa: Enable SGvsA.
  • fnafgm_autorestartmap: Auto restart the map when it's been active for too long.
  • fnafgm_sandbox_enable: Enable Sandbox. This will change the behavior of a lot of stuff in the gamemode.
  • fnafgm_sandbox_load_spawn_menu: Always load the Sandbox spawn menu.
  • fnafgm_smart_power_management: Smart power management will shut off lights on various occasions.

Bypass system

Enable bypass system with fnafgm_enablebypass 1 (Server admins have all bypass that listed below).

There is some bypass you can set by groups... How? Go here (create folders) garrysmod\data\fnafgm\groups\ and create a txt file named with the name of the group you want to set bypasses...

Bypass list

  • flashlight: Can use the flashlight.
  • run: Can run.
  • jump: Can jump.
  • spray: Can spray.
  • fastrespawn: Can skip death screen and respawn delay.
  • canrespawn: Can respawn if respawn disabled.
  • debug: Can perform a fnafgm_debug_info and others debug functions.
  • noclip: Can noclip.
  • nokillextsr: Being outside the security room won't affect the player.
  • friendlyfire: Can damage their own team (This is mostly used if you give yourself weapons).
  • act: Can use act (/taunt command).
  • tab: Can use the Monitor when outside of the security room.
  • spectator: Can enter spectator mode when normally not allowed.
  • playermodel: Can use the cl_playermodel cvar.

To set bypass in the txt file you need to select what you want separated with | like this example:

flashlight|run|jump|spray|fastrespawn|canrespawn|debug|noclip|nokillextsr|friendlyfire|act|tab|spectator|playermodel
Clone this wiki locally