Jump to content
Sign in to follow this  
Barkhorn1x

Upgrade Code Not Working...

Recommended Posts

Testing campaign mods for Jasta 13

 

- Starting out w/ the Fokker DrI

- have added the following code:

 

Upgrade=FIXED

Upgrade[01].Date=07/14/1918

Upgrade[01].Type=FokkerD7

Upgrade[01].Texture=Jasta13

KnownAce[01].LastName=Buchner

KnownAce[01].FirstName=Franz

KnownAce[01].RankID=2

KnownAce[01].NumMissions=10

KnownAce[01].AirKills=2

KnownAce[01].AircraftNumber=999

KnownAce[01].Texture=Jasta13_Buchner

 

- Half the time I get no upgrade - I guess they are not guaranteed, huh?

- The other half I get the Pfalz D3 - which isn't even listed

 

- What am I missing here?

 

Thanks.

Share this post


Link to post
Share on other sites

OK - bumped - and did more testing. My code format appears to be right - yes??? And what really pi$$es me off is that a quarter of the time I get an "upgrade" to an Alb DIII! Yea, some upgrade.

 

Me now thinks that it has somethint to do w/ all of those Supply code lines for each side at the begining of the campaign_DATA files.

 

I need help on this one !!!!

 

Anybody? Beuller?

 

Thanks.

Share this post


Link to post
Share on other sites

Did a search and found a message posted by Firecage that indicated you may get a downgrade if the supply lines were not opened up. And I found another message that listed out definitions for the code pertaining to Supply in the Campaign_DATA file.

 

So...I adjusted all of those Supply lines to MAX out the supply in hopes of generating a (somewhat) realistic upgrade result. No dice. Still got an Alb DIII (or a DV) and I never got my DVII. :bad:

 

OK - I am done here w/ this Upgrade code - it is BROKEN!!

 

My plan now is to go back to the two Expansion Campaigns and kill the upgrade codes I added and revise any Ace texture coding to match the starting a/c (which is a shame as now we cannot take advantage of many of the custome skins produced by the community. Then I will tackle the two original Campaigns by correcting starting a/c and addig Aces.

 

At that point I will release here on Combat Ace for anyone who is interested.

Share this post


Link to post
Share on other sites

Hey there, sorry I haven't answered but RL's been eating alot fo time lately.

 

1st off the codes not broken. I just did another test and it works fine. I think something isn't working together from one INI to another perhaps.

 

open the **_data.ini and the regular camp**.ini file and check this out and make sure its right.

 

in the data ini it should start something like this

 

// German Unit 8 <-- note this number

[AirUnit027]

AircraftType=PfalzD3

UnitName=Jasta 11

ForceID=2

Nation=GERMANY

DefaultTexture=Jasta11

BaseArea=Awoingt Aerodrome

RandomChance=100

BaseMoveChance=10

 

Not in the camp**.ini you will see this

 

[GERMANYUnit001]

UnitName=Jasta 11

ForceID=2

UnitID=8 <-- make sure it is the same number here

StartDate=09/12/1916

AircraftType=PfalzD3

DescFile=wwiFCCamp1Start.txt

StartText=wwiFCCamp1Start.txt

StartScreen=Jasta11.bmp

CampaignBaseScreen=Jasta11.bmp

 

If the squad your wanting to fly isn't the same on those two number it will find the one that matches and use its code. What it gets down to is the game isn't pointing at the squad your expecting. SO maybe the squad its actually ping at has the Pfalz D3 or Alb D3 as its next available upgrade...

 

AS for the code here is what I have on the one I did the test for code working earlier

 

UpgradeType=FIXED

Upgrade[01].Date=1/1/1917

Upgrade[01].Type=AlbatrosD5

Upgrade[01].Texture=

Upgrade[02].Date=4/1/1917

Upgrade[02].Type=AlbatrosD5a

Upgrade[02].Texture=

Upgrade[03].Date=6/1/1917

Upgrade[03].Type=FokkerDr1

Upgrade[03].Texture=

Upgrade[04].Date=11/1/1917

Upgrade[04].Type=SchuckertD3

Upgrade[04].Texture=

Upgrade[05].Date=1/1/1918

Upgrade[05].Type=FokkerD7

Upgrade[05].Texture=

Upgrade[06].Date=6/1/1918

Upgrade[06].Type=FokkerD7F

Upgrade[06].Texture=

KnownAce[01].LastName=Richthofen

KnownAce[01].FirstName=Manfred

KnownAce[01].RankID=5

KnownAce[01].NumMissions=89

KnownAce[01].AirKills=44

KnownAce[01].AircraftNumber=1

KnownAce[01].Texture=RichthofenM

 

 

Let me know if it doesn't work and I can help you look at the ini files to see whats stopping your upgrades. :good:

Share this post


Link to post
Share on other sites

Firecage:

 

Thankws for the response. I checked the code this morning and all looks to be coded correctly. I would love a second opinion tho' as I DO want this stuff to work. Can I send you the files?

 

Thanks.

Share this post


Link to post
Share on other sites

Ok I got the files you sent and I see whats wrong. I will send you an email with the explaination of what to change and the corrected code. Campaigns can be nasty to find problems in at times.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..