
forUnitType - Sets for which unit type will it show background models. tag - Makes it so only specific units are appearing for different nations. It is the best to load the location in the mission editor, put the unit in the place you want and then copy its coordinates pos - Sets the unit's position in the hangar. Only flying units are allowed, you can find their names here weight - Sets how often the game will choose this setting, the higher the number, the more often it will appearĪdding units to the custom hangar can be achieved by using this code:. env - Sets the time, can be set in range from 0 to 24. It is possible to set the time to specific hour and then set its chance of appearance. If set to too high values it can affect some planes like the Me 163 (flipping issue) Have you completed your hangar? Don’t forget to share your creation with other players on in the section "Locations".Įxplanation of some parameters that are located at the top of file.Ĭan be used to increase or reduce the spheric effectĬhanges the view distance, can add the blur effectĬhanges how long it takes to enable the iddle camera movement (seconds)Ĭhanges the zoom speed by using a mouse scroll wheel HangarBlk:t="config/hangar_airfield.blk" - hangar on airfield (before update 1.59) HangarBlk:t="config/hangar_military_base.blk" - hangar with a military base on the island HangarBlk:t="config/hangar.blk" - default
We already have variants of the hangar in our client: If different types of vehicles are given different locations, switching between them in the hangar will initiate a smooth change of camera view.įinal step - in the file config.blk you must add a parameter pointing to the name of the configuration file for your new hangar: The above parameters are responsible for the position of units in the hangar. ModelPos:p3 = 2154, 17.7, -684.4 - vehicle placement in the location.įor different types of vehicles you are able to add a different place in the hangar.ĬameraEllipsoidWeights:p4= 0.1, 0.0, 0.0, 0.6 ModelRotation:r = 60 - direction of the player vehicles in the location. Level:t = "levels/*location_file_name*.bin" - path to the location designated as the hangar in the game directory. The main parameters that are responsible for the location of the equipment in the hangar are: An example of a user based hangar on the port location hangar "Port of Novorossiysk"