cwtools / cwtools-vic3-config

MIT License
5 stars 6 forks source link

coa and flags #4

Closed CaesarVincens closed 1 year ago

CaesarVincens commented 1 year ago

Two main difficulties:

  1. Allowing/discounting @variables such as @semy = 0.25 which are defined either for the file or for a single coa/flag definitions
  2. Allowing for @math which can be used in either @variables or in instance values (scale/position), e.g. @third = @[1/3] or "scale = { 1.0 @[1/7*5] }"

Lesser issues: Figure out filepath for coa image files Figure out how to type or enum named colors

CaesarVincens commented 1 year ago

This PR is also good to go, unless you have suggestions on how to fix the listed issues, then I'll add that.

CaesarVincens commented 1 year ago

Not sure if it's CWTools, but it's showing an error message regarding the named colors file. Seems to be something about the period/decimal point. The error message:

Error in d:\Installed Programs\Steam\steamapps\common\Victoria
3\game\common\named_colors\00_coa_colors.txt: Ln: 2 Col: 32 (UTF16-Col: 25)
        todo_purple = rgb { 1 0.4 0.6 }
                               ^
Note: The column count assumes a tab stop distance of 8 chars.
Unknown Error(s)
CW001(CW001)

@tboby I'm going to close this for now, and once the error is resolved as well as the issues in the first comment, I'll revisit.