File information

Last updated

Original upload

Created by

LeksColman

Uploaded by

LeksColman

Virus scan

Safe to use

Tags for this mod

About this mod

This is an alpha version of my mod that adds additional interactions between Twitch and Baldurus Gate 3. It allows Twitch viewers to use channel points to cast status effects or spells on the streamer's characters.

Permissions and credits
Donations



Hello everyone.
As I already wrote in the short annotation, this is an alpha version of my mod.
This mod adds a new interaction between Twitch and Baldurus Gate 3.

At the current stage, this mod allows you to apply statuses to the streamer's characters or cast spells on the character that are already in the game, using Twitch channel points for this. In-game, any status or spell applied to a character will be triggered after
1) the character moves >1m, 
2) the character attacks, 
and a few more rare events.

Even if this is a spell or status from another mod that you loaded into the game - my mod allows you to apply them.

At the same time, the mod is made in such a way that you can flexibly configure which effects and spells can be applied directly during the game without restarting it.

My programming skills did not allow me to make this mod super convenient and simple. Therefore, in its installation and operation, I have to use two third-party programs:
1) To connect Twitch and my mod, I used a third-party program SAMMI. You can download it from OFFICIAL SITE.
It allows you to track which Twitch channel rewards are purchased for channel points, and informs the script in my mod about this.
2) The second is NodeJS. NodeJS is a platform that allows you to run JavaScript code on the server side (in our case, it's your computer). Since I'm a beginner front-end developer, I wrote my script using JavaScript and you need NodeJS to run it on your computer. You can download it from the official page.

The process of setting up and installing the mod will be described in more detail in the pictures that I'll attach to the page.


Current supported languages




💾 How to Install


Manual:
  • Download and install a third-party program SAMMI.
  • Download and install NodeJS.
  • Unzip the archive. It will contain two more archives: TwitchPointsCast - SEFolder.zip and TwitchPointsCast - ModFolder.zip.
  • Unzip the archive TwitchPointsCast - ModFolder.zip. It will contain TwitchPointsCast - ModFolder.pak.
    Place it into your (by default) "C:\Users\<user name>\AppData\Local\Larian Studios\Baldur's Gate 3\Mods" folder.
  • Unzip the archive TwitchPointsCast - SEFolder.zip. It will contain TwitchPointsCast folder.
    Place it into your (by default) "C:\Users\<user name>\AppData\Local\Larian Studios\Baldur's Gate 3\Script Extender" folder.
  • Change the localization language of the mod if necessary. Find the folder TwitchPointsCast\Data\Localizations\, select the localization file you need, cut off "_En" (for example) from the file name and place it in the Data folder one level higher.



🛠️ How to Set Up


Manual:
  • Create reward on your Twitch channel.
  • Create a file with the extension ".txt" and a name like "rewardXX" in the 
      C:\Users\<user name>\AppData\Local\Larian Studios\Baldur's Gate 3\Script Extender\TwitchPointsCast\Rewards\  folder.
  • Set up a "button" in the SAMMI program to link the reward on the Twitch channel with your ".txt" file (see the pictures for details).
  • Open the file "rewardsListData.json" with notepad (or another text editor) in 
      C:\Users\<user name>\AppData\Local\Larian Studios\Baldur's Gate 3\Script Extender\TwitchPointsCast\Data\  folder
    and describe what statuses or spells belong to "rewardXX" similarly to the rest of the rewards in this file.
  • If you want to describe your own status or spell - open the file "preparedAttributesData.json" with notepad (or another text editor) in 
      C:\Users\<user name>\AppData\Local\Larian Studios\Baldur's Gate 3\Script Extender\TwitchPointsCast\Data\  folder
    and create your description in the same way as the other descriptions. Don't forget to add the text part to the corresponding status or spell in the "preparedAttributesDataLocalization.json" file.



▶️ How to Launch


  • Run the SAMMI program and minimize it.
  • Run my script:
         - press Win + R, type "cmd" and press Enter
         - type: "cd C:\Users\<user name>\AppData\Local\Larian Studios\Baldur's Gate 3\Script Extender\TwitchPointsCast\"
         - type: "node MainLaunchFile.js"
         - minimize the window until the end of the stream
  • Start your stream.




List of current statuses and spells that are in the mod from the start and configured by me:

    Statuses:
  • Drunk for 3 turns, Drunk for 5 turns, Drunk for 7 turns
  • Bless for 3 turns, Bless for 5 turns, Bless for 7 turns
  • Bane for 3 turns, Bane for 5 turns, Bane for 7 turns
  • Fly for 3 turns, Fly for 5 turns, Fly for 7 turns
  • Prone for 1 turn
  • Blinded for 1 turn, Blinded for 3 turns, Blinded for 5 turns
  • Potion of Speed for 3 turns, Potion of Speed for 5 turns
  • Haste Spores for 1 turn, Haste Spores for 3 turns, Haste Spores for 5 turns
  • Slow for 3 turns, Slow for 5 turns, Slow for 7 turns
  • Ensnared for 3 turns, Ensnared for 5 turns, Ensnared for 7 turns
  • Cursed Strength for 10 turns, Cursed Dexterity for 10 turns, Cursed Constitution for 10 turns, Cursed Intelligence for 10 turns, Cursed Wisdom for 10 turns, Cursed Charisma for 10 turns
  • Bull's Strength for 10 turns, Cat's Grace for 10 turns, Bear's Endurance for 10 turns, Fox's Cunning for 10 turns, Owl's Wisdom for 10 turns, Eagle's Splendour for 10 turns
  • Shredded Armour for 3 turns, Shredded Armour for 5 turns, Shredded Armour for 7 turns
  • Enhanced Armour Class for 3 turns, Enhanced Armour Class for 5 turns, Enhanced Armour Class for 7 turns
  • Paralysed for 1 turn
  • Sanctuary for 1 turn, Sanctuary for 3 turns
  • Extra Bonus Action for 1 turn, Extra Bonus Action for 3 turns, Extra Bonus Action for 5 turns
  • Additional Action for 1 turn, Additional Action for 3 turns, Additional Action for 5 turns
  • Poisoned for 1 turn, Poisoned for 3 turns, Poisoned for 5 turns
  • Otto's Irresistible Dance for 1 turn, Otto's Irresistible Dance for 3 turns
    Cantrips:
  • Cantrip Blade Ward
  • Cantrip Light
  • Cantrip Produce Flame
    LvL 1 Spells:
  • Spell Colour Spray
  • Spell Create Water
  • Spell Destroy Water
  • Spell Cure Wounds
  • Spell Healing Word
  • Spell Enhance Leap
  • Spell Feather Fall
  • Spell Goodberry
  • Spell Grease
  • Spell Mage Armour
    LvL 2 Spells:
  • Spell Lesser Restoration
  • Spell Mirror Image
  • Spell Prayer of Healing
  • Spell Protection from Poison
  • Spell See Invisibility
    LvL 3 Spells:
  • Spell Daylight Sphere
  • Spell Fireball
  • Spell Speak with Dead
  • Spell Warden of Vitality
  • Spell Remove Curse
    LvL 4 Spells:
  • Spell Death Ward
  • Spell Fire Shield: Warm
  • Spell Fire Shield: Chill
  • Spell Freedom of Movement
  • Spell Guardian of Faith
    LvL 5 Spells:
  • Spell Mass Cure Wounds
  • Spell Greater Restoration
    LvL 6 Spells:
  • Spell Mass Heroes' Feast
  • Spell Heal
    Special spells:
  • Spell that triggers Wild Magic
  • Spell Fireball (weakened, 2d8 damage)




If you have any questions - write in the comments.

If you suddenly have difficulties with the settings - you can write to me in a personal message.




This is my handmade mod. There may be errors and some bugs.
If they appear, let me know, I will try to quickly solve the problem.