Results 1 to 4 of 4

Need help getting special attack to work.

  1. #1

    Need help getting special attack to work.

    Okay folks im trying to get the dread naught to fire that overcharged blast that killed that BC on that one mission and nearly killed itself in the process but i cant seem to get the dread to damage itself with the ability any ideas?

  2. #2
    Member Dim@'s Avatar
    Join Date
    Jul 2007
    Location
    Battlecruiser complete
    Well, the attack result entries have an "Owner" possibility (instead of "Target"), which could, theoretically, be used to damage the ship, but this doesn't always seem to work.
    The blast in the mission is probably scripted.
    Destroying things is easy.
    Creating things is hard.
    Creating things in order to watch them explode is just plain fun.

    Explosion Damage Script, Scripting Tutorial

  3. #3
    Actually, you might try giving two weapon results. One that knocks the other ship with "Target" set, and the 2nd weaponresult line could be with "owner" set. Battlecruisers and other heavy gun weapons have both a damage result, and a move result, so two or even more does work.

  4. #4
    Tried that and failed badly. If only friendly fire was enabled oh wait a min i did enable that and yet still nothing X_X
    heres my weapon file.
    StartWeaponConfig(NewWeaponType,"Gimble","InstantHit","Super_Beam","Special Attack",0,6500,0,8,4,0,20,0,1,15,15,320,0,0,0,0,0.1,"Enhanced",1,0,1000000)

    AddWeaponResult(NewWeaponType,"Hit","DamageHealth","Target",40000,40000,"")
    AddWeaponResult(NewWeaponType,"Hit","Push","Target",-100,-100,"")
    AddWeaponResult(NewWeaponType,"hit","DamageHealth","Owner",40000,40000,"")
    AddWeaponResult(NewWeaponType,"Hit","Push","Owner",-100,-100,"")

    setAngles(NewWeaponType,5,0,0,0,0)

    setPenetration(NewWeaponType,100,1,
    {Unarmoured=3,},
    {LightArmour=3,},
    {MediumArmour=3,},
    {HeavyArmour=3,},
    {SubSystemArmour=3,},
    {TurretArmour=3,},
    {ResArmour=3,},
    {MoverArmour=3,},
    {PlanetKillerArmour=0,},
    {MineArmour=3,},
    {ChunkArmour=3,})

    setAccuracy(NewWeaponType,1,
    {Fighter=0,},
    {Corvette=0,},
    {frigate=1,},
    {Utility=0,},
    {munition=0,},
    {SmallCapitalShip=1,},
    {BigCapitalShip=1,},
    {Mothership=1,},
    {Emplacement=1,},
    {UnAttackable=1,},
    {SubSystem=0,},
    {Resource=0,},
    {ResourceLarge=0,},
    {Capturer=1,},
    {Chimera=1,})

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •