[1328.14] Incorrect WRA window output when # of salvo is above 8

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
User avatar
lumiere
Posts: 286
Joined: Tue Mar 19, 2019 10:38 am

[1328.14] Incorrect WRA window output when # of salvo is above 8

Post by lumiere »

In attached scenario, starting side WRA doctrine for SS-N-19/P-700 missile (DBID #109) is set as do not use this weapon.

Using ScenEdit_SetDoctrineWRA() function allows custom salvo size above 8 that is not listed in pulldown menu. For example, set side WRA as follows.

2999 = Surface_Contact_Unknown_Type - Salvo 10rds, range 123nm
3000 = Ship_Unspecified - Salvo 11rds, range 45nm
3001 = Ship_Carrier_0_25000_tons - Salvo 12rds, range 67nm

Code: Select all

ScenEdit_SetDoctrineWRA({
  side = "Side1",
  weapon_dbid = 109,
  target_type= 2999
},
  {
    10,
    "inherit",
    123,
    "inherit"
  })

ScenEdit_SetDoctrineWRA({
  side = "Side1",
  weapon_dbid = 109,
  target_type= 3000
},
  {
    11,
    "inherit",
    45,
    "inherit"
  })

ScenEdit_SetDoctrineWRA({
  side = "Side1",
  weapon_dbid = 109,
  target_type= 3001
},
  {
    12,
    "inherit",
    67,
    "inherit"
  })
After running above script, check side WRA window. Although salvo size has changed from "do not use...", it incorrectly shows system default value, not custom size set by script. Range is OK and shows custom range value.

Mission/unit doctrine shows custom salvo size as inherited value. Only parent (side doctrine here) WRA window does not show intended salvo size above 8, or 3 for AAW weapon.
WRAside.PNG
WRAside.PNG (22.5 KiB) Viewed 212 times
WRAunit.PNG
WRAunit.PNG (19.8 KiB) Viewed 212 times
Attachments
SetWRA Test.zip
(32.36 KiB) Downloaded 3 times
"How Do You Stay Calm With A 7,000 Ton Nuclear Predator Listening For Your Heartbeat?"
My Lua garbages (Github)
User avatar
blu3s
Posts: 1343
Joined: Fri Jul 08, 2022 9:45 am

Re: [1328.14] Incorrect WRA window output when # of salvo is above 8

Post by blu3s »

Thanks for the report,

Logged 0015606
Post Reply

Return to “Tech Support”