Jump to content

Recommended Posts

Posted (edited)

Hi there!!

 

I've been trying this for a while, but with no luck.What I'd like to do is create new target areas on existing terrains, such as TW IsraelME. I understand that to get the coordinates, you have to start the game on Debug. Although I can populate existing target areas, I don't know from where shoulg I get the terrain coordinates to create a new target area, and in what ini should I add the entries in (_cities.ini? ; _targets.ini?)

 

Speaking about this, I have another doubt: From where should I get the coordinates from to populate airbases? I ask because when I try to place objects using the coordinates as if it were a non-airbase target area, they appear, but in a different place!!! I hope you can help me!!!

 

 

 

                                                      Regards,

                                                                              Ignacioc91

Edited by Wrench
Posted

Use the targets.INI to place objects, those are defined in the types.INI.

You have set DisplayDebug=TRUE in HUDData.INI in the Flight folder? The shown coordinates are the one you can place as new target area. Now every target is placed with offset values.

Airbases are FIRST populated and then the airbase is rotated to allign the runway like in the real world. So, switch back to Heading=0, place objects and rotate the airfield back!

Posted

Thanks for your replies! As regards airbases, how do you rotate them??

In Targets.ini, change Heading to zero (and back when positioning is done).

Posted
You mean this entry??

 

 

Position=506000,478000

Radius=5000

ActiveYear=0

Location=1

Alignment=ENEMY

AirfieldDataFile=desert_airfield4.ini

NumSquadrons=6

Target[001].Type=Runway4

Target[001].Offset=0.00,0.00

Target[001].Heading=0---------------------THIS ENTRY?

Target[002].Type=TowerH1

Target[002].Offset=-350,-655

Target[002].Heading=0

Target[003].Type=eor_shack

Target[003].Offset=-162.14,1590.40

Target[003].Heading=0

Posted

dingdingding!!

 

give that man a cigar!!

 

EVERYTHING (offsets and headings) on stock 3W airbases is based off the north/south heading. You add the objects with the runway heading north (as it's the 0/0 point), at whatever offset and heading that sets them way you want,  then rotate the runway, and it'll "drag" all the objects with it.

 

several hundred examples of additional structures to airfields exist an dozens of terrains, with the runways at various angles. Just look through the target inis

Posted

have fun!!! :biggrin:

 

also, if you're replacing the stock hangars with those from Stary's hangar pack, they're reversed. Meaning, if you want it facing west (270), you have the set the heading to east (90). Just a little quirk they have!

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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..