-
Posts
7 -
Joined
-
Last visited
-
DCS Scripting API Prototypes — TGFB Edition info This utility allows for more efficient and cleaner code so, help you make better scripted missions! With this you will gain the ability to lookup and see all functions available to you in the DCS Mission Scripting API. You will get function auto-completion so you will always know what param a function wants/needs. It will also warn you for sketchy nil and Mission Scripting errors so my advice if you see a "warning" in your file you better check that out and fix it to prevent bugs and unintended fun!! The original idea as far as i can see was from 'asherao' Installation and download -> HERE TGFB Info Website: tgfb-dcs.com Discord Feel free to join the TGFB Discord or visit or website to stay up-to-date with my latest projects, mission and tools Enjoy using this tool!! This tool is updated for DCS version : "2.9.19.13478" Credit : - Hoggit Discord - asherao See Screenshot EXAMPLES :
-
- scripting
- missionscripting
- (and 12 more)
-
Ive taken a look at your miz and scripts and believe this is not a DCS issue A lot of your table structures are incorrect and some 'id' values you put in simply do not exist in DCS hense the "Unknown task" Errors and when the 'id' is valid you give it incorrect DATA than it wont accept so wont execute (BTW) in the scripting API attempting to making a plane land at the coords of a carrier i dont think it will do much because that would be a impossible task for the plane i dont know atm of a better solution for this.... Anyway DCS is requires specific table structures to make task works and even if it gets it it still does it own will TLDR; dont take this negatively but read the hoggit task wiki bit more : https://wiki.hoggitworld.com/view/Category:Tasks and follow the exact table structures and try doing one task at the time and maybe use "push task" not "set task" I have automated a lot of the task generation although working with AI is very difficult and annoying in the Scripting API All my systems still seem to work (Sorry cant share any) so with what ive seen very sure its not DCS today Hope this helps
-
Tobias00723 started following Scripting Tips, Tricks & Issues
-
How can I animate a static object using a script?
Tobias00723 replied to Misuta-T's topic in Scripting Tips, Tricks & Issues
As far as i know you cant.... -
Hope this will be fixed soon!, Really eager to use this on my missions, have already made my systems I have been playing around with this in MP (non dedicated) and seems that some field do not work yet, hope we can get these options too to make this fully integrated in the Scripting API! values extracted from warehouse file in any .miz (These seem to not work yet using coalition.addStaticObject) "unlimitedMunitions" "unlimitedAircrafts" "unlimitedFuel" The following do seem to work already for those that dont know yet : "allowHotStart" "dynamicSpawn" "dynamicCargo" So as of now you will need to manually put in all aircraft, weapons and fuel to make it so you can use the spawned helipad (As far as i know) Hope the team can do this!! @BIGNEWY
-
Variable Behavior of coalition.addStaticObject()
Tobias00723 replied to Grooveline's topic in Object Bugs
Sorry have been doing some tests and still puts a smoke at 0 ASL I tested it with heliports where if i put in "Heliport" -> 0ASL "Heliports" -> 0AGL so still pretty sure this bug is something todo with the "category" field -
Tobias00723 started following Complete list of unit types? and Variable Behavior of coalition.addStaticObject()
-
Variable Behavior of coalition.addStaticObject()
Tobias00723 replied to Grooveline's topic in Object Bugs
Heyo did some checking myself and seems to be related to the "category" field if this is incorrect or nil it will put it at 0 ASL your "Effects" is invalid -> "Effect" Still presume this is a bug and should not behave like this..... For extra joy you can use the attached file listing all Unit typenames and as the "key" there respective "category" for double checking Typenames from DCS : "2.9.19.13478" Hope this helps TGFB_Unit_typenames_by_category.lua -
Boys i finally made a script that will automatically update ALL typenames in my "Scripting library" https://github.com/Tobias00723/DCS-Scripting-Library-Updated or if your rather have a file with all the DATA feel free to download the attachment including "EmmyLua" Autocompletion Thanks to DCS Datamine github https://github.com/Quaggles/dcs-lua-datamine for giving me the basis to do this File for version : "2.9.19.13478" enjoy!! TGFB_Typenames.lua