Author Topic: Question regarding missiles  (Read 355 times)

0 Members and 1 Guest are viewing this topic.

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Question regarding missiles
I'd like to make a BIIG missile/torpedo that fires off a bunch of subminitions (alto torpedos) all towards the same target, without detonating.

I tried this:

$Name:                TNM-02 Starfall
$Model File:                    M_Supernova01.pof
$Mass:                                  50.0
$Velocity:                              250.0
$Fire Wait:                             60.0
$Damage:                                10000
$Damage Type:                   Meson
$Arm radius:               1000.0                                               
$Blast Force:                   1000.0
$Inner Radius:                  100.0                                     
$Outer Radius:                  600.0                                     
$Shockwave Speed:               400
$Dinky shockwave:
   +Shockwave damage:               1000
   +Shockwave damage type:            Meson
   +Blast Force:                  500
   +Inner Radius:                  50
   +Outer Radius:                  100
   +Shockwave Speed:               100                                                 
$Armor Factor:                  1.0
$Shield Factor:               1.0
$Subsystem Factor:            1.0
$Lifetime:                      60.0
$Energy Consumed:               0.0                                     
$Cargo Size:                    500.0                                     
$Homing:                        YES
   +Type:                              ASPECT                                    
   +Turn Time:                         1.0
   +View Cone:                         360.0
$Swarm:                               3
   +SwarmWait:                     1
$Free Flight Time:                  3.0
$Free Flight Speed Factor:            2   
$LaunchSnd:                             97                                             
$ImpactSnd:                         101
$FlyBySnd:                              -1
$Rearm Rate:                    1.0                                     
$Flags:                                 ( "Big Ship" "Huge" "supercap" "Bomb" "cycle" "no lifeleft penalty" "Spawn StarfallBaby,20" )     
$Trail:                                                                             
   +Start Width:           10.0                                           
   +End Width:             20.0                                           
   +Start Alpha:         1.0
   +End Alpha:            0.0
   +Max Life:              3.0                                           
     +Bitmap:                missiletrail01                 
$Icon:                                  iconmissile08
$Anim:                                  LoadMissile06
$Impact Explosion: ExpMissileHit1
$Impact Explosion Radius:               200.0
$Spawn Angle:          90
$Spawn Minimum Angle:    70
$Spawn Interval:      0.5
+Delay:               5.0   
$Weapon Hitpoints:                  300




;------------------------------------------------------------
$Name:                                  StarfallBaby
$Model File:                     M_HellfireM.pof
$Mass:                           25.0
$Velocity:                       200.0
$Fire Wait:                      0.0
$Damage:                         7500
$Damage Type:                     Explosive_Huge
$Arm distance:                   1000                                                                                                     
$Blast Force:                    1000.0
$Inner Radius:                   50.0                                       
$Outer Radius:                   250.0                                       
$Shockwave Speed:                80                                       
$Armor Factor:                   1.0
$Shield Factor:                  1.0
$Subsystem Factor:               0.8     
$Lifetime:                       40.0                                       
$Energy Consumed:                0.0
$Cargo Size:                     100.0
$Homing:                         YES
   +Type:                           HEAT         
   +Turn Time:                      1.2
   +View Cone:                      360.0                                 
$Swarm:                          2
$Free Flight Time:               3
$LaunchSnd:                      96
$ImpactSnd:                      88
$FlyBySnd:                       -1
$Rearm Rate:                     0.05
$Flags:                                 ("child")
$Trail:                                                                             
   +Start Width:            0.25                                           
   +End Width:            0.75                                           
   +Start Alpha:      1.0
   +End Alpha:      0.0
   +Max Life:                          1.0                                             
   +Bitmap:                        missiletrail02                 
$Icon:                                  iconmissile08
$Anim:                                  LoadMissile06
$Impact Explosion:                      ExpMissileHit1
$Impact Explosion Radius:       25.0



Weapon doesn't fire. Is it even possible?
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: Question regarding missiles
This is a turret weapon, no?

Then you want the "smart spawn"-flag on the primary munition, and the "inherit parent target"-flag on the sub munition. Otherwise the AI might consider the targeting conditions never met.

The turret should also have the "no subsystem targeting"-flag to ease targeting.
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."