Data Enums:: Item SizeType - Subject9x/battleMETAL GitHub Wiki
Items (weapons and equipment) in the game have whats called a SizeType value for determining how large they are for a Mech's Hardpoint. This is just for balancing Hardpoints and Weapons.
Schema
example hardpoint: (BAL3 | ENE1 | ENE2).
This means a hardpoint can accept Ballist-Size 1 weapons, and Energy-Size 2 and 3 weapons.
-
Type
- BAL - ballistic
- ENE - Energy
- MIS - Missile / Explosive
- MSC - Module / upgrades
-
Size
- 1
- 2
- 3
- 4
-
Value Values are powers of 2 bit flags, starting at BAL1 = 1. You don't really need to know the specific values because these are included in progs and csprogs in /common/data/data_values_game.qc
Ballistic
- BAL1 = 1
- BAL2 = 2
- BAL3 = 4
- BAL4 = 8
Energy
- ENE1 = 16
- ENE2 = 32
- ENE3 = 64
- ENE4 = 128
Missile
- MIS1 = 256
- MIS2 = 512
- MIS3 = 1024
- MIS4 = 2048
Module
- MSC1 = 4096
- MSC2 = 8192
- MSC3 = 16384
- MSC4 = 32768