For my first mod project (proudproudproud) I'm in favor of adding a few new resourcebonuses to the game. But.
I couldn't find the resourcebonus infos in the BTS files, so I started digging in the Civ4vanilla files, where I found in terrain one neat file containing all resources and properties. Happy as I was, I cloned (working on a XML-editing program made by someone..?) the gems and changed it to the diamond resource with proper properties. I reloaded my mod, and tadaah: an error, which cost my holding Enter for a minut. The game loaded, but without resources, meaning: Tanks required no oil, swordsmen without iron, no bonus in health for deers+supermarket. But what file should I change, and what file should I use to get into adding a resource?
Yet, thanks.
I couldn't find the resourcebonus infos in the BTS files, so I started digging in the Civ4vanilla files, where I found in terrain one neat file containing all resources and properties. Happy as I was, I cloned (working on a XML-editing program made by someone..?) the gems and changed it to the diamond resource with proper properties. I reloaded my mod, and tadaah: an error, which cost my holding Enter for a minut. The game loaded, but without resources, meaning: Tanks required no oil, swordsmen without iron, no bonus in health for deers+supermarket. But what file should I change, and what file should I use to get into adding a resource?
Yet, thanks.