phungus420
Deity
- Joined
- Mar 1, 2003
- Messages
- 6,296
That's kind of difficult to explain... I'm in the middle of updating, but it'll probably still take an hour or so to get the next build up, and once I"m done with that, I'll have a patch with this fix for the 0.5 beta. If you really want to fix it now though, this is how:
-Extract, and Rename the button file that achilleszero has posted above. I'd suggest Armored_Car_Fixed just to stay consistent.
-Put the renamed (and extracted) file in the .../art/interface/buttons/units folder.
-Open up the Art defines Unit file (found in .../assets/XML/Art) using notepad or some basic text editor.
-Select the Edit heading in notepad and go to find.
-In the find box type in ARMORED_SCOUT
-That'll take you to this block:
What I have bolded, rename to what you named the button.
BTW the reason you can't find what you are looking for is because it's packed in the wolfshanze.fpk, which is also the reason you can't just use the same name for the button, as it'll use the .fpk file, which isn't the proper size, so you need to rename the button, and edit the art defines file for that reason.
-Extract, and Rename the button file that achilleszero has posted above. I'd suggest Armored_Car_Fixed just to stay consistent.
-Put the renamed (and extracted) file in the .../art/interface/buttons/units folder.
-Open up the Art defines Unit file (found in .../assets/XML/Art) using notepad or some basic text editor.
-Select the Edit heading in notepad and go to find.
-In the find box type in ARMORED_SCOUT
-That'll take you to this block:
Code:
<UnitArtInfo>
<Type>ART_DEF_UNIT_ARMORED_SCOUT</Type>
<Button>Art\Interface\Buttons\Units\[B]Armored_Car[/B].dds</Button>
<fScale>0.42</fScale>
<fInterfaceScale>0.9</fInterfaceScale>
<bActAsLand>0</bActAsLand>
<bActAsAir>0</bActAsAir>
<NIF>Art/Units/Armored Scout/BA_64B.nif</NIF>
<KFM>Art/Units/Armored Scout/BA_64B.kfm</KFM>
<SHADERNIF>Art/Units/Armored Scout/BA_64B.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/TankShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<iDamageStates>4</iDamageStates>
<TrailDefinition>
<Texture>Art/Shared/tanktread.dds</Texture>
<fWidth>0.8</fWidth>
<fLength>180.0</fLength>
<fTaper>0.0</fTaper>
<fFadeStartTime>0.2</fFadeStartTime>
<fFadeFalloff>0.35</fFadeFalloff>
</TrailDefinition>
<fBattleDistance>0.5</fBattleDistance>
<fRangedDeathTime>0.12</fRangedDeathTime>
<bActAsRanged>1</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop>LOOPSTEP_TANK</AudioRunTypeLoop>
<AudioRunTypeEnd>ENDSTEP_TANK</AudioRunTypeEnd>
</AudioRunSounds>
<SelectionSound>AS3D_UN_TANK_FORT</SelectionSound>
<ActionSound>AS3D_UN_TANK_FORT</ActionSound>
</UnitArtInfo>
BTW the reason you can't find what you are looking for is because it's packed in the wolfshanze.fpk, which is also the reason you can't just use the same name for the button, as it'll use the .fpk file, which isn't the proper size, so you need to rename the button, and edit the art defines file for that reason.