Jump to content
Sign in to follow this  

Recommended Posts

I've been checking the target.ini file of the NF5 germany terrain to figure how to get those road airfields in the game.

 

For instance I have this in the targets.ini

 

[TargetArea234]

Name=Adelsheim Highway Strip

Position=417000.00,333000.00

Radius=8485

ActiveYear=01/01/1970

Location=1

AirfieldDataFile=ROAD_AIRFIELD1.ini

NumSquadrons=1

Alignment=FRIENDLY

Target[001].Type=Road_Runway

Target[001].Offset=0.00,0.00

Target[001].Heading=90.0

Target[002].Type=CamonetParking

Target[002].Offset=60.00,635.00

Target[002].Heading=0.0

Target[003].Type=CamonetParking

Target[003].Offset=60.00,740.00

Target[003].Heading=0.0

Target[004].Type=CamonetParking

Target[004].Offset=60.00,820.00

Target[004].Heading=0.0

etc.

 

Copied the road_airfield1.ini and the objects associated with the airfield. I also inserted the base in the types.ini as so

 

[TargetType236]

Name=Road_Runway

FullName=Runway

ModelName=

TargetType=SMALL_RUNWAY

ActiveYear=0

TargetValue=1000

UseGroundObject=FALSE

DamagePoint=70.0

ArmorValue=0.0

ArmorType=0

RepairRate=100.0

StartDetectChance=100

StartIdentifiedChance=50

IncreaseDetectChanceKey=10

MaxVisibleDist=30000.0

ZBufferOffset=6.000000

FlatObject=TRUE

DamagedModel=

DestroyedEffect=

DestroyedModel=

SecondaryChance=0

 

But the game doesn't find the base... am i forgetting something???

I'm curious how this works and what I'm doing wrong.

Share this post


Link to post
Share on other sites

What do you mean by "not finding the runway"?

 

An aircraft has to have MINBASESIZE=SMALL in its _data.INI .

 

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