Thread: Custom Borders
View Single Post
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old February 22nd, 2018, 08:48 AM
I decided to take a spike and try to set up a different border style for my character sheets in Planet Mercenary. I would like to make them look like the official character sheet:


What I'm currently getting on the character sheet:


This is identical to what I was getting when I was using 'border="solid"'.

The relevant code:
Bubble Border
Code:
<!-- border used for character sheet bubbles -->
<resource
  id="bubble"
  issystem="no"
  isbuiltin="no">
  <border>
    <topleft bitmap="bubble_topleft.bmp"/>
    <topright bitmap="bubble_topright.bmp"/>
    <bottomleft bitmap="bubble_bottomleft.bmp"/>
    <bottomright bitmap="bubble_bottomright.bmp"/>
    <left bitmap="bubble_left.bmp"/>
    <top bitmap="bubble_top.bmp"/>
    <right bitmap="bubble_right.bmp"/>
    <bottom bitmap="bubble_bottom.bmp"/>
    </border>
  </resource>
Style
Code:
<!-- center-aligned for output with border-->
<style
  id="outBNormCt"
  border="bubble">
  <style_output
    textcolor="000000"
    font="ofntnormal"
    alignment="center">
    </style_output>
  </style>
Name Portal
Code:
<portal
  id="oHeroName"
  style="outBNormCt">
  <output_label>
    <labeltext><![CDATA[
      @text = hero.actorname
      ]]>
      </labeltext>
    </output_label>
  </portal>
And, for good measure, the bitmaps I'm using are in the attached zip file (probably because BMP isn't a very secure format, I can't upload those images).
Attached Images
File Type: png Char Sheet Name.png (2.5 KB, 70 views)
File Type: png Actual.png (2.2 KB, 72 views)
Attached Files
File Type: zip bubble_images.zip (1.6 KB, 3 views)
Duggan is offline   #1 Reply With Quote