Jump to content

I tried to hack in a Spitfire squadron and broke stuff


Recommended Posts

Posted

Because I'm an impatient baboon, I poked through the PWCG config files and figured out how to modify an existing squadron so that they're flying Spitfires. (Added an entry under the aircraftinfo.config file, eyeballing the values from other aircraft, and changed the relevant info in the squadroninfo.config file.) It'll let me create the career OK, but throws an error when I try to get it to generate a mission:

 

pwcg.core.exception.PWCGException: No payload for plane graphics\planes\spitfiremkvb\spitfiremkvb.mgm

(a bunch of lines that say stuff like "at java.awt.component" so on and so forth)

 

I looked in the specified folder in the main BoX directory, but there wasn't anything apparently missing from the Spit's subfolder - other aircraft that work fine in PWCG had the same things in their subfolders. So I'm stumped.

 

Does anybody know of a way around this or should I just pipe down and wait for Kuban like everybody else? Thanks in advance for any help.

 

(Megathanks to PW for the CG, by the way.)

Posted

Sorry, going to have to wait.  Adding a plane requires code changes as well as data changes.

  • Upvote 1
Posted

I am thinking through how to make planes completely configurable from files.  To do it I would have to parameterize weapon loads, which is currently done in code.  Possible, but not trivial.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...