Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
Is there anything special you need to do in order to get bmp images showing inline in a text field?
I try having a label with labeltext like: Code:
var myString as string myString &= “{bmp d8_screen}” & “{bmp d4_screen}” @text = myString Any suggestions or thoughts? Working on - |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Nov 2009
Posts: 1,502
|
Did you ever get this fixed? my gut impulse would be that you might have a case where either d8_screen.bmp doesn't exist, or the system couldn't decode it. There's a line in the documentation which suggests it would just print the name.
Quote:
|
|
#2 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
Quote:
The d8_screen.bmp is in the game folder, so that’s not an issue. I don’t know if maybe there is something with the bmp encoding that I need to pay attention to or what... Working on - |
|
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Nov 2009
Posts: 1,502
|
My experience from creating the game logo on my system is that I needed to turn off the alpha channel and the embedding of the color space in the image.
|
#4 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
Hmmmm.... I tried that, but no luck...
I'll play around and try a couple of different things. I'm trying to store this in a text field if that makes a difference.. Working on - |
#5 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
No luck with any of my experiments so far.
Is there maybe a particular label style or such that need to be used to translate the {bmp portion? Working on - |
#6 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Here is a finalize script that I know works:
Code:
<finalize><![CDATA[ if (@value <= 0) then @text = chr(150) else @text = "{meta bmpfull}" & @value & "{horz 2}{bmp dicepool}" endif ]]></finalize> |
#7 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
Nope, no luck.
Quote:
Quote:
Quote:
Working on -
Last edited by TCArknight; February 15th, 2018 at 04:46 PM. |
|||
#9 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
You saw the maxlength 10 on your field? {bmp dicepool} is 14 characters, so you're already 4 characters over.
|
#10 |
|
|