Author Topic: Oddity - bomber not using torpedos  (Read 417 times)

0 Members and 1 Guest are viewing this topic.

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • Minecraft
    • FLAMES OF WAR
Oddity - bomber not using torpedos
I was testing soemthing and noticed that my bomber wing is not using it's most powerfull weapons.

The bomber (Armageddon) has 3 missile bank - 1st is Helios, 2nd is Synaptics and 3rd is specialized bank that holds 4 massive Judgment Day torpedos. Yet the bombers never fire them.
They use Helios and Synaptics and call support when they're out. I've never seen them use Judgment Day, but I'm using it without problems.

The torpedo has range, it's lock-on time is comparable to that of a Heliosm, it has a 300m arm range.
Has all the necessary standard flags, like "player allowed", bomb, huge, supercap, capital+, "no dumbfire", etc.. :confused:
Nobody dies as a virgin - the life ****s us all!

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

 

Offline Novachen

  • 27
  • The one and only Capella supernova.
Re: Oddity - bomber not using torpedos
Did you have already tried the good-secondary-time SEXP in the mission?
Female FS2 pilot since 1999.

German Translations created by me:
Between the Ashes: Slaves of Chaos, FreeSpace Port, The Destiny of Peace, Silent Threat: Reborn, Awakenings (in development),

Other projects:
FSPort Mission Upgrade, Out of the Shadow: Nova Safiya Edition (Remake of the Out of the Shadow campaign, in development)

If you want to know, what my nickname means, -chen is a german diminutive term, so you can translate Novachen as something like Little Nova or Novalet.
Even my original meaning of this name is more like "Sweet pretty deadly (Super)Nova" ;).

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • Minecraft
    • FLAMES OF WAR
Re: Oddity - bomber not using torpedos
Did you have already tried the good-secondary-time SEXP in the mission?

Nope. None of the other weapons require it.
Nobody dies as a virgin - the life ****s us all!

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

 
Re: Oddity - bomber not using torpedos
If I were you, I would try if any other warheads in that last bank will be used by the AI.
Excuse me for any spelling errors I make - I'm still learning English :P

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • Minecraft
    • FLAMES OF WAR
Re: Oddity - bomber not using torpedos
Well, when I put Helios in that bank, the bombers use them.

Mus be something about the weapon itself hat prevents the AI from using it. Any ideas?

Code: [Select]
; ----------------------------------------------------------------------------------
$Name: Judgment Day
+Title: XSTR("GTTM-01 Judgment Day", 3392)
+Description:
XSTR(
"Special Issue
Anti-Capital Ship Weapon
Meson Torpedo", 3393)
$end_multi_text
+Tech Title:    XSTR("GTTM-01 Judgment Day", 3394)
+Tech Anim:    Tech_Helios
+Tech Description:
XSTR(
"THE ultimate bomber weapon. The product of decades of research centered around miniatuirization of a meson warhead. It's phenomenal destructive power and radius make it dangerous for the bomber pilots. Thankfully, the warhead will only be fully armed after some distance is achieved.", 3395)
$end_multi_text
$Model File: JD.pof
$Mass: 50.0
$Velocity: 100.0
$Fire Wait: 40.0
$Damage:                                75000
$Damage Type:            Meson
$Arm distance: 300
$Arm radius: 100                                                                                                 
$Blast Force:                           5000.0
$Inner Radius: 150.0
$Outer Radius: 400.0
$Shockwave Speed: 90
$Dinky shockwave:
+Shockwave damage: 5000
+Shockwave damage type: Meson
+Blast Force: 2000
+Inner Radius: 100
+Outer Radius: 200
+Shockwave Speed: 90                                     
$Armor Factor: 1.0
$Shield Factor: 0.5
$Subsystem Factor:                      0.7
$Lifetime: 30.0
$Energy Consumed: 0.0
$Cargo Size: 100.0
$Homing: YES
+Type:                              ASPECT
+Turn Time:                         1.5
+Min Lock Time: 7.0
+Lock Pixels/Sec: 25
+Catch-up Pixels/Sec: 50
+Catch-up Penalty: 15
$Free Flight Time: 2
$LaunchSnd: 97
$ImpactSnd: 101
$FlyBySnd: -1
$Rearm Rate: 0.02
+Weapon Min Range: 500
$Flags: ("Bomb" "Huge" "No Dumbfire" "player allowed" "supercap" "lockarm" "particle spew")
$Trail:                                                                         
+Start Width: 1.5                                       
+End Width: 2.0 
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 2.0                                       
+Bitmap: missiletrail02
$Icon:                                 iconHelios
$Anim:                                 Helios
$Impact Explosion:                     ExpMissileHit1
$Impact Explosion Radius: 40.0
$Piercing Impact Explosion: exp04
$Piercing Impact Radius: 25
$Piercing Impact Velocity: 25
$Piercing Impact Splash Velocity: -25
$Piercing Impact Variance: 20000
$Piercing Impact Particles: 10
$Pspew:
    +Count: 1
    +Time: 1
    +Vel: 0.0
    +Radius: 0.9
    +Life: 0.1
    +Scale: 0.0
    +Bitmap: missilespew04
Nobody dies as a virgin - the life ****s us all!

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

 

Offline Nyctaeus

  • Betrayal is his middle name
  • 211
  • Get Exiled! ^^
    • Minecraft
    • Exile
Re: Oddity - bomber not using torpedos
What "lockarm" flag is supposed to do? Did you try to remove it? Meson torpedo from Shadow Genesis uses the same set of flags minus "particle spew" and "lockarm". Particle spew is obviously not guilty here :P
Exile | Shadow Genesis | DA Profile | P3D Profile

MY RELEASED CONTENT SO FAR
Old Conversions | GTSD Anchorage | ORFg Tychicus | GTCa Sagittarius | SCv Scylla | EFC Evangelist | EFFg Solomon | GTL Latona | SC Raguel | PVD Atum | GTCv Eurynome | FractalSpace - Apophysis Skydome Pack | Updated Ancients Models
All of my stuff can be used ONLY in Freespace campaigns and missions.

Veteran modder and graphic designer of all kinds. 3D is my speciality. Feel free to PM me if you looking for a model or other GFX help.

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: Oddity - bomber not using torpedos
What "lockarm" flag is supposed to do?
http://hard-light.net/wiki/index.php/Weapons.tbl#.22lockarm.22
Quote
Requires a target lock in order to arm its warhead. In other words weapon causes less damage if it hits the target without target lock.
Of course, it has "no dumbfire" so I'm not sure what the point of it is.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline Nyctaeus

  • Betrayal is his middle name
  • 211
  • Get Exiled! ^^
    • Minecraft
    • Exile
Re: Oddity - bomber not using torpedos
Maybe interaction between this two flags causes AI to go crazy? Well, I never used that flag because I never needed mechanics like that.
Exile | Shadow Genesis | DA Profile | P3D Profile

MY RELEASED CONTENT SO FAR
Old Conversions | GTSD Anchorage | ORFg Tychicus | GTCa Sagittarius | SCv Scylla | EFC Evangelist | EFFg Solomon | GTL Latona | SC Raguel | PVD Atum | GTCv Eurynome | FractalSpace - Apophysis Skydome Pack | Updated Ancients Models
All of my stuff can be used ONLY in Freespace campaigns and missions.

Veteran modder and graphic designer of all kinds. 3D is my speciality. Feel free to PM me if you looking for a model or other GFX help.

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • Minecraft
    • FLAMES OF WAR
Re: Oddity - bomber not using torpedos
Yup, looks like that flag was the culprit
Nobody dies as a virgin - the life ****s us all!

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