HSFX / F9F2 / Class file weapon association and DCG
#1

Began attempting to use some of these new aircraft with DCG .. testing the class and payload files.

When trying to use the F9F2, I constantly get a weapon set not present in class file error when it tries to load one of the ground ordnance sets to the F9F2

For the payload designations Im using them straight from the weapons_ru.properties file just like always.

anybody have the correct entries for this aircraft?
otherwise AI wont be loading squat.
Reply
#2

Tested in a third party campaign:

class.dcg:

F9F2 F9F2_Panther un 1 1 1 194601 195212 none F9F2_Panther none 5000 Meters 520.00 kph Default 520.00 kph

Service Dates maybe wrong!

payloads.dcg:

F9F2 06xHVAR_Rockets default 04x500lbs_Bomb none 04x500lbs_Bomb default

Hope it helps!
Reply
#3

Does DCG use the same nomenclature that you would see in a mission file?
Reply
#4

2bits Wrote:Does DCG use the same nomenclature that you would see in a mission file?

Yes, but there is no guarantee that it always works! I once tried to involve a modded zero and got a message that the external tanks not exist,which I have entered into the payloads.dcg!
It was in UI 1.1 and I have never get it to work!
Reply
#5

Thanks lonstar.
I have the class file entry correct..
its the payload data that is squirrely.

I have those entires you have as well, but I had different ones selected for the various options.

did you notice if it tried to load all of those various ones on the AI?

for instance.. your ground attack loadout might work and thats what loaded when you tested..
but what happens if it tries to load your level attack payload.

If someone could open up the class file and find the actual entries we could solve it rather quickly
Reply
#6

well I took my own advice and found a copy of the class file for the Panther.. took a look at the weapons and well. they ARE listed like they are in the weapons ru properties file.

So I tested DCG loading each payload option onto AI aircraft with a campaign generation.
EVerything worked until you tried to use the two loads that have varied stores.

02x500lbs_Bomb+06xHVAR_Rockets
02x500lbs_Bomb+06x250lbs_Bomb

Both throw and error when the game tries to load that onto AI aircraft.

However, if you create a mission and manually load those onto an aircraft and save the file you get the following :


[r0100]
Planes 1
Skill 1
Class air.F9F2
Fuel 100
weapons 02x500lbs_Bomb+06xHVAR_Rockets
[r0100_Way]
NORMFLY 75862.96 143929.72 500.00 300.00 &0
NORMFLY 89806.15 141830.75 500.00 300.00 &0
[r0101]
Planes 1
Skill 1
Class air.F9F2
Fuel 100
weapons 02x500lbs_Bomb+06x250lbs_Bomb
[r0101_Way]
NORMFLY 84708.64 154274.67 500.00 300.00 &0
NORMFLY 98202.05 150076.72 500.00 300.00 &0






So something is screwed up somewhere.
You can manually load those options, but you cannot let DCG try and select them or it will throw a game error.
Reply
#7

And now the answer Smile


I was digging around trying to solve another problem (DCG not loading the Yak's in campaigns under HSFX)....

when I found the loadout culprit.

From what I can see, the longer loadout names are longer than the columns in the payloads.dcg file.

So when you select one of them.. DCG takes the load name from the allplayloads.dcg file, and then dumps it into the payloads.dcg line for that aircraft.
However, if the payload name is longer then the column width allowable, it truncates the name.
Then it appears that truncated name is sent to the game when that aircraft and loadout is selected.
The game says.. "ahhh what?" and throws the error.

So be careful using long named loadouts with DCG
Reply
#8

Widowmaker Wrote:And now the answer Smile


I was digging around trying to solve another problem (DCG not loading the Yak's in campaigns under HSFX)....

when I found the loadout culprit.

From what I can see, the longer loadout names are longer than the columns in the payloads.dcg file.

So when you select one of them.. DCG takes the load name from the allplayloads.dcg file, and then dumps it into the payloads.dcg line for that aircraft.
However, if the payload name is longer then the column width allowable, it truncates the name.
Then it appears that truncated name is sent to the game when that aircraft and loadout is selected.
The game says.. "ahhh what?" and throws the error.

So be careful using long named loadouts with DCG

Okay, thanks for your work!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)