Skip to content

DaeronAlagos/battlescribe-stylesheets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battlescribe Stylesheet for Kill Team

Preview

By using this stylesheet to export your roster from Battlescribe, you will be able to create a printable document like this

Instructions for Battlescribe users

  1. Download the stylesheet from here (right click and 'Save link as...').

  2. Create your Kill Team in Battlescribe (Matched Play or Campaign).

  3. Export in Battlescribe. File -> Export roster...

  4. Browse for the XSL Stylesheet and select the file you downloaded in step 1.

  5. Browse for the Destination File and select a folder where you want to save the file. Name the file; eg. mycampaign.html (note the .html here is important).

  6. Click 'Export' then 'Done'.

  7. Open the html file in your web browser and print as required.

Instructions for Developers

Requirements

  1. Node 10 Note: The npm dev-dependencies require Node v10
  2. wkhtmltopdf version 0.12.5 (with patched qt)

Development Process

  1. Clone the repository git clone https://github.com/DaeronAlagos/battlescribe-stylesheets.git

  2. Change to the project folder cd battlescribe-stylesheets

  3. Install the required NPM modules npm install

  4. Create a roster in Battlescribe and save it as a .ros file (not .rosz), to the battlescribe-stylesheets/data folder

  5. Build your first distribution file gulp build

  6. Run gulp with browser-sync gulp --bsfile YOUR_FILE (don't need to put .ros)

  7. Edit the files in the src folder and see your changes in the web browser that opened when you started gulp