Senior Member
Volunteer Data File Contributor
Join Date: Nov 2009
Posts: 1,505
|
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> Code:
<!-- center-aligned for output with border--> <style id="outBNormCt" border="bubble"> <style_output textcolor="000000" font="ofntnormal" alignment="center"> </style_output> </style> Code:
<portal id="oHeroName" style="outBNormCt"> <output_label> <labeltext><![CDATA[ @text = hero.actorname ]]> </labeltext> </output_label> </portal> |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Nov 2009
Posts: 1,505
|
Although... looking at a few character sheets that use curved edges on their interfaces, it looks like they use square borders on the character sheets. So maybe custom borders are only an interface thing.
I'll skip this for now, but if all else fails, I suspect I can probably make judicious use of bitmaps to layer values into them. They're all a pretty fixed width. |
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Nov 2009
Posts: 1,505
|
While it's still not working, just noting for future people using this that the eight images require a degree of symetricality. The four corner pieces and the left and right need to have the same width. The four corner pieces and the top and bottom need the same height. I have made those changes in my data files and it still doesn't work on the sheet.
|
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Nov 2009
Posts: 1,505
|
^_^ Although, probably worth asking point-blank. Mathias, is it possible to do custom borders on character sheets?
|
#4 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,243
|
I have no experience building the visual elements of a custom border. I'll see if Colen can chime in on this thread.
|
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Nov 2009
Posts: 1,505
|
Thank you, Mathias.
|
#6 |
Senior Member
Volunteer Data File Contributor
Join Date: Nov 2009
Posts: 1,505
|
|
#7 |
|
|