Esempio n. 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)
     ]
Esempio n. 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)
     ]
Esempio n. 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)
     ]
Esempio n. 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)
     ]
Esempio n. 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)
     ]
Esempio n. 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)
     ]
Esempio n. 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)
     ]
Esempio n. 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)
     ]
Esempio n. 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)
     ]
Esempio n. 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)
     ]
Esempio n. 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)
     ]
Esempio n. 12
0
 def slotDefinitions(self):
     return [
         InputSlot('entity_id', Component.SLOT_INT, None),
         OutputSlot('aircraft_id', Component.SLOT_INT,
                    FindAircraftIdByEntityId._execute)
     ]
Esempio n. 13
0
 def slotDefinitions(self):
     return [
         InputSlot('aircraft_id', Component.SLOT_INT, None),
         OutputSlot('aircraft_level', Component.SLOT_INT,
                    FindAircraftLevelById._execute)
     ]
Esempio n. 14
0
 def slotDefinitions(self):
     return [InputSlot('sector_entity', Component.SLOT_ENTITY, None), OutputSlot('seconds', Component.SLOT_FLOAT, SectorLockTimeLeft._execute)]
Esempio n. 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)]
Esempio n. 16
0
 def slotDefinitions(self):
     return [InputSlot('in', Component.SLOT_EVENT, FindSectorsInBattle._execute), OutputSlot('out', Component.SLOT_EVENT, None)]
Esempio n. 17
0
 def slotDefinitions(self):
     return [InputSlot('sector_entity', Component.SLOT_ENTITY, None), OutputSlot('preset_name', Component.SLOT_STR, SectorPreset._execute)]
Esempio n. 18
0
 def slotDefinitions(self):
     return [OutputSlot('res', Component.SLOT_STR, BattleGameMode._execute)]
Esempio n. 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)]
Esempio n. 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)]
 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)]
Esempio n. 22
0
 def slotDefinitions(self):
     return [
         InputSlot('aircraft_id', Component.SLOT_INT, None),
         OutputSlot('aircraft_class', Component.SLOT_AIRCRAFT_CLASS,
                    FindAircraftClassById._execute)
     ]
 def slotDefinitions(self):
     return [InputSlot('in', Component.SLOT_EVENT, AirStrikeWavesInBattle._execute), OutputSlot('out', Component.SLOT_EVENT, None)]
Esempio n. 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)
     ]
 def slotDefinitions(self):
     return [InputSlot('air_strike_wave_id', Component.SLOT_STR, None), OutputSlot('res', Component.SLOT_TEAM_ID, AirStrikeTeamId._execute)]
Esempio n. 26
0
 def slotDefinitions(self):
     return [
         InputSlot('entity_id', Component.SLOT_INT, None),
         OutputSlot('height', Component.SLOT_FLOAT,
                    HeightAboveGroundByEntityId._execute)
     ]
Esempio n. 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)]
Esempio n. 28
0
 def slotDefinitions(self):
     return [
         InputSlot('entity_id', Component.SLOT_INT, None),
         OutputSlot('speed', Component.SLOT_FLOAT, SpeedByEntityId._execute)
     ]
Esempio n. 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)]
Esempio n. 30
0
 def slotDefinitions(self):
     return [InputSlot('sector_entity', Component.SLOT_ENTITY, None), OutputSlot('res', Component.SLOT_FLOAT, SectorRadius._execute)]