Jump to content

saweliew2w

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by saweliew2w

  1. Hi. Is anyone alive here? I'm working on a mod and ran into a problem. districts.def defines districts and, among others, CommonDistrict and PFDistrict. If it's the same building. having the requirement to be located simultaneously in PFDistrict/CommonDistrict and in VillagesDistrict (for example). Then if the requirement is not met in VillagesDistrict the building will be displayed in red and in PFDistrict it will not be displayed. How can I prevent buildings from appearing in all districts if the requirements are not met? In the Defs/ui folder in the components.def file there are lines that seem to define this behavior of buildings. But editing these lines had no effect. Tell me something if it’s not difficult.
  2. Please, i need help! In folder Def/UI in the components.def file there are some sprites that are related to UI. Can I specify the path to another sprite if I want to change the UI? For example: def RoyalCourtWindow : UIComponent { class_footer { sprite Marshal = "Assets/UI/element_royalcourt_footer_marshal.json:element_royalcourt_footer_marshal#2" //GUID:12f3ae921fecf544f9bb2ca6e37d0129 } } This option doesn't work, like many others I've tried. What should be the format of the sprite file? I used formats .json and .txt UI game files (Knights of Honor II Sovereign\AssetBundles\ui) use the .png format. It seems these files are used by Unity... My knowledge is now clearly not enough to work with sprites(
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.