Jump to content

BB.

Members
  • Posts

    35
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Trigger "Remove effect smoke" AI unit unlimited weapons and unlimited fuel options
  2. Same problem. If groupID and unitID of carrier are the same number, only 4 aircraft can be put. Therefore, by creating a group including multiple units before creating the carrier, I was able to avoid it.
  3. LED is embedded in the groove. The structure is very simple.
  4. I can spawn without problems if it is an airplane. Please tell me if there are other values needed to spawn the helicopter. Or is it a bug? function PlaneSpawn() local ZoneTable = trigger.misc.getZone("TestZone1") local Altitude = land.getHeight( {x = ZoneTable.point.x , y = ZoneTable.point.z} ) Altitude = Altitude + 100 local groupData = { ["modulation"] = 0, ["tasks"] = { }, -- end of ["tasks"] ["task"] = "Transport", ["uncontrolled"] = false, ["route"] = { ["points"] = { [1] = { ["alt"] = Altitude, ["action"] = "Turning Point", ["alt_type"] = "BARO", ["speed"] = 55.555555555556, ["task"] = { ["id"] = "ComboTask", ["params"] = { ["tasks"] = { }, -- end of ["tasks"] }, -- end of ["params"] }, -- end of ["task"] ["type"] = "Turning Point", ["ETA"] = 0, ["ETA_locked"] = true, ["y"] = ZoneTable.point.z, ["x"] = ZoneTable.point.x, ["name"] = "", ["formation_template"] = "", ["speed_locked"] = true, }, -- end of [1] }, -- end of ["points"] }, -- end of ["route"] ["groupId"] = 1, ["hidden"] = false, ["units"] = { [1] = { ["alt"] = Altitude, ["alt_type"] = "BARO", ["livery_id"] = "USAF 364th FS", ["skill"] = "High", ["speed"] = 138.88888888889, ["type"] = "TF-51D", ["unitId"] = 1, ["psi"] = 0, ["y"] = ZoneTable.point.z, ["x"] = ZoneTable.point.x, ["name"] = "DictKey_UnitName_17", ["payload"] = { ["pylons"] = { }, -- end of ["pylons"] ["fuel"] = 340.68, ["flare"] = 0, ["chaff"] = 0, ["gun"] = 100, }, -- end of ["payload"] ["heading"] = 0, ["callsign"] = { [1] = 1, [2] = 1, [3] = 1, ["name"] = "Enfield11", }, -- end of ["callsign"] ["onboard_num"] = "010", }, -- end of [1] }, -- end of ["units"] ["y"] = ZoneTable.point.z, ["x"] = ZoneTable.point.x, ["name"] = "GroupName1", ["communication"] = true, ["start_time"] = 0, ["frequency"] = 251, } coalition.addGroup(country.id.USA, Group.Category.AIRPLANE, groupData) end PlaneSpawn() UnitSpawn_Plane.miz
  5. Hello DCS crashes when spawn helicopter with script. Version DCS OpenBeta 2.5.1.16543 Is this Lua written correctly? function HeliSpawn() local ZoneTable = trigger.misc.getZone("TestZone1") local Altitude = land.getHeight( {x = ZoneTable.point.x , y = ZoneTable.point.z} ) Altitude = Altitude + 100 local groupData = { ["modulation"] = 0, ["tasks"] = { }, -- end of ["tasks"] ["task"] = "Transport", ["uncontrolled"] = false, ["route"] = { ["points"] = { [1] = { ["alt"] = Altitude, ["action"] = "Turning Point", ["alt_type"] = "BARO", ["speed"] = 55.555555555556, ["task"] = { ["id"] = "ComboTask", ["params"] = { ["tasks"] = { }, -- end of ["tasks"] }, -- end of ["params"] }, -- end of ["task"] ["type"] = "Turning Point", ["ETA"] = 0, ["ETA_locked"] = true, ["y"] = ZoneTable.point.z, ["x"] = ZoneTable.point.x, ["name"] = "", ["formation_template"] = "", ["speed_locked"] = true, }, -- end of [1] }, -- end of ["points"] }, -- end of ["route"] ["groupId"] = 1, ["hidden"] = false, ["units"] = { [1] = { ["alt"] = Altitude, ["hardpoint_racks"] = true, ["alt_type"] = "BARO", ["livery_id"] = "Army Standard", ["skill"] = "High", ["ropeLength"] = 15, ["speed"] = 55.555555555556, ["AddPropAircraft"] = { ["GunnersAISkill"] = 90, ["ExhaustScreen"] = true, }, -- end of ["AddPropAircraft"] ["type"] = "UH-1H", ["unitId"] = 1, ["psi"] = 0, ["y"] = ZoneTable.point.z, ["x"] = ZoneTable.point.x, ["name"] = "UnitName1", ["payload"] = { ["pylons"] = { }, -- end of ["pylons"] ["fuel"] = "631", ["flare"] = 60, ["chaff"] = 0, ["gun"] = 100, }, -- end of ["payload"] ["heading"] = 0, ["callsign"] = { [1] = 1, [2] = 1, [3] = 1, ["name"] = "Enfield11", }, -- end of ["callsign"] ["onboard_num"] = "050", }, -- end of [1] }, -- end of ["units"] ["y"] = ZoneTable.point.z, ["x"] = ZoneTable.point.x, ["name"] = "GroupName1", ["communication"] = true, ["start_time"] = 0, ["frequency"] = 251, } coalition.addGroup(country.id.USA, Group.Category.AIRPLANE, groupData) end HeliSpawn() UnitSpawn.miz dcs.log-20180427-134354.zip
  6. Since I don't have a 3D printer, I made a knob using 3D print service.
  7. The switch I used is below. https://www.aliexpress.com/item/Free-shipping-200Pcs-lot-Wholesale-6mm-6mm-Snap-in-Micro-Push-Button-Tactile-Tact-Momentary-Electronic/1253618109.html?spm=a2g0s.9042311.0.0.eobAn6 All the way to make the button is the same. 1, Milling acrylic boards 2, Paint 3, Milling paint film (Make characters)
  8. 1, Milling acrylic boards (Make a panel) 2, Paint 3, Milling paint film (Make a string) By lighting from the back with this it glows only character. PCB is also made with milling machine.
  9. Although it is probably a pull switch with an actual machine, it was difficult to reproduce it, so I used an encoder with a push switch.
  10. I'm not using a potentiometer. All knob switches are using rotary encoders. I used the evaluation board on which PIC18F4553 was installed. But I don't know if it's best. If you want to use more potentiometer, you should use A/D converter. https://www.digikey.com/products/en?keywords=MCP3008-I%2FP :D
  11. Key switches > 6x6 Tactile Switches (Green LED) https://www.aliexpress.com/item/Free-shipping-200Pcs-lot-Wholesale-6mm-6mm-Snap-in-Micro-Push-Button-Tactile-Tact-Momentary-Electronic/1253618109.html?spm=a2g0s.9042311.0.0.eobAn6 or https://www.aliexpress.com/item/100Pcs-6mm-6mm-White-Button-Snap-in-Micro-Push-Button-Tactile-Tact-Momentary-Electronic-Switch-With/32762591668.html?spm=2114.10010108.1000013.2.8d1324bbgeIAq&traffic_analysisId=recommend_2088_1_90158_iswistore&scm=1007.13339.90158.0&pvid=34702d58-ba05-489e-a187-7edcf50d7983&tpp=1 Rotary switches > NKK Switches MRY-106 http://www.nkkswitches.com/pdf/MRpowerLevel.pdf Rotary encoders > ALPS EC12E2420801 http://www.alps.com/prod/info/E/HTML/Encoder/Incremental/EC12E/EC12E2420801.html Monitor > BuyDisplay 10.1 inch http://www.buydisplay.com/default/10-1-inch-raspberry-pi-screen-w-hdmi-video-vga-driver-board-1024x600
  12. I looked for parts when designing. However, I could not find anything that matched the font and size, so I decided to make it myself. It was very hard to make. :cry:
  13. On my design it will be this distance. (millimeter) I processed acrylic board with CNC. DDI is handmade. I adjusted it to the 10.1 inch monitor. I used a handmade 16 segment display.
  14. Hello, I am making a home cockpit of F/A-18C. The front upper part was completed.:thumbup: work in progress...
×
×
  • Create New...