コード例 #1
0
 def slotDefinitions(self):
     return [
         OutputSlot('pitch', Component.SLOT_ANGLE,
                    PlayerMaxRotationSpeed._pitch),
         OutputSlot('roll', Component.SLOT_ANGLE,
                    PlayerMaxRotationSpeed._roll),
         OutputSlot('yaw', Component.SLOT_ANGLE,
                    PlayerMaxRotationSpeed._yaw)
     ]
コード例 #2
0
 def slotDefinitions(self):
     return [
         InputSlot('entity_id', Component.SLOT_INT, None),
         OutputSlot('optimal', Component.SLOT_FLOAT,
                    HeightLevelsByEntityId._getOptimal),
         OutputSlot('critical', Component.SLOT_FLOAT,
                    HeightLevelsByEntityId._getCritical),
         OutputSlot('max', Component.SLOT_FLOAT,
                    HeightLevelsByEntityId._getMax)
     ]
コード例 #3
0
 def slotDefinitions(self):
     return [
         InputSlot('spline_id', Component.SLOT_STR, None,
                   Component.EDITOR_SPLINE_NAME_SELECTOR),
         InputSlot('time', Component.SLOT_FLOAT, None),
         OutputSlot('position', Component.SLOT_VECTOR3,
                    SplinePoint._getSplinePos),
         OutputSlot('yaw', Component.SLOT_ANGLE, SplinePoint._getSplineYaw),
         OutputSlot('pitch', Component.SLOT_ANGLE,
                    SplinePoint._getSplinePitch),
         OutputSlot('roll', Component.SLOT_ANGLE,
                    SplinePoint._getSplineRoll)
     ]
コード例 #4
0
 def slotDefinitions(self):
     return [
         InputSlot('input', Component.SLOT_EVENT,
                   FreeHangarCamera._onInput),
         InputSlot('enable', Component.SLOT_BOOL, None),
         OutputSlot('out', Component.SLOT_EVENT, None)
     ]
コード例 #5
0
 def slotDefinitions(self):
     return [
         InputSlot('spline_id', Component.SLOT_STR, None,
                   Component.EDITOR_SPLINE_NAME_SELECTOR),
         OutputSlot('duration', Component.SLOT_FLOAT,
                    SplineDuration._getSplineDuration)
     ]
コード例 #6
0
 def slotDefinitions(self):
     return [
         InputSlot('in', Component.SLOT_EVENT, FindPlanesInArea._execute),
         InputSlot('position', Component.SLOT_VECTOR3, None),
         InputSlot('radius', Component.SLOT_FLOAT, None),
         OutputSlot('out', Component.SLOT_EVENT, None)
     ]
コード例 #7
0
 def slotDefinitions(self):
     return [
         InputSlot('input', Component.SLOT_EVENT,
                   SetEffectTriggerByEntityId._execute),
         InputSlot('entity_id', Component.SLOT_INT, None),
         InputSlot('trigger_name', Component.SLOT_STR, None),
         InputSlot('is_on', Component.SLOT_BOOL, None),
         OutputSlot('out', Component.SLOT_EVENT, None)
     ]
コード例 #8
0
 def slotDefinitions(self):
     return [
         InputSlot('input', Component.SLOT_EVENT, DebugLine3d._execute),
         InputSlot('entity', Component.SLOT_ENTITY, None),
         InputSlot('group', Component.SLOT_STR, None),
         InputSlot('from', Component.SLOT_VECTOR3, None),
         InputSlot('to', Component.SLOT_VECTOR3, None),
         InputSlot('is_arrow', Component.SLOT_BOOL, None),
         OutputSlot('out', Component.SLOT_EVENT, None)
     ]
コード例 #9
0
 def slotDefinitions(self):
     return [
         InputSlot('input', Component.SLOT_EVENT, DebugText3d._execute),
         InputSlot('entity', Component.SLOT_ENTITY, None),
         InputSlot('group', Component.SLOT_STR, None),
         InputSlot('key', Component.SLOT_STR, None),
         InputSlot('value', Component.SLOT_STR, None),
         InputSlot('offset', Component.SLOT_VECTOR3, None),
         OutputSlot('out', Component.SLOT_EVENT, None)
     ]
コード例 #10
0
 def slotDefinitions(self):
     return [
         InputSlot('input', Component.SLOT_EVENT,
                   SetCameraPosAndTarget._onInput),
         InputSlot('reset_yaw', Component.SLOT_EVENT,
                   SetCameraPosAndTarget._onReset),
         InputSlot('position', Component.SLOT_VECTOR3, None),
         InputSlot('target', Component.SLOT_VECTOR3, None),
         OutputSlot('out', Component.SLOT_EVENT, None)
     ]
コード例 #11
0
 def slotDefinitions(self):
     return [
         InputSlot('input', Component.SLOT_EVENT,
                   SetCameraPosAndRotation._onInput),
         InputSlot('position', Component.SLOT_VECTOR3, None),
         InputSlot('yaw', Component.SLOT_ANGLE, None),
         InputSlot('pitch', Component.SLOT_ANGLE, None),
         InputSlot('roll', Component.SLOT_ANGLE, None),
         OutputSlot('out', Component.SLOT_EVENT, None)
     ]
コード例 #12
0
 def slotDefinitions(self):
     return [
         InputSlot('entity_id', Component.SLOT_INT, None),
         OutputSlot('aircraft_id', Component.SLOT_INT,
                    FindAircraftIdByEntityId._execute)
     ]
コード例 #13
0
 def slotDefinitions(self):
     return [
         InputSlot('aircraft_id', Component.SLOT_INT, None),
         OutputSlot('aircraft_level', Component.SLOT_INT,
                    FindAircraftLevelById._execute)
     ]
コード例 #14
0
 def slotDefinitions(self):
     return [InputSlot('sector_entity', Component.SLOT_ENTITY, None), OutputSlot('seconds', Component.SLOT_FLOAT, SectorLockTimeLeft._execute)]
コード例 #15
0
 def slotDefinitions(self):
     return [InputSlot('sector_entity', Component.SLOT_ENTITY, None), InputSlot('team_id', Component.SLOT_TEAM_ID, None), OutputSlot('res', Component.SLOT_INT, SectorCapturePoints._execute)]
コード例 #16
0
 def slotDefinitions(self):
     return [InputSlot('in', Component.SLOT_EVENT, FindSectorsInBattle._execute), OutputSlot('out', Component.SLOT_EVENT, None)]
コード例 #17
0
 def slotDefinitions(self):
     return [InputSlot('sector_entity', Component.SLOT_ENTITY, None), OutputSlot('preset_name', Component.SLOT_STR, SectorPreset._execute)]
コード例 #18
0
 def slotDefinitions(self):
     return [OutputSlot('res', Component.SLOT_STR, BattleGameMode._execute)]
コード例 #19
0
 def slotDefinitions(self):
     return [InputSlot('air_strike_wave_id', Component.SLOT_STR, None), InputSlot('team_id', Component.SLOT_TEAM_ID, None), OutputSlot('res', Component.SLOT_INT, AirStrikeWaveBotFocusCount._execute)]
コード例 #20
0
 def slotDefinitions(self):
     return [InputSlot('input', Component.SLOT_EVENT, SetStrategyTargetAsAirStrikeWave._execute),
      InputSlot('bot_entity', Component.SLOT_ENTITY, None),
      InputSlot('position', Component.SLOT_VECTOR3, None),
      InputSlot('air_strike_wave_id', Component.SLOT_STR, None),
      OutputSlot('out', Component.SLOT_EVENT, None)]
コード例 #21
0
 def slotDefinitions(self):
     return [InputSlot('in', Component.SLOT_EVENT, AirStrikePlanesByWaveId._execute), InputSlot('air_strike_wave_id', Component.SLOT_STR, None), OutputSlot('out', Component.SLOT_EVENT, None)]
コード例 #22
0
 def slotDefinitions(self):
     return [
         InputSlot('aircraft_id', Component.SLOT_INT, None),
         OutputSlot('aircraft_class', Component.SLOT_AIRCRAFT_CLASS,
                    FindAircraftClassById._execute)
     ]
コード例 #23
0
 def slotDefinitions(self):
     return [InputSlot('in', Component.SLOT_EVENT, AirStrikeWavesInBattle._execute), OutputSlot('out', Component.SLOT_EVENT, None)]
コード例 #24
0
 def slotDefinitions(self):
     return [
         InputSlot('teamIdA', Component.SLOT_TEAM_ID, None),
         InputSlot('teamIdB', Component.SLOT_TEAM_ID, None),
         OutputSlot('res', Component.SLOT_STR, TeamLogicalState._execute)
     ]
コード例 #25
0
 def slotDefinitions(self):
     return [InputSlot('air_strike_wave_id', Component.SLOT_STR, None), OutputSlot('res', Component.SLOT_TEAM_ID, AirStrikeTeamId._execute)]
コード例 #26
0
 def slotDefinitions(self):
     return [
         InputSlot('entity_id', Component.SLOT_INT, None),
         OutputSlot('height', Component.SLOT_FLOAT,
                    HeightAboveGroundByEntityId._execute)
     ]
コード例 #27
0
 def slotDefinitions(self):
     return [InputSlot('sector', Component.SLOT_ENTITY, None), InputSlot('team_id', Component.SLOT_TEAM_ID, None), OutputSlot('res', Component.SLOT_INT, SectorBotFocusCount._execute)]
コード例 #28
0
 def slotDefinitions(self):
     return [
         InputSlot('entity_id', Component.SLOT_INT, None),
         OutputSlot('speed', Component.SLOT_FLOAT, SpeedByEntityId._execute)
     ]
コード例 #29
0
 def slotDefinitions(self):
     return [InputSlot('input', Component.SLOT_EVENT, SetStrategyTargetAsEntity._execute),
      InputSlot('bot_entity', Component.SLOT_ENTITY, None),
      InputSlot('target_entity', Component.SLOT_ENTITY, None),
      OutputSlot('out', Component.SLOT_EVENT, None)]
コード例 #30
0
 def slotDefinitions(self):
     return [InputSlot('sector_entity', Component.SLOT_ENTITY, None), OutputSlot('res', Component.SLOT_FLOAT, SectorRadius._execute)]