Star Citizen Wiki Modul:VehicleHardpoint/Data
Wir laden dich herzlich auf den Star Citizen Wiki Discord Server ein! Du kannst uns auch auf unserem neuen YouTube-Chanel finden!

Modul:VehicleHardpoint/Data

From Star Citizen Wiki

Modulinfo

Dieses Modul enthält Konfigurationseinstellungen zu Fahrzeug Hardpoints.


--- Hardcoded list of names that clash with other pages
local nameFixes = {
    Eclipse = 'Eclipse (Generator)'
}

local hardPointNames = {
    -- Types
    MainThruster = {
        de_DE = 'Primärtriebwerk',
        en_EN = 'Primary Thruster',
    },
    ManneuverThruster = {
        de_DE = 'Manövriertriebwerk',
        en_EN = 'Maneuvering Thruster',
    },

    -- Sub Types
    FixedThruster = {
        de_DE = 'Feste Manövrierdüse',
        en_EN = 'Fixed Maneuvering Thruster',
    },
    JointThruster = {
        de_DE = 'Kardanische Manövrierdüse',
        en_EN = 'Cardanic Maneuvering Thruster',
    },
    FlexThruster = {
        de_DE = 'Flexible Manövrierdüse',
        en_EN = 'Flexible Maneuvering Thruster',
    },
    RetroThruster = {
        de_DE = 'Retroschubdüse',
        en_EN = 'Retro Thruster',
    },
    VtolThruster = {
        de_DE = 'VTOL Schubdüse',
        en_EN = 'VTOL Thruster',
    },

    MainFixedThruster = {
        de_DE = 'Feste Hauptschubdüse',
        en_EN = 'Fixed Main Thruster',
    },
    MainJointThruster = {
        de_DE = 'Kardanische Hauptschubdüse',
        en_EN = 'Cardanic Main Thruster',
    },
    MainFlexThruster = {
        de_DE = 'Flexible Hauptschubdüse',
        en_EN = 'Flexible Main Thruster',
    },
    MainRetroThruster = {
        de_DE = 'Hauptretroschubdüse',
        en_EN = 'Main Retro Thruster',
    },
    MainVtolThruster = {
        de_DE = 'VTOL Hauptschubdüse',
        en_EN = 'VTOL Main Thruster',
    },

    DecoyLauncher = {
        de_DE = 'Täuschkörper (Köder)',
        en_EN = 'Decoy (Bait)',
    },
    NoiseLauncher = {
        de_DE = 'Täuschkörper (Geräusch)',
        en_EN = 'Decoy (Noise)',
    },

    FuelTankSmall = {
        de_DE = 'Treibstofftank (klein)',
        en_EN = 'Fuel Tank (small)',
    },
    FuelTankLarge = {
        de_DE = 'Treibstofftank (groß)',
        en_EN = 'Fuel Tank (large)',
    },

    QuantumFuelTankSmall = {
        de_DE = 'Quantentreibstofftank (klein)',
        en_EN = 'Quantum Fuel Tank (small)',
    },
    QuantumFuelTankLarge = {
        de_DE = 'Quantentreibstofftank (groß)',
        en_EN = 'Quantum Fuel Tank (large)',
    },

    GunTurret = {
        de_DE = 'Waffenturm',
        en_EN = 'Weapons Turret',
    },

    MissileLauncher = {
        de_DE = 'Raketenwerfer',
        en_EN = 'Rocket Launcher',
    },

    WeaponMining = {
        de_DE = 'Bergbaulaser',
        en_EN = 'Mining Laser',
    },
    MiningArm = {
        de_DE = 'Bergbauarm',
        en_EN = 'Mining Arm',
    },
    MiningTurret = {
        de_DE = 'Bergbauturm',
        en_EN = 'Mining Tower',
    },
}

--- Maps SC Item 'type' to Hardpoint Class and german type
--- Also includes alternative hardpoint name matches in case no 'type' is defined on the hardpoint
local hardPointMappings = {
    ['Cooler'] = {
        matches = {
            -- _left / _right / _2
            'hardpoint_cooler_.+',
            'hardpoint_cooler',
        },
        class = {
            de_DE = 'Systeme',
            en_EN = 'Systems',
        },
        type = {
            de_DE = 'Kühlaggregat',
            en_EN = 'Cooler',
        },
    },
    ['FuelTank'] = {
        matches = {
            -- _left / _right
            'hardpoint_fuel_tank_.+',
        },
        class = {
            de_DE = 'Antrieb',
            en_EN = 'Propulsion',
        },
        type = {
            de_DE = 'Treibstofftank',
            en_EN = 'Fuel Tank',
        },
    },
    ['FuelIntake'] = {
        matches = {
            -- _left / _right
            'hardpoint_fuel_intake_.+',
        },
        class = {
            de_DE = 'Antrieb',
            en_EN = 'Propulsion',
        },
        type = {
            de_DE = 'Treibstoffeinlass',
            en_EN = 'Fuel Intake',
        },
    },
    ['MainThruster'] = {
        matches = {
            'hardpoint_engine_.+',
        },
        class = {
            de_DE = 'Triebwerk',
            en_EN = 'Thruster',
        },
        type = {
            de_DE = 'Primärschubdüse',
            en_EN = 'Primary Thruster'
        },
    },
    ['ManneuverThruster'] = {
        matches = {
            'hardpoint_thruster_left_upper_.+',
            'hardpoint_thruster_right_upper_.+',
            'hardpoint_thruster_left_lower_.+',
            'hardpoint_thruster_right_lower_.+',
            'hardpoint_thruster_left_retro',
            'hardpoint_thruster_right_retro',
        },
        class = {
            de_DE = 'Triebwerk',
            en_EN = 'Thruster',
        },
        type = {
            de_DE = 'Manövrierschubdüse',
            en_EN = 'Maneuvering Thruster',
        },
    },
    ['MiningArm'] = {
        matches = {
            'hardpoint_mining_.+',
        },
        class = {
            de_DE = 'Bewaffnung',
            en_EN = 'Weapons',
        },
        type = {
            de_DE = 'Hilfsmittel',
            en_EN = 'Utility',
        },
    },
    ['MissileLauncher'] = {
        matches = {
            'hardpoint_missile_.+',
        },
        class = {
            de_DE = 'Bewaffnung',
            en_EN = 'Weapons',
        },
        type = {
            de_DE = 'Flugkörper',
            en_EN = 'Missiles',
        },
    },
    ['Missile'] = {
        matches = {
            'missile_.+_attach',
            'missile_attach_.+',
        },
        class = {
            de_DE = 'Bewaffnung',
            en_EN = 'Weapons',
        },
        type = {
            de_DE = 'Flugkörper',
            en_EN = 'Missiles',
        },
    },
    ['PowerPlant'] = {
        matches = {
            'hardpoint_engine_attach.*',
        },
        class = {
            de_DE = 'Systeme',
            en_EN = 'Systems',
        },
        type = {
            de_DE = 'Kraftwerksanlage',
            en_EN = 'Power Plant',
        },
    },
    ['QuantumDrive'] = {
        matches = {
            'hardpoint_quantum_drive',
        },
        class = {
            de_DE = 'Antrieb',
            en_EN = 'Propulsion',
        },
        type = {
            de_DE = 'Sprungmodul',
            en_EN = 'Jump Drive',
        },
    },
    ['QuantumFuelTank'] = {
        matches = {
            'hardpoint_quantum_fuel.*',
        },
        class = {
            de_DE = 'Antrieb',
            en_EN = 'Propulsion',
        },
        type = {
            de_DE = 'Quantentreibstofftank',
            en_EN = 'Quantum Fuel Tank',
        },
    },
    ['Radar'] = {
        matches = {
            'hardpoint_radar.*',
        },
        class = {
            de_DE = 'Avionik',
            en_EN = 'Avionics'
        },
        type = {
            de_DE = 'Radar',
            en_EN = 'Radar',
        },
    },
    ['SelfDestruct'] = {
        matches = {
            'hardpoint_self_destruct.+',
        },
        class = {
            de_DE = 'Systeme',
            en_EN = 'Systems',
        },
        type = {
            de_DE = 'Selbstzerstörung',
            en_EN = 'Self Destruct'
        },
    },
    ['Shield'] = {
        matches = {
            'hardpoint_shield_generator_.+',
        },
        class = {
            de_DE = 'Systeme',
            en_EN = 'Systems',
        },
        type = {
            de_DE = 'Schildgenerator',
            en_EN = 'Shield',
        },
    },
    ['Turret'] = {
        matches = {
            'TurretBase',
            'hardpoint_front_turret',
        },
        class = {
            de_DE = 'Bewaffnung',
            en_EN = 'Weapons',
        },
        type = {
            de_DE = 'Türme',
            en_EN = 'Turret',
        },
    },
    ['WeaponGun'] = {
        matches = {
            'hardpoint_weapon_left',
            'hardpoint_weapon_right',
        },
        class = {
            de_DE = 'Bewaffnung',
            en_EN = 'Weapons',
        },
        type = {
            de_DE = 'Waffen',
            en_EN = 'Weapon',
        },
    },
    ['WeaponDefensive'] = {
        matches = {},
        class = {
            de_DE = 'Bewaffnung',
            en_EN = 'Weapons',
        },
        type = {
            de_DE = 'Hilfsmittel',
            en_EN = 'Utility',
        },
    },
    ['WeaponMining'] = {
        matches = {},
        class = {
            de_DE = 'Bewaffnung',
            en_EN = 'Weapons',
        },
        type = {
            de_DE = 'Hilfsmittel',
            en_EN = 'Utility',
        },
    },

    -- Raw names
    -- TODO: Remove hard codes
    ['hardpoint_avionics'] = {
        matches = {},
        class = {
            de_DE = 'Avionik',
            en_EN = 'Avionics',
        },
        type = {
            de_DE = 'Rechner',
            en_EN = 'Computer',
        },
        item = {
            name = 'CSR-RP',
        }
    },
    ['hardpoint_battery'] = {
        matches = {},
        class = {
            de_DE = 'Systeme',
            en_EN = 'Systems',
        },
        type = {
            de_DE = 'Batterie',
            en_EN = 'Battery',
        },
        item = {
            name = 'FortCell',
        }
    },
    ['hardpoint_scanner'] = {
        matches = {
            'hardpoint_controller_scanner'
        },
        class = {
            de_DE = 'Avionik',
            en_EN = 'Avionics',
        },
        type = {
            de_DE = 'Scanner',
            en_EN = 'Scanner',
        },
        item = {
            name = 'CSR-RP',
        }
    },
}


local data = {}

data.nameFixes = nameFixes
data.hardPointNames = hardPointNames
data.hardPointMappings = hardPointMappings

return data
Cookies help us deliver our services. By using our services, you agree to our use of cookies.