Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can maps have custom DYK (Did You Know) Files?
#1
I've added a custom Did You Know file to my map, specifically a "dyk_English.xml" file in the folder "<install dir>\media\Maps\<Map Name>\scripts\", but the entries I removed are still showing up in-game, and the new ones aren't.  If I edit  "<install dir>\scripts\dyk_English.xml", the changes show up, but that isn't distributable as part of a map.

According to https://wiki.gearcity.info/doku.php?id=m...:dykeditor

You may use the Mod Data Tool to override loading the default DYK files.

The game looks for DKY_LanguageName.xml where LanguageName is the same file name of the localization file being used. For example, if English.xml localization is being used, the game will look for DYK_English.xml in the Scripts folder.

Mod Files do not have this limitation, they will only look for the selected DYK file defined in the Mod File.

However, the "Mod Data Tool" page doesn't exist (should there be an FBS entry for completing those unfinished wiki pages?).  In my MapFileForGame.xml, I have:

    <Scripts>/scripts/</Scripts>
    <CityArt>../Base City Map/CityArt/CityArt.zip</CityArt>
    <FlagArt>../Base City Map/FlagArt/Flags.zip</FlagArt>
    <NewsArt>../Base City Map/NewsArt/News.zip</NewsArt>
    <AILogos>../Base City Map/AILogos/AILogos.zip</AILogos>

Is there a <DYK> or <DidYouKnow> tag that I need to add to this?  I don't see such an option in the Mod Tool's Map Data Tools section, or the Mod Data Tools section for that matter (I remain a bit confused over the dividing line for what requires a mod versus what can be done in a map).

I'm hoping it is possible as it seems like a cool feature to have the Did You Knows focus on companies from the area that the map covers.  But if not, that would also be good to be aware of.
Reply


Messages In This Thread
Can maps have custom DYK (Did You Know) Files? - by JC_Denton - 02-26-2024, 12:35 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)