Author Topic: Custom countermeasures bug  (Read 1427 times)

0 Members and 1 Guest are viewing this topic.

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Custom countermeasures bug
I've recently discovered a bug in a countermeasure system.
When ships with different countermeasure type set are available to player in a mission, the player will always use the countermeasure which is assigned to default player ship in that mission.

For example: There's a mission with two ships available to the player: A and B. Both of them have different CM type. A is the default one (not in table, in just mission).
Now, what should happen: If player choses ship A, then it will use countermeasure A and if he choses ship B, he'll be using CM type B.
Unfortunately, currently CM type A will be used by player no matter which ship he choses.

I would provide a test mission, but there's a problem: Data required for a mod in which I encouncered this problem is exclusive to Wings of Dawn, so I can't just post it here.
I'll soon put together a demo using MVPs ships that shows the problem, it would be great if somebody took a look at it, since it's going to be a problem for all mods with multiple custom CMs.

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Custom countermeasures bug
Not possible with just retail files?
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Custom countermeasures bug
Retail with slight modifications should be possible. Multiple countermeasures is an SCP feature though so obvious it needs some table edits to work but the edits should be as close as possible to retail (although I suggest using something for the 2nd countermeasure that makes it bloody obvious which one is being used).
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

  

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Custom countermeasures bug
Here's a mod that shows this bug, table only: http://www.mediafire.com/?y763zejd2ru455p
Try both mission on both ships and you'll see how the bug works.
EDIT: It's in Mantis now.