{"id":368,"date":"2012-07-24T09:53:11","date_gmt":"2012-07-24T09:53:11","guid":{"rendered":"http:\/\/www.vrdesigns.net\/?p=368"},"modified":"2014-08-01T14:35:40","modified_gmt":"2014-08-01T14:35:40","slug":"how-to-create-an-airfield-locationtype","status":"publish","type":"post","link":"https:\/\/www.vrdesigns.net\/?p=368","title":{"rendered":"How to create an airfield locationtype?"},"content":{"rendered":"<p>Ok&#8230; And here is already the 2nd installment to the great DC Editor Q&#038;A Show! I got the question &#8220;How to create airfield locations that can be placed on top of any existing landscapetypes?&#8221;. A good question and luckily a fairly easy one to answer.<\/p>\n<p>Lets go to the &#8220;Location Type Window&#8221; by clicking on the &#8220;LT&#8221; button. <\/p>\n<p><a href=\"http:\/\/www.vrdesigns.net\/wp-content\/uploads\/2012\/07\/airfield1.jpg\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.vrdesigns.net\/wp-content\/uploads\/2012\/07\/airfield1.jpg\" alt=\"\" title=\"airfield1\" width=\"600\" height=\"569\" class=\"alignnone size-full wp-image-369\" srcset=\"https:\/\/www.vrdesigns.net\/wp-content\/uploads\/2012\/07\/airfield1.jpg 600w, https:\/\/www.vrdesigns.net\/wp-content\/uploads\/2012\/07\/airfield1-300x284.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Here click on the &#8220;Add LocType&#8221; button. This will create a new location type. Click on it and select the statistics tab.<\/p>\n<p>Now define its statistics so that it functions as the airfield we want:<br \/>\n-Set IsAirfield to &#8220;true&#8221; so airplanes can use it.<br \/>\n-Set Structural Points to 1000. This signifies the amount of damage it can stand. Keep in mind that a damaged airfield reduces the readiness of aircraft present on it.<br \/>\n-Set Destruct LT to -2 (***dont morph***). This means if the airfield is destroyed the landscape type of the hex will not be changed.<br \/>\n-Set TopAirStack to 100 meaning you can stack about a 100 airplanes on the airfield before you get penalties.<br \/>\n-Set AutoRecoverPoints to 200 so that any possible damage is slowly repaired (by invisible work crews)<\/p>\n<p><a href=\"http:\/\/www.vrdesigns.net\/wp-content\/uploads\/2012\/07\/airfield2.jpg\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.vrdesigns.net\/wp-content\/uploads\/2012\/07\/airfield2.jpg\" alt=\"\" title=\"airfield2\" width=\"600\" height=\"432\" class=\"alignnone size-full wp-image-370\" srcset=\"https:\/\/www.vrdesigns.net\/wp-content\/uploads\/2012\/07\/airfield2.jpg 600w, https:\/\/www.vrdesigns.net\/wp-content\/uploads\/2012\/07\/airfield2-300x216.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Now click the graphics tab and set the LT# on construct (Landscape Type #) to -1. This means when you place it on the map in the editor the current landscape type of the hex will not change. However we do want to give the user a visual cue and for this we set the ExtraGraphic to 51 (aircraft symbol). <\/p>\n<p>Ohh.. and don&#8217;t forget to change the name to &#8220;airfield&#8221; :)<br \/>\nBut thats basically it.<\/p>\n<p>One last remark: The ExtraGraphic uses a number that corresponds with a file from the natocounter directory. In retrospect this is not ideal, but it is workable. If you would like to add a custom graphic it means you have 2 things you can do. (1) Add a new natographic in the dccbmodgraphics\/natocounters\/ directory. At this moment i would add it as 183.png. (2) basically you do the same but this is more clean. Here you copy all dccbmodgraphics directories and rename them something like mymodgraphics, mymodgraphicsSMALL, mymodgraphicsBIG. Then you add 183.png to the natocounters directories in these mymodgraphics directories. And then you go the settings window and set the GfxOverrule to mymodgraphics.<\/p>\n<p>Hope this helps. Let me know if there any questions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ok&#8230; And here is already the 2nd installment to the great DC Editor Q&#038;A Show! I got the question &#8220;How to create airfield locations that can be placed on top of any existing landscapetypes?&#8221;. A good question and luckily a &hellip; <a href=\"https:\/\/www.vrdesigns.net\/?p=368\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.vrdesigns.net\/index.php?rest_route=\/wp\/v2\/posts\/368"}],"collection":[{"href":"https:\/\/www.vrdesigns.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vrdesigns.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vrdesigns.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vrdesigns.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=368"}],"version-history":[{"count":3,"href":"https:\/\/www.vrdesigns.net\/index.php?rest_route=\/wp\/v2\/posts\/368\/revisions"}],"predecessor-version":[{"id":764,"href":"https:\/\/www.vrdesigns.net\/index.php?rest_route=\/wp\/v2\/posts\/368\/revisions\/764"}],"wp:attachment":[{"href":"https:\/\/www.vrdesigns.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vrdesigns.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vrdesigns.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}