Discussion in 'Old World - Creation and Customization' started by Dale, May 14, 2020.
Attached is a guide to creating Old World mods. Including DLL mods.
Dale, is there any chance you could post here your guide on how you created the Byzantine Empire mod?
Moderator Action: Stuck!
I've got some outdated stuff on my Old World site, but yeah, not much on Byzantine creation. http://dales.world/
Thanks. I look forward to reading what is there.
Ok... so i'm just going to fire dumb questions at you now.
Looking through the xml source files for the Byzantine Empire mod - there are references to character portraits, crests etc as one would expect, but no reference to specific files. Am I right in thinking, for example, that for something like "CHARACTER_PORTRAIT_JUSTINIAN" there would need to be a corresponding file in the mod folder for it to utilise (e.g. JUSTINIAN.jpg or JUSTINIAN.bmp?)
Amazing references! I briefly checked out the one for the smithy, though didn’t read in depth. Any sense if the game is structured such that giving a unit a steel resource requirement, and creating an improvement that creates steel, will cause the AI to build smiths when they want those units?
Graphic assets are stored in Unity asset bundles. You'll see the asset bundle in the assets folder. I'd recommend reading http://dales.world/CustomAssets.html to see how to make asset bundles and reference them correctly.
Note: our Unity version is now 2020.3.14f1, so you can see my doco is quite out of date.
I "think" the AI will. I'll find out soon enough as yesterday I revived the steel mod and updated for current version. I just need some graphic assets, but might upload it before that's done.
Oh very cool!
Also it just occurred to me yesterday since the game is built around stacking modifiers on everything, it would be very easy to give AI units strength against tribes, either give them all steadfast or create another one altogether, and give their cities multipliers on resources, culture, science etc.
Is there an easy way to apply something to all AI empires but not the player?
I have a couple more dumb questions...
What do the numbers under the units names (1 and 0,0,0,) actually mean? I'm guessing the zeroes are a reference to move/atk/def? If so if those values were positive would they replace the existing stat or would they add to it?
Also, for adding tech can you tell me what the proper name to use in the xml file would be: "Spoked Wheels", "SpokedWheels" or "Spoked_Wheels".?
I didn't jump into modding (yet), but it's definitely possible since the AI advantage setting (default to none) has been added in the last update. It allows the player to give production bonuses to AI:
low +10 civics & training / turn in the global pool, +10% science, civics and training generation
medium +25 civics & training / turn in the global pool, +25% science, civics and training generation
high +50 civics & training / turn in the global pool, +50% science, civics and training generation.
I haven't tried it yet actually, but that sounds like it should provide a significant extra challenge.
Yeah use the AI Advantage settings. Also known as the Civ cheat as it's the old Civ production AI cheat.
That is the formations file yes? The front row and back row lines control how many and where units stand on the tile. Nothing to do with m/a/d.
Sorry, I don't understand what you're looking for? Are you wanting the tech type? TECH_SPOKED_WHEEL? The name text tag? TEXT_TECH_SPOKED_WHEEL? Or the text? Spoked Wheel?
Hello, new to this game, enjoying it, but I would be interested in learning how to resize the units to make them a little smaller? Do you know if this is a value that can be edited in XML files, and which files this may be?
Appreciate any help with this matter, and thank you for the tutorial information you have provided so far, it's a great help
Have you checked out RED mod?
Hello Dale, thank you for responding,
Yes, I have just found the RED mod, and see the xml file of globalsFloat-change.xml
in this XML file, I see that there are 4 entry values that can be changed:
I have created a Mods folder in this directory: \Users\###\Documents\My Games\OldWorld\Mods, unzipped the RED mod file and placed the folder into the Mods folder
When I launch the game, I click on MODS, select the Infos folder to activate the mod, start a new game, go to advanced and make sure that the mod is activated
When the game starts however, and I see the starting unit, the unit does not appear to scale or change size?
Is there something I am not doing correctly? For it would appear that the mod is not actually changing anything. I have changed the values of those 4 entries in notepad and resaved the xml file, but nothing seems to change, which makes me believe the mod is not changing the game at all.
ah nvmd, i solved it, i missed the step in the tutorial that said to create a housing folder in Mods... i just unzipped all the mod files there loosely. Works now.
Separate names with a comma.