Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Battletech rough and ugly, script and sheet.

September 05 (8 years ago)

Edited September 05 (8 years ago)
First and foremost I've not posted anything here before or used github before so I do apologize if some of this is done wrong or in the wrong place.

My friends and I have wanted to do Battletech here on roll20 for a while but could never find any resources available for it on here. What forums there are about Battletech are old and don't provide any links to their sheets. We also wanted something more then just character sheet we wanted something between Megamek and Tabletop. We always hated they way Megamek does damage, so many shots and wild event could go unnoticed in the flurry. We would prefer flat table top but as per usual roll20 player we couldn't get together.

So we went about creating our own sheet and API script to work with it. None of us have ANY experience with HTML so I had to figure that out myself. The end result is, and I'm fairly confident in this, the single ugliest character sheet on roll20. However as unattractive and inflexible as it is, it does work. Another thing that should be understood is none of us have ever done Battletech before so we didn't prepare for VTOL, WIDGE, Infantry, or even Tanks. Everything was updated to partially include tanks later but just bear in mind it's not designed for that.

Without further ado The github that I HOPE I'm linking correctly. The API is the backup.js ignore the name.

Github

It would be worth reading the README I outline a lot of the functions that are required to make the script work properly.

Some screens of the Ugly:



I'll also provide description of what it all does when working properly.

First is weapon checks:
The script uses the Green token bubble as an attacker modifier and the blue as a movement modifier. It also looks at weapon ranges and uses this information to create a base to hit number. It does NOT look at terrain or pilot skill modifiers.


The process for the player is this:

Select the token making an attack,
Click the weapon check macro then select the token you are attacking,
The chat will show all weapons in range and in the proper arc, plus the rolls required to hit. Add any misc bonuses like terrain, pulse weapons, targeting comps etc,
The player rolls 2d6 as usual to try and hit,
For every weapon that hits the player selects the weapon macro for the attacking token and selects the target token, then tells the macro how many of that type of weapon hit,
The script will then roll the appropriate hit table (side back front) and list where damage was dealt and how much. The player who was attack then just removes damage from the character sheet of the attacked token.

The github README details the limitations but the brief version is that tanks and VTOLS work offensively but VTOLS don't work when getting hit properly and tanks only partially work. 

Some Demos of the arc weapon checks

All of these screenshots show the centurion doing a weapon check against the crab, jsut a demo of how the weapons change with the centurions facing.

Rear Arc


Right Side Arc


Front Arc


Front Arc after the centurion had walked (gaining a 1 in the green bubble) and the crab moved 5 tiles gaining a 2 movement mod (blue)


Distance Change All movement mods are removed (as if both mechs stood still this turn) but the crab is moved away.


Just thought we'd post this out in case anyone else wants to try Battletech on roll20 and don't feel like creating their own sheets. I saw the official process for posting sheets but our sheet isn't really a good general Battletech sheet and should not represent Battletech on Roll20.

As a final note although I made the HTML sheet, a friend of mine actually created the API. I helped but not much, he gave me permission to post this script. He asked me to add his email onto this SO:This is who created the API itself, just note he doesn't actually play Battletech at all, just loves coding and had some fun creating this with me, quin.vannatter@gmail.com.

September 05 (8 years ago)
The Aaron
Pro
API Scripter
Very cool and nice work!