Apocalypse Roulette

{: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-ApocalypseRoulette 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 Value Description
[licensing]
key1 none this is your product key
[settings]
ShowDisabledBetChoices false if true, the bet menu will have ALL the inventory allowed but the ones the player doesn't have will be grayed out. If false then it will only show the options the player actually has

config.json

This file is where the wheel is setup.

{
  "cooldownSeconds": 7200,  //how long before the same player can spin again
  "syncDistance": 50.0,     //how far away other players see the spinning (performance tweak)
  "spinMinMs": 12000,       //the shortest time the wheel will spin
  "spinMaxMs": 18000,       //the longest time the wheel will spin

// each item has a name (must match inventory name), label (what shows in the bet menu), min (the minimum bet allowed) max (the maximum bet allowed)

  "allowedItems": {
    "prop_chips_a": { "label": "SuperSalt Chips", "min": 1, "max": 10 },
    "prop_chips_b": { "label": "Salt & Sauce Chips", "min": 1, "max": 10 },

    "ammo-9": { "label": "9mm Rounds", "min": 5, "max": 100 },
    "ammo-rifle": { "label": "Rifle ammo", "min": 5, "max": 100 },
    "ammo-shotgun": { "label": "Shotgun shells", "min": 5, "max": 50 },
    "ammo-sniper": { "label": "Sniper rounds", "min": 1, "max": 25 }
  },

//setup wheels here. You can have more than one
  "wheels": [
    {
      "id": "wheel1", //unique id
      "position": { "x": 913.8, "y": 55.26, "z": 79.89 }, //position of wheel
      "heading": 57.5, //heading of wheel
      "playerOffset": { "x": -1.35, "y": -0.8, "z": 0.0 },  //where the player stands when spinning
      "playerHeading": 50.0, //heading of player when spinning
      "rotationAxis": "Y", //the axis the wheel spins on (you won't need to change this)
      "pointerOffset": 0.0 //you shouldn't change this, it's part of the math involved
    }
  ]
}

HOW TO PLAY

Walk up to the wheel and use the third eye to SPIN WHEEL

It will bring up the bet menu

If you have any of the items allowed to be bet then they will be in the menu. Select an item and quantity you want to bet.

The player will spin the wheel and whatever number it lands on will be your bet x the number. If you land on loser you get nothing. If you land on the skull, you will explode. It sadistic but there are risks to play in the apocalypse.

You can only spin once and then whatever the cooldown is set to is how long you have to wait to spin again.