*Image in Stat Screen

I’m looking to put image headers in my stat screen, but I’m not able to make it work properly. Can someone post the proper formatting of the script to show me how it’s supposed to be done?

Thanks a ton!

What’s the formatting that you’re using?

*stat_chart
*image info_header.jpg none

text Name
text Gender
text Build

*image traits_header.jpg none 

opposed_pair dependency
Codependent
Independent
opposed_pair priority
Priority: Others
Priority: Self
opposed_pair responsibility
Carefree
Responsible
opposed_pair perfection
Non-Conformist
Perfectionist

*image relationships_header.jpg none

percent mom_relationship Mom
percent kyle_relationship Kyle
percent trish_relationship Trish
percent thaniel_relationship Thaniel

But I’ve tried one full indent, two spaces, no spaces. . . I keep getting either the “invalid indent” or “should start with” errors.

Where are your image files kept? Which folder?

And there should be no spaces in front of the asterisk. Make sure you save it.

OH! You need more *stat_charts

1 Like

Try

*image info_header.jpg none  

*stat_chart
  text Name
  text Gender
  text Build
  


*image traits_header.jpg none 
  
*stat_chart
  opposed_pair dependency
    Codependent
    Independent
  opposed_pair priority
    Priority: Others
    Priority: Self
  opposed_pair responsibility
    Carefree
    Responsible
  opposed_pair perfection
    Non-Conformist
    Perfectionist


*image relationships_header.jpg none
  
*stat_chart  
  percent mom_relationship Mom
  percent kyle_relationship Kyle
  percent trish_relationship Trish
  percent thaniel_relationship Thaniel

That did it, thank you! I had no idea you needed a separate chart for each piece after an image. I also had the image after the chart. Thank you so much!

Yeah! I was just guessing that images don’t work in stat charts, so shuffled it all about.

I have a question! I don’t quite know what I’m doing differently, other than changing the position of the image from the top of the chart to the bottom, but I’m having trouble with getting the image to actually show up. The code I’m using is:

*stat_chart
text Name
opposed_pair Speed
Strength
opposed_pair Brutality
Mercy
opposed_pair Stealth
Charisma
percent Allies
*image map.jpg none

Yet nothing seems to work, with what is supposed to be the image just showing up as text saying: * image map.jpg none

Any ideas as to what is going on or how I can fix it? Thank you!

It should be *image map.jpg center (or where ever you want to align it). Also make sure you have the image saved in your mygame file

1 Like

Oh thank you! That fixed the problem!

1 Like

The wiki mentions this has to be in a folder that (supposedly) already exists in the files when you download them.

Can I make an “images” folder and get the same effect?