Author Topic: Weapons Help  (Read 1120 times)

0 Members and 1 Guest are viewing this topic.

Im trying to make a helios dumbfire.  I copied the stock weapons table into my mod folder, and copied the helios info, but turned off homing and remover the "no dumbfire" tag.  When I ran this, I got an error because of the leftover homing info.  I deleted everything under the homing header, but now when I test, the game puts Rockeyes in its place instead.

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Did you change the name? Is there a Helios and, let's say, a Helios#dumbfire?
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 
Actually, HeliosDF, but yes.

  
Can you post your tbl entry? Did you put NO in your homing entry?

Example of something that started as a helios entry, then modified and made dumbfire:

*shamelessly plugs shivan mod*

Code: [Select]
$Name:                                  Meson Bomb
+Title: XSTR("Meson Bomb", -1)
+Description:
XSTR(
"Dumbfire
Extremely Large
Anti-Fleet Weapon", -1)
$end_multi_text
+Tech Title:    XSTR("Meson Bomb", -1)
+Tech Description:
XSTR(
"The technology behind the Meson Bomb has been known to us for a long time, but was thought unnecessary until we discovered that the Terrans and Vasudans had also developed meson devices. Though crude, their devices are still a threat to us.

We have countered by producing our own Meson Bomb, capable of causing massive amounts of damage within a large volume. Unfortunately, its size means only the Assault Bomber can carry them. They are also extremely difficult to manufacture, so they must be used with care.", -1)
$end_multi_text
$Model File:                    harbinger_s3.pof
$Mass: 50.0
$Velocity: 50.0
$Fire Wait: 30.0
$Damage:                                                                25000                                                                                                    ;; damage applied when within inner radius
$Blast Force:                                                   1000.0
$Inner Radius: 2350.0 ;; radius at which damage is full (0 for impact only)
$Outer Radius: 3200.0 ;; max radius for attenuated damage
$Shockwave Speed: 100                                        ;; velocity of shockwave.  0 for none.
$Shockwave model: shockwave_red.pof
$Armor Factor: 1.0
$Shield Factor: 0.01
$Subsystem Factor:                                              1.0
$Lifetime: 30.0
$Energy Consumed: 0.0
$Cargo Size: 80.0
$Homing: NO
$LaunchSnd: 97
$ImpactSnd: 101 ;;      shockwave impact sound
$FlyBySnd: -1
$Rearm Rate: 0.02
$Flags: ( "Bomb" "Huge" "player allowed" "in tech database")
$Trail:                                                                          ;; Trail cannot be set if Exhaust is set
+Start Width: 0.5                                       ;; Width of trail nearest missile
+End Width: 2.0 
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 2.0                                       ;; how many seconds before trail disappears
+Bitmap: MissileTrail05 ;; Bitmap used to draw trail
$Icon:                                 iconHelios
$Anim:                                 Helios
$Impact Explosion:                     bomb_flare
$Impact Explosion Radius: 3200.0

 
yes I did replace yes with no.

here is the original

Code: [Select]
$Name: Helios
+Title: XSTR("GTM-13 Helios", 3392)
+Description:
XSTR(
"Special Issue
Anti-Capital Ship Weapon
Anti-Matter Torpedo", 3393)
$end_multi_text
+Tech Title:    XSTR("GTM-13 Helios", 3394)
+Tech Anim:    Tech_Helios
+Tech Description:
XSTR(
"The GTM-13 Helios is the product of an entire generation of high-energy physics research, based primarily at the GTVA particle accelerator complex near Antares. The most powerful warhead in the fleet's arsenal, the Helios generates a massive shockwave from the cataclysmic annihilation of matter and anti-matter, triggered upon impact with its target. Each bank of Helios warheads can fire only once every 30 seconds. The Helios is prohibitively expensive to produce, thus its deployment is severely restricted.", 3395)
$end_multi_text
$Model File: helios.pof
$Mass: 35.0
$Velocity: 65.0
$Fire Wait: 30.0
$Damage:                                                                6800                                                                                                    ;; damage applied when within inner radius
$Blast Force:                                                   1000.0
$Inner Radius: 100.0 ;; radius at which damage is full (0 for impact only)
$Outer Radius: 270.0 ;; max radius for attenuated damage
$Shockwave Speed: 75                                        ;; velocity of shockwave.  0 for none.
$Armor Factor: 1.0
$Shield Factor: 0.02
$Subsystem Factor:                                              0.85
$Lifetime: 30.0
$Energy Consumed: 0.0
$Cargo Size: 25.0
$Homing: YES
+Type:                              ASPECT ;; Legal: HEAT, ASPECT
+Turn Time:                         1.5
+Min Lock Time: 7.0 ;; Minimum lock time (in seconds)
+Lock Pixels/Sec: 25 ;; Pixels moved per sec while locking
+Catch-up Pixels/Sec: 0 ;; Pixels moved per sec while catching up
+Catch-up Penalty: 15 ;; Extra pixels to move after catching up
$LaunchSnd: 97
$ImpactSnd: 101 ;;      shockwave impact sound
$FlyBySnd: -1
$Rearm Rate: 0.02
$Flags: ( "Bomb" "Huge" "No Dumbfire" "player allowed")
$Trail:                                                                          ;; Trail cannot be set if Exhaust is set
+Start Width: 0.5                                       ;; Width of trail nearest missile
+End Width: 2.0 
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 2.0                                       ;; how many seconds before trail disappears
+Bitmap: MissileTrail02 ;; Bitmap used to draw trail
$Icon:                                 iconHelios
$Anim:                                 Helios
$Impact Explosion:                     ExpMissileHit1
$Impact Explosion Radius: 15.0

and here is my modified weapon.  I know it may seem a lot better (between improved damage, fire wait, and speed), but thats part of the plan.

Code: [Select]
$Name: HeliosDF
+Title: XSTR("GTM-13 Helios", 3392)
+Description:
XSTR(
"Special Issue
Anti-Capital Ship Weapon
Anti-Matter Torpedo", 3393)
$end_multi_text
+Tech Title:    XSTR("GTM-13 Helios", 3394)
+Tech Anim:    Tech_Helios
+Tech Description:
XSTR(
"The GTM-13 Helios is the product of an entire generation of high-energy physics research, based primarily at the GTVA particle accelerator complex near Antares. The most powerful warhead in the fleet's arsenal, the Helios generates a massive shockwave from the cataclysmic annihilation of matter and anti-matter, triggered upon impact with its target. Each bank of Helios warheads can fire only once every 30 seconds. The Helios is prohibitively expensive to produce, thus its deployment is severely restricted.", 3395)
$end_multi_text
$Model File: helios.pof
$Mass: 35.0
$Velocity: 95.0
$Fire Wait: 15.0
$Damage:                                                                7000                                                                                                    ;; damage applied when within inner radius
$Blast Force:                                                   1000.0
$Inner Radius: 100.0 ;; radius at which damage is full (0 for impact only)
$Outer Radius: 270.0 ;; max radius for attenuated damage
$Shockwave Speed: 75                                        ;; velocity of shockwave.  0 for none.
$Armor Factor: 1.0
$Shield Factor: 0.02
$Subsystem Factor:                                              0.85
$Lifetime: 30.0
$Energy Consumed: 0.0
$Cargo Size: 25.0
$Homing: NO
$LaunchSnd: 97
$ImpactSnd: 101 ;;      shockwave impact sound
$FlyBySnd: -1
$Rearm Rate: 0.02
$Flags: ( "Bomb" "Huge" "Dumbfire" "player allowed")
$Trail:                                                                          ;; Trail cannot be set if Exhaust is set
+Start Width: 0.5                                       ;; Width of trail nearest missile
+End Width: 2.0 
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 2.0                                       ;; how many seconds before trail disappears
+Bitmap: MissileTrail02 ;; Bitmap used to draw trail
$Icon:                                 iconHelios
$Anim:                                 Helios
$Impact Explosion:                     ExpMissileHit1
$Impact Explosion Radius: 15.0

I probably did something really stupid.  if you can help, than Thanks.

 

Offline Polpolion

  • The sizzle, it thinks!
  • 211
Quote
$Flags:                           ( "Bomb" "Huge" "Dumbfire" "player allowed")

Yup. There is no such flag as "Dumbfire". All you need to do is remove the "No Dumbfire" flag for it to be able to dumbfire.

 
Okay thanks.
I figured it was just me being dumb.

 

Offline Polpolion

  • The sizzle, it thinks!
  • 211
No problem :D. I'm dumb all the time.