
Originally Posted by
Scipio
So is anybody gunna mod squaker to be less devastating? It is really starting to piss me off.
Well, I'm not a hardcore modder, but the only thing I could think of that's easily accessible is to mod the traits, so that ever general who's ever in a settlement is given -10 squalor or so.
I've haven't fully tested this, so if you try backup your files.
Open home/data/export_descr_character_traits.txt, find this entry
Code:
Level Great_Builder
Description Great_Builder_desc
EffectsDescription Great_Builder_effects_desc
Epithet Great_Builder_epithet_desc
Threshold 36
Effect Influence 1
Effect Construction 15
Effect Squalor -3
Change Effect Squalor -3 to whatever you want, and perhaps remove the other effects.
So you could change it to:
Code:
Level Great_Builder
Description Great_Builder_desc
EffectsDescription Great_Builder_effects_desc
Epithet Great_Builder_epithet_desc
Threshold 36
Effect Squalor -10
Then search further down for:
Code:
Trigger governor_building
WhenToTest GovernorBuildingCompleted
Condition GovernorInResidence
Affects GoodBuilder 1 Chance 20
Change to:
Code:
Trigger governor_building
WhenToTest CharacterTurnEnd
Condition Condition EndedInSettlement
Affects GoodBuilder 36 Chance 100
If you want the game to display the right figures, you'll need to edit the appropriate line in home/data/text/export_VnVs.txt
I've had a quick check and it seems to work quite well. A few only get Excellent Builder, but that's better than nothing I suppose. The Great Builder guys put a 80% Public order cap on squalor, even in the largest of large cities, and will eliminate it in all but larger Large cities. It's crude, I know, but hopefully it'll tide you over until one of the modders gets into gear.
Remember to backup those files, and - if RTW's files are anything like MTW's - be sure to put exact the right spaces, tabs, etc in the file. Do one thing at a time, and check that RTW still loads. Run the game with the "-show_err” command for help if you make a mistake. CA says that it should give you more information about what went wrong in the error checking.
Edit: You could also mod a health building, but that would just counter the effect, not reduce squalor itself. I suppose you could mod the health building to actually combat squalor. The advantage of this would be that you could remove the mod without affecting the game, whereas all family members in the game are permanently modified in the mod below. Also squalor could be tackled in all your settlements without the need for family members.
For example, in home/export_descr_buildings.txt:
Code:
sewers requires factions { ct_carthage, egyptian, greek, roman, } and building_present_min_level market trader
{
capability
{
population_health_bonus bonus 1
}
construction 2
cost 800
settlement_min large_town
upgrades
{
baths
}
}
And edit the population_health_bonus bonus to something larger. You would either want to mod the upgrades or just remember not to build them as it would remove your extra bonus. You might also want to let the other factions in on the scheme.
Bookmarks