Files
source/gamedir/Base/TableData/Lookup/AttachmentClass.xml
T
d683cdeb64 Run from gamedir (#686)
* prepare gamedir for running the game

* Stop telling installers to overwrite the vanilla game

The release no longer contains anything that lands on a vanilla file:
its base data lives in Base, so unpacking it over the game directory
and copying the game's Data into the release now amount to the same
installation.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Give the mod's base data its own VFS profile

Its files ship in Base now, so that a vanilla Data directory can be
copied in whole without a single collision. Mount Base right above the
vanilla dirs in every profile stack — the slot where the installer's
overwrites used to end up.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Mount Base in the language overlays' VFS configs too

Assembling a release copies a <Language>_Version directory over
gamedir, its own copies of the configs included, so without the same
Base profile every non-English release would mount nothing from Base.

Their libraries move along with the rest of the base data: each
language slf, and the Russian data.slf that shadows the vanilla
Data.slf by name.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Ignore a vanilla Data directory dropped into gamedir

Running the game here needs one copied in, and it is an untouched copy
of somebody's retail install — nothing this repository should track.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Ignore only the player profile directory, not every Profiles

The unanchored pattern also swallowed Base/TableData/Profiles, the
mod's soldier profile XMLs, which are tracked and belong in a release.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* move gamedir/Data to gamedir/Base

* move gamedir-languages' Data to Base

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-01 11:05:15 -03:00

147 lines
2.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<JA2Data>
<AttachmentClass>
<id>0</id>
<name>Default</name>
</AttachmentClass>
<AttachmentClass>
<id>1</id>
<name>Bipod</name>
</AttachmentClass>
<AttachmentClass>
<id>2</id>
<name>Suppressor</name>
</AttachmentClass>
<AttachmentClass>
<id>4</id>
<name>Laser</name>
</AttachmentClass>
<AttachmentClass>
<id>8</id>
<name>Sight</name>
</AttachmentClass>
<AttachmentClass>
<id>12</id>
<name>Laser + Sight</name>
</AttachmentClass>
<AttachmentClass>
<id>16</id>
<name>Scope</name>
</AttachmentClass>
<AttachmentClass>
<id>20</id>
<name>Laser + Scope</name>
</AttachmentClass>
<AttachmentClass>
<id>24</id>
<name>Sight + Scope</name>
</AttachmentClass>
<AttachmentClass>
<id>28</id>
<name>Laser + Sight + Scope</name>
</AttachmentClass>
<AttachmentClass>
<id>32</id>
<name>Stock</name>
</AttachmentClass>
<AttachmentClass>
<id>64</id>
<name>Magwell</name>
</AttachmentClass>
<AttachmentClass>
<id>128</id>
<name>Internal</name>
</AttachmentClass>
<AttachmentClass>
<id>256</id>
<name>External</name>
</AttachmentClass>
<AttachmentClass>
<id>512</id>
<name>Underbarrel</name>
</AttachmentClass>
<AttachmentClass>
<id>513</id>
<name>Bipod + Underbarrel</name>
</AttachmentClass>
<AttachmentClass>
<id>1024</id>
<name>Grenade</name>
</AttachmentClass>
<AttachmentClass>
<id>2048</id>
<name>Rocket</name>
</AttachmentClass>
<AttachmentClass>
<id>4096</id>
<name>Foregrip</name>
</AttachmentClass>
<AttachmentClass>
<id>4097</id>
<name>Bipod + Foregrip</name>
</AttachmentClass>
<AttachmentClass>
<id>4608</id>
<name>Foregrip + Underbarrel</name>
</AttachmentClass>
<AttachmentClass>
<id>8192</id>
<name>Helmet</name>
</AttachmentClass>
<AttachmentClass>
<id>16384</id>
<name>Vest</name>
</AttachmentClass>
<AttachmentClass>
<id>32768</id>
<name>Pants</name>
</AttachmentClass>
<AttachmentClass>
<id>65536</id>
<name>Detonator</name>
</AttachmentClass>
<AttachmentClass>
<id>131072</id>
<name>Battery</name>
</AttachmentClass>
<AttachmentClass>
<id>262144</id>
<name>Extender</name>
</AttachmentClass>
<AttachmentClass>
<id>524288</id>
<name>Sling</name>
</AttachmentClass>
<AttachmentClass>
<id>1048576</id>
<name>Remote Detonator</name>
</AttachmentClass>
<AttachmentClass>
<id>2097152</id>
<name>Defuser</name>
</AttachmentClass>
<AttachmentClass>
<id>2162688</id>
<name>Detonator + Defuser</name>
</AttachmentClass>
<AttachmentClass>
<id>3145728</id>
<name>Remote Detonator + Defuser</name>
</AttachmentClass>
<AttachmentClass>
<id>4194304</id>
<name>Iron Sight</name>
</AttachmentClass>
<AttachmentClass>
<id>8388608</id>
<name>Feeder</name>
</AttachmentClass>
<AttachmentClass>
<id>16777216</id>
<name>Modular Pouch</name>
</AttachmentClass>
<AttachmentClass>
<id>33554432</id>
<name>Rifle Grenade</name>
</AttachmentClass>
</JA2Data>