Giter Site home page Giter Site logo

chcasinowall's Introduction

chCasinowall

chCasinoWall enables the video walls inside the Diamond Casino & Resort, and adds an event that can be triggered to cause confetti to burst on the screens.

Requirements

  • Game build 2060 or greater using sv_enforceGameBuild 2060. This resource has not been tested with, and is not guaranteed to work with, streamed casino interiors.
  • Some sort of teleport script that can fire events when the player enters and exits the casino.

Configuration

All configuration can be done in config.lua.

Field Description Default
VideoType Default video wall animation. There are three options to choose from; diamonds, skulls, and snowflakes. CASINO_DIA_PL (Diamonds)
EnterEvent This event must be fired when the player enters the casino to enable the video wall. chCasinoWall:enteredCasino
ExitEvent This event must be fired when the player exits the casino. chCasinoWall:exitedCasino
BigWinEvent Firing this event causes confetti to burst on the video screens before returning to the default animation. chCasinoWall:bigWin

Usage

Install and start the resource, ensure the EnterEvent is fired when you enter the casino, and you're pretty much done. Firing the ExitEvent as the player exits the casino is strongly encouraged for performance reasons.

If you have any gambling scripts that could benefit from some extra excitement, fire the BigWinEvent and the player will see confetti bursting on the screens.

Support

Support is not offered for this resource. If you have discovered a bug, please open an issue on the Github repository with detailed reproduction steps and I will do my best to fix it.

Contributing

Pull requests are welcomed! Please be consistent with the existing code formatting and style, including 4 space indentation, TitleCase configuration values and camelCase function names, etc.

Known Issues

  • The video sometimes stutters or restarts randomly. This is most likely due to how the video is stopped and started when entering/exiting the casino, and when playing the big win screen. PRs are welcome!

License

chCasinoWall is licensed under the MIT License. More details are available in LICENSE.md.

chcasinowall's People

Contributors

charleshacks avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.