Why do heraldic armors not show their color in the party-menu?

Users who are viewing this thread

Hey folks!
I've made some armors heraldic (only using the background-color) for my mod.
It works quite fine in the inventory and in scenes, but in the party-menu the color
is always displayed as black. Why's that? I've made the armors heraldic the way it
was explained by "Von Krieglitz" and "Njunja".

Here some pics of working heraldy:
heraldy.jpg


And a pic showing the same armor with working heraldy and the problem in party-menu:
heraldyproblem.jpg


...and by the way a different question. Where can I assign the "Class of troop: Archer"?
 
Albertus Magnus said:
It works quite fine in the inventory and in scenes, but in the party-menu the color
is always displayed as black.

...and by the way a different question. Where can I assign the "Class of troop: Archer"?
1. Do vanilla heraldry models work in this party menu? You copied vanilla item scripts, right?
2. A bit of time ago it was: "Archer" = tf_guarantee_ranged, "Cavalry" = tf_guarantee_horse in module_troops
 
Well I gave the troop a common heraldic armor and it only shows with the green-black
standart look and not with my actual heraldy.
I think it's fine with black. In battles and scenes the colors show, so I guess that's the main thing.

greenblackb.jpg
 
NEW PROBLEM (old problem?):

In Multiplayer mod (only tested with bots) heraldy doesn't show on armors, only on shields.
The colored areas are displayed black, just like the other situation...
 
For the first thing I'm guessing that you modified the entries for the armours in module_tableaus.py - maybe you need to adjust the separate entries for the party screen, as well? For the second, you need to set the background colours troop array in the multiplayer startup script, as it does in the singleplayer one.
 
Would you mind posting what exactly should be copied ...and where?
I had a quick view and I'm not really sure, so if you know it that would
be really helpful!  :D
 
For the first, I just guessed that some or all of tableau_game_party_window, tableau_troop_party_color, and script_add_troop_to_cur_tableau_for_party might need some tweaking. For the multiplayer back colors, you need to set the slots for trp_banner_background_color_array, since I presume you are copying the usage of that from the native armor tableaus: just copy the section from script_initialize_town_arena_info and put it in script_game_quick_start - or in its own script - called from game_quick_start. I can't really just paste what I use, as I've changed the system to be more consistent and less error prone, but which would require more changes elsewhere to work with singleplayer.
 
Back
Top Bottom