massif-press / compcon

Digital character creator and player sheets for the LANCER TTRPG
https://compcon.app
GNU General Public License v3.0
277 stars 97 forks source link

Feature Request: VTT Integration for Active Mode #999

Open compcon opened 4 years ago

compcon commented 4 years ago

Submitted At: 7/21/2020 4:04:58 Is your feature request related to a problem? Please describe. Right now COMP/CON is a standalone module for character management. At the table the use of physical dice would presumable supersede COMP/CON internal rolls for transparency reasons, but find use in character management.

When using a VTT however, an opportunity exists to hook COMP/CON's active mode into the VTT itself, allowing players to roll right off COMP/CON's super slick interface and have it populate in the VTT. This benefits GM's in that they can immediately roll right off the Encounter Manager without having to replicate NPCs in the VTT, while players can manage their own cloud-saved characters, without relying on GM availability. Describe the solution you'd like: A Chrome/Firefox plug-in that acts much like Beyond20 (https://beyond20.here-for-more.info/) or VTTA (https://www.vttassets.com/assets/vtta-dndbeyond) that allow players and GMs to roll their characters from DNDBeyond into Roll20 and Foundry.

Players would simply allow the plug-in to pull the roll from COMP/CON into the Roll20/Foundry window and commit it to the chat-log. Additional context:

Contact: Miaradz #6015

Miaradz commented 4 years ago

As an addendum, this will also require a module to be written for Foundry as well to receive dice rolls into a system.

fhaust commented 3 years ago

How would a more generic (beyond Roll20) solution for this look like?

More specifically: how can I query the player stats from their respective CompCon tabs on their devices into MapTool [1]. Are there any exposed endpoints already? Can I directly talk to the CompCon "process" via WebSocket/WebRTC?

[1] An open source alternative to Roll20

ProfDoof commented 2 years ago

Digging in the code, I think the system is well-designed to possibly support a hook system where you inject a background script to listen for events, pass them to an extension which can then pass them into a foundry module or something like that. I'm thinking this up all from my phone. 😅

Krampus-update commented 1 year ago

Look... there's no way I'm experienced in this matter, and I know that the most commonly used VTTs are Foundry and Roll20, but I use Firecast (a Brazilian VTT) that can use HTTP and HTTPS requests (even in the HTTPRequest documentation, it recommends REST API - you can find more information about it here: https://firecast.app/sdk3/ObjetoHTTPRequest.html). If you could allow HTTP requests to send and receive information from the comp/con to the chat or even to the Firecast character sheet itself (i would have to create a plugin for it), it would be AMAZING. Thank you <3

msprijatelj commented 1 year ago

I don’t know if VTT integration is currently on the roadmap, but I will say that WitchDice has good dice rolling rooms with CompCon integration, plus the dev recently added an “Owlbear” mode that lets it easily be integrated into Owlbear.app. Maybe it can help?