Jump to content

Arkimedex

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Arkimedex

  1. Edit.. because I can't edit my previous post for some reason. I was wrong about the first example, that was my fault, I dind't close the </Xmls> The second and third case scenario tho.. no idea how that works. If anybody is willing to write a tutorial, that would be superb.. ^ ^
  2. There are a ton of issues with overriding code in this game. I wish there was some documentation or some tutorials covering all xml issues and exceptions. For instance, your example doesn't work. id="NPCCharacters" exists in a lot of files, dunno why and dunno how the game knows what to access. But if I simply make a copy of spnpccharacters, call it spnpccharacters_mod, and copy your code... <Xmls> <XmlNode> <XmlName id="NPCCharacters" path="spnpccharacters_mod"/> <IncludedGameTypes> <GameType value = "Campaign"/> <GameType value = "CampaignStoryMode"/> <GameType value = "CustomGame"/> <GameType value = "EditorGame"/> </IncludedGameTypes> </XmlNode> ...this will not work, the mod is ignored by the launcher, or will crash the launcher. If I exclude the game types, same. Also, there are xmls that don't have the same structure, meaning they start with a <base xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="combat_parameters"> and then have a first element. I didn't manage to understand how these work, so it's a different case scenario for overriding. Everything I tried, like overriding banner colors, is simply ignored in game. No crash, the game launches.. but nothing will happen. I also tried the no-id xml example, that uses project.mbproj, and... shockingly, also contains an ID... as in: <file id="soln_combat_system" name="ModuleData/native_parameters_mod.xml" type="native_parameters"/> I have no idea where that soln_combat_system came from, for example.. It's an even more obscure way to override code. And dunno, there could be more exceptions..?
×
×
  • Create New...