Jump to content

Recommended Posts

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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