Earthquake

{:links-list}

INSTALLATION

  1. Open the downloaded ZIP product file and drop the folder in it somewhere in your resources folder.
  2. Add your product key (get it here) to the settings.ini file
  3. Add start BigDaddy-Earthquake to your server.cfg.

DO NOT RENAME THE FOLDER.

If you change the name of the folder it will not function correctly so leave the name as it is.

{:is-danger}

CONFIGURATION

settings.ini

SETTING DEFAULT DESCRIPTION
[licensing]
key1 none This is where you put your product key
[settings]
AcePermission command the permission required for using any of the earthquake commands and tools
PlayerStumbleChance 0.1 The % chance players will stumble during an earthquake. This is rolled throughout the quake so the chance to stumble happens multiple times
PlayerStumbleTime 1500 How many milliseconds the stumble affects the player
PlayerStumbleRecoveryTime 2000 The number of milliseconds it takes the player to recover from a stumble and fall
PedStumbleChance 0.1 The % chance peds will stumble during an earthquake. This is rolled throughout the quake so the chance to stumble happens multiple times
PedStumbleTime 1500 How many milliseconds the stumble affects the ped
PedStumbleRecoveryTime 2000 The number of milliseconds it takes the ped to recover from a stumble and fall
debug false only turn this on if asked by support staff

config.json

Contains the settings for generating random earthquakes and the ability to not have random quakes. Edit this via the in-game tool /eqadmin

it is recommended to use the in-game editor for ease and to avoid formatting errors.

COMMANDS

/earthquake opens earthquake tool

/eqadmin opens the config editor

/stopearthquake if there is an earthquake happening, this will stop it

EARTHQUAKE TOOL

There are two values to enter to start an earthquake: - Force: values 1 - 10 and represents the "Richter scale" for earthquakes. 1 is the smallest quake with less shaking and moving. 10 is the largest with massive shaking and movement. - Length: values 10 - 300 and is how many seconds the quake will last.

Set those and press start and the quake will immediately begin.

EARTHQUAKE CONFIG TOOL

This is to allow admins (behind the permission set in the settings.ini) to change the automatic earthquake config. If you do not want random quakes, set it to false. If you want them to happen from time to time set it to true.

  • Use Ramdom Scheduler: Setting this to true will schedule earthquakes randomly based on the next four settings. Setting it to false disables scheduling and the next values don't matter anymore and will not be used for anything.
  • Min Time Between/Max Time Between: This determines the minimum and maximum number of minutes between earthquakes. The time will randomly be generated between each quake from these values.
  • Min Duration/Max Duration: The duration of the earthquake will be generated from these values for each random quake.
  • The force and intensity of the quakes will be random for each earthquake.

NOTE:

If the earthquake is going to be a large one (6 or above on the scale) then there will be a 5 second tremor before the big quake starts. This is just a warning since death and damage is imminent in a larger quake.

{:is-info}