Log in

View Full Version : Replacing Barbarian Forts with Wagon Laagers?



Seasoned Alcoholic
03-30-2006, 19:10
I've stumbled on bits and pieces of wagon laagers in various text files over the past few days. For reference, these are:

dbb_kevins_buildings.txt (wagonA, wagonB, wagonC)
dbb_andrews_buildings.txt (baggage_train_cart)

Both of these 2 (above) are located in descr_building_battle folder. Here's a couple of strat_map wagon laager texture locations:

barb_wagon_laager.tga.dds @ \Data\models_strat\textures
barb_wagon_laager.tga.dds @ \Data\models_strat\residences\textures

Now, I can see that if I modify descr_sm_forts_ports_watchtowers.txt in \data (basically by overwriting the barbarian fort entries, fingers crossed), hopefully the wagon laager texture would be displayed whenever a barbarian fort is constructed.

My question is, how do you go about adding the actual wagon lager to the battlefield in the case of fort siege battles? Is there a barbarian fort entry present that can be simply overwritten? I've never added new battlemap buildings before, so this is completely new to me.

I've used Vercingetorix's x-pak extractor tool, and have located the apparent wagon laager battlefield models (from those 2 text files mentioned earlier, INFO references):

LION_WAGON_LAAGER_WAGON_INFO.BPI
INFO_CART.BPI & INFO_CART_B.BPI

Both (above) are located @ \Data\packs\DATA\MODELS_BUILDING\INFO

Also found some battlefield textures for the wagons:

WAGON_LAAGER_BITS.TGA.DDS
WAGON_LAAGER_OVERLAY.TGA.DDS
WAGON_LAAGER_WHEEL.TGA.DDS
WAGON_LAAGER_WOOD_01.TGA.DDS
WAGON_LAAGER_WOOD_02.TGA.DDS
WAGON_LAAGER_WOOD_03.TGA.DDS

All (above) located @ \Data\packs\DATA\MODELS_BUILDING\TEXTURES

So from all this it appears that there are bits and pieces in place, it just requires an entry somewhere in the text files. Could you please offer any advice as to how to use wagon laagers instead of barbarian forts? If not then its no problem, cheers!

Seasoned Alcoholic
03-30-2006, 20:03
Right, I think I've found some of the files that need to edited. They're in the settlement_plans folder, and the various subdirectories and files within this.

I've just spent some time trying to figure out how to get the wagon laagers to replace the fort, but have had no success. In settlement_plans, there's a text file called LION_wagon_laager.txt, and a couple of .CAS files.

What I did was to replace the barbarian fort plan with the LION wagon laager one. However, error messages from -show_err have prevented me from actually getting into the game and taking a look.

It requested a street_plan for the wagon laagers, so I just copied and pasted the LION_wagon_laager_area.CAS file into the street_plans folder, and linked this up in the text file. This seemed to work, but then it requested a boundary be specified.

What I did here was to use the actual wagon laager arrangement as the boundary (or walls). However, it couldn't find wagonA, wagonB or wagonC, which are the three wagon types. I tried to fix this by copying the models down from the x-pak extractor, even placing them in the borders folder, but it still could not find them. Must be referenced somewhere else.

Then I went into a couple of other settlement plan text files to see how they were done. Some used a radius in metres for the boundary (64m, 128m specified in filename only), and there are a couple of .CAS files in the boundary file which I tried out. However, yet another error message appeared, this time stating that a specific distance for the boundary was required. As I couldn't see anything of use in the other files, I'm a bit stumped until I can work out which other files are referenced, specifically the wagon models / walls etc.

Can anyone see anywhere I may have gone wrong?