PDA

View Full Version : Mod out large walls?



orangat
02-05-2006, 19:00
As per subject, without having to install any patches. I'd like to do it myself.
Is it just changing the export_descr_building file?

Also is it possible to mod out l.s.w. for just a certain faction?

aw89
02-05-2006, 20:20
You'll have to edit it away from some files in the campaign folder too to get them completely out of the game. (How many cities start with larger than stone walls anyway? just rome?)

professorspatula
02-05-2006, 21:30
A very simple way to prevent factions from building the larger stone walls is to edit the Export_descr_building.txt (EDB) file and just make it so the existing hidden resource 'Rome' is required for the walls to be built. That way only in Rome itself can you get the larger walls and everywhere else is limited to smaller ones.

Example line:
epic_stone_wall requires factions { carthaginian, eastern, parthia, egyptian, greek, roman, } and hidden_resource rome

You could remove the factions from the line too, but I like to leave a few benefits to capturing Rome.

Monarch
02-05-2006, 21:49
Would that mean people going from stone walls to epic ones? Or would stone be the best you could get?

orangat
02-05-2006, 22:04
What I had in mind was to allow small stone walls->epic and skip large walls entirely. I think the hidden resource statement could make it happen.

This is the sort of nonsense that should be fixed in patches.

fallen851
02-06-2006, 22:40
Simply change these lines "export_descr_building.txt" from

epic_stone_wall requires factions { carthaginian, eastern, parthia, egyptian, greek, roman, }

large_stone_wall requires factions { carthaginian, eastern, parthia, egyptian, greek, roman, }

to

epic_stone_wall requires factions { slave, }

large_stone_wall requires factions { slave, }

By doing this no one can build large or Epic walls, and they won't appear anywhere including Rome. Rome doesn't start with large or epic walls.

This fixes the siege tower bug.

Slug For A Butt
02-06-2006, 22:49
Nice work, easy bug fix. ~:cheers:

Watchman
02-06-2006, 22:59
It's probably not too difficult to "jump over" Large Stone Walls either, if that's what you're after. Juggling the upgrade lines ought to do it. You know, under stone_wall swap

upgrades
{
large_stone_wall
}

to

upgrades
{
epic_stone_wall
}

and you'll probably have to remove the relevant epic_stone_wall line from the large_stone_wall upgrade part to prevent conflicts.

Although personally I'd then just leave out both.