View Single Post
Old 10-15-2003, 06:35 AM   #7 (permalink)
2312222
Senior Member
 
Join Date: Jul 2003
Location: Germany
Posts: 303
Default

Well actually this piece of code is already implemented. I just added the complete code so that you can take a look:

Code:
;------------------------------------------------------------------------------
Object BlackMarketNukeParadrop

  ; *** ART Parameters ***
  Draw = W3DModelDraw ModuleTag_01
    OkToChangeModelColor = Yes
    DefaultConditionState
      Model = AVBomber_B
    End
  End

  ; ***DESIGN parameters ***
  DisplayName         = OBJECT:BlackMarketNuke
  Side                = Russia
  EditorSorting       = SYSTEM
  TransportSlotCount  = 1                 ;how many "slots" we take in a transport (0 == not transportable)
  ArmorSet
    Conditions        = None
    Armor             = ProjectileArmor
    DamageFX          = None
  End

  ; *** AUDIO Parameters ***

  ; *** ENGINEERING Parameters ***
  KindOf            = PROJECTILE PARACHUTABLE
  Body = ActiveBody ModuleTag_02
    MaxHealth       = 100.0
    InitialHealth   = 100.0
  End

  Behavior = AIUpdateInterface ModuleTag_03
  End

  Locomotor = SET_NORMAL None

  Behavior = PhysicsBehavior ModuleTag_04
    Mass                  = 75.0
    AerodynamicFriction   = 1     ; this is now friction-per-sec
    ForwardFriction       = 33    ; this is now friction-per-sec
    CenterOfMassOffset    = 2     ; Default of 0 means nothing tips as it falls.  Positive tips forward, negative tips back
  End

  Behavior = FireWeaponWhenDeadBehavior ModuleTag_05
    DeathWeapon   = BlackMarketNukeWeaponRussia
    StartsActive  = Yes
  End

  Behavior = HeightDieUpdate ModuleTag_06
    TargetHeight = 50.0
    TargetHeightIncludesStructures = Yes
    OnlyWhenMovingDown = Yes
    InitialDelay = 100
  End

  Behavior = SpecialPowerCompletionDie ModuleTag_07
    SpecialPowerTemplate = SuperweaponTacticalNukeRussia
  End


  Behavior = FXListDie ModuleTag_08
    DeathFX = FX_NukeGLA
    OrientToObject = No
  End

  Behavior = DestroyDie ModuleTag_09
    ;nothing
  End

  Geometry = Sphere
  GeometryIsSmall = Yes
  GeometryMajorRadius = 12.0

End
In my opinion everything should be okay but still this won't work.

But thanks for your help!
2312222 is offline   Reply With Quote