View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003056 | FSSCP | gameplay | public | 2014-06-11 03:42 | 2014-06-26 08:03 |
Reporter | niffiwan | Assigned To | niffiwan | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.7.2 RC3 | ||||
Target Version | 3.7.2 | ||||
Summary | 0003056: Redalert changes cause ships to have unintended loadout in Derelict mission 5 | ||||
Description | Per the conversation in the Derelict 3.7.0 release thread: http://www.hard-light.net/forums/index.php?topic=85745 When playing the mission from the campaign, the player ship starts with a loadout of: 1x Subach (primary bank 1, 2 firepoints) 40x tempest (secondary bank 1, normal capacity 80) 40x tempest (secondary bank 2, normal capacity 80) 160x tempest (secondary bank 3, normal capacity 160) The expected loadout (e.g. in 3.7.0) is: 1x Subach (primary bank 1, 2 firepoints) 40x tempest (secondary bank 1, normal capacity 80) 40x tempest (secondary bank 2, normal capacity 80) EMPTY (secondary bank 3, normal capacity 160) In addition, if you call in a support ship to reload, it'll add a Subach to the 2nd primary bank, as well as refilling the secondary banks. This behaviour needs to be confirmed in 3.7.0. | ||||
Steps To Reproduce | Playing Derelict mission 5 from the campaign (not sure if the same issue occurs when playing from the techroom) | ||||
Additional Information | (need to check the svn logs to see what may have caused the change) | ||||
Tags | No tags attached. | ||||
|
I need to see what happens when I revert r9764 as these two issues look extremely similar. |
|
My testing so far suggests this issue was introduced prior to 3.7.0 edit: it may actually predate 3.6.10? Anyway, I have a fix that only stores the ships number of banks rather than all banks where the weapon idx is not -1. I just want to do a bit more checking of why the bank idx is not set to -1 when you have a ship with a deliberately empty bank, e.g. like in Derelict where the bank is emptied and "Scramble" is used to prevent the player from changing it, of if a player deliberately leaves a bank empty (not sure why you'd want to do this...). AND, I suspect that the current fix won't prevent support ships from re-adding banks. |
|
Well look at that; a support ship re-adding primaries is a *feature* :) // AL 10-31-97: Add missing primary weapons to the ship. This is required since designers // want to have ships that start with no primaries, but can get them through // rearm/repair So I'm going to leave that one alone - if you really don't want primaries re-added, don't add a support ship to the mission :) Patch is here: https://github.com/niffiwan/fs2open.github.com/commit/8fccd77725834144016c7ce64429928301f77685 |
|
So in other words, this ticket describes two issues, and the patch is for the first of those two? |
|
Yes, that's correct. The 2nd issue (support ship adding missing primaries) seems to be a deliberate retail feature. Maybe it could be tweaked to give more control to a FREDer but I think that's outside the scope of this bugfix. |
|
Right. Okay, the first fix looks straightforward enough, so go ahead and commit+resolve. :) |
|
Fix committed to trunk@10840. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-06-11 03:42 | niffiwan | New Issue | |
2014-06-11 09:36 | niffiwan | Relationship added | related to 0002907 |
2014-06-11 09:38 | niffiwan | Note Added: 0015840 | |
2014-06-12 08:37 | niffiwan | Assigned To | => niffiwan |
2014-06-12 08:37 | niffiwan | Status | new => assigned |
2014-06-15 03:24 | niffiwan | Note Added: 0015873 | |
2014-06-15 05:07 | niffiwan | Note Edited: 0015873 | |
2014-06-15 05:08 | niffiwan | Note Edited: 0015873 | |
2014-06-19 10:22 | niffiwan | Note Added: 0015896 | |
2014-06-19 10:22 | niffiwan | Status | assigned => code review |
2014-06-26 01:53 | Goober5000 | Note Added: 0015915 | |
2014-06-26 02:06 | niffiwan | Note Added: 0015916 | |
2014-06-26 04:45 | Goober5000 | Note Added: 0015918 | |
2014-06-26 08:03 | niffiwan | Changeset attached | => fs2open trunk r10840 |
2014-06-26 08:03 | niffiwan | Note Added: 0015919 | |
2014-06-26 08:03 | niffiwan | Status | code review => resolved |
2014-06-26 08:03 | niffiwan | Resolution | open => fixed |