Alpenwolf Posted November 21, 2017 Posted November 21, 2017 Anyone knows the proper names of units for the lua script? I mean e.g. if you want a Shilka as a cargo for the Mi-8 to load, drop somewhere and unpack then you'll have to enter the proper unit's name in the lua script for the script to "understand". I've tried "ZSU-23-4", "SAPPP", "SPAAA ZSU-23-4" etc. They all didn't work out. Do we have a list for that purpose? HACA DYCA Discord Cold War 1947 - 1991 You can help me with keeping up the server via PayPal donations: hokumyounis@yahoo.com
Alpenwolf Posted November 21, 2017 Author Posted November 21, 2017 Call the silka group "extract1" Didn't work. Here's the line: { weight = 900, desc = "Shilka", unit = "extract1", side = 1 }, "Shilka" is only what the player sees in his F-10 menu. So obviously there are some codenames for these units. Any idea where I can find a list of some sort? HACA DYCA Discord Cold War 1947 - 1991 You can help me with keeping up the server via PayPal donations: hokumyounis@yahoo.com
Ciribob Posted November 22, 2017 Posted November 22, 2017 Make a mission with one unit on it, the one you want to find the name for and name the unit something memorable. Save mission Rename miz to .zip Open the file called mission in the zip with a good text editor Search for the name of the unit in the file and you should see the type name close by in the LUA Sent from my ONEPLUS A3003 using Tapatalk Scripts: Complete Transport And Logistics Deployment - CTLD / CTLD Examples - Lots of example of how to use CTLD CSAR Script - Downed Pilot Rescue / Dedicated Server Script - Automatically launch DCS Multiplayer server at startup Range Scoring Script - Get scores and counts hits on targets for gunnery or bombs / SimpleSlotBlock - Multiplayer dynamic Slot Blocking Script Projects: DCS-SimpleRadio Standalone - DCS Radio Integration for All Aircraft - NO TeamSpeak Required! :) DCS-SimpleRadio Troubleshooting Post / DCS-SimpleRadio Free Support Channel on Discord
Grimes Posted November 22, 2017 Posted November 22, 2017 Also check the objectDB and the typeName entry: https://github.com/mrSkortch/DCS-miscScripts/blob/master/ObjectDB/Air%20Defense/ZSU-23-4%20Shilka.lua The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Alpenwolf Posted November 22, 2017 Author Posted November 22, 2017 Make a mission with one unit on it, the one you want to find the name for and name the unit something memorable. Save mission Rename miz to .zip Open the file called mission in the zip with a good text editor Search for the name of the unit in the file and you should see the type name close by in the LUA Sent from my ONEPLUS A3003 using Tapatalk Also check the objectDB and the typeName entry: https://github.com/mrSkortch/DCS-miscScripts/blob/master/ObjectDB/Air%20Defense/ZSU-23-4%20Shilka.lua Thanks, guys! Works fine! HACA DYCA Discord Cold War 1947 - 1991 You can help me with keeping up the server via PayPal donations: hokumyounis@yahoo.com
Recommended Posts