Easter Egg!!

The Condor said:
Thank you hahntsak for answering one of my questions. In addition, I would also like to ask you what you used to edit the XML files for the game seeing as to how my Microsoft Office has not been working lately so I could not see if I could edit the files using that for myself.


I used wordpad so I could search in it. but I'm no expert at xml. I used world builder again no expert at it.

and forget python.... too much for me at this time.
 
I unfortunately do not understand what you are saying. I was asking what did you use to change the whatever file it was called from 0 to 1. In addition, what did you use worldbuilder for?
 
He's saying he used wordpad (the program) to search for the place to make the change in the XML and then make it.
 
The Condor said:
I unfortunately do not understand what you are saying. I was asking what did you use to change the whatever file it was called from 0 to 1. In addition, what did you use worldbuilder for?

use wordpad to open Civ4CiviliationInfos.xml and search for 'barbarian'. where you see the 0's put 1's. there's 4 places.

I used world builder to make a scenario Double Take which I posted in the Scenarios forum.
 
Oh, I did not know that worked since I never got that option to edit my games before. Thanks. It works allowing me to answer my own questions.
 
The Condor said:
Oh, I did not know that worked since I never got that option to edit my games before. Thanks. It works allowing me to answer my own questions.

glad I could help. I also used the gigantic world mod [all xlm files] in the mod section. I'm going to tweak double take and see if I can improve the odds for barbarian-barbarians a little.
 
I modified my scenario that used Barbarian-barbarians and gave them a settler. I played the barbarian-barbarians and formed the city. no settlers could be produced and no libraries - even with writing. when they enter an unguarded city there is 50% chance of just razing without asking. this is a raiding party. they cannot make their own settlers, nor library, nor university. also they can make galleys but not work boats. they can make workers.


now the minor state can make settlers, and with writing they can make libraries.
 
The minors are like a normal civ. The non minors can't build alot of buildings and units unless you modify them in the same place you made them playable.
 
snarko said:
The minors are like a normal civ. The non minors can't build alot of buildings and units unless you modify them in the same place you made them playable.


boy were you ever correct.

and I've been busy.

okay now here this: I"m gonna post these edited xml files [in a zip file] in the mod section.

I found out and replaced it so now the barbarian-barbarians can build libraries, and settlers.

more so in mod section check it a bit.
 
you can also build wonders. As well as the AI barbarians. I was playing a game once and in the event log I saw "Barbarians have completed the Colossus" lol.
 
Hm, there is also

<Type>CIVILIZATION_MINOR</Type>

<bPlayable>0</bPlayable>
<bAIPlayable>0</bAIPlayable>

change to:

<bPlayable>1</bPlayable>
<bAIPlayable>1</bAIPlayable>

 
BlueStar said:
If you go into the world maker you can give youself all the animals you want-I did it by mistake-gave myself some lions-they have your civ flag and everything but they can't enter your oun territory or any tile with resorces or cities-but they will fight-my first batlle wae 3 lions versus one egyption warrior-lions win! lions win! :lol: :crazyeye: :cool:

Hehe.. just for grins once on a game with a sucky start, I FILLED the landscape around other civs with lions and tigers and bears (oh my!). They would kill any expolorer or worker that stepped outside the lines :D
 
How do I delete this post?
 
ljknight 5 said:
Will the changes apply to the computer controlled barbarians as well?
not really, it's just an additional minor state, the other is a raiding nation.
the leader head appears is Sid on the intro, but on diplomacy [yes they can conduct it] it's some barbarian guy.

the Minor State is lead by a barbarian, and they only get a settler and a scout - no warrior at the start. the other one [called barbarian-barbarian] gets only a warrior and can't build a settler, nor most buildings. neither of these can build animals even if given a city in world builder. those animals are the computer barbarians that can still exist even alongside the 'civilized' barbarians.

this is what the minor state looks like in the CIV4CivilizationInfo.xml

<CivilizationInfo>
<Type>CIVILIZATION_MINOR</Type>
<Description>TXT_KEY_CIV_MINOR_DESC</Description>
<ShortDescription>TXT_KEY_CIV_MINOR_SHORT_DESC</ShortDescription>
<Adjective>TXT_KEY_CIV_MINOR_ADJECTIVE</Adjective>
<Civilopedia>TXT_KEY_CIV_MINOR_PEDIA</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_WHITE</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_MINOR</ArtDefineTag>
<ArtStyleType>ARTSTYLE_BARBARIAN</ArtStyleType>
<bPlayable>1</bPlayable>
<bAIPlayable>1</bAIPlayable>

Above are the key lines to make these playable

now the other one is here:

<CivilizationInfo>
<Type>CIVILIZATION_BARBARIAN</Type>
<Description>TXT_KEY_CIV_BARBARIAN_DESC</Description>
<ShortDescription>TXT_KEY_CIV_BARBARIAN_SHORT_DESC</ShortDescription>
<Adjective>TXT_KEY_CIV_BARBARIAN_ADJECTIVE</Adjective>
<Civilopedia>TXT_KEY_CIV_BARBARIAN_PEDIA</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_BLACK</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_BARBARIAN</ArtDefineTag>
<ArtStyleType>ARTSTYLE_BARBARIAN</ArtStyleType>
<bPlayable>1</bPlayable>
<bAIPlayable>1</bAIPlayable>

with ones above make these playable as well.

now the part that makes the barbarian-barbarians unable to build settlers is this

<Units>
<Unit>
<UnitClassType>UNITCLASS_SETTLER</UnitClassType>
<UnitType>NONE</UnitType>
</Unit>
....
....

</Units>

that is below barbarian-barbarian part.

the other one has this line instead:
<Units/>

also the barbarian-barbarians have a bunch of buildings they can't build... well just stamp the
<Buildings/>
<Units/>
over all those unbuildables and all of a sudden they get a scout and a settler instead of that lone warrior. you can build a warrior, just don't get a free one.

now also other things you can do here.

<Leaders>
<Leader>
<LeaderName>LEADER_BARBARIAN</LeaderName>
<bLeaderAvailability>1</bLeaderAvailability>
</Leader>
</Leaders>

change the LEADER_BARBARIAN to LEADER_BARBARIAN_2 to make a second leader for one of these barbarian civilizations - it's coming next file. also you can edit this same file to add free techs to the barbarian kingdoms [ I recomend not adding faith techs because it will not trip the founding flags]. actually it's this file that can add free units, so you can add that warrior for them if you really need it. look around...

now for that second leader and why I suggest it.

save that file in the custom assets and open up CIV4LeaderHeadInfo.xml
gee, lo and behold - the barbarian leader is the first one!

now copy all his info all the way down to Alexander's info.
now make a copy change the name to LEADER_BARBARIAN_2 same info on the rest of him...

now where it says
<Traits/>

on one of them change it to:
<Traits>
<Trait>
<TraitType>TRAIT_CREATIVE</TraitType>
<bTrait>1</bTrait>
</Trait>
<Trait>
<TraitType>TRAIT_ORGANIZED</TraitType>
<bTrait>1</bTrait>
</Trait>


on the other change it to :
<Traits>
<Trait>
<TraitType>TRAIT_PHILOSOPHICAL</TraitType>
<bTrait>1</bTrait>
</Trait>
<Trait>
<TraitType>TRAIT_INDUSTRIOUS</TraitType>
<bTrait>1</bTrait>
</Trait>

and save it to custom assets.

now together when you go in to play it will list:
Barbarian Cre/Org (one group)
Barbarian Phi/Ind (the other one)

it also gives them traits, so they will have something to help them along. but they have no UUs.


I'm not an expert at the xml, just stumbling along and found this.
 
Do any of you now how to delete a post because the one I did above was a mistake. I guess I could just edit it.
 
When i enabled only the barbarians i had problems loading a save-game, but after also enableing the Minors it works ok...

Also, has anybody tried this on-line against someone who hasen't this enabled?
 
The Condor said:
Do any of you now how to delete a post because the one I did above was a mistake. I guess I could just edit it.
only mods can delete posts...just leave it..they'll find it eventually and delete it..
 
Back
Top Bottom