PDA

View Full Version : Help with reviewing my religion mods



Bernhard of Clairvaux
10-25-2005, 13:47
Hi

Have been trying to add new religions using Alpaca´s great instruction about it. However despite checking and checking and CHECKING I can´t get it to work properly. Therefore I will add my changes here in hope that someone can tell me what I am doing wrong. I also hope that my work can be of use to others (copying the result when and if someone discover what is wrong)

Religions added: Manichaeism and Arianism (successfully added the religions but the ancillary and building mods don´t work)

Cheers/BOC


(export_descr_VnVs_enums.txt)

Arian
Arian_desc
Arian_effects_desc
Maniche
Maniche_desc
Maniche_effects_desc


(export VnVS.txt)

¬--------------------

{Arian} Arian

{Arian_desc}
This man has a basic belief in the tenets of Arian christianity.

{Arian_effects_desc}
+5% Arian conversion

¬--------------------

{Maniche} Maniche

{Maniche_desc}
This man has a basic belief in the tenets of Manichaeism.

{Maniche_effects_desc}
+5% Maniche conversion


(export_descr_ character_trait.txt)

;------------------------------------------
Trait Arian
Characters all
AntiTraits Pagan, Zoroastrian, Christian, Maniche

Level Arian
Description Arian_desc
EffectsDescription Arian_effects_desc
Threshold 1

Religious_Belief arianism 1


;------------------------------------------
Trait Maniche
Characters all
AntiTraits Pagan, Zoroastrian, Christian, Arian

Level Maniche
Description Maniche_desc
EffectsDescription Maniche_effects_desc
Threshold 1

Religious_Belief manichaeism 1


;------------------------------------------

(export_descr_ancillary_ enums.txt)

arian_follower
arian_follower_desc
arian_follower_effects_desc
arian_priest
arian_priest_desc
arian_priest_effects_desc
arian_bishop
arian_bishop_desc
arian_bishop_effects_desc
maniche_hearer
maniche_hearer_desc
maniche_hearer_effects_desc
maniche_elected
maniche_elected_desc
maniche_elected_effects_desc

(export_ancillaries.txt)



{maniche_hearer} Hearer

{maniche_hearer_desc}
They furnished the elected with food and drink led a normal life even eating meat, but they were obliged to fast on Sunday.

{maniche_hearer_effects_desc}
+10% Maniche conversion, +1 to influence, -1 to unrest

{maniche_elected} Elected

{maniche_elected_desc}
Elected lived ascetically and devoted themselves to redemption to separating the kingdoms of light and darkness by living as purely as possible.

{maniche_elected_effects_desc}
+15% Maniche conversion, -1 to squalor, -1 to unrest, +1 to influence

arian_follower} Follower

{arian_follower_desc}
A follower is a person with profound knowledge of Arianism.

{arian_follower_effects_desc}
+1 to influence, -1 to unrest

{arian_priest} Priest

{arian_priest_desc}
This is a man who was trained in Arian religious practice for long years as such he is able to teach others parts of his knowledge.

{arian_priest_effects_desc}
+5% Arian conversion, -1 to squalor, -1 to unrest, +1 to influence

{arian_bishop} Arian Bishop

{arian_bishop_desc}
They undertake important parts of the religious service in the Arian community.

{arian_bishop_effects_desc}
+15% Arian conversion, -3 to unrest, +3 to influence

¬--------------


(export_descr_ancillaries.txt)

;------------------------------------------
Ancillary arian_follower
Image mystic_ancillary.tga
ExcludeCultures roman, carthaginian, eastern
Description arian_follower_desc
EffectsDescription arian_follower_effects_desc
Effect Unrest -1
Effect Influence 1

;------------------------------------------
Ancillary arian_priest
Image mystic_ancillary.tga
ExcludeCultures roman, eastern
Description arian_priest_desc
EffectsDescription arian_priest_effects_desc
Effect Squalor -1
Effect Unrest -1
Effect Influence 1
Religious_Belief arianism 1

;------------------------------------------
Ancillary arian_bishop
Image mystic_ancillary.tga
ExcludeCultures roman, carthaginian, eastern
Description arian_bishop_desc
EffectsDescription arian_bishop_effects_desc
Effect Influence 3
Effect Unrest -3
Religious_Belief arianism 2

;------------------------------------------

Ancillary maniche_hearer
Image mystic_ancillary.tga
ExcludeCultures nomad, hun, carthaginian, barbarian
Description maniche_hearer_desc
EffectsDescription maniche_hearer_effects_desc
Effect Unrest -1
Effect Influence 1
Religious_Belief manichaeism 1

;------------------------------------------
Ancillary maniche_elected
Image mystic_ancillary.tga
ExcludeCultures nomad, hun, carthaginian, barbarian
Description maniche_elected_desc
EffectsDescription maniche_elected_effects_desc
Effect Squalor -1
Effect Unrest -1
Effect Influence 1
Religious_Belief manichaeism 1

;------------------------------------------

(The triggers..)

;------------------------------------------

Trigger trigger_arian_follower
WhenToTest CharacterTurnEnd
Condition EndedInSettlement
and RemainingMPPercentage = 100
and Trait Arian >= 1
and SettlementBuildingExists >= church__arianism_shrine
and IsGeneral

AcquireAncillary arian_follower chance 5

;------------------------------------------
Trigger trigger_arian_priest
WhenToTest CharacterTurnEnd
Condition EndedInSettlement
and RemainingMPPercentage = 100
and Trait Arian >= 1
and SettlementBuildingExists >= church__arianism_chapel
and IsGeneral

AcquireAncillary arian_priest chance 3

;------------------------------------------
Trigger trigger_arian_bishop
WhenToTest CharacterTurnEnd
Condition EndedInSettlement
and RemainingMPPercentage = 100
and Trait Arian >= 1
and SettlementBuildingExists >= church__arianism_church
and IsGeneral
and not FactionWideAncillaryExists arian_priest

AcquireAncillary arian_bishop chance 2

;------------------------------------------
Trigger trigger_maniche_hearer
WhenToTest CharacterTurnEnd
Condition EndedInSettlement
and RemainingMPPercentage = 100
and Trait Maniche >= 1
and SettlementBuildingExists >= temple_of_manichaeism_shrine
and IsGeneral

AcquireAncillary maniche_hearer chance 3

;------------------------------------------
Trigger trigger_maniche_elected
WhenToTest CharacterTurnEnd
Condition EndedInSettlement
and RemainingMPPercentage = 100
and Trait Maniche >= 1
and SettlementBuildingExists >= temple_of_manichaeism_temple
and IsGeneral
and not FactionWideAncillaryExists maniche_hearer

AcquireAncillary maniche_elected chance 2

;------------------------------------------
Trigger birth_religion_nomad_goth_3
WhenToTest CharacterComesOfAge

Condition FactionType goths
and Trait Christian = 0
and Trait Zoroastrian = 0
and Trait Pagan = 0

Affects Arian 1 Chance 10

;------------------------------------------
Trigger birth_religion_nomad_3
WhenToTest CharacterComesOfAge

Condition CultureType nomad
and Trait Christian = 0
and Trait Zoroastrian = 0
and Trait Pagan = 0

Affects Arian 1 Chance 15
;------------------------------------------
Trigger birth_religion_barbarian_except_saxons_3
WhenToTest CharacterComesOfAge

Condition CultureType barbarian
and not FactionType saxons
and Trait Christian = 0
and Trait Zoroastrian = 0
and Trait Pagan = 0

Affects Arian 1 Chance 10

;------------------------------------------
Trigger birth_religion_roman_3
WhenToTest CharacterComesOfAge

Condition CultureType roman
and Trait Pagan = 0
and Trait Christian = 0
and Trait Zoroastrian = 0

Affects Maniche 1 Chance 10

;------------------------------------------
Trigger birth_religion_eastern_2
WhenToTest CharacterComesOfAge

Condition CultureType eastern
and Trait Pagan = 0
and Trait Christian = 0
and Trait Zoroastrian = 0

Affects Maniche 1 Chance 10


(export_desrc_buildings_enum.txt)

church__arianism_shrine
church__arianism_shrine_barbarian_desc
church__arianism_shrine_barbarian_desc_short
church_arianism_chapel
church_arianism_chapel_desc
church_arianism_chapel_barbarian_desc_short
church_arianism_church
church_arianism_church_barbarian_desc
church_arianism_church_barbarian_desc_short
church_arianism_cathedral
church_arianism_cathedral_barbarian_desc
church_arianism_cathedral_barbarian_desc_short
church_arianism_basilica
church_arianism_basilica_barbarian_desc
church_arianism_basilica_barbarian_desc_short
temple_of_manichaeism_shrine_temple
temple_of_manichaeism_shrine_temple_eastern_desc
temple_of_manichaeism_shrine_temple_eastern_desc_short
temple_of_manichaeism_temple
temple_of_manichaeism_temple_eastern_desc
temple_of_manichaeism_temple_eastern_desc_short
temple_of_manichaeism_large_temple
temple_of_manichaeism_large_temple_eastern_desc
temple_of_manichaeism_large_temple_eastern_desc_short
temple_of_manichaeism_awesome_temple
temple_of_manichaeism_awesome_temple_eastern_desc
temple_of_manichaeism_awesome_temple_eastern_desc_short
temple_of_manichaeism_pantheon
temple_of_manichaeism_pantheon__eastern_desc
temple_of_manichaeism_pantheon__eastern_desc_short
temple_of_manichaeism_shrine_temple
temple_of_manichaeism_shrine_temple_roman_desc
temple_of_manichaeism_shrine_temple_roman_desc_short
temple_of_manichaeism_temple
temple_of_manichaeism_temple_roman_desc
temple_of_manichaeism_temple_roman_desc_short
temple_of_manichaeism_large_temple
temple_of_manichaeism_large_temple_roman_desc
temple_of_manichaeism_large_temple_roman_desc_short
temple_of_manichaeism_awesome_temple
temple_of_manichaeism_awesome_temple_roman_desc
temple_of_manichaeism_awesome_temple_roman_desc_short
temple_of_manichaeism_pantheon
temple_of_manichaeism_pantheon__roman_desc
temple_of_manichaeism_pantheon__roman_desc_short

export_buildings.txt

{church_arianism_shrine} Arianism Shrine

{church_arianism_shrine_barbarian_desc}
This Arian shrine provides a spiritual centre for the settlement, a place where people can gather to learn of the teachings of Jesus. Originally a pacifistic religion of the dispossessed and slaves within the Roman world, Christianity in many forms has spread beyond the Empire, its Arian form in particular finding favour because of its echoes of 'the old gods'.\n\nThe shrine brings order to life in the settlement, and can be improved as the place grows.

{church_arianism_shrine_barbarian_desc_short}
This Arian shrine is a centre of religious learning for the community.

{church_arianism_chapel} Arianism chapel

{church_arianism_chapel_barbarian_desc}
This Arian chapel provides a spiritual centre for the settlement, a place where people can gather to learn of the teachings of Jesus. Originally a pacifistic religion of the dispossessed and slaves within the Roman world, Christianity in many forms has spread beyond the Empire, its Arian form in particular finding favour because of its echoes of 'the old gods'.\n\nThe chapel brings order to life in the settlement, and can be improved as the place grows.

{church_arianism_chapel_barbarian_desc_short}
This Arian chapel is a centre of learning and spiritual strength for the community.

{church_arianism_church} Arianism church

{church_arianism_church_barbarian_desc}
This Arian church provides a spiritual centre for the settlement, a place where people can gather to learn of the teachings of Jesus. Originally a pacifistic religion of the dispossessed and slaves within the Roman world, Christianity in many forms has spread beyond the Empire, its Arian form in particular finding favour because of its echoes of 'the old gods'.\n\nThe church brings order to life in the settlement, and can be improved as the place grows.

{church_arianism_church_barbarian_desc_short}
This Arian church is a centre of learning and spiritual strength for the community.

{church_arianism_cathedral} Arianism cathedral

{church_arianism_cathedral_barbarian_desc}
This Arian church provides a spiritual centre for the settlement, a place where people can gather to learn of the teachings of Jesus. Originally a pacifistic religion of the dispossessed and slaves within the Roman world, Christianity in many forms has spread beyond the Empire, its Arian form in particular finding favour because of its echoes of 'the old gods'.\n\nThe cathedral brings order to life in the settlement, and can be improved as the place grows.

{church_arianism_cathedral_barbarian_desc_short}
This Arian cathedral is a centre of learning and spiritual strength for the community.

{church_arianism_basilica} Arianism Basilica

{church_arianism_basilica_barbarian_desc}
This Arian basilica provides a spiritual centre for the settlement, a place where people can gather to learn of the teachings of Jesus. Originally a pacifistic religion of the dispossessed and slaves within the Roman world, Christianity in many forms has spread beyond the Empire, its Arian form in particular finding favour because of its echoes of 'the old gods'. \n\nThe basilica brings order to life in the settlement.

{church_arianism_basilica_barbarian_desc_short}
This Arian basilica is a centre of learning and spiritual strength for the community.

¬--------------

export_desc_buildings.txt


{temple_of_manichaeism_shrine} Shrine of Manichaeism

{temple_of_manichaeism_shrine_eastern_desc}

The Shrine is the most basic religious building of manichaeism.

{temple_of_manichaeism_shrine_short_eastern_desc}

The basic mani worship building.

{temple_of_manichaeism_temple} Temple of Manichaeism

{temple_of_manichaeism_temple_eastern_desc}

The Temple is a more advanced religious building of manichaeism.

{temple_of_manichaeism_temple_short_eastern_desc}

The most common mani worship building.

{temple_of_manichaeism_awesome_temple} Awesome Temple of Manichaeism

{temple_of_manichaeism_awesome_temple_eastern_desc}

The Awesome Temple marked a strong precense in the region uncommon for manichaeism.

{temple_of_manichaeism_awesome_temple_short_eastern_desc}

An important worship building.

{temple_of_manichaeism_pantheon} Pantheon of Mani

{temple_of_manichaeism_pantheon_eastern_desc}

The Pantheon marked that manichaeism was the state religion.

{temple_of_manichaeism_pantheon_short_eastern_desc}

The ultimate worship building.

(data_descr_export_buildings.txt)

building temple_church_arianism
{
levels church__arianism_shrine church__arianism_chapel church_arianism_church church_arianism_cathedral church_arianism_basilica
{
church__arianism_shrine requires factions { vandals, ostrogoths, goths, }
{
capability
{
happiness_bonus bonus 1
religious_belief arianism 1
}
construction 1
cost 400
settlement_min town
upgrades
{
church_arianism_chapel
}
}
church_arianism_chapel requires factions { vandals, ostrogoths, goths, }
{
capability
{
happiness_bonus bonus 2
religious_belief arianism 2
population_growth_bonus bonus 1
}
construction 2
cost 800
settlement_min large_town
upgrades
{
church_arianism_church
}
}
church_arianism_church requires factions { vandals, ostrogoths, goths, }
{
capability
{
happiness_bonus bonus 3
religious_belief arianism 3
population_growth_bonus bonus 1
}
construction 3
cost 1600
settlement_min city
upgrades
{
church_arianism_cathedral
}
}
church_arianism_cathedral requires factions { vandals, ostrogoths, goths, }
{
capability
{
law_bonus bonus 1
happiness_bonus bonus 3
religious_belief arianism 4
population_growth_bonus bonus 2
}
construction 5
cost 3200
settlement_min large_city
upgrades
{
church_arianism_basilica
}
}
church_arianism_basilica requires factions { vandals, ostrogoths, goths, }
{
capability
{
happiness_bonus bonus 3
law_bonus bonus 2
religious_belief arianism 5
population_growth_bonus bonus 2
}
construction 6
cost 6400
settlement_min huge_city
upgrades
{
}
}
}
plugins
{
}
}
building temple_of_manichaeism
{
levels temple_of_manichaeism_shrine temple_of_manichaeism_temple temple_of_manichaeism_large_temple temple_of_manichaeism_awesome_temple temple_of_manichaeism_pantheon
{
temple_of_manichaeism_shrine requires factions { eastern, roman, }
{
capability
{
law_bonus bonus 1
religious_belief manichaeism 1
}
construction 1
cost 400
settlement_min town
upgrades
{
temple_of_manichaeism_temple
}
}
temple_of_manichaeism_temple requires factions { eastern, roman, }
{
capability
{
law_bonus bonus 2
religious_belief manichaeism 2
}
construction 2
cost 800
settlement_min large_town
upgrades
{
temple_of_manichaeism_large_temple
}
}
temple_of_manichaeism_large_temple requires factions { eastern, roman,}
{
capability
{
happiness_bonus bonus 1
law_bonus bonus 3
religious_belief manichaeism 3
}
construction 3
cost 1600
settlement_min city
upgrades
{
temple_of_manichaeism_awesome_temple
}
}
temple_of_manichaeism_awesome_temple requires factions { eastern, roman, }
{
capability
{
happiness_bonus bonus 2
law_bonus bonus 4
religious_belief manichaeism 4
}
construction 5
cost 3200
settlement_min large_city
upgrades
{
temple_of_manichaeism_pantheon
}
}
temple_of_manichaeism_pantheon requires factions { eastern, roman, }
{
capability
{
happiness_bonus bonus 2
law_bonus bonus 5
religious_belief manichaeism 5
}
construction 6
cost 6400
settlement_min huge_city
upgrades
{
}
}
}
plugins
{
}
}

Veresov
10-25-2005, 14:55
You are are aware aren't you that even though you can add a new religion, it will have no impact on unrest -- etc. That element is hardcoded.

Bernhard of Clairvaux
10-25-2005, 15:01
You are are aware aren't you that even though you can add a new religion, it will have no impact on unrest -- etc. That element is hardcoded.

I know but want the flavour~:)

edyzmedieval
10-25-2005, 15:06
Is it really hardcoded?

Nothing to do about it?!

Bernhard of Clairvaux
10-25-2005, 15:35
Is it really hardcoded?

Nothing to do about it?!

Well there is a small hope that "conversion effects" could work since nobody have tested that (what I was hoping to do with the posted text). Otherwise it seems like a hard-code issue (unrest). Perhaps CA would be kind to unlock it ?

edyzmedieval
10-25-2005, 15:39
There is one way.

Make the religions you want to cause unrest. Maximum is 3. Practically you replace the religions. ~:)

Bernhard of Clairvaux
10-25-2005, 15:47
Forgot to add export_buildings.txt for manichaeism

¬--------------
{temple_of_manichaeism_shrine} Shrine of Manichaeism

{temple_of_manichaeism_shrine_eastern_desc}

The Shrine is the most basic religious building of manichaeism.

{temple_of_manichaeism_shrine_short_eastern_desc}

The basic mani worship building.

{temple_of_manichaeism_temple} Temple of Manichaeism

{temple_of_manichaeism_temple_eastern_desc}

The Temple is a more advanced religious building of manichaeism.

{temple_of_manichaeism_temple_short_eastern_desc}

The most common mani worship building.

{temple_of_manichaeism_awesome_temple} Awesome Temple of Manichaeism

{temple_of_manichaeism_awesome_temple_eastern_desc}

The Awesome Temple marked a strong precense in the region uncommon for manichaeism.

{temple_of_manichaeism_awesome_temple_short_eastern_desc}

An important worship building.

{temple_of_manichaeism_pantheon} Pantheon of Mani

{temple_of_manichaeism_pantheon_eastern_desc}

The Pantheon marked that manichaeism was the state religion.

{temple_of_manichaeism_pantheon_short_eastern_desc}

The ultimate worship building.

Bernhard of Clairvaux
10-25-2005, 16:17
There is one way.

Make the religions you want to cause unrest. Maximum is 3. Practically you replace the religions. ~:)


Well the idea is to include more than three religions~;)

alpaca
10-25-2005, 18:19
Any specific reason why you wrote church_arianism_shrine/chapel with two underscores after church in edb?
Otherwise I can only say: Try adding the stuff by ones or twos, you'll see it saves you a lot of time (and nerves) despite having to restart the game every 3 minutes or so.

P.S.: Conversion works fine.

Bernhard of Clairvaux
10-26-2005, 10:13
Any specific reason why you wrote church_arianism_shrine/chapel with two underscores after church in edb?
Otherwise I can only say: Try adding the stuff by ones or twos, you'll see it saves you a lot of time (and nerves) despite having to restart the game every 3 minutes or so.

P.S.: Conversion works fine.

Alpaca, no reason other than mistake~:) Perhaps that was the problem. I will take your advice and add one by one. Hope it will work...~:cool: