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).
¬--------------
{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) :
Spoiler Alert, click show to read:
Code:
¬--------------
{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?
WARNING! This baseline signature should never appear on screen!
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:
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.
There are never enough hours in the days of a Queen, and her nights have too many...
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?
There are never enough hours in the days of a Queen, and her nights have too many...
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?
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.
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 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.
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.
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.
----------------------------------------
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?
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/showp...2&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)
Bookmarks