View Single Post
Old 01-29-2008, 02:48 AM   #13 (permalink)
beng
Senior Member
 
Join Date: Jan 2008
Posts: 593
Default

Also, here is the code for the suggestions i made about the point defense laser and the speaker behaviour, and also an autoheal when you have blue mines, and a stealth detector behavior, add it to the bottom of the object code, below the last module :
Code:
  Behavior = PointDefenseLaserUpdate ModuleTag_PDL
    WeaponTemplate        = SupW_PointDefenseDroneLaserWeapon
    PrimaryTargetTypes    = PROJECTILE
    SecondaryTargetTypes  = INFANTRY
    ScanRate              = 60
    ScanRange             = 90.0
    PredictTargetVelocityFactor = 3.0
  End

  Behavior = PropagandaTowerBehavior ModuleTag_Pgda
    Radius                = 100.0
    DelayBetweenUpdates   = 2000
    HealPercentEachSecond = 1%
    PulseFX               = FX_OverlordPropagandaTowerPropagandaPulse
    UpgradeRequired       = Upgrade_ChinaSubliminalMessaging
    UpgradedHealPercentEachSecond = 2%
    UpgradedPulseFX       = FX_OverlordPropagandaTowerSubliminalPulse
  End

  Behavior = AutoHealBehavior ModuleTag_Repair
    HealingAmount = 7
    HealingDelay = 1000
    StartHealingDelay = 2100
    TriggeredBy = Upgrade_ChinaEMPMines
  End

  Behavior = StealthDetectorUpdate ModuleTag_SDU
    DetectionRate   = 500
    DetectionRange  = 150    
    CanDetectWhileGarrisoned  = Yes
    CanDetectWhileContained   = Yes
  End
And to reflect the upgrades that affect it, you should add at the top, above the Draw module:
Code:
  UpgradeCameo1 = Upgrade_ChinaEMPMines
  UpgradeCameo2 = Upgrade_ChinaSubliminalMessaging

Last edited by beng; 01-29-2008 at 03:03 AM.
beng is online now   Reply With Quote