Example #1
0
 def Prepare(self):
     shipID = self.GetEffectShipID()
     if shipID != session.shipid:
         self.fxSequencer.OnSpecialFX(shipID, None, None, None, None, 'effects.Warping', 0, 0, 0)
         self.fxSequencer.OnSpecialFX(shipID, None, None, None, None, 'effects.WarpOut', 0, 1, 0)
         return
     ShipEffect.Prepare(self)
     self.AlignToDirection()
Example #2
0
 def Prepare(self):
     ShipEffect.Prepare(self, False)
     if session.shipid == self.GetEffectShipID():
         self.playerEffect = trinity.Load(
             'res:/dx9/model/effect/mjd_effect_player.red')
         self.AddSoundToEffect(2)
Example #3
0
 def Prepare(self):
     ShipEffect.Prepare(self)
     radius = self.realRadius
     scale = radius / self.radius
     self.gfxModel.scaling = (scale, scale, scale)
Example #4
0
 def Prepare(self):
     ShipEffect.Prepare(self, False)
     if session.shipid == self.GetEffectShipID():
         self.playerEffect = self.RecycleOrLoad(self.secondaryGraphicFile)
         self.AddSoundToEffect(2)