NovaBryan/EVE_Dump
Log | Files | 📦 下载最新源码 (.zip) | Refs | README

const.py (5303B)


      1 #Embedded file name: C:\BuildAgent\work\20d73f1b24eed06e\eve\release\V24.01\packages\eveaudio\const.py
      2 from __future__ import absolute_import
      3 import os
      4 from enum import Enum
      5 import audio2
      6 from inventorycommon import const
      7 from .utils import ControllerVariableEnum
      8 
      9 class ShipState(Enum):
     10     preparing_warp = 0
     11     warping = 1
     12     idle = 2
     13 
     14 
     15 AUDIO_SOURCES_P4_DEPOT_PATH = '//depot/content/EVE/Audio/EVE-Audio/Originals'
     16 GENERATED_SOUNDBANKS_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', 'eve', 'client', 'res', 'Audio'))
     17 WWISE_PROJECT_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'audiotools', 'Wwise'))
     18 WWISE_BIN_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', 'carbon', 'tools', 'audiotools', 'Authoring', audio2.GetWwiseVersion(), 'x64', 'Release', 'bin'))
     19 WWISE_CLI_PATH = os.path.join(WWISE_BIN_PATH, 'WwiseConsole.exe')
     20 MASTER_MUSIC_GRAPH = 805
     21 UI_AUDIO_TRIGGERS = {'arena_opponent_matched': 'ui_pvp_arena_opponent_matched',
     22  'warp_prep': 'warp_ship_init',
     23  'warp_prep_abort': 'warp_ship_abort'}
     24 PI_AUDIO_TRIGGERS = {const.typePlanetEarthlike: 'terrestrial_pi_play',
     25  const.typePlanetGas: 'gas_pi_play',
     26  const.typePlanetIce: 'ice_pi_play',
     27  const.typePlanetLava: 'lava_pi_play',
     28  const.typePlanetOcean: 'oceanic_pi_play',
     29  const.typePlanetSandstorm: 'barren_pi_play',
     30  const.typePlanetThunderstorm: 'storm_pi_play',
     31  const.typePlanetPlasma: 'plasma_pi_play',
     32  const.typePlanetShattered: 'plasma_pi_play',
     33  const.typePlanetScorched: 'plasma_pi_play'}
     34 PLANET_3D_AUDIO_TRIGGERS = {const.typePlanetEarthlike: 'terrestrial_3d_play',
     35  const.typePlanetGas: 'gas_3d_play',
     36  const.typePlanetIce: 'ice_3d_play',
     37  const.typePlanetLava: 'lava_3d_play',
     38  const.typePlanetOcean: 'oceanic_3d_play',
     39  const.typePlanetSandstorm: 'barren_3d_play',
     40  const.typePlanetThunderstorm: 'storm_3d_play',
     41  const.typePlanetPlasma: 'plasma_3d_play',
     42  const.typePlanetShattered: 'plasma_3d_play',
     43  const.typePlanetScorched: 'plasma_3d_play'}
     44 TRIG_PLANET_3D_TRIGGER = 'triglavian_planet_atmo_3d_play'
     45 TRIG_PLANET_PI_TRIGGER = 'triglavian_planet_atmo_pi_play'
     46 VIDEO_OVERLAY_STATE_ON = ('video_overlay', 'on')
     47 VIDEO_OVERLAY_STATE_OFF = ('video_overlay', 'off')
     48 MICROWARPDRIVE_GUID = 'effects.MicroWarpDrive'
     49 AFTERBURNER_GUID = 'effects.Afterburner'
     50 WARPING_GUID = 'effects.Warping'
     51 
     52 class ModuleState(ControllerVariableEnum):
     53     deactivated = 1
     54     activated = 2
     55     powerdown = 3
     56 
     57 
     58 class ModuleType(ControllerVariableEnum):
     59     microwarpdrive = 1
     60     afterburner = 2
     61 
     62 
     63 class WarpState(ControllerVariableEnum):
     64     prep = 1
     65     start = 2
     66     decelerate = 3
     67     stop = 4
     68     finished = 5
     69 
     70 
     71 class ActingParty(ControllerVariableEnum):
     72     firstParty = 1
     73     thirdParty = 2
     74 
     75 
     76 STOP_SHIP_CTRL_VARIABLE = 'StopShipRequested'
     77 ENGINE_LIMIT_MAX = 200
     78 ENGINE_LIMIT_MIN = 40
     79 ENGINE_LIMIT_RTPC = 'engine_voice_limit'
     80 ENGINE_LIMITING_CATEGORIES = [const.categoryEntity, const.categoryShip]
     81 USER_ERROR_KEY_TO_EVENT = {'CrystalRequired': 'msg_NoCharges_play',
     82  'NoCharges': 'msg_NoCharges_play',
     83  'NotEnoughCharges': 'msg_NoCharges_play',
     84  'WarpDriveActive': 'msg_WarpDriveActive_play'}
     85 AURA_MESSAGES = ['msg_AlreadyCloaking_play',
     86  'msg_AutoPilotApproaching_play',
     87  'msg_AutoPilotApproachingStation_play',
     88  'msg_MiningDronesDeactivatedAsteroidEmpty_play',
     89  'msg_AutoPilotDisabled_play',
     90  'msg_AutoPilotDisabled_playlotDisabledStuckSystem_play',
     91  'msg_AutoPilotDisabledUnreachable_play',
     92  'msg_AutoPilotDisabledNoPathSet_play',
     93  'msg_AutoPilotWaypointReached_play',
     94  'msg_AutoPilotEnabled_play',
     95  'msg_AutoPilotJumping_play',
     96  'msg_AutoPilotWarpingTo_play',
     97  'msg_CannotMergeSingletonItems_play',
     98  'msg_CannotRemoveFromThatLocation_play',
     99  'msg_CannotSellActiveShip_play',
    100  'msg_CantAnchorNoMoonNearby_play',
    101  'msg_CantBuildNoPlanetNearby_play',
    102  'msg_CantCloakTargeted_play',
    103  'msg_CantCloakTargeting_play',
    104  'msg_CantConfigureDistant_play',
    105  'msg_CantConfigureNotOwner_play',
    106  'msg_CantConfigureThat_play',
    107  'msg_CantDockWhileCloaked_play',
    108  'msg_CantInEmpireSpace_play',
    109  'msg_CantInEmpireSpace2_play',
    110  'msg_CantJumpAfterAggression_play',
    111  'msg_CantJumpWhileCloaked_play',
    112  'msg_MiningDronesDeactivatedCargoHoldFull_play',
    113  'msg_OnConnecting_play',
    114  'msg_DeniedTargetingCloaked_play',
    115  'msg_DockingAccepted_play',
    116  'msg_CantDockAfterAggression_play',
    117  'msg_DockingRequestDenied_play',
    118  'msg_DroneCommandRequiresActiveTarget_play',
    119  'msg_NotEnoughPower_play',
    120  'msg_NotEnoughPowerOutput_play',
    121  'msg_InvalidItemForSlot_play',
    122  'msg_NoCharges_play',
    123  'msg_NotEnoughCharges_play',
    124  'msg_NoMergingDifferentContrabands_play',
    125  'msg_NotEnoughEnergy_play',
    126  'msg_OnDockingRequest_play',
    127  'msg_ShpCantAssembleInsideShip_play',
    128  'msg_SkillTrained_play',
    129  'msg_SlotAlreadyOccupied_play',
    130  'msg_SpeedZero_play',
    131  'msg_TargetLost_play',
    132  'msg_TargetElectronicsScanStrengthsIncompatible_play',
    133  'msg_WarpDriveActive_play',
    134  'msg_AutoPilotWarpingToStation_play',
    135  'msg_WarpingWithAvailablePower_play',
    136  'msg_WarpingWithinGlobalDisruptors_play',
    137  'msg_WaypointAlreadySet_play',
    138  'msg_RankLost_play',
    139  'msg_RankGained_play',
    140  'msg_SecurityStatusAggressionChange_play',
    141  'msg_SecurityStatusAssistanceChange_play',
    142  'msg_SecurityStatusPodKillChange_play',
    143  'msg_SecurityStatusPoliceAggressionChange_play',
    144  'msg_SecurityStatusPoliceKillChange_play',
    145  'voc_general_aura15_play']