quaggles / dcs-lua-datamine Goto Github PK
View Code? Open in Web Editor NEWA reference guide to the lua table values in DCS for weapons and aircraft
A reference guide to the lua table values in DCS for weapons and aircraft
some just ref from TechWeaponPack\Database\chassis
Everything else have an empty chassis = {} table and
GT_t.CH_t table has not been dumped
Any ideas?
Specifically, the Ka-52 is missing from _G/db/Units output. Is there something different in how the Ka-52 is handled within DCS? It has a unit payload entry in the game's mission editor script files.
This is certainly good,but I still can't understand how you can hang a weapon on a hidden plane
Hey Q,
Is it possible to get the sound defs out of DCS?
That sure would be valuable for mod creators.
https://forum.dcs.world/topic/286327-agm-62-walleye-ii-worng-warhead-mass/#comment-5011088
Can the source of data be checked for the database warhead for AGM-62?
why is this executed in the hooks environment instead of the Mission Scripting Environment?
Is there a ['weapons']['adapters'] table in _G?
For example in the BRU_33A.lua file there is _unique_resource_name reference to weapons.adapters.BRU_33A so looking to see if the adapters table exists and if so, what's in it.
_G["Pylons"]["BRU_33A"] = {
IsAdapter = true,
ShapeName = "BRU_33A",
_unique_resource_name = "weapons.adapters.BRU_33A",
index = "Redacted",
name = "BRU_33A",
shape_table_data = { {
file = "BRU_33A",
fire = { 0, 1 },
index = "Redacted",
life = 60,
name = "BRU_33A",
username = "BRU_33A"
} },
ws_type = { 4, 15, 47, "Redacted" }
}
It would be helpful to add in the comments from one of the warheads luas that explains what the various values actually mean (explosive mass is essentially damage and is measured in equivalent TNT weight in kg, penetration values, penetration damage multiplier, concrete damage coefficients, etc.)
I am not an expert for lua, but I noticed that < and > break lua syntax.
Is is possible to suppress that output?
How about outputting JSON as well?
This library does pretty good job at dumping tables into JSON:
https://github.com/rxi/json.lua
It would help a lot to have a few sample (commented if possible) .lua files of some different unit types, and the reused generic definition files that are called in many unit definitions available to reference as modding resources since they're essentially lost in the compiled .lua files.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.