Log in

View Full Version : Adding new temple



Quirinus
11-29-2008, 06:29
I've been trying to add a new temple to the vanilla Parthians so that their temple set is not so boring. I used the Scythian "temple_of_horse_2" (Kolaksay) as a template.

Here's the code I changed (everything I added is in red).

In the EDB:

}
building temple_of_horse_2
{
levels temple_of_horse_2_shrine temple_of_horse_2_temple temple_of_horse_2_large_temple temple_of_horse_2_awesome_temple temple_of_horse_2_pantheon
{
temple_of_horse_2_shrine requires factions { scythia, parthia, }
{
capability
{
happiness_bonus bonus 1
recruits_exp_bonus bonus 1
}
construction 1
cost 400
settlement_min town
upgrades
{
temple_of_horse_2_temple
}
}
temple_of_horse_2_temple requires factions { scythia, parthia, }
{
capability
{
happiness_bonus bonus 2
recruits_exp_bonus bonus 2
}
construction 2
cost 800
settlement_min large_town
upgrades
{
temple_of_horse_2_large_temple
}
}
temple_of_horse_2_large_temple requires factions { scythia, parthia, }
{
capability
{
happiness_bonus bonus 3
recruits_exp_bonus bonus 3
}
construction 3
cost 1600
settlement_min city
upgrades
{
temple_of_horse_2_awesome_temple
}
}
temple_of_horse_2_awesome_temple requires factions { scythia, parthia, }
{
capability
{
happiness_bonus bonus 4
recruits_exp_bonus bonus 4
}
construction 5
cost 3200
settlement_min large_city
upgrades
{
temple_of_horse_2_pantheon
}
}
temple_of_horse_2_pantheon requires factions { scythia, parthia, }
{
capability
{
happiness_bonus bonus 5
recruits_exp_bonus bonus 4
law_bonus bonus 2
trade_base_income_bonus bonus 2
}
construction 6
cost 6400
settlement_min huge_city
upgrades
{
}
}
}
(original EDB) :

}
building temple_of_horse_2
{
levels temple_of_horse_2_shrine temple_of_horse_2_temple temple_of_horse_2_large_temple
{
temple_of_horse_2_shrine requires factions { scythia, }
{
capability
{
happiness_bonus bonus 1
recruits_exp_bonus bonus 1
}
construction 1
cost 400
settlement_min town
upgrades
{
temple_of_horse_2_temple
}
}
temple_of_horse_2_temple requires factions { scythia, }
{
capability
{
happiness_bonus bonus 2
recruits_exp_bonus bonus 2
}
construction 2
cost 800
settlement_min large_town
upgrades
{
temple_of_horse_2_large_temple
}
}
temple_of_horse_2_large_temple requires factions { scythia, }
{
capability
{
happiness_bonus bonus 3
recruits_exp_bonus bonus 3
}
construction 3
cost 1600
settlement_min city
upgrades
{
}
}
}


In the EDB enums:

temple_of_horse_2_shrine
temple_of_horse_2_shrine_desc
temple_of_horse_2_shrine_desc_short
temple_of_horse_2_shrine_barbarian
temple_of_horse_2_shrine_barbarian_desc
temple_of_horse_2_shrine_barbarian_desc_short
temple_of_horse_2_shrine_carthaginian_desc
temple_of_horse_2_shrine_carthaginian_desc_short
temple_of_horse_2_shrine_eastern_desc
temple_of_horse_2_shrine_eastern_desc_short
temple_of_horse_2_shrine_parthia
temple_of_horse_2_shrine_parthia_desc
temple_of_horse_2_shrine_parthia_desc_short
temple_of_horse_2_shrine_egyptian_desc
temple_of_horse_2_shrine_egyptian_desc_short
temple_of_horse_2_shrine_greek_desc
temple_of_horse_2_shrine_greek_desc_short
temple_of_horse_2_shrine_roman_desc
temple_of_horse_2_shrine_roman_desc_short
temple_of_horse_2_temple
temple_of_horse_2_temple_desc
temple_of_horse_2_temple_desc_short
temple_of_horse_2_temple_barbarian
temple_of_horse_2_temple_barbarian_desc
temple_of_horse_2_temple_barbarian_desc_short
temple_of_horse_2_temple_carthaginian_desc
temple_of_horse_2_temple_carthaginian_desc_short
temple_of_horse_2_temple_eastern_desc
temple_of_horse_2_temple_eastern_desc_short
temple_of_horse_2_temple_parthia
temple_of_horse_2_temple_parthia_desc
temple_of_horse_2_temple_parthia_desc_short
temple_of_horse_2_temple_egyptian_desc
temple_of_horse_2_temple_egyptian_desc_short
temple_of_horse_2_temple_greek_desc
temple_of_horse_2_temple_greek_desc_short
temple_of_horse_2_temple_roman_desc
temple_of_horse_2_temple_roman_desc_short
temple_of_horse_2_large_temple
temple_of_horse_2_large_temple_desc
temple_of_horse_2_large_temple_desc_short
temple_of_horse_2_large_temple_barbarian
temple_of_horse_2_large_temple_barbarian_desc
temple_of_horse_2_large_temple_barbarian_desc_short
temple_of_horse_2_large_temple_carthaginian_desc
temple_of_horse_2_large_temple_carthaginian_desc_short
temple_of_horse_2_large_temple_eastern_desc
temple_of_horse_2_large_temple_eastern_desc_short
temple_of_horse_2_large_temple_parthia
temple_of_horse_2_large_temple_parthia_desc
temple_of_horse_2_large_temple_parthia_desc_short
temple_of_horse_2_large_temple_egyptian_desc
temple_of_horse_2_large_temple_egyptian_desc_short
temple_of_horse_2_large_temple_greek_desc
temple_of_horse_2_large_temple_greek_desc_short
temple_of_horse_2_large_temple_roman_desc
temple_of_horse_2_large_temple_roman_desc_short
temple_of_horse_2_awesome_temple
temple_of_horse_2_awesome_temple_desc
temple_of_horse_2_awesome_temple_desc_short
temple_of_horse_2_awesome_temple_barbarian
temple_of_horse_2_awesome_temple_barbarian_desc
temple_of_horse_2_awesome_temple_barbarian_desc_short
temple_of_horse_2_awesome_temple_carthaginian_desc
temple_of_horse_2_awesome_temple_carthaginian_desc_short
temple_of_horse_2_awesome_temple_eastern_desc
temple_of_horse_2_awesome_temple_eastern_desc_short
temple_of_horse_2_awesome_temple_parthia
temple_of_horse_2_awesome_temple_parthia_desc
temple_of_horse_2_awesome_temple_parthia_desc_short
temple_of_horse_2_awesome_temple_egyptian_desc
temple_of_horse_2_awesome_temple_egyptian_desc_short
temple_of_horse_2_awesome_temple_greek_desc
temple_of_horse_2_awesome_temple_greek_desc_short
temple_of_horse_2_awesome_temple_roman_desc
temple_of_horse_2_awesome_temple_roman_desc_short
temple_of_horse_2_pantheon
temple_of_horse_2_pantheon_desc
temple_of_horse_2_pantheon_desc_short
temple_of_horse_2_pantheon_barbarian
temple_of_horse_2_pantheon_barbarian_desc
temple_of_horse_2_pantheon_barbarian_desc_short
temple_of_horse_2_pantheon_carthaginian_desc
temple_of_horse_2_pantheon_carthaginian_desc_short
temple_of_horse_2_pantheon_eastern_desc
temple_of_horse_2_pantheon_eastern_desc_short
temple_of_horse_2_pantheon_parthia
temple_of_horse_2_pantheon_parthia_desc
temple_of_horse_2_pantheon_parthia_desc_short
temple_of_horse_2_pantheon_egyptian_desc
temple_of_horse_2_pantheon_egyptian_desc_short
temple_of_horse_2_pantheon_greek_desc
temple_of_horse_2_pantheon_greek_desc_short
temple_of_horse_2_pantheon_roman_desc
temple_of_horse_2_pantheon_roman_desc_short
(original EDB enum) :

temple_of_horse_2_shrine
temple_of_horse_2_shrine_desc
temple_of_horse_2_shrine_desc_short
temple_of_horse_2_shrine_barbarian
temple_of_horse_2_shrine_barbarian_desc
temple_of_horse_2_shrine_barbarian_desc_short
temple_of_horse_2_shrine_carthaginian_desc
temple_of_horse_2_shrine_carthaginian_desc_short
temple_of_horse_2_shrine_eastern_desc
temple_of_horse_2_shrine_eastern_desc_short
temple_of_horse_2_shrine_parthia_desc
temple_of_horse_2_shrine_parthia_desc_short
temple_of_horse_2_shrine_egyptian_desc
temple_of_horse_2_shrine_egyptian_desc_short
temple_of_horse_2_shrine_greek_desc
temple_of_horse_2_shrine_greek_desc_short
temple_of_horse_2_shrine_roman_desc
temple_of_horse_2_shrine_roman_desc_short
temple_of_horse_2_temple
temple_of_horse_2_temple_desc
temple_of_horse_2_temple_desc_short
temple_of_horse_2_temple_barbarian
temple_of_horse_2_temple_barbarian_desc
temple_of_horse_2_temple_barbarian_desc_short
temple_of_horse_2_temple_carthaginian_desc
temple_of_horse_2_temple_carthaginian_desc_short
temple_of_horse_2_temple_eastern_desc
temple_of_horse_2_temple_eastern_desc_short
temple_of_horse_2_temple_parthia_desc
temple_of_horse_2_temple_parthia_desc_short
temple_of_horse_2_temple_egyptian_desc
temple_of_horse_2_temple_egyptian_desc_short
temple_of_horse_2_temple_greek_desc
temple_of_horse_2_temple_greek_desc_short
temple_of_horse_2_temple_roman_desc
temple_of_horse_2_temple_roman_desc_short
temple_of_horse_2_large_temple
temple_of_horse_2_large_temple_desc
temple_of_horse_2_large_temple_desc_short
temple_of_horse_2_large_temple_barbarian
temple_of_horse_2_large_temple_barbarian_desc
temple_of_horse_2_large_temple_barbarian_desc_short
temple_of_horse_2_large_temple_carthaginian_desc
temple_of_horse_2_large_temple_carthaginian_desc_short
temple_of_horse_2_large_temple_eastern_desc
temple_of_horse_2_large_temple_eastern_desc_short
temple_of_horse_2_large_temple_parthia_desc
temple_of_horse_2_large_temple_parthia_desc_short
temple_of_horse_2_large_temple_egyptian_desc
temple_of_horse_2_large_temple_egyptian_desc_short
temple_of_horse_2_large_temple_greek_desc
temple_of_horse_2_large_temple_greek_desc_short
temple_of_horse_2_large_temple_roman_desc
temple_of_horse_2_large_temple_roman_desc_short


In the export_buildings:

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

{temple_of_horse_2_shrine} Temple of Horse 2 Shrine

{temple_of_horse_2_shrine_desc} [#PLACEHOLDER DEFAULT Base description for

building and effects#]

{temple_of_horse_2_shrine_desc_short} [#Short Description PLACEHOLDER

DEFAULT text#]

{temple_of_horse_2_shrine_barbarian} Shrine to Kolaksay

{temple_of_horse_2_shrine_barbarian_desc}
This Shrine is dedicated to Kolaksay, the demi-god and hero who founded the Scythian nation. He also seized the three golden treasures of a plough, a bowl and poleaxe from the sky.\n\nReligion also makes a people feel happy and content to know that the Gods are honoured. \n\nThe Shrine can be improved as the settlement grows in size and importance.

{temple_of_horse_2_shrine_barbarian_desc_short}
This Shrine is dedicated to Kolaksay, the demi-god and hero who founded the Scythian nation.

{temple_of_horse_2_shrine_carthage_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_carthage_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_eastern_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_eastern_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_parthia} Shrine to Kolaksay

{temple_of_horse_2_shrine_parthia_desc}
This Shrine is dedicated to Kolaksay, the demi-god and supreme horse-lord of the steppes. He also seized the three golden treasures of a plough, a bowl and poleaxe from the sky. A sacred fire is kept burning at all times within the shrine.\n\nReligion also makes a people feel happy and content to know that the Gods are honoured. \n\nThe Shrine can be improved as the settlement grows in size and importance.

{temple_of_horse_2_shrine_parthia_desc_short}
This Shrine is dedicated to Kolaksay, the demi-god and supreme horse-lord of the steppes. A sacred fire is kept burning at all times within the shrine.

{temple_of_horse_2_shrine_egyptian_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_egyptian_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_greek_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_greek_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_roman_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_roman_desc_short}
WARNING! This text should never appear on screen!


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

{temple_of_horse_2_temple} Temple of Horse 2 Temple

{temple_of_horse_2_temple_desc} [#PLACEHOLDER DEFAULT Base description for

building and effects#]

{temple_of_horse_2_temple_desc_short} [#Short Description PLACEHOLDER

DEFAULT text#]

{temple_of_horse_2_temple_barbarian} Sacred Grove of Kolaksay

{temple_of_horse_2_temple_barbarian_desc}
This Sacred Grove is dedicated to Kolaksay, the demi-god and hero who founded the Scythian nation. He also seized the three golden treasures of a plough, a bowl and poleaxe from the sky.\n\nReligion also makes a people feel happy and content to know that the Gods are properly honoured. \n\nThe Sacred Grove can be improved as the settlement grows in size and importance.

{temple_of_horse_2_temple_barbarian_desc_short}
This Sacred Grove is dedicated to Kolaksay, the demi-god and hero who founded the Scythian nation.

{temple_of_horse_2_temple_carthage_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_carthage_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_eastern_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_eastern_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_parthia} Temple of Kolaksay

{temple_of_horse_2_temple_parthia_desc}
This Temple is dedicated to Kolaksay, the demi-god and supreme horse-lord of the steppes. He also seized the three golden treasures of a plough, a bowl and poleaxe from the sky. A sacred fire is kept burning at all times within the temple.\n\nReligion also makes a people feel happy and content to know that the Gods are properly honoured. \n\nThe Temple can be improved as the settlement grows in size and importance.

{temple_of_horse_2_temple_parthia_desc_short}
This Temple is dedicated to Kolaksay, the demi-god and supreme horse-lord of the steppes.

{temple_of_horse_2_temple_egyptian_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_egyptian_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_greek_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_greek_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_roman_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_roman_desc_short}
WARNING! This text should never appear on screen!


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

{temple_of_horse_2_large_temple} Temple of Horse 2 Large Temple

{temple_of_horse_2_large_temple_desc} [#PLACEHOLDER DEFAULT Base

description for building and effects#]

{temple_of_horse_2_large_temple_desc_short} [#Short Description

PLACEHOLDER DEFAULT text#]

{temple_of_horse_2_large_temple_barbarian} Sacred Circle of Kolaksay

{temple_of_horse_2_large_temple_barbarian_desc}
This Sacred Circle is dedicated to Kolaksay, the demi-god and hero who founded the Scythian nation. He also seized the three golden treasures of a plough, a bowl and poleaxe from the sky.\n\nReligion also makes a people feel happy and content to know that the Gods are lavishly honoured.

{temple_of_horse_2_large_temple_barbarian_desc_short}
This Sacred Circle is dedicated to Kolaksay, the demi-god and hero who founded the Scythian nation.

{temple_of_horse_2_large_temple_carthage_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_carthage_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_eastern_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_eastern_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_parthia} Large Temple of Kolaksay

{temple_of_horse_2_large_temple_parthia_desc}
This Large Temple is dedicated to Kolaksay, the demi-god and supreme horse-lord of the steppes. He also seized the three golden treasures of a plough, a bowl and poleaxe from the sky. A sacred fire is kept burning at all times within the temple.\n\nReligion also makes a people feel happy and content to know that the Gods are lavishly honoured. \n\nThe Large Temple can be improved as the settlement grows in size and importance.

{temple_of_horse_2_large_temple_parthia_desc_short}
This Large Temple is dedicated to Kolaksay, the demi-god and supreme horse-lord of the steppes.

{temple_of_horse_2_large_temple_egyptian_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_egyptian_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_greek_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_greek_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_roman_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_roman_desc_short}
WARNING! This text should never appear on screen!

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

{temple_of_horse_2_awesome_temple} Temple of Horse 2 Awesome Temple

{temple_of_horse_2_awesome_temple_desc} [#PLACEHOLDER DEFAULT Base

description for building and effects#]

{temple_of_horse_2_awesome_temple_desc_short} [#Short Description

PLACEHOLDER DEFAULT text#]

{temple_of_horse_2_awesome_temple_barbarian_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_awesome_temple_barbarian_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_awesome_temple_carthage_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_awesome_temple_carthage_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_awesome_temple_eastern_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_awesome_temple_eastern_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_awesome_temple_parthia} Awesome Temple of Kolaksay

{temple_of_horse_2_awesome_temple_parthia_desc}
This Awesome Temple is dedicated to Kolaksay, the demi-god and supreme horse-lord of the steppes. He also seized the three golden treasures of a plough, a bowl and poleaxe from the sky. A sacred fire is kept burning at all times within the temple. \n\nReligion also makes a people feel happy and content to know that God is honoured in such a grand fashion.\n\n The Awesome Temple can be improved as the settlement grows in size and importance.

{temple_of_horse_2_awesome_temple_parthia_desc_short}
This Large Temple is dedicated to Kolaksay, the demi-god and supreme

horse-lord of the steppes.

{temple_of_horse_2_awesome_temple_egyptian_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_awesome_temple_egyptian_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_awesome_temple_greek_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_awesome_temple_greek_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_awesome_temple_roman_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_awesome_temple_roman_desc_short}
WARNING! This text should never appear on screen!

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

{temple_of_horse_2_pantheon} Temple of Horse 2 Pantheon

{temple_of_horse_2_pantheon_desc} [#PLACEHOLDER DEFAULT Base

description for building and effects#]

{temple_of_one_god_pantheon_desc_short} [#Short Description PLACEHOLDER

DEFAULT text#]

{temple_of_horse_2_pantheon_barbarian_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_pantheon_barbarian_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_pantheon_carthage_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_pantheon_carthage_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_pantheon_eastern_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_pantheon_eastern_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_pantheon_parthia} Temple Complex of Kolaksay

{temple_of_horse_2_pantheon_parthia_desc}
This Temple Complex is dedicated to Kolaksay, the demi-god and supreme horse-lord of the steppes. He also seized the three golden treasures of a plough, a bowl and poleaxe from the sky. A sacred fire is kept burning at all times within the temple.\n\nReligion also makes a people feel happy and content to know that the Gods are honoured in such a magnificent fashion.

{temple_of_horse_2_pantheon_parthia_desc_short}
This Temple Complex is dedicated to Kolaksay, the demi-god and supreme horse-lord of the steppes.

{temple_of_horse_2_pantheon_egyptian_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_pantheon_egyptian_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_pantheon_greek_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_pantheon_greek_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_pantheon_roman_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_pantheon_roman_desc_short}
WARNING! This text should never appear on screen!
(original export_buildings) :

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

{temple_of_horse_2_shrine} Temple of Horse 2 Shrine

{temple_of_horse_2_shrine_desc} [#PLACEHOLDER DEFAULT Base description for

building and effects#]

{temple_of_horse_2_shrine_desc_short} [#Short Description PLACEHOLDER

DEFAULT text#]

{temple_of_horse_2_shrine_barbarian} Shrine to Kolaksay

{temple_of_horse_2_shrine_barbarian_desc}
This Shrine is dedicated to Kolaksay, the demi-god and hero who founded the Scythian nation. He also seized the three golden treasures of a plough, a bowl and poleaxe from the sky.\n\nReligion also makes a people feel happy and content to know that the Gods are honoured. \n\nThe Shrine can be improved as the settlement grows in size and importance.

{temple_of_horse_2_shrine_barbarian_desc_short}
This Shrine is dedicated to Kolaksay, the demi-god and hero who founded the Scythian nation.

{temple_of_horse_2_shrine_carthage_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_carthage_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_eastern_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_eastern_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_parthia_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_parthia_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_egyptian_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_egyptian_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_greek_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_greek_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_roman_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_shrine_roman_desc_short}
WARNING! This text should never appear on screen!


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

{temple_of_horse_2_temple} Temple of Horse 2 Temple

{temple_of_horse_2_temple_desc} [#PLACEHOLDER DEFAULT Base description for

building and effects#]

{temple_of_horse_2_temple_desc_short} [#Short Description PLACEHOLDER

DEFAULT text#]

{temple_of_horse_2_temple_barbarian} Sacred Grove of Kolaksay

{temple_of_horse_2_temple_barbarian_desc}
This Sacred Grove is dedicated to Kolaksay, the demi-god and hero who founded the Scythian nation. He also seized the three golden treasures of a plough, a bowl and poleaxe from the sky.\n\nReligion also makes a people feel happy and content to know that the Gods are properly honoured. \n\nThe Sacred Grove can be improved as the settlement grows in size and importance.

{temple_of_horse_2_temple_barbarian_desc_short}
This Sacred Grove is dedicated to Kolaksay, the demi-god and hero who founded the Scythian nation.

{temple_of_horse_2_temple_carthage_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_carthage_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_eastern_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_eastern_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_parthia_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_parthia_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_egyptian_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_egyptian_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_greek_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_greek_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_roman_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_temple_roman_desc_short}
WARNING! This text should never appear on screen!


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

{temple_of_horse_2_large_temple} Temple of Horse 2 Large Temple

{temple_of_horse_2_large_temple_desc} [#PLACEHOLDER DEFAULT Base

description for building and effects#]

{temple_of_horse_2_large_temple_desc_short} [#Short Description

PLACEHOLDER DEFAULT text#]

{temple_of_horse_2_large_temple_barbarian} Sacred Circle of Kolaksay

{temple_of_horse_2_large_temple_barbarian_desc}
This Sacred Circle is dedicated to Kolaksay, the demi-god and hero who founded the Scythian nation. He also seized the three golden treasures of a plough, a bowl and poleaxe from the sky.\n\nReligion also makes a people feel happy and content to know that the Gods are lavishly honoured.

{temple_of_horse_2_large_temple_barbarian_desc_short}
This Sacred Circle is dedicated to Kolaksay, the demi-god and hero who founded the Scythian nation.

{temple_of_horse_2_large_temple_carthage_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_carthage_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_eastern_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_eastern_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_parthia_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_parthia_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_egyptian_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_egyptian_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_greek_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_greek_desc_short}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_roman_desc}
WARNING! This text should never appear on screen!

{temple_of_horse_2_large_temple_roman_desc_short}
WARNING! This text should never appear on screen!



That's all I changed, I think.... when I try to enter RTW, it gets a CTD. What did I do wrong?

SubRosa
11-29-2008, 18:41
Well, in Export_Buildings you want to add text to the "temple_of_horse_2_shrine_eastern" part, not create a new section named after parthia. Export_Buildings assigns all of it descriptions by culture, not individual faction (just how the CA made the game).

In Export_Descr_Enums you should not have to add anything with parthia's name in it. Just add these:

temple_of_horse_2_awesome_temple
temple_of_horse_2_awesome_temple_desc
temple_of_horse_2_awesome_temple_desc_short
temple_of_horse_2_pantheon
temple_of_horse_2_pantheon_desc
temple_of_horse_2_pantheon_desc_short

Also in the Awesome and Pantheion levels you created, Scythia is in the ownership line. If you are playing regular RTW than Scythia only has three tiers of development, and so could not build this high up. So take them out and leave only Parthia for ownership there.

Squid
11-29-2008, 20:11
The above is incorrect, you can it by faction, because if you look through the vanilla EB file you'll see plenty of references to parthia.

SubRosa
11-29-2008, 20:29
Hmm, you are right. Parthia and Carthage both have faction-specific buildings. I never noticed that before. Maybe they did those first, and then realized it was quicker to do the descriptions by culture rather than by individual faction?

Aradan
11-30-2008, 01:16
The factional part is used to give faction-specific variations in certain buildings, it's a useful capability. As for the error: the code seems ok to me, have you added the proper UI cards yet?

Quirinus
11-30-2008, 02:52
Ah, that must be the problem. How do I add UI cards? Is there anything else I need to do to add new buildings?

Aradan
11-30-2008, 14:00
Nope, just the UI cards. There are 3 types for each level of a building: the one you see in the panel (#culture-name_level-name, 78x62), the one you see in the building browser (#culture-name_level-name, 64x51) and the large one you see when you right-click to get info about a building (#culture-name_level-name_constructed.tga, 361x163). The first and the third go into data/ui/culture-name/buildings/ folder and the second into the construction/ subfolder of the former.

SubRosa
11-30-2008, 19:06
Still, it ought to work even without the new pictures. It will just display the default roman barrack if new images are not provided.

Aradan
11-30-2008, 19:59
Sometimes, when map.rwm is regenerated and UI cards are missing, it CTDs.

Quirinus
12-05-2008, 15:37
Nope, just the UI cards. There are 3 types for each level of a building: the one you see in the panel (#culture-name_level-name, 78x62), the one you see in the building browser (#culture-name_level-name, 64x51) and the large one you see when you right-click to get info about a building (#culture-name_level-name_constructed.tga, 361x163). The first and the third go into data/ui/culture-name/buildings/ folder and the second into the construction/ subfolder of the former.
Do you mean files like #EASTERN_AWESOME_TEMPLE.TGA, #EASTERN_AWESOME_TEMPLE_CONSTRUCTED.TGA, etc.?

I think I already have those in place.... is it possible that it's caused by my new temples not having an entry in the building equivalent of the descr_model_battle? If so, which file is it, and how do I add it?


EDIT: I've tried doing it via instructions from this (https://forums.totalwar.org/vb/showthread.php?t=103835) tutorial, (I copied the said tga files and renamed them according to the thread, but the thing still CTD's on me. It's actually pretty odd that this happens, as I've added highways to Greeks simply by editing the EDB and export_buildings.


Exactly what I did:

In data/ui/eastern/buildings, I copied

#eastern_shrine.tga
#eastern_shrine_constructed.tga
#eastern_temple.tga
#eastern_temple_constructed.tga
#eastern_large_temple.tga
#eastern_large_temple_constructed.tga
#eastern_awesome_temple.tga
#eastern_awesome_temple_constructed.tga
#eastern_pantheon.tga
#eastern_pantheon_constructed.tga

...and changed the names to these:

#parthia_temple_of_horse_2_shrine.tga
#parthia_temple_of_horse_2_shrine_constructed.tga
#parthia_temple_of_horse_2_temple.tga
#parthia_temple_of_horse_2_temple_constructed.tga
#parthia_temple_of_horse_2_large_temple.tga
#parthia_temple_of_horse_2_large_temple_constructed.tga
#parthia_temple_of_horse_2_awesome_temple.tga
#parthia_temple_of_horse_2_awesome_temple_constructed.tga
#parthia_temple_of_horse_2_pantheon.tga
#parthia_temple_of_horse_2_pantheon_constructed.tga


While in data/ui/eastern/buildings/construction I copied

#eastern_shrine.tga
#eastern_temple.tga
#eastern_large_temple.tga
#eastern_awesome_temple.tga
#eastern_pantheon.tga

...and changed the names to these:

#parthia_temple_of_horse_2_shrine.tga
#parthia_temple_of_horse_2_temple.tga
#parthia_temple_of_horse_2_large_temple.tga
#parthia_temple_of_horse_2_awesome_temple.tga
#parthia_temple_of_horse_2_pantheon.tga


I probably missed something important, I just can't for the life of me figure out what.

Aradan
12-05-2008, 22:59
a) UI cards go by culture, not faction, "#parthia_temple_of_horse_2_pantheon_constructed.tga" should be "#eastern_temple_of_horse_2_pantheon_constructed.tga"

b) I believe in descr_ui_buildings.txt all "temple_of_xyz_temple" buildings are substituted by "temple", "temple_of_xyz_large_temple" ones by "large_temple" etc when it comes to UI cards, so your cards should still be named: #eastern_shrine.tga, #eastern_temple.tga, etc.

Quirinus
12-06-2008, 01:00
Nope, tried both "#eastern_temple_of_horse_2_temple.tga" and the old "#eastern_temple.tga", neither of them work. :wall:

I also checked in descr_ui_buildings, apparently temple_of_horse_2_awesome_temple and temple_of_horse_2_pantheon are both there as well.

ThePianist
11-21-2009, 01:52
Need help.

I have been trying to add a new temple to ALL factions.
It is called following_of_yehovah

I would like to make a new category of buildings, it'll be called a "following" rather than a temple.
And there will only be one type, following_of_yehovah

I copied the code from another temple code, so the spacings and the brackets should have no problems at all. The only things I changed are the names at different levels, and the bonuses.



building following_of_yehovah
{
levels following_of_yehovah1
following_of_yehovah2
following_of_yehovah3
following_of_yehovah4
following_of_yehovah5
{
following_of_yehovah1 requires factions { barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, }
{
capability
{
happiness_bonus bonus 2
law_bonus bonus 1
}
construction 1
cost 400
settlement_min town
upgrades
{
following_of_yehovah2
}
}
following_of_yehovah2 requires factions { barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, }
{
capability
{
happiness_bonus bonus 3
law_bonus bonus 2
}
construction 2
cost 800
settlement_min large_town
upgrades
{
following_of_yehovah3
}
}
following_of_yehovah3 requires factions {barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, }
{
capability
{
happiness_bonus bonus 4
law_bonus bonus 4
}
construction 3
cost 1600
settlement_min city
upgrades
{
following_of_yehovah4
}
}
following_of_yehovah4 requires factions { barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, }
{
capability
{
happiness_bonus bonus 5
law_bonus bonus 5
}
construction 5
cost 3200
settlement_min large_city
upgrades
{
following_of_yehovah5
}
}
following_of_yehovah5 requires factions {barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, }
{
capability
{
happiness_bonus bonus 8
law_bonus bonus 8
}
construction 6
cost 6400
settlement_min huge_city
upgrades
{
}
}
}
plugins
{
}
}

----------------------------------------
Then in export_buildings, I add:

{following_of_yehovah1} "title"
{following_of_yehovah1_desc} "..."
{following_of_yehovah1_desc_short} "..."
{... and so on until level 5 ... }

and also, for the entire category:
{following_of_yehovah_name} The following of Yehovah, the LORD God

----------------------------
Since this is a brand-new building, is there any other files that I need to edit (other than the ones mentioned above)?
Especially, do I need to add some lines in building_battle.txt ?

Am I supposed to add
{following_of_yehovah1} Shrine
{following_of_yehovah2} Temple
{following_of_yehovah3} Temple
{following_of_yehovah4} Temple
{following_of_yehovah5} Temple


I would like to be able to build this temple of Yehovah as any faction, Julii, Scipii, Brutii, Gauls... whatever. But each city can only have one temple building. If I create a totally new category of building called "following", how will the campaign AI know that it is a temple building, and once it is built, exclude the other temples from being built?

Or is the game hardcoded to only consider the buildings with names starting with the word "temple" to be in the temple category?

This is for modding the vanilla RTW.

Makanyane
11-21-2009, 07:58
What you've done should be fine, but as you're adding a building which can be built for carthage you need to check descr_ui_buildings.txt
and if its got two Carthaginian lines in there delete one of them
https://forums.totalwar.org/vb/showpost.php?p=1098662&postcount=17


you don't need to do anything to building_battle.txt etc... unless you actually have a model for the building you want to show up on the battle maps.


and yes its the;

names starting with the word "temple" to be in the temple category?
though I think it only has to be in the tree name, not each individual level.
(look for the EDB guide in the scriptorium)

ThePianist
11-21-2009, 21:31
Thanks a lot, I forgot that there was a EDB guide.