View Full Version : Can I make fishing boats half their normal size?


jpinard
Oct 15, 2007, 06:59 PM
The generic fishing boats (ones used to show your working a tile) are too big and cluttery. Is there a way I can shrink their size?

rockinroger
Oct 16, 2007, 07:32 PM
To change the workboat size go to bts/asset/xml/art/Civ4ArtDefines_unit, search for workboats, there are 2.
1.Art_Define_Unit_Workboat and
2.Art_Define_Unit_Modern_Workboat.

The<fScale> line is the size in the game, so for regular workboat it is 0.19 for modern it is 0.28 those are the ones you need to change.

First always make a copy of the file you are changing, make the changes in the copy and replace the bts with the copy. good luck.

jpinard
Oct 16, 2007, 11:20 PM
To change the workboat size go to bts/asset/xml/art/Civ4ArtDefines_unit, search for workboats, there are 2.
1.Art_Define_Unit_Workboat and
2.Art_Define_Unit_Modern_Workboat.

The<fScale> line is the size in the game, so for regular workboat it is 0.19 for modern it is 0.28 those are the ones you need to change.

First always make a copy of the file you are changing, make the changes in the copy and replace the bts with the copy. good luck.

Oh my goodness. If this works I will be so fantastically happy! Thank you thank you thank you!

jpinard
Oct 17, 2007, 11:58 PM
Well, I got close! But I mis-spoke myself. I wanted to make the other boat icon smaller, not the workboat that travels around.

In the picture you can see I made the workboat smaller, but the boat icon next to it is what I wanted to shrink. Thanks again for the help!

http://www.jeffpinard.com/boats.jpg

Kael
Oct 18, 2007, 07:58 AM
The file that controls the size of improvements is CIV4PlotLSystem.xml. Check out that file and look for the following section:


<LNode Name="Leaf_Water_Worked_4x4">
<Width>4</Width>
<Height>4</Height>
<Attribute Class="Scalar">bNotBFS:1</Attribute>
<Attribute Class="RegionTest">0NW</Attribute>
<ArtRef Name="goal:IMPROVEMENT_WATER_WORKED">
<Attribute Class="Improvement">IMPROVEMENT_WATER_WORKED</Attribute>
<Attribute Class="Scalar">bIsPartOfImprovement:1</Attribute>
<Attribute Class="Scalar">bApplyRotation:1</Attribute>
</ArtRef>
</LNode>


Make the following change to halve the size of those boats:


<LNode Name="Leaf_Water_Worked_4x4">
<Width>4</Width>
<Height>4</Height>
<Attribute Class="Scalar">bNotBFS:1</Attribute>
<Attribute Class="RegionTest">0NW</Attribute>
<ArtRef Name="goal:IMPROVEMENT_WATER_WORKED">
<Attribute Class="Improvement">IMPROVEMENT_WATER_WORKED</Attribute>
<Attribute Class="Scalar">bIsPartOfImprovement:1</Attribute>
<Attribute Class="Scalar">bApplyRotation:1</Attribute>
<Scale>0.5</Scale>
</ArtRef>
</LNode>

jpinard
Oct 18, 2007, 01:32 PM
Thanks Kael - that worked perfect :)