Code Monkey home page Code Monkey logo

smol-bnuy-spawner's Introduction

Oiml's Smol Bnuy Spawner

This is intended to work with the EnemySpawner mod for BG3. Configure, then have people write "!Spawn <now/combat>" in chat to spawn the monster into BG3. Now spawns right now, combat spawns it into the next combat. Will not spawn into an existing combat.

Disclaimer

This is just intended as a demonstration for now. I am aware that the program is terribly written and has just very basic functionality (e.g. chat is completely unfiltered, meaning it could spawn 15 enemies at once into your game).

Possible improvements:

  • More configuration options, especially for filtering and chat commands
  • Properly redo the Twitch authentication (so you can use channel subscriptions, donations, bits or even channel point redemptions)
  • clean up code in general (duh)

Configuration

The following configuration variables can be set in the config.ini file:

Variable Type Default Description
[FILES]
inputfilepath Path Path to the monster db.ini
outputfilepath Path Path to the SpawnEnemy.txt. Usually found in AppData/Local/Larian Studios/Baldur's Gate 3/Script Extender/
[TWITCH]
twitch_server String irc.chat.twitch.tv Twitch chat server to connect to.
twitch_port int 6667 Port for the Twitch chat server.
twitch_nickname String Your Twitch name.
twitch_token String OAuth token. There are various websites to generate one.
twitch_channel #String The Twitch stream you want to follow and read chat from.
-- -- --

The following configuration is required in the monster db.ini file:

Add new enemies in the following format: monster name,UUID

Variable Description
Monster Name Name displayed in the Tool and the name used to spawn the monster
UUID Unique ID for the monster. Can be found with e.g. BG3 Modders Multitool

smol-bnuy-spawner's People

Contributors

oiml avatar

Watchers

 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.