AEPSchmitt / blendnd

D&D plugin for blender

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blendnd

D&D plugin for blender.

Open your scenario scene, then join a room to synchronize object transforms with other people using the same room key.

image

Use the built-in Character Sheet to keep track of your stats.

image

and roll dice from this handy menu:

Screenshot from 2024-03-16 19-52-48

Designed for virtual D&D but can also be used for other games.

Download chess_test_scene.blend to try the addon with a game of chess.

Prerequisites

  1. Install socketio and ensure Blender has access to the package (this may be an issue, depending on how you installed Blender)
pip install "python-socketio[client]"

Installation

  1. Download blendnd-plugin.zip

  2. Open Blender

  3. Go to Edit > Preferences > Add-ons and select Install ( guide )

  4. Navigate to and select blendnd-pluging.zip

  5. Remember to enable the add-on after adding it

    image

  6. Open the same blender file as the rest of your group (a scenario created by your DM)

  7. Open the D&D plugin menu (right side of the Viewport - you may need to click the little arrow next to the XYZ gizmo)

  8. Enter the same room code as your D&D group and click connect

  9. Play!

Disclaimer

This is still very much an early prototype. Only transformations are shared with the room, not the addition or removal of models (yet). That means you will have to share the blender scene with all players beforehand.

Defaults to my socket managing server, but you can use server.py to set up your own and change the connection in the Settings menu.

Known issues

Setting up your Python environment to access socketio may take more steps if you installed Blender through Steam.

Only one object can be moved at a time.

The very first move and moves done with UNDO do not send a transform signals.

Planned features

  • Multi-object transforms
  • Synchronization of Character Sheets
  • Import/export of Character Sheets

Credit

Many thanks to the awesome Moltenbolt for this idea!

About

D&D plugin for blender

License:MIT License


Languages

Language:Python 100.0%