In this video I’ve added something I’ve been thinking of doing since the first one, which is to have little animations when a unit acts or a SOUL ability is being used. These appear as little animations on the bottom of each side acting.
The process to create these was fairly straightforward. First step was the place the unit art on a “green screen” background, since the model is not capable of generating transparent backgrounds. Then I used the open weights Wan2.2 model on ComfyUI, and prompted it to perform the animation that fits the act. Finally I added the finished result in kdenlive with a chroma key effect for green which allowed the unit to have a transparent background again.
Now the animations are not incredible as the model is not that capable of complex movements, especially for weird designs like these, but they give a little extra action on the side which doesn’t interfere with the main game-play.
I did try to make some animations involving multiple units (you’ll see like 3) by combining two units in the same image. But it was both very complex to arrange (I had to ask the model to first make the character face each other for example and then use the final frame from that as the next frame for the next), and also the result were pretty bad. Most of the time, one character wouldn’t animate at all, and the whole thing was very basic. So ultimately I scrapped that idea and stayed with a single unit. If a more capable open-weights model appears in the future I’ll give this another go.
This post will detail the creation steps, but first and without further ado, here’s my first battle report.
I made a quick Youtube channel just to host these, so as to keep things nicely separated. I wanted to post on pixelfed as well, but I couldn’t find a relevant instance for this content with open registrations. If you have one suggestion like this, lemme know.
Now that’s out of the way, lemme write down the process for making this video.
The first step is of course the recording. I bought a cheap table mount where I could put my smartphone on, and it’s a bit short but fortunately just enough for the Maleghast playmat I have. I also bought some Lavalier microphones but sadly those didn’t seem to work right this time so it ended up using my phone mic.
For recording software I used Open Camera which provides a lot of control on recording. Unfortunately since I didn’t quite know what I’m doing, I ended up recording is way too high bitrate, getting massive files. It also recorded in portrait. But nothing a quick ffmpeg command can’t fix:
Once I had my video recorded, I then had a good idea on how to edit it. The main idea is to display the units interacting and their stats, as well as the abilities they’re using and any conditions they have accumulated.
Initially I tried using G.I.M.P. to create the various templates I wanted, but manually tweaking all the elements was taking entirely too much time and it was also not looking that great. I decided to pivot and with some LLM help I had the initial skeleton for a python script which could compose a unit card from its component elements. Of course the LLM choked once the script became even mildly complex so after a point I just took over on my own.
The way it works is that I use kdenlive to go through the video. Every time a unit ability is activated, I set a guide at that timestamp. The name of the timestamp then contains all the info I need to generate the unit card at that point. The ability used, the current health, and any tokens assigned to that unit. Example: “bolides_3_vitality3+weak” will generate a Holy Body unit card with 3 health, and with 3x Vitality and 3x Weak condition tokens assigned.
At the same time I’m also trimming “thinking stretches” from the timeline, and generally trying to shorten the video if possible. For my first video I wasn’t very strict about this though, so it ended up 1.5 hours long. Given that it was a beginner game and we both had a few rules questions, I’m expecting this time to rapidly drop in newer videos. I’ve managed to play games in less than 1 hour already. I’m not quite sure if in future videos I will try to completely cut away all silence/thinking times as it allows the video to be a more chill-affair to have running in the background, which could be nice for ADHDers like myself. Tell me what you think.
Anyway, once I have all the Guides places, I used the very useful function of kdenlive to export all guides in this format “{{category}} - {{timecode}} - {{comment}}” and place them as a text file along with my script which then parses the guides to create all the images that I’ll use for the video and names them according to their timestamp. Then it’s just a matter of drag and dropping them into the timeline on the two tracks I added for this, adjusting their duration according to how long the action took, and finally adding the custom effects I created which made them fade in/out and place them on the left/right of the screen.
In python I’m utilizing badgepy to create badges for the tokens to attack to the unit cards. Simple, albeit not particularly pretty. I’m planning to add maybe some icons to the badges, but if you have some ideas on how to make this look better, send them my way.
Finally I go through the video at real-time to see if all looks correct. If any unit card is wrong (say, wrong HP or tokens), all I need to do is edit the guide at that timestamp, export guides and rerun the script and since kdenlive is loading the files dynamically from the hard disk, this is enough to update all the unit cards in my existing video. This will also mean that if in the future I come up with a different unit card design, it should be trivial to update everything, or even go back and update my old videos.
Whenever I notice mistakes in the play, I then use the subtitles track of kdenlive to quickly mention the mistake so that people watching know.
And that’s pretty much it. After that I only need to upload to youtube and figure out a thumbnail. For the first video I just used the Gemini GenAI as I couldn’t figure out a way to create an image containing the two primary necromancers from the factions and the images contained in the book where way out of my skill-set to shop into a good-looking image (and frankly I had had enough “cooking”, and I was just eager to publish). I’m looking how to do something similar using local diffusion models in the future, so when I do I’ll post that process here as well.
Hope you found this process useful, and let me know what you think of my first Battle Report!
In the past month I’ve been trying to get Maleghast on the tabletop. The game was designed for the Virtual Tabletop but I don’t particularly like playing boardgames online as for me the social aspect is an implicit draw of the genre. So my plan was to translate the game components in a way to play them on the tabletop in a easy manner.
Initially I was planning to simply create 3D-printable miniatures for each unit in the game as I’ve done for Last Light but then the inspiration struck me after playing Chip Theory games like Cloudspire; to convert the miniatures into poker chips instead.
I went with chips because it allows me to display unit information for the opponent directly on the table, rather than having to remember everything or refer to the unit cards all the time. For this purpose, I used G.I.M.P. to add the basic unit information directly on each unit image. Now it becomes very easy when you’re deciding what to target to easily view all most relevant information such as the defense of the unit (which is the target number you want to hit with your attack)
As a sidebonus to that, the other side of each unit has a corpse image, so when a unit dies, all I have to do is flip it upside down, and it becomes a corpse on the battlefield. And if I need more corpses, I can use some of the unused unit chips.
For the poker chip creation, I used the process described here. For reference, these are the supplies I bought from German Amazon given that this guide was built for the USA market.
Poker Chips: These chips are very affordable and have satisfying weight. You need to remove their internal label to allow proper adhesion of the unit labels, but that’s easily done with an x-acto knife.
Hole Puncher: The poker chips have a 2.9cm diameter internal space so this one works best, but I’ve found you’re better off printing the units at 2.8cm to avoid cutting off some edge art.
Tweezers: To pick up unit labels without getting fingers sticky.
Glue Spray: This is the one suggested by the original guide. Loos like it works well enough as I can variate the spray strength as as to not send the card pieces flying.
However through trial and error I’ve discovered that it’s actually easier to spray the poker chip directly with the minimum amount of glue, and then press the unit art onto it. Spraying the unit paper makes things way messier. What I do I spray very very lightly on the chip, offset towards one side of the radius. Then I place the cutout unit art onto it, starting from the side I placed the glue, then gradually “tipping” it over, so that as it lays flat, it pushes the glue towards the rest of the area. This allows better coverage, without having the glue squish over the rim. Even then, it’s very easy to put too much glue on the chip, which still results in residue on the raised chip sides. I’ve tried cleaning that residue with paper and alcohol, but unfortunately it still remains sticky, which results in the chips sticking together when stuck and feeling sticky on the fingers.
To combat this, I got me this residue remover which is very good at getting rid of this glue. If I get some spillage, I immediately wipe it away with a rag infused with it, and there’s no residue left and in my experiments it’s not wiping the art either like alcohol does.
After I finished all the units, it occurred to me that I could have printed my own poker chips with the 3D printer, which should have allowed me a smaller “raised” radius on the chip, and therefore more space for art, but I already did all the work. And plus, the purchased chips have a more satisfying weight as well.
For the unit art printing, I created a custom python script with the help of an LLM, which takes all the images in a directory, resizes them and places them in A4 PDFs, which I can then send to my printer.
import os
from fpdf import FPDF
from PIL import Image
# Create A4 page (210mm x 297mm)
pdf = FPDF(orientation="P", unit="mm", format="A4")
pdf.set_margin(0) # Remove default margins to prevent shifting
pdf.add_page()
# Hard coordinates in millimeters
X_START, Y_START = 15, 15# Outer margins
x, y = X_START, Y_START
IMG_SIZE = 29
GAP = 0
PAGE_WIDTH = 210
PAGE_HEIGHT = 297
DIR = "all_units"# Filter and sort your images
files = sorted([f for f in os.listdir(DIR) if f.lower().endswith(('.png', '.jpg', '.jpeg'))])
for file in files:
img_path = f"{DIR}/{file}"# Open the image to check its pixel dimensions and aspect ratio
with Image.open(img_path) as img:
p_width, p_height = img.size
# Calculate dimensions while maintaining aspect ratio within the IMG_SIZE boxif p_width >= p_height:
# Landscape or Square: Width is the limiting factor
w_mm = IMG_SIZE
h_mm = (p_height / p_width) * IMG_SIZE
else:
# Portrait: Height is the limiting factor
h_mm = IMG_SIZE
w_mm = (p_width / p_height) * IMG_SIZE
# Check if the next image fits horizontally, if not wrap to next rowif x + w_mm > PAGE_WIDTH - X_START:
x = X_START
y += IMG_SIZE + GAP # Moves down by the maximum box height + gap# Check if the next row fits vertically, if not create a new A4 pageif y + h_mm > PAGE_HEIGHT - Y_START:
pdf.add_page()
x, y = X_START, Y_START
# Place image with its calculated proportional width and height
pdf.image(img_path, x=x, y=y, w=w_mm, h=h_mm)
# Move cursor to the next column based on the bounding box size to keep a uniform grid
x += IMG_SIZE + GAP
pdf.output(f"{DIR}_perfect_{IMG_SIZE}mm_grid.pdf")
print(f"Done! '{DIR}_perfect_{IMG_SIZE}mm_grid.pdf' generated with aspect-ratio preserved images.")Code language:PHP(php)
Then it’s just a matter of cutting them out with the hole puncher
Initially I had the tyrants as a poker chip as well, but this was clearly never going to work as they’re meant to take 4 times the space as a 2v2 unit. So I instead converted them into square images which I can print on a chipboard as per this guide. All you need are
Straight Ruler
Utility knife
Paper Glue (I prefer this over spray glue, but that can work as well)
I decided to print the max amount of units for each faction, so that each player also has the capacity to craft the warband they want. That means 3xScions, 3x Thralls (i.e. 6 chips), 1x Tyrant&Necro and 2xEverything else. I stayed with only 3x thralls instead of 5x, as it’s unlikely someone want to do that except for the memes, and it saves me the extra work and storage for the extra ~30 unit chips this would need. I also only printed 1x of each Necromancer, not really expecting to play mirror matches a lot.
With this approach, I now have a complete print of all Maleghast which are compact and can easily be stored due to the chip stack-ability. Also instead of expecting each player to have their own copies, I can simply provide everything and even carry it with me.
In the next guides I’m going to elaborate on the the 3D-printed poker chips I modified to serve as condition tokens, the 3D-printed terrain I designed for walls and elevation, and the printed terrain I designed for hazards, ladders and adverse terrain, so keep an eye for future blogposts on this.
I’ve already managed to bring the game to the table with all these components and I’m quite happy with both the flow and the time it takes to play. I’m leaving you with a photo of the last game I’ve managed to bring to the table
Abhorrers VS Igorri
Close
Ad-blocker not detected
Consider installing a browser extension that blocks ads and other malicious scripts in your browser to protect your privacy and security. Learn more.