inanetunaman
Posts: 27
Joined: 1/29/2017 Status: offline
|
well, i stubbornly still want to be able to edit aircraft layouts, and have been told that they won't give us a layout editor to change the database but there is now a LUA script command to change weapon records, although i am not sure if they can add a weapon record that was not their at first, but the editor can do this so it should(i will have to look more) so with this, i could "hijack" a layout and remove its weapons and add my new ones(in a simple example, it would replace aim-9m sidewinders with aim-9x sidewinders, but in the same number as before) the case I currently want to do(although… it may not be relevant in RL) is to equip one of brazil’s A-4 shyhawks with a mid-range AAM , as they have carriers but no carrier based fighters the reason this example is good is because their Skyhawk has 2 AAW layouts, one using the python 3, and one using the MAA-1, so it is possible to change one layout and still give it a close rage AAW layout I wanted to add the super 530 missile or the sparrow III(it worked better with radars) to the plane, and it worked well manually in the editor, although I have to add another radar to illumine for the missile (it is possible to make it only illumine but not search), but then it is fine manually The problem I have is how to remove a sensor that you added with a LUA script (to remove it when it lands, so you don’t end up with 500 radars after a battle) when the plane lands as it will give it a new ID The other problem I have with testing this is I am unaware how to add a weapon to its “layout” mount, It can be done manually in the editor, and it works great and even affects max range, but when I generated a SBR delta templet it did not contain the change, So, is there a LUA script that can apply SBR changes, how to you remove sensors that you added later on, and… can I add to the layout, or did I just stumble upon a way to do something we were not supposed to do(you can add it by clicking on one of its current weapons and opening the add weapons window, but can’t by clicking on the mount) This won’t work practically unless there was an “Aircraft launched” and “aircraft landed” trigger Any idea how I could format this, I have no experience with LUA scripts, but do know how to program(to a point)
|