Thread: Wierd prob
View Single Post
Old 03-09-2004, 01:59 PM   #1 (permalink)
HorseAss
Senior Member
 
Join Date: Jan 2004
Posts: 231
Send a message via MSN to HorseAss
Default Wierd prob

I've made a plane and so on, and I've assigned it some sort of a carpet bomb, with the help of ImmoMan and Hexman(thanks for helping, really appreciate for helping), but now i have a problem that they cannot solve.

The bomb fires, and so on, the effect is there and so on, and the damage, but i cannot see the bomb falling, and I can hear the bomb falling and such, just it looks like the model is not there, nothing is there.

Code from object.ini:
Code:
;------------------------------------------------------------------------------
Object F4CarpetBomb

  ; *** ART Parameters ***
  Draw = W3DModelDraw ModuleTag_01
    DefaultConditionState
      Model = EXCarptBmb
    End
  End

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


  ; *** ENGINEERING Parameters ***
  KindOf            = PROJECTILE
  Body = ActiveBody ModuleTag_02
    MaxHealth       = 2000.0
    InitialHealth   = 2000.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 = HeightDieUpdate ModuleTag_06
    TargetHeight = 1.0
    TargetHeightIncludesStructures = No
  End


  Behavior = FXListDie ModuleTag_08
    DeathFX = FX_CarpetBomb
  End
  Behavior = DestroyDie ModuleTag_09
    ;nothing
  End

End



;------------------------------------------------------------------------------
Code from weapon.ini :
Code:
;------------------------------------------------------------------------------
Weapon F4BombWeapon
  PrimaryDamage           = 5000.0            
  PrimaryDamageRadius     = 45.0      
  AttackRange             = 150.0       
  AcceptableAimDelta      = 15          
  DamageType              = EXPLOSION
  DeathType               = EXPLODED
  WeaponSpeed             = 175
  ProjectileObject        = F4CarpetBomb
  FireFX                  = FX_AuroraBombLaunch
  ProjectileDetonationFX  = FX_AuroraBombDetonate
  RadiusDamageAffects     = ALLIES ENEMIES NEUTRALS NOT_SIMILAR
  DelayBetweenShots       = 300                   ; time between shots, msec
  ClipSize                = 5                        ; how many shots in a Clip (0 == infinite)
  ClipReloadTime          = 5000              ; how long to reload a Clip, msec
  AutoReloadsClip         = RETURN_TO_BASE                 ; must return to base to reload this weapon
  ShowsAmmoPips           = Yes


  ProjectileCollidesWith  = STRUCTURES
End
;--------------------------------------------------------------------------------
HorseAss is offline   Reply With Quote