How to get rid of slavery

Theresa

Chieftain
Joined
Aug 24, 2010
Messages
20
Location
Boston, MA
I've posted this before but I have a horrible memory...

I somehow was able to make it so that slavery wasn't selectable as a labor option... but now I can't figure out how I did that.

How can I just make it disappear from the game? Can I just delete that section of code from the Civ4CivicInfos file?
 
its actually an advantage for you to leave it in the game if you dont use it. that way the other civs that do use it get unhappiness penalties for having it when you adopt the more modern civics (i forget the vanilla name. i only play civ4 ROM mod)
 
I am in the middle of a game with the PIG mod and it has a negative happiness modifier right from the beginning.

The only time I use it is if some cities are going to shrink anyway.
If you are going to lose the pop anyway you may as well get something out of it. If they are going to starve to death anyway.

Using it as a way to boost your Civ is creepy.
 
I'm pretty sure that if you just delete the slavery section in \Assets\xml\GameInfo\Civ4CivicInfos.xml then slavery will simply not appear on the list. It won't be selectable, and it probably won't even be in the civilopedia. The section I'm talking about looks like this:
Code:
<CivicInfo>
	<CivicOptionType>CIVICOPTION_LABOR</CivicOptionType>
	<Type>CIVIC_SLAVERY</Type>
	... (lots more stuff)
</CivicInfo>


As usual, I'd recommend not editing core beyond the sword assets. Instead, you should make a copy of that file and put it in your custom assets folder, and then edit it. (or edit the assets in your mod folder if you are using a mod.) Post again if you still aren't sure what you should edit, or if it doesn't work.
 
I'm pretty sure that if you just delete the slavery section in \Assets\xml\GameInfo\Civ4CivicInfos.xml then slavery will simply not appear on the list. It won't be selectable, and it probably won't even be in the civilopedia. The section I'm talking about looks like this:
Code:
<CivicInfo>
	<CivicOptionType>CIVICOPTION_LABOR</CivicOptionType>
	<Type>CIVIC_SLAVERY</Type>
	... (lots more stuff)
</CivicInfo>


As usual, I'd recommend not editing core beyond the sword assets. Instead, you should make a copy of that file and put it in your custom assets folder, and then edit it. (or edit the assets in your mod folder if you are using a mod.) Post again if you still aren't sure what you should edit, or if it doesn't work.

Lots of leaders will get errors because it's their favourite civic.
 
Not in vanilla/warlords/BtS it isn't. No leaders have slavery as a favourite civic (would be too overpowered then I reckon).
 
I am in the middle of a game with the PIG mod and it has a negative happiness modifier right from the beginning.

The only time I use it is if some cities are going to shrink anyway.
If you are going to lose the pop anyway you may as well get something out of it. If they are going to starve to death anyway.

Using it as a way to boost your Civ is creepy.

In PIG mod it's actually 1 :yuck: just a small correction.

Any conscience I had to the plight of my invisible and fictitious citizens, disappeared after I learned to leverage this easy :food: to :hammers: conversion tool.
And 1 :yuck: is nothing btw, it's common practice to let your cities grow deep into unhealthiness (if necessary) provided sufficient food.
 
Not in vanilla/warlords/BtS it isn't. No leaders have slavery as a favourite civic (would be too overpowered then I reckon).

maybe he meant that ai leaders will continually attempt to switch to the civic after teching BW. And BW will remain a valuable tech for AI purposes even when you kill its actual value in this manner. A dangerous distortion that you could exploit.
 
maybe he meant that ai leaders will continually attempt to switch to the civic after teching BW. And BW will remain a valuable tech for AI purposes even when you kill its actual value in this manner. A dangerous distortion that you could exploit.

Of course they wont attempt to switch to the civic; using that method it wont exist in the game anymore.

Besides, BW would still have use, as it allows mining copper, builing axes, and chopping forests.
 
I'm pretty sure that if you just delete the slavery section in \Assets\xml\GameInfo\Civ4CivicInfos.xml then slavery will simply not appear on the list. It won't be selectable, and it probably won't even be in the civilopedia. The section I'm talking about looks like this:
Code:
<CivicInfo>
    <CivicOptionType>CIVICOPTION_LABOR</CivicOptionType>
    <Type>CIVIC_SLAVERY</Type>
    ... (lots more stuff)
</CivicInfo>
As usual, I'd recommend not editing core beyond the sword assets. Instead, you should make a copy of that file and put it in your custom assets folder, and then edit it. (or edit the assets in your mod folder if you are using a mod.) Post again if you still aren't sure what you should edit, or if it doesn't work.
A good suggestion, but changing the XML like this might be more stable for the AI:
Code:
<CivicInfo>
    <CivicOptionType>CIVICOPTION_LABOR</CivicOptionType>
    <Type>[COLOR=Red]NONE[/COLOR]</Type>
    ... (lots more stuff)
</CivicInfo>
Being one of the most powerful mechanics in the game, I would be reluctant to get rid of it. From my experience, the AI uses it early in the game (especially on lower levels to counter the human bonuses at those levels, would be my guess) to keep up with the human player and to be more of a challenge.

There are some Civics mods, perhaps the OP might enjoy one of those if it doesn't include Slavery. The alternative is to replace Slavery with another Civic that is just as powerful, or almost so. Unfortunately, that requires some modding skill.
 
And BW will remain a valuable tech for AI purposes even when you kill its actual value in this manner.

BW is extremely valuable whether you're a slavery fan or not:

- Enables chopping
- Reveals copper
- Axemen, everyone's favorite pre-Swordsmen city-attack unit.
- Prerequisite for Iron Working, another extremely valuable tech (especially if you're Rome)
 
Of course they wont attempt to switch to the civic; using that method it wont exist in the game anymore.

Besides, BW would still have use, as it allows mining copper, builing axes, and chopping forests.
BW is extremely valuable whether you're a slavery fan or not:

- Enables chopping
- Reveals copper
- Axemen, everyone's favorite pre-Swordsmen city-attack unit.
- Prerequisite for Iron Working, another extremely valuable tech (especially if you're Rome)

Don't get me wrong guys, BW is my favorite tech on the roster. But I can just see the AI thinking, "Hmm. Three seafoods in my capital and no :hammers::commerce: to speak of. I wonder what I should research to accommodate this situation?" And then racing all-out towards a new civic, a civic that will deliver the :hammers: he so desperately needs ...and that he can't actually switch to. And then the cottage-spamming, slavery-hating human player says, "Knock-knock!"
 
The AI wont know there is a civic available at Bronze Working, because there wont be a civic available. It wont be thinking their is a way to whip away the food, because there wont be a way to do it.
 
I thought I should finally respond to my own thread :)

I wanted to get rid of slavery because it creates more busy work. I like playing my game with as few busy-work clicks as possible so that each move/click I make is due to actual strategy/thinking and not just clicking around checking on things just because the AI has done X, Y, or Z.

i.e., if I get rid of slavery as an option, then it cuts down on the amount of events that I have to keep checking on.

I actually ended up doing a combination of what was posted.

I commented out all lines that referred to slavery and I also did a search for the word "slavery" in any file in the BTS directory (instead of just my custom mod) and found the file where it specified when leaders preferred slavery. I replaced Slavery with something else. Possibly dangerous, I know, but I did make sure to back everything up before I did this :)

It seems to have worked! So thanks for everyone's input. :D
 
I wanted to get rid of slavery because it creates more busy work. I like playing my game with as few busy-work clicks as possible so that each move/click I make is due to actual strategy/thinking and not just clicking around checking on things just because the AI has done X, Y, or Z.

Just when I thought I had heard it all....
 
Top Bottom