View Full Version : Can I make 'advanced' barbarians?
TigerBotHesh Jun 26, 2008, 11:50 AM Sorry if this has been asked/answered somewhere else before, but I was wondering:
Is there some way to edit the barbarians so they tech/build units beyond riflemen and grenadiers? IIRC, I read on the boards that they are maxed out with those units.
I always play Terra maps and have fairly large barbarian cities on the New World, some which stand for centuries after being discovered. It would just be nice to see them fielding Infantry (or Modern Infantry!) against my tanks instead of centuries-old riflemen.
Lexicus Jun 26, 2008, 12:02 PM Worldbuilder can do it. I don't know any other way, though.
DanF5771 Jun 26, 2008, 12:30 PM Give them a Palace in their biggest city (via WB) since they suffer a big penalty in city maintenance for not having one. This way they can up the slider and research faster. If you want to check out their cities (investigate) edit the 4000 BC WB-file with
EspionageTeam=18, EspionageAmount=4500
EspionageEverAmount=4500
in your team's section.
It's a lot of fun to watch them develop. They change civics and assign specialists (but don't get any GPs), build culture and yeah PRIVATEERS!
Lone Wolf Jun 26, 2008, 01:38 PM Is there some way to edit the barbarians so they tech/build units beyond riflemen and grenadiers?
It's in the XML:
...\Sid Meier's Civilization 4\Beyond the Sword\Assets\XML\Civilizations\CIV4CivilizationInf os.xml
After back-uping the original file, look at
<Type>CIVILIZATION_BARBARIAN</Type>
........
<Units>
<Unit>
<UnitClassType>UNITCLASS_SETTLER</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_SCOUT</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
<Unit>
<UnitClassType>UNITCLASS_EXPLORER</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
...............
For example, if you want for the Barbarians to be able to build Explorers, delete the
<UnitClassType>UNITCLASS_EXPLORER</UnitClassType>
<UnitType>NONE</UnitType>
lines.
Same with every other "forbidden" uints.
TigerBotHesh Jun 26, 2008, 02:29 PM That sounds like the way to go; Thanks for the info. I've never thought about giving them a palace, much less tweaking the espionage points to see what they are doing. Just one quick question: Where do I find the 4,000 BC WB file that Dan F5771 mentioned?
DanF5771 Jun 26, 2008, 03:56 PM Where do I find the 4,000 BC WB file that Dan F5771 mentioned?
Well what I meant was to go to WB right at the very beginning of a new game and saving the WB-file there, then edit and load this file = play a scenario (one minor problem is that the barbs will forget their starting techs). I don't think it works well when you are further in the game.
The problem is that you can't infiltrate barb cities with a Great Spy so I thought of this trick, tried it, and it worked. :)
Krikkitone Jun 26, 2008, 04:08 PM The Barbs will tech reasonably well even without a Palace as they get free research for techs you have
Allowing them to have a Palace also might help
the way they are banned from having certain units also bans them from certain buildings
They really act very much like a normal civ except
Negative
1. no bonuses
2. no espionage
3. always at war (no diplomacy)
4. can't win
5. 'banned' units and buildings (almost ALL unit and buildings are banned)
6. Enemies don't get WW from attacking you
Positives
7. Free cities and units
8. Free tech advancement
9. No WW suffered
10. can never die
alamo Jun 26, 2008, 04:13 PM The other solution is to let longstanding barbs spawn into a full AI civ (the civilized barbarians). That happens in BtS now, right?
Krikkitone Jun 26, 2008, 04:26 PM No...............
DanF5771 Jun 26, 2008, 04:58 PM The Barbs will tech reasonably well even without a Palace as they get free research for techs you have.
I've noticed that they always start a new tech with already having ~60% of the needed beakers and only need half of the turns the game says it takes to complete the tech.
Do they get whole techs automatically and what are the conditions for such divine gifts of barbarian enlightenment? My tech level? AI tech level? Just number of turns into the game?
DanF5771 Jun 27, 2008, 06:18 AM Aha! So in CvTeam.cpp CvTeam::doTurn() it says:
changeResearchProgress(((TechTypes)iI), ((getResearchCost((TechTypes)iI) * ((GC.getDefineINT("BARBARIAN_FREE_TECH_PERCENT") * iCount) / iPossibleCount)) / 100), getLeaderID());
for the barbs with
iCount = number of teams that know a specific tech and
iPossibleCount = total number of teams in the game
So to get some really state-of-the-art barbs one can tweak BARBARIAN_FREE_TECH_PERCENT in the GlobalDefines.xml from its default 3 to something like 50 :D.
buffalo6542 Jun 27, 2008, 10:33 AM 4. can't win
Actually, If you launch to many Nukes in Next War, then Barbs get domination victory.
Magma_Dragoon Jun 28, 2008, 09:53 AM Barbs can win in the barb scenario in warlords too.
TigerBotHesh Jun 30, 2008, 04:26 PM So I'm playing BTS over the weekend, and dark-colored modern-era ships appear out of nowhere, sink a couple of my non-upgraded destroyers and then vanish without a trace. The popup window says I was attacked by "A barbarian corvette." After this happened a few more times (:mad:), I finally figured out that the barbs were cruising around in stealth destroyers! Those crazy barbs, they can't advance past riflemen, but they can cobble together a fleet of stealth warships...
DanF5771 Jun 30, 2008, 04:46 PM Stealth Barbs--cool!
Can they build ICBMs?
TigerBotHesh Jun 30, 2008, 05:05 PM The funny thing is that I haven't altered any of the XML code for the barbarians yet. I was going to wait until my next game to make some big changes to the barbarian units(riflemen -> infantry -> mech infantry, etc.), but apparently the default BTS settings allows them stealth destroyers if you hang around long enough.
Skips Jun 30, 2008, 05:13 PM I kinda think a mod that was just you vs. Raging barbs would be pretty cool. Obviously let them have access to more advanced techs.
Edgecrusher Jun 30, 2008, 05:28 PM I havent tried this yet, but if you give Sid (the barbarian "leader") a high freedom appreciation, would they then let some of the cities develop into a colony (similar to how the AI does).
This would let the barbarians "develop" into a civilization, although they would be drastically behind everyone else.
buffalo6542 Jun 30, 2008, 05:34 PM So I'm playing BTS over the weekend, and dark-colored modern-era ships appear out of nowhere, sink a couple of my non-upgraded destroyers and then vanish without a trace. The popup window says I was attacked by "A barbarian corvette." After this happened a few more times (:mad:), I finally figured out that the barbs were cruising around in stealth destroyers! Those crazy barbs, they can't advance past riflemen, but they can cobble together a fleet of stealth warships...
Are you sure that is possible? It would require the barbarians to possess oil or uranium, both of which barb DO NOT develop. I think your game might have a bug.
----------------
Now playing: Rush - Freewill (http://www.foxytunes.com/artist/rush/track/freewill)
via FoxyTunes (http://www.foxytunes.com/signatunes/)
Edgecrusher Jun 30, 2008, 06:16 PM So I'm playing BTS over the weekend, and dark-colored modern-era ships appear out of nowhere, sink a couple of my non-upgraded destroyers and then vanish without a trace. The popup window says I was attacked by "A barbarian corvette." After this happened a few more times (:mad:), I finally figured out that the barbs were cruising around in stealth destroyers! Those crazy barbs, they can't advance past riflemen, but they can cobble together a fleet of stealth warships...
I have never been attacked by Stealth Destroyers, but if they are invisible, wouldn't you be unable to determine their nationality.
i.e. Say they are an Enemy AI's Ship, you cannot see them (Because they are invisible), they attack, what does the game do? Just tells you a "barbarian" attacked you? when in reality it was just another Civ's ship incognito (similar to the privateer).
King Flevance Jun 30, 2008, 06:39 PM Yeah, stealth destroyers are indeed on the list of units the barbs cannot build. I do not allow them to have them in my games either. How would they fund it? I do allow all missles though (blackmarket) and have been debating ICBMs. I probably may try out ICBMs once I turn off global warming again.
TigerBotHesh Jul 01, 2008, 11:56 AM I have never been attacked by Stealth Destroyers, but if they are invisible, wouldn't you be unable to determine their nationality.
i.e. Say they are an Enemy AI's Ship, you cannot see them (Because they are invisible), they attack, what does the game do? Just tells you a "barbarian" attacked you? when in reality it was just another Civ's ship incognito (similar to the privateer).
In my case, the SD just appeared in the next square, pulled alongside my destroyer, and opened fire. After sinking my destroyer, the alert menu reads "Your destroyer has been destroyed by a Barbarian corvette!"
It didn't have a nationality flag, and was a darker shade than the regular SD. If they show up again, I'll try to take some pictures.
ETA: After they sunk my destroyer, the barbarian ship disappeared again. I had to upgrade some of my destroyers to stealth destoyers to see them, sitting one tile over from me.
afa2000 Jul 02, 2008, 01:37 PM that makes sense. Modern barbarians = terrorists.
buffalo6542 Jul 02, 2008, 03:26 PM that makes sense. Modern barbarians = terrorists.
Here is a topic all about terrorism.
http://forums.civfanatics.com/showthread.php?t=271746
King Flevance Jul 03, 2008, 03:03 AM I am not positive but I think in FFH2 Mercenaries (hidden nationality) show up as barbarians, but I may be wrong its been a little while.
jimbob27 Jul 03, 2008, 07:59 AM that makes sense. Modern barbarians = terrorists.
Thats why I always "test fire" a nuke on one of their cities. ;)
Dresden Jul 12, 2008, 05:05 PM Well what I meant was to go to WB right at the very beginning of a new game and saving the WB-file there, then edit and load this file = play a scenario (one minor problem is that the barbs will forget their starting techs). I don't think it works well when you are further in the game.
The problem is that you can't infiltrate barb cities with a Great Spy so I thought of this trick, tried it, and it worked. :)
Apologies for the bump, but I've been playing around a bit and came up with an alternative method of initiating spying on the barbs that will work anytime in the game. Similar to Dan's scenario edit this essentially gives you 5000 EP vs the barbs. Even though they don't show on the espionage screen, the passive effects are still in play so the cities can be investigated and monitored.
Bring up the Python Console by pressing SHIFT-~
Type the following 4 commands:
player = gc.getPlayer(gc.getGame().getActivePlayer())
team = gc.getTeam(player.getTeam())
barb = gc.getBARBARIAN_TEAM()
team.changeEspionagePointsAgainstTeam(barb,5000)
Close the console with ~ and double-click a barb city to investivgate.
You could do it with less commands if you make assumptions such as your team always being team 0 and the barbs always being team 18, but doing it this way is a little more flexible and elegant. ;)
PimpyMicPimp Jul 12, 2008, 05:16 PM I always thought there should be an Advanced Barbarian option. Maybe if they get advanced enough and have enough cities relatively close enough they could form their own civ? That'd be an interesting development.
I also find it absurd that they can't build Privateers! If anyone can have them, it should be Barbarians!
Julian Delphiki Jul 12, 2008, 06:50 PM I'm planning to do this on that on so Terra map barbs would get at least Palace, Stonehenge, Pyramids & Versailles about right away after finding their cities on 'new world' on Prince. Also thinking of removing their tech limits..
Should probably be interesting, whenever i get there..
Hoticehunter Jul 13, 2008, 08:47 PM Are you sure that is possible? It would require the barbarians to possess oil or uranium, both of which barb DO NOT develop. I think your game might have a bug.
----------------
Now playing: Rush - Freewill (http://www.foxytunes.com/artist/rush/track/freewill)
via FoxyTunes (http://www.foxytunes.com/signatunes/)
So how do barbs get axemen and swordsmen then? They sure don't develop copper/iron in my games.
Eclipse-X010 Jul 13, 2008, 09:09 PM Um... Corvettes
weird, sounds like something you'd see in a Sci-Fi book
But yes, if they're stealth destroyers you wouldn't be able to tell what nationality they were. But still... Corvettes
|
|