View Issue Details

IDProjectCategoryView StatusLast Update
0000261FSSCPFREDpublic2004-12-31 18:18
ReporterTopAce Assigned Totaylor  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000261: I am unable to change weapons for the wing the player is in.
DescriptionIt all said what the exact problem is. I use the newest Taylor's FRED build. The problem did not occur initially, I don't know what changed the mind of FRED. Anyone knows about this bug?
Additional InformationI use the -fredhtl flag, I don't know if that counts.
TagsNo tags attached.

Activities

phreak

2004-10-18 02:14

developer   ~0001310

change weapons as in the briefing or in FRED?

if you're using modded tables, try checking to see if the tables are correct.

TopAce

2004-11-09 19:01

reporter   ~0001341

In FRED, I change the weapons for Alpha wing, and FRED remembers the changes I did until I run the mission. Then, the primary and secondary weapons for Alpha wing are set back to default.
I used no modded tables.

phreak

2004-11-09 22:26

developer   ~0001342

try setting the weapons individually as well. if this is part of a campaign, make sure the weapons have been allowed via the campaign editor or the allow-weapon sexps.

TopAce

2004-11-10 19:20

reporter   ~0001343

The problem occured before I made the campaign file. How do you mean 'try setting the weapons individually?'

kasperl

2004-11-10 19:36

developer   ~0001344

I think per ship and not for the whole wing at once.

TopAce

2004-11-11 20:08

reporter   ~0001349

Last edited: 2004-11-11 20:30

I also tried it. No success so far. This attempt was made with an older FRED_O version. but I am sure it will not work with newer builds.

[EDIT]
I was mistaken in the second or first comment, I needn't run the mission, FRED forgets the primary and secondary weapon AFTER saving. Don't have a clue why. I remembered incorrectly when I said I had to run the mission. But what I wrote in this comment is confirmed to be exact.
[EDIT2]More info:
I tried this in a new mission. The problem disappeared, but with older missions, the bug persists. i guess the problem is with the format. The older and newer formats probably disturb each other. I am trying to use the Save As.
[EDIT3]I was mistaken, Saving As did not work.
[EDIT4]It seems this bug only applies for Alpha wing.

edited on: 11-11-04 15:30

TopAce

2004-11-15 16:46

reporter   ~0001353

That I was able to fix(avoid) the problem doesn't mean you can just ignore it.

redmenace

2004-12-09 02:16

manager   ~0001398

Reminder sent to TopAce

Is this still an issue, TopAce?

Axem

2004-12-27 19:16

reporter   ~0001472

Hey TopAce, was Alpha Wing a group of Lokis? I've found that trying to change the weapons on any Loki fighter resets back to standard loadout when you try to save. I figure I might as well report it here as looks like its related to this.

Jonathan_S47

2004-12-31 17:21

reporter   ~0001492

I am having a simaler problem. I set the missile banks on Alpha and Beta wings to Tempest instead of Harpoons in FRED then when I run the mission they are set back to Harpoons. Alpha wing is a group of Lokis. Beta wing is a group of Ulysses.

taylor

2004-12-31 18:17

administrator   ~0001493

Ah, I see the problem here. "while (j-- && j>0)" should be "while (j-- && j>=0)" in MissionSave.cpp. It wasn't checking the first bank and skipping single banks completely. This affected primaries, secondaries and ballistic secondary ammo counts.

taylor

2004-12-31 18:18

administrator   ~0001494

Fixered.

Tested fine for me but if it's still a problem please reopen this bug.

Issue History

Date Modified Username Field Change
2004-09-13 19:41 TopAce New Issue
2004-10-18 02:14 phreak Note Added: 0001310
2004-11-09 19:01 TopAce Note Added: 0001341
2004-11-09 22:26 phreak Note Added: 0001342
2004-11-10 19:20 TopAce Note Added: 0001343
2004-11-10 19:36 kasperl Note Added: 0001344
2004-11-11 20:08 TopAce Note Added: 0001349
2004-11-11 20:14 TopAce Note Edited: 0001349
2004-11-11 20:20 TopAce Note Edited: 0001349
2004-11-11 20:21 TopAce Note Edited: 0001349
2004-11-11 20:29 TopAce Note Edited: 0001349
2004-11-11 20:30 TopAce Note Edited: 0001349
2004-11-15 16:46 TopAce Note Added: 0001353
2004-12-09 02:16 redmenace Note Added: 0001398
2004-12-27 19:16 Axem Note Added: 0001472
2004-12-31 17:21 Jonathan_S47 Note Added: 0001492
2004-12-31 18:17 taylor Note Added: 0001493
2004-12-31 18:18 taylor Status new => resolved
2004-12-31 18:18 taylor Resolution open => fixed
2004-12-31 18:18 taylor Assigned To => taylor
2004-12-31 18:18 taylor Note Added: 0001494