Jump to content

trompetin17

WFG Programming Team
  • Posts

    85
  • Joined

  • Last visited

  • Days Won

    12

trompetin17 last won the day on March 6

trompetin17 had the most liked content!

2 Followers

About trompetin17

Profile Information

  • Gender
    Male

Recent Profile Visitors

3.479 profile views

trompetin17's Achievements

Sesquiplicarius

Sesquiplicarius (3/14)

163

Reputation

1

Community Answers

  1. Can you provide us with a screen shot that allow us to see your current locale. Can you try to get to the option based on the next images:
  2. actually is https://gitea.wildfiregames.com/trompetin17/0ad-atlas-in-game/src/branch/main so if you are able to test would be great. you can read more details here: https://gitea.wildfiregames.com/0ad/0ad/pulls/7803
  3. Continuing with the initiative, I mention it so that it becomes visible.
  4. https://gitea.wildfiregames.com/0ad/0ad/pulls/8792 =D
  5. Sure i will provide the PR later , it is on my radar
  6. or here https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/mod/gui/gui.rng
  7. oh i see, i updated the wiki thx for that https://gitea.wildfiregames.com/0ad/0ad/wiki/Adding_font_support
  8. Stan it doesnt wrok right because of this in rng file: a workaround is to copy and paste the gui.rng file inside "gui" folder and replace that line with <param name="pattern">(lithos|mono|sans)-(bold-|italic-)?(stroke-)?[0-9]{1,3}</param> while we create a PR that enable this support without this workaround
  9. Well like stan said, we have the style.xml file concept so you can create your style file then include in your gui .xml file https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/gui/common/styles.xml#L12 https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/gui/common/styles.xml#L66 In 0.A.D we have the page concept where you can define what styles to use (you can examine all page_*): https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/gui/page_pregame.xml#L4 and after that the real GUI xml https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/gui/page_pregame.xml#L15 so when we define any element we use the xml tag "Object" + attrbiute "type" to define what object... and you can apply an style with attrbiute "style" https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/gui/page_pregame.xml#L15 or you can explicitly use the "font" attribute if you wan it. Let me know if that help you :). PD: you can test first adding the font you wanna test and replace/add the "font" tag in a particular object to see if that work, after that you can expand the idea with styles.xml and "style" attribute
  10. btw what font are you using? Im seeing some baseline issue (im working on it also)
  11. In the wiki page have some comment how to replace the font from default if you want this.
  12. Current code only load the file "config/[yourmodname].cfg"
  13. IM not sure if you already read this page https://gitea.wildfiregames.com/0ad/0ad/wiki/Adding_font_support Let us know if that help
  14. i would like to ask you two additional things: 1. An screenshot that show me the whole AtlasUI when you tried to click or select an actor 2. Maybe if you can record and upload the record to see what steps are you using to being able to catch any minimal detail that drive me to found the real issue thx
×
×
  • Create New...