Log in

View Full Version : Added buildings with the Hardrian tool but then...



ArminiusGermania
01-28-2008, 15:55
Hey,

I've been doing some little modding myself, just on n00b-level...when I came across the Hadrian tool for adding buildings in RTW. After a bit experimenting with it I added some new buildings, like temples and new "traininggrounds" for the Germanic faction.

But as I was playing the game with my newly added temples there was something wrong.

In the building browser the temples had no title instead there was this sentence: Placeholder string for thread... with a number at the back.

I copied the ingame pictures right and added the names in descr_ui_buildings.txt so that should be working fine...

And it's not only the sentence. When I build a temple the others didn't disappear...:embarassed:

Does anyone know how I can solve this mess? Or might there be a tutorial or something, that I might have overlooked...

Hope you can help me...

Thanks in advance!

Aradan
01-28-2008, 16:03
Do you have any "forked" building trees that do not fork on the last settlement level?

ArminiusGermania
01-28-2008, 17:06
Do you have any "forked" building trees that do not fork on the last settlement level?

Well here's a buildingtree of one the temples I've added...it seems fine...

building temple_to_tiwaz
{
levels temple_to_tiwaz_shrine temple_to_tiwaz_temple temple_to_tiwaz_large_temple
{
temple_to_tiwaz_shrine requires factions { germans, }
{
capability
{
happiness_bonus bonus 1
law_bonus bonus 2
recruits_exp_bonus bonus 1
}
construction 1
cost 400
settlement_min town
upgrades
{
temple_to_tiwaz_temple
}
}
temple_to_tiwaz_temple requires factions { germans, }
{
capability
{
happiness_bonus bonus 3
law_bonus bonus 4
recruits_exp_bonus bonus 1
recruits_morale_bonus bonus 1
}
construction 2
cost 800
settlement_min large_town
upgrades
{
temple_to_tiwaz_large_temple
}
}
temple_to_tiwaz_large_temple requires factions { germans, }
{
capability
{
happiness_bonus bonus 4
law_bonus bonus 7
recruits_exp_bonus bonus 2
recruits_morale_bonus bonus 1
weapon_simple bonus 2
weapon_bladed bonus 1
}
construction 3
cost 1200
settlement_min city
upgrades
{
}
}
}
plugins
{
}
}

Red Spot
01-29-2008, 11:48
you are using "temple_to" ... try using "temple_of"

vanilla Roma;

building temple_of_love
{
levels temple_of_love_shrine temple_of_love_temple temple_of_love_large_temple temple_of_love_awesome_temple temple_of_love_pantheon
{
temple_of_love_shrine requires factions { scythia, pontus, greek_cities, }


G

Aradan
01-29-2008, 12:17
I think just "temple_" is enough to activate the multiple choice buildings. What I asked is if you have any trees, where the first building is common and then the tree branches at level two etc.

ArminiusGermania
02-08-2008, 21:31
Heyz,

I think I found a solution to my problems with Hardian...

The reason why my newly added temples didn't disappear might be the fact that I called them Temple of Donar and Freyja. This might have collided with the game and it could be the reason why they (and those temples only) didn't disappear.

The placeholder string was an easier fix than I thought. The building you add just needs a name in the export_buildings.txt in the text folder, like:

{temple_of_tiwaz_name}
Temples - effects are dependant on the particular god worshipped at a temple

Thanks anyway for your suggestions!

Cheers