Jump to content
Gunrunner

Are multiple Userlist.ini entries for the same nation ?

Recommended Posts

Everything's in the title, I was wondering if anyone had tested something along the following lines: 

[Soviet]
ServiceStartYear=1950
ServiceEndYear=1951
Availability=VERY_RARE

[Soviet]
ServiceStartYear=1951
ServiceEndYear=1952
Availability=RARE

[Soviet]
ServiceStartYear=1953
ServiceEndYear=1960
Availability=VERY_COMMON

[Soviet]
ServiceStartYear=1961
ServiceEndYear=1972
Availability=RARE

and whether it's know to work (or not).

Share this post


Link to post
Share on other sites

single nation only, with the year spans matching those in the data ini. That's for the "home user"

 

export users year spans have to match the exported start and end years from the data ini

 

for example, in data ini:

 

 

[MissionData]

NationName=RoyalNavy
AircraftRole=FIGHTER
AircraftCapability=DAY_ONLY
ServiceStartYear=1955
ServiceEndYear=1970
Availability=COMMON
Exported=TRUE
ExportStartYear=1956
ExportEndYear=1970
ExportAvailability=COMMON
ExportedToEnemy=FALSE
PrimaryRoles=SWEEP,CAP,INTERCEPT,ESCORT
SecondaryRoles=ANTI_SHIP,SEAD,CAS,ARMED_RECON,STRIKE
NormalMissionRadius=300
MaxMissionRadius=755
Ceiling=15697.2
MinBaseSize=SMALL
CarrierBased=TRUE
CarrierParkSpan=5.50
CarrierParkAnimationID=6

 

 

in userlist ini:

 

 

[RoyalNavy]

ServiceStartYear=1955
ServiceEndYear=1970
Availability=COMMON
 
[NetherlandsNavy]
ServiceStartYear=1960
ServiceEndYear=1968
Availability=VERY_RARE
 
[Canada]
ServiceStartYear=1957
ServiceEndYear=1969
Availability=VERY_RARE
 
[AustralianNavy]
ServiceStartYear=1957
ServiceEndYear=1970
Availability=VERY_RARE
 

 

 

so, cannot have the same user with multiple entries with differing service year spans. Only one entry per nation

Share this post


Link to post
Share on other sites

Yes, I know the theory, and given the parsing style I doubt it would work there, but there are places where TK does parse INI files differently (can't remember which ini file accepts duplicate keys)... anyway... I guess I'll have to make do with multiple INI files and a clever use of junctions.

Share this post


Link to post
Share on other sites

I had the same problem...

 

Have to make year variants... (

 

Or, possible to make three export levels,   Main stuff for home nation and favorites,  export only item for the third world - set up as

 

NationName=SOVIET
ServiceStartYear=1959
ServiceEndYear=1965
Availability=NOT_AVAILABLE

Exported=TRUE

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

×

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..