xml

  1. J

    [GS] [XML] Need a hand on adding a new Domain for Leaders

    Hi, I have built an Observer mod (Better Spectator Mod), using an unique leader LEADER_SPECTATOR to trigger the change to an observer in game. Everything is lua based and working. My issue another one. Because LEADER_SPECTATOR is currently a member of the Players:Expansion2_Players domain it...
  2. hburak

    New UA - Production Bonus when constructing Factory or Public School

    Hi, I'm creating a new civ, and i want to create an UA that provides produciton bonus when constructing Factory or Public School. Or maybe reducing production cost for factory and public school. (either way ok for me) I think it is not possible with xml. How about Lua ? Basically, i need to...
  3. F

    Modding cache

    New to modding now that I have all this free time due to the pandemic. But I wanted to clear up some of my misconceptions I have. From my reading of Kael's guide, when I make a mod, all my XML files are converted into a SQL database and then used by the game. This data base is called...
  4. Protok St

    [XML] [SQL] How to change a model of Landmark? Solved

    I wanna make a teamcolored Stations and later, Bases. When I gonna with units it's works. Next sample for units: MOD/PW_UnitsSubColor.sql UPDATE ArtDefine_UnitMemberInfos SET Model = 'marine04sp_clr.fxsxml' WHERE Type = 'ART_DEF_UNIT_MEMBER_MARINE04SP'; It goes to this...
  5. redneck_diver

    Merging Mods

    I've been working on a method to validate and merge mods with as much automation as possible. This also has the goal of making mods more friendly to Linux systems and people forgetting to put quotes around filenames. Wondering if anyone has already tackled this and I'm just reinventing the...
  6. B

    [BNW] Some attributes in Civ5Buildings.xml seems to be outdated?

    Hi, I'm a beginner of modding.I found some bugs caused by I used the attribute in Civ5Buildings.xml but the game DB doesn't contain such attribute. some xml seems to be outdated, like <Culture> in Building seems to be outdated but can also be found in the gameplay xml Civ5Buildings.xml. If I use...
  7. M

    Update tag does not work for certain units in XML

    Hi all! I've been modding Civ V for a while and got stuck in one aspect: updating existing units in XML with the Update tag. The setup: I am not using Modbuddy. Instead, I placed my mod files in the Assets/DLC/Expansion2 directory and edited the Expansion2.Civ5Pkg file to hookup the new files...
  8. J

    [GS] Difference between ImportFiles and ReplaceUIScript

    In modinfo context - jsut trying to understand what is the difference ?
  9. billw2015

    XML Autocorrect Tool

    This tool will do semi-automated grammar and spelling correction on Text XML files. Usage: Have java installed (most people probably do?) Run Tools\Autocorrect\StartServer.bat Drag and drop Text XML files on to Tools\Autocorrect\DropXMLHere.bat You can also run Autocorrect.bat from the command...
  10. cripp7

    Build Espionage 2019-09-09

    Something that the base model Of Civilization IV BTS that wasn't included was the ability to build :espionage:. With Writing you can build :science:, Drama :culture:, Currency :gold: and now with Paper :espionage:. I tried to do this when you researched Alphabet, but it was too powerful so I...
  11. N

    [GS] Getting AI to use customized builder unit

    I made a builder identical to the vanilla Builder, except he only has 1 build charge. I gift him to players (human and AI) with a lua script. Everything is working fine, except the AI refuses to use the custom Builder unless he is both able to be trained in a city and cheaper than the vanilla...
  12. J

    improvement modding

    I've created a new improvement which works but the recommendation popup gets mixed up between this and other improvements. Is this a bug or am I missing something? I've only changed the database, no lua or anything else. xml attached. The Improvement_Yield addition was just to see if it made...
  13. P

    [GS] Modifying the rock band name generation list for Gathering Storm

    So I really love the new Rock Band feature in Gathering Storm. The fact that you have to name your rock bands, and that there is a silly random generator just for suggesting rock band names is pointless but awesome! I immediately wanted to tweak the list to make its rock band name suggestions...
  14. 'Stache

    Ability active in own territory

    Hello! I made this .xml file for my civ, that should give my units a +10 attack bonus in their own territory. There are no error messages in my Database.log and the game runs fine, yet the effect never appears. I think the game swallows my code, but it never thinks its conditions are met...
  15. 'Stache

    [SOLVED] Adding ignore hills ability to the trait of a new civ

    Hello, I am currently trying to make my first own civ in civ 6, I have used Josh Atkins YouTube tutorial and used his template. Now I am stuck at adding the ability to my new civ, that enables all units to ignore hills. I have written this code so far. Here it is as xml: <?xml version="1.0"...
  16. S

    Where to find (JFD) Soviet Union XML?

    This question might be in the wrong section, but I was wondering if anyone knew where I could possibly find the XML file for Jfd's Soviet Union, as I was planning on trying to create a Vox Populi oriented version of it (with credit of course). So if anyone would happen to know if JFD has that...
  17. F

    Custom district invisible. HELP

    So I've made a replacement district, and everything works fine, but it is invisible! I guess I have to reference some of the models to the district, but how do I add for example the commercial hub model to my district, and is there any way I can make my own? Thanks.
  18. fertiliser

    [BNW] [Bugfixes] [Optimisation] Has it been done before?

    I have a reasonable amount of experience with modding Civ5, but have always avoided the DLL due to compatibility issues. This time around. there's an ambitious project on the horizon. It involves bugfixes and QoL, that may or may not have been done in the past. I'd like to make sure before I...
  19. F

    Units can move over mountains trait?

    Code: <Terrains> <Update> <Where TerrainType="TERRAIN_GRASS_MOUNTAIN" CivilizationType="CIVILIZATION_FEB_CARTHAGE"/> <Set MovementCost="5" Impassable="0" DefenseModifier="3" /> </Update> <Update> <Where...
  20. F

    Add new and remove old civilizations with ruleset.

    I want to make every base game civ unplayable if the right ruleset is selected (gonna replace them with my own). I've already added a ruleset and a new civilization (it can even be played with the wrong ruleset, though). Please help! Thanks!
Top Bottom