OpenXcom Forum

Modding => OpenXcom Extended => OXCE Suggestions DONE => Topic started by: efrenespartano on April 13, 2022, 10:05:50 pm

Title: [DONE][SUGGESTION] articleText on interfaces.rul
Post by: efrenespartano on April 13, 2022, 10:05:50 pm
Howdy!

Recently, i was looking in interfaces.rul for the option to change the color of the UFOPedia buttons and text. I was able to find articleItem, articleCraftWeapon and articleArmor, however it seems there are no option to modify the elements of the UFOPedia entries with type_id: 7 and type_id: 8

So, my suggestion is the following:

Code: [Select]
interfaces:
  - type: articleText
    elements:
      - id: button
        color: 15    # orange
      - id: text
        color: 239    # grey
        color2: 244   # light blue

Hope this is easy to do! Unless its defined elsewhere and im just really bad at searching things  ;D
Title: Re: [SUGGESTION] articleText on interfaces.rul
Post by: Meridian on April 13, 2022, 10:09:31 pm
ok, todolisted
Title: Re: [SUGGESTION] articleText on interfaces.rul
Post by: Meridian on July 09, 2022, 10:04:35 pm
Done.

Disclaimer: if you have any images with custom palettes, make sure they (all) have correct colors on the new indices you plan to use.


Code: [Select]
  - type: articleText
    elements:
      - id: button
        color: 80    # very light grey
      - id: title
        color: 244   # light blue
      - id: text
        color: 239   # grey
        color2: 244  # light blue
  - type: articleTextImage
    elements:
      - id: button
        color: 83    # light grey
      - id: title
        color: 244   # light blue
      - id: text
        color: 239   # grey
        color2: 244  # light blue
Title: Re: [DONE][SUGGESTION] articleText on interfaces.rul
Post by: efrenespartano on July 20, 2022, 10:48:15 pm
Thank you, Meridian! I was looking forward to seeing this.