BBATAI and religion

Zulugwa

Chieftain
Joined
Jun 5, 2021
Messages
2
I merged Better BAT AI v 2.1 + For the Civilization mod which replaces civs and religions. Gameplay is unaltered, it just looks like Warcraft.

For vanilla game, mod works well >> correct pictures of religions in Civilopedia, religion screen in the game.

With BBATAI mod, in CIV4ReligionInfo.xml with modified religion types
Spoiler warcraft :

<ReligionInfo>
<Type>RELIGION_LOA</Type>
<Description>TXT_KEY_RELIGION_HINDUISM</Description>
<Adjective>TXT_KEY_RELIGION_HINDUISM_ADJECTIVE</Adjective>
<Civilopedia>TXT_KEY_RELIGION_HINDUISM_PEDIA</Civilopedia>
<TechPrereq>TECH_POLYTHEISM</TechPrereq>
<FreeUnitClass>UNITCLASS_HINDU_MISSIONARY</FreeUnitClass>

<Button>Art/Interface/Buttons/Religions/Loa.dds</Button>
<TechButton>Art/Interface/Buttons/TechTree/Loa.dds</TechButton>
<GenericTechButton>Art/Interface/Buttons/TechTree/Polytheism2.dds</GenericTechButton>
<MovieFile>Art/Movies/Religion/Hinduism/Hin_Found.nif</MovieFile>
<MovieSound>AS2D_BUILD_HINDU_MOVIE</MovieSound>
<Sound>AS2D_BUILD_HINDU</Sound>
</ReligionInfo>

religions are doubled >> there are the new ones with warcraft graphics supposed to replace the vanilla ones, but vanilla ones are still present with their vanila graphics and their effects stack.

So I changed it so religions have vanila <TYPES>
Spoiler warcraft edited by me :

<ReligionInfo>
<Type>RELIGION_HINDUISM</Type>
<Description>TXT_KEY_RELIGION_HINDUISM</Description>
<Adjective>TXT_KEY_RELIGION_HINDUISM_ADJECTIVE</Adjective>
<Civilopedia>TXT_KEY_RELIGION_HINDUISM_PEDIA</Civilopedia>
<TechPrereq>TECH_POLYTHEISM</TechPrereq>

<FreeUnitClass>UNITCLASS_HINDU_MISSIONARY</FreeUnitClass>
<Button>Art/Interface/Buttons/Religions/Loa.dds</Button>
<TechButton>Art/Interface/Buttons/TechTree/Loa.dds</TechButton>
<GenericTechButton>Art/Interface/Buttons/TechTree/Polytheism2.dds</GenericTechButton>
<MovieFile>Art/Movies/Religion/Hinduism/Hin_Found.nif</MovieFile>
<MovieSound>AS2D_BUILD_HINDU_MOVIE</MovieSound>
<Sound>AS2D_BUILD_HINDU</Sound>
</ReligionInfo>


BUM! FIXED! ... almost

<Description>TXT_KEY_RELIGION_HINDUISM</Description>
works ok, tested, game reacts to it.

Now: main point of this clusterfudg.

<Button>Art/Interface/Buttons/Religions/Loa.dds</Button>
<TechButton>Art/Interface/Buttons/TechTree/Loa.dds</TechButton>
<GenericTechButton>Art/Interface/Buttons/TechTree/Polytheism2.dds</GenericTechButton>

Those are ignored. Why. Any, Sherlocks?

upload_2021-6-13_20-44-16.png
 

Attachments

  • upload_2021-6-13_20-37-42.png
    upload_2021-6-13_20-37-42.png
    401.5 KB · Views: 41
Alright. Fixed. HAHAHHAHAHA
Renamed .dds files of religions buttons to vanila names in Assets\Art\Interface\Buttons\Religions in the mod.
Modular XML loading. seems causing ignorance of CIV4ReligionInfo.xml in the mod, when both modded and vanilla XML have same types of religion I guess.
 
Top Bottom