Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

ServerMod 3.4.1

Compare
Choose a tag to compare
@laserman367 laserman367 released this 24 May 20:48
· 202 commits to master since this release
f76bea9

Target Game Version: 8.0.1 (Revision III)

Plugins using PlayerThrowGrenadeEvent will have to be rebuilt!

Game

Added configs

  • Added config float 096_trigger_range, defaults to 20. This determines how far away a player can be from 096 while still charging up his rage meter.
  • Added config float scp173_max_looking_distance, defaults to 250. This determines from how far away you can be considered to be looking at 173.
  • Added config int list always_spawn_079_after, defaults to an empty list. The game will check all entries in this list to see if there's currently that many SCPs spawned, and if so it will force the current SCP spawn to be 079. This is meant to be a replacement for always_spawn_079 as it serves the same purpose but is more versatile.
  • Added config bool always_spawn_after_exclude_079, defaults to false. Based on this, the current 079 count will be subtracted from the current SCP count when used for always_spawn_079_after checks. (For example, if you force 079 after 1 and 2 scps, without this setting off, you'll get a random scp, then 079 then another 079. With it enabled, you'll get a random SCP, then 079, then a random SCP (could be 079), then another 079 (if the previous wasn't a random 079)
  • Added config bool enable_broadcast_logging, defaults to true. Disabling this will prevent the [BROADCAST FROM SERVER] messages from being logged in the server console. Personal Broadcasts will still be logged. This changes nothing for the messages in client consoles.

Added damage multiplier float configs

  • scp106_damage_multiplier, defaults to 0.1. This multiplies the damage of a shot anywhere on SCP-106.
  • player_headshot_damage_multiplier, defaults to 4. This multiplies the amount of damage done by a headshot on a human player.
  • player_legshot_damage_multiplier, defaults to 0.5. This multiplies the amount of damage done by a leg shot on a human player.
    All these values are the default values used by the vanilla game.

Added CASSIE configs

  • Added a bunch of bool configs to give the option to not play C.A.S.S.I.E. announcements from the game. All of these default to true. They are the following:
    cassie_generator_announcements
    cassie_respawn_announcements
    cassie_scp_death_announcements
    cassie_scp_tesla_announcements
    cassie_scp_warhead_announcements
    cassie_scp_decont_announcements
    cassie_079_overcharge_announcements
    cassie_079_containment_announcements

General changes

  • Fixed scp173_blackout_light_check

API

Changed API Elements

  • Added two warhead properties to SmodMap:
    bool WarheadLeverEnabled { get; set; } - Returns true if the lever in the HCZ warhead room is enabled
    bool WarheadKeycardEntered { get; set; } - Returns true if the keycard has been entered in the surface nuke room to allow nuke detonation

New Events

Added ScpDeathAnnouncementEvent (EnvironmentEvent)

This is a rather simple event which has a ShouldPlay bool which determines if it'll play (uses the cassie_scp_death_announcements config), a Player object (which could be null, so check for it) and the player's class. The purpose is to turn off/on ShouldPlay and potentially play a different SCP's containment announcement or even a custom announcement.

Added Scp096PanicEvent (PlayerEvent)

Fired when SCP-096 goes into panic mode (this is the animation that plays when his rage mode is about to start)

Added Scp096Enrage (PlayerEvent)

Fired when SCP-096 goes into rage mode

Added Scp096CooldownStart (PlayerEvent)

Fired when SCP-096 begins his cooldown after rage mode

Added Scp096CooldownEnd (PlayerEvent)

Fired when SCP-096 ends his cooldown

Changed Events

  • Changed PlayerThrowGrenadeEvent to use GrenadeType rather than ItemType.

General changes

  • Changed GetConfigList function to trim by default. This should mean no further issues if players added spaces after a comma in lists.
  • Fixed Warhead API not working