Customising faction colours and staff's clothes

Users who are viewing this thread

Dear warlords,

I'm an happy adventurer of the far world known as Suvarnabhumi; the deep green of foliage which characterises these lands, together with the golden painted buildings, contribute to make even more mysterious and surprising every step I take in my wandering trips inside the jungles.

As a middle-class programmer I was able to personalise my game experience even more than the default high level of customisation: it is possible, indeed, to modify the gear of an entire troop tree and then to choose it as the kingdom's culture. But I decided to go further and to modify NPC equipment and skills using temporary strings that I added and adapted in the "
Code:
conversation.txt
" file inside the mod's directory.

There are just two things remaining that I would really like to change:
- the colour of my own faction
- the dresses of my three court staff members


The problem is that the colour's changing system is not the newest one which makes possible to use three sliders in order to regolate the tone: here a menu appears and a list of usable colours is showed up, allowing the player to choose only from them. The problem is that they are all used by the other factions.
An other thing is that staff's clothing doesn't look good: the constable looks like a farmer and the chamberlain dresses a homeless-like coat and so on. I tried to adapt a string in the "
Code:
conversation.txt
" file and I was able so to change their equipment in-game, but once left the lord's hall and then came back, staff members were using the default dresses and the ones I gave them were disappeared.

- Concerning the first case I found out that inside the file "
Code:
menus.txt
" there are strings about the menu where the changing colour function is located. Here are the strings:

Code:
menu_change_color 0 What_color_would_you_like_to_set_the_kingdom_to?^When_a_color_is_selected_an_example_will_be_displayed. none 0 10
 mno_color_brown  0  Brown  3 2133 2 72057594037927936 9127187 1106 2 1585267068834415818 72057594037927936 2060 1 864691128455135517  .  mno_color_violet  0  Violet.  3 2133 2 72057594037927936 9699539 1106 2 1585267068834415819 72057594037927936 2060 1 864691128455135517  .  mno_color_olive  0  Olive.  3 2133 2 72057594037927936 3890731 1106 2 1585267068834415820 72057594037927936 2060 1 864691128455135517  .  mno_color_red  0  Red.  3 2133 2 72057594037927936 16711680 1106 2 1585267068834415821 72057594037927936 2060 1 864691128455135517  .  mno_color_white  0  White.  3 2133 2 72057594037927936 16777215 1106 2 1585267068834415822 72057594037927936 2060 1 864691128455135517  .  mno_color_black  0  Black.  3 2133 2 72057594037927936 0 1106 1 1585267068834415823 2060 1 864691128455135517  .  mno_color_green  0  Green.  3 2133 2 72057594037927936 65313 1106 2 1585267068834415824 72057594037927936 2060 1 864691128455135517  .  mno_color_blue  0  Blue.  3 2133 2 72057594037927936 9983 1106 2 1585267068834415825 72057594037927936 2060 1 864691128455135517  .  mno_color_yellow  0  Yellow.  3 2133 2 72057594037927936 16766976 1106 2 1585267068834415826 72057594037927936 2060 1 864691128455135517  .  mno_back_to_kingdom_management  0  Return_to_the_kingdom_management_menu.  1 2060 1 864691128455135260  . 
menu_do_change_color 0 Change_your_kingdom_to_this_color? none 0 2
 mno_color_yes  0  Yes.  2 1276 2 432345564227567637 72057594037927936 2060 1 864691128455135260  .  mno_color_no  0  No.  1 2060 1 864691128455135516  .

As you can see there is one progressive number which characterises each colour (except for Black which differs since it hasn't a preview and so it misses a few numbers). But this value is just a reference probably to a source file where colours are located and I would need to modify this file or to add inside it a new colour tone and then to create a new selection option for it in the "
Code:
menu.txt
".
I'm wondering if someone knows where the source file is located or if he knows how to merge into the Suvarnabhumi Mod the newer colour's selection system (I think it is from Floris) which allows a wider choice of colours.

- Concerning the second case I found out that in the "
Code:
troops.txt
" file are located some strings about the staff members but even in this case some values are showed and not some item names. I'm wondering so if is there a way to correct this values in order to equip by default the staff members with different items.
Here is the code I found:

Code:
trp_dplmc_chamberlain Consult_of_Financial Chamberlains 0 16 0 0 1 0 0
  546 0 316 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 
  8 6 5 5 10
 40 40 40 40 40 40 0
0 655360 0 0 0 0 
  60063228808 4099808143161805083 1980707 0 0 0 0 0 

trp_dplmc_constable Chief_of_The_Military Constables 0 16 0 0 1 0 0
  596 0 838 0 334 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 
  8 6 5 5 10
 190 190 190 190 190 190 0
2466 2471113521 0 33641 774144 0 
  40803250693 1822135939319450351 1977580 0 0 0 0 0 

trp_dplmc_chancellor Chancellor Chancellors 0 16 0 0 1 0 0
  437 0 318 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 
  8 6 5 5 10
 40 40 40 40 40 40 0
0 655360 0 0 0 0 
  41373409743 5267994579176925396 1980186 0 0 0 0 0

I would really thanks in advance anyone who will try to aid me in this matter, hoping this topic will be useful for other adventurers.

P.S.
Again congratulations for this great mod!
 
Back
Top Bottom