Viregel
, The Rt. Hon.
Hello all! I have a few questions regarding the code for a new civ, Italy!
Firstly, what's the easiest way of changing a diplomatic penalty for something? In this case, conquest or bullying of city-states. I want to lower it because... um... reasons. The basic point is that nobody gets super annoyed at you when you take over a couple of
city-states (but when you've got about five by the Medieval Era, then they get worried).
Secondly, how would you grant a building upon the conquest of a particular type of city-state? The basic point is that I take over a city-state, and I get a building dependant on if it was religious, mercantile, maritime, militaristic, or cultural.
On that note, I have some XML done for the buildings, but I need to know how to define them. They are stand-alone buildings given upon conquest, so I don't know if I should create a new BuildingClass, or simply have them as a Courthouse replacement. Pretty much whatever's easier.
Also, for general utility, is it possible to take part of an ability and give it to a unit? I tried doing that once, but the game crashed, so I guess I'm taking the wrong approach, and I'd have to put it in as a promotion.
So, thank you very much for any help! It's vastly appreciated, seriously.
Firstly, what's the easiest way of changing a diplomatic penalty for something? In this case, conquest or bullying of city-states. I want to lower it because... um... reasons. The basic point is that nobody gets super annoyed at you when you take over a couple of
city-states (but when you've got about five by the Medieval Era, then they get worried).
Secondly, how would you grant a building upon the conquest of a particular type of city-state? The basic point is that I take over a city-state, and I get a building dependant on if it was religious, mercantile, maritime, militaristic, or cultural.
On that note, I have some XML done for the buildings, but I need to know how to define them. They are stand-alone buildings given upon conquest, so I don't know if I should create a new BuildingClass, or simply have them as a Courthouse replacement. Pretty much whatever's easier.
Also, for general utility, is it possible to take part of an ability and give it to a unit? I tried doing that once, but the game crashed, so I guess I'm taking the wrong approach, and I'd have to put it in as a promotion.
So, thank you very much for any help! It's vastly appreciated, seriously.