I am a newb in this forum and in RTW modding.
I tried to add a new building to the game using a guide I found on this forum. I copy-pasted an entry in export_descr_buildings for a temple to the bottom of the and edited the information, based on the guidelines I found, into four new temples.
The original entry is:
Spoiler Alert, click show to read:
building temple_of_battle
{
levels temple_of_battle_shrine temple_of_battle_temple temple_of_battle_large_temple temple_of_battle_awesome_temple temple_of_battle_pantheon
{
temple_of_battle_shrine requires factions { dacia, thrace, }
{
capability
{
happiness_bonus bonus 1
}
construction 1
cost 400
settlement_min town
upgrades
{
temple_of_battle_temple
}
}
temple_of_battle_temple requires factions { dacia, thrace, }
{
capability
{
recruit "barb naked fanatics dacian" 0 requires factions { dacia, }
happiness_bonus bonus 2
}
construction 2
cost 800
settlement_min large_town
upgrades
{
temple_of_battle_large_temple
}
}
temple_of_battle_large_temple requires factions { dacia, thrace, }
{
capability
{
recruit "barb naked fanatics dacian" 1 requires factions { dacia, }
happiness_bonus bonus 3
recruits_morale_bonus bonus 1
}
construction 3
cost 1600
settlement_min city
upgrades
{
temple_of_battle_awesome_temple
}
}
temple_of_battle_awesome_temple requires factions { thrace, }
{
capability
{
recruit "barb naked fanatics dacian" 1 requires factions { dacia, }
happiness_bonus bonus 4
recruits_morale_bonus bonus 1
}
construction 5
cost 3200
settlement_min large_city
upgrades
{
temple_of_battle_pantheon
}
}
temple_of_battle_pantheon requires factions { thrace, }
{
capability
{
recruit "barb naked fanatics dacian" 2 requires factions { dacia, }
happiness_bonus bonus 7
recruits_morale_bonus bonus 2
}
construction 6
cost 6400
settlement_min huge_city
upgrades
{
}
}
}
plugins
{
}
}
And I changed it to:
Spoiler Alert, click show to read:
building temple_of_north_wind
{
levels temple_of_north_wind_shrine temple_of_north_wind_temple temple_of_north_wind_large_temple temple_of_north_wind_awesome_temple temple_of_north_wind_pantheon
{
temple_of_north_wind_shrine requires factions { thrace, }
{
capability
{
happiness_bonus bonus 1
law_bonus bonus 1
}
construction 1
cost 400
settlement_min town
upgrades
{
temple_of_north_wind_temple
}
}
temple_of_north_wind_temple requires factions { thrace, }
{
capability
{
law_bonus bonus 2
happiness_bonus bonus 2
}
construction 2
cost 800
settlement_min large_town
upgrades
{
temple_of_north_wind_large_temple
}
}
temple_of_north_wind_large_temple requires factions { thrace, }
{
capability
{
law_bonus bonus 3
happiness_bonus bonus 3
recruits_morale_bonus bonus 1
}
construction 3
cost 1600
settlement_min city
upgrades
{
temple_of_north_wind_awesome_temple
}
}
temple_of_north_wind_awesome_temple requires factions { thrace, }
{
capability
{
law_bonus bonus 4
happiness_bonus bonus 4
recruits_morale_bonus bonus 1
}
construction 5
cost 3200
settlement_min large_city
upgrades
{
temple_of_north_wind_pantheon
}
}
temple_of_north_wind_pantheon requires factions { thrace, }
{
capability
{
law_bonus bonus 7
happiness_bonus bonus 7
recruits_morale_bonus bonus 3
}
construction 6
cost 6400
settlement_min huge_city
upgrades
{
}
}
}
plugins
{
}
}
building temple_of_west_wind
{
levels temple_of_west_wind_shrine temple_of_west_wind_temple temple_of_west_wind_large_temple temple_of_west_wind_awesome_temple temple_of_west_wind_pantheon
{
temple_of_west_wind_shrine requires factions { thrace, }
{
capability
{
happiness_bonus bonus 1
armour 1
}
construction 1
cost 400
settlement_min town
upgrades
{
temple_of_north_wind_temple
}
}
temple_of_west_wind_temple requires factions { thrace, }
{
capability
{
law_bonus bonus 1
happiness_bonus bonus 2
armour 2
}
construction 2
cost 800
settlement_min large_town
upgrades
{
temple_of_north_wind_large_temple
}
}
temple_of_west_wind_large_temple requires factions { thrace, }
{
capability
{
law_bonus bonus 2
happiness_bonus bonus 3
recruits_morale_bonus bonus 1
armour 3
}
construction 3
cost 1600
settlement_min city
upgrades
{
temple_of_north_wind_awesome_temple
}
}
temple_of_west_wind_awesome_temple requires factions { thrace, }
{
capability
{
law_bonus bonus 2
happiness_bonus bonus 4
recruits_morale_bonus bonus 2
armour 3
weapon_simple 1
}
construction 5
cost 3200
settlement_min large_city
upgrades
{
temple_of_north_wind_pantheon
}
}
temple_of_west_wind_pantheon requires factions { thrace, }
{
capability
{
law_bonus bonus 7
happiness_bonus bonus 7
recruits_morale_bonus bonus 3
armour 3
weapon_simple 3
}
construction 6
cost 6400
settlement_min huge_city
upgrades
{
}
}
}
plugins
{
}
}
building temple_of_south_wind
{
levels temple_of_south_wind_shrine temple_of_south_wind_temple temple_of_south_wind_large_temple temple_of_south_wind_awesome_temple temple_of_south_wind_pantheon
{
temple_of_south_wind_shrine requires factions { thrace, }
{
capability
{
happiness_bonus bonus 1
trade_fleet 1
}
construction 1
cost 400
settlement_min town
upgrades
{
temple_of_south_wind_temple
}
}
temple_of_south_wind_temple requires factions { thrace, }
{
capability
{
trade_fleet 2
happiness_bonus bonus 2
}
construction 2
cost 800
settlement_min large_town
upgrades
{
temple_of_south_wind_large_temple
}
}
temple_of_south_wind_large_temple requires factions { thrace, }
{
capability
{
happiness_bonus bonus 3
trade_fleet 2
trade_base_income_bonus bonus 1
}
construction 3
cost 1600
settlement_min city
upgrades
{
temple_of_south_wind_awesome_temple
}
}
temple_of_south_wind_awesome_temple requires factions { thrace, }
{
capability
{
trade_base_income_bonus bonus 2
happiness_bonus bonus 4
trade_fleet 3
}
construction 5
cost 3200
settlement_min large_city
upgrades
{
temple_of_south_wind_pantheon
}
}
temple_of_south_wind_pantheon requires factions { thrace, }
{
capability
{
trade_base_income_bonus bonus 3
happiness_bonus bonus 7
trade_fleet 3
}
construction 6
cost 6400
settlement_min huge_city
upgrades
{
}
}
}
plugins
{
}
}
building temple_of_east_wind
{
levels temple_of_east_wind_shrine temple_of_east_wind_temple temple_of_east_wind_large_temple temple_of_east_wind_awesome_temple temple_of_east_wind_pantheon
{
temple_of_east_wind_shrine requires factions { thrace, }
{
capability
{
happiness_bonus bonus 2
}
construction 1
cost 400
settlement_min town
upgrades
{
temple_of_north_wind_temple
}
}
temple_of_east_wind_temple requires factions { thrace, }
{
capability
{
population_health_bonus bonus 1
farming_level 1
happiness_bonus bonus 2
}
construction 2
cost 800
settlement_min large_town
upgrades
{
temple_of_east_wind_large_temple
}
}
temple_of_east_wind_large_temple requires factions { thrace, }
{
capability
{
population_health_bonus bonus 2
happiness_bonus bonus 3
farming_level 2
}
construction 3
cost 1600
settlement_min city
upgrades
{
temple_of_east_wind_awesome_temple
}
}
temple_of_east_wind_awesome_temple requires factions { thrace, }
{
capability
{
population_health_bonus bonus 3
happiness_bonus bonus 4
farming_level 3
}
construction 5
cost 3200
settlement_min large_city
upgrades
{
temple_of_east_wind_pantheon
}
}
temple_of_east_wind_pantheon requires factions { thrace, }
{
capability
{
population_health_bonus bonus 4
happiness_bonus bonus 8
farming_level 4
}
construction 6
cost 6400
settlement_min huge_city
upgrades
{
}
}
}
plugins
{
}
}
I also edited the export_descr_buildings file accordingly. The game does not error or crash, it just flashes to the title screen for a while and then abruptly vanishes. What did I miss or do wrong?
I backed up the files and I know how to bring them back to normal so it's no big deal, but I'm kinda bummed out.
Edited (Brusilov): Added spoiler tags....




Reply With Quote







