Jump to content

BB.

Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by BB.

  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...
  15. Thank you for improving.
  16. Multiplay RaceScript_v1.04b (TestVersion) http://www.en.wiki.eagle.ru/attachment.php?attachmentid=92893&stc=1&d=1389455251 Change log A fanfare flag number can be specified by UserSetting. The race re-starting (reset) function was added. Race will be reset if the flag 10 is set ON. (Default Flag10. When you change a flag number, please change the line 19 of UserSetting. ). Example: RaceReset I am creating the script which saves a course record now. It will take some time before it is complete. Thanks MP_RaceScript_v1.04b.zip
  17. I'm sorry if the meaning of a question is misunderstood.
  18. This script can multi-play the course which the user created. The flow of a race "FreeRun" -> "Qualify" -> "Starting Grid" -> "Final" DOWNLOAD SCRIPT FILE http://www.en.wiki.eagle.ru/attachment.php?attachmentid=92655&stc=1&d=1388939082 DOWNLOAD 4 COURSE http://www.en.wiki.eagle.ru/attachment.php?attachmentid=92656&stc=1&d=1388939082 Stage-1 : F-15x10 Stage-2 : MiG-29x10 Stage-3 : UH-1x10 Stage-4 : P-51x12 (Time Attack Ver) *User create course 1. MIST load 2. This script load 3. If there is a fanfare file, it will load sound file. (DefaultFlagNumber8. When you change a flag number, please change the line:760 of lua file. ) 4. Course guide (static objects) create Left side is made into the name "LeftSide #001" ... "LeftSide #002" ... "LeftSide #999"(Maximum number) Right side is made into the name "RightSide #001" ... "RightSide #002" ... "RightSide #999"(Maximum number) Note : LeftSide #Number = RightSide #Number 5. Grid Zone create TriggerZone Name "Grid1" ... "Grid2" ... "Grid99"(Maximum number) Please create a smoke zone near a grid zone. Zone name "GridSmoke1" ... "GridSmoke99"(Maximum number) Note : Grid number = GridSmoke number 6. RaceZone create This trigger zone should cover the whole course. Record time will be erased if a player comes out of this zone. 7. Client Plane or Heli create Grid number = Client AirPlane 8. UserSetting Edit PoleNumber = 67 --Please fill in the placed number of "Course guide". Example "LeftSide #067" and "RightSide #067" MaxPlayer = 10 --Please fill in the placed number of Grid & Client AirPlane. --Checkpoint Pole Number CheckPoint = {} CheckPoint[1] = 13 CheckPoint[2] = 32 CheckPoint[3] = 53 FreeRunTime = 600 --(sec) QualifyTime = 600 --(sec) PenaltyVolume = 2 --Course Out Penalty PrematureStartPenalty = 15 --(sec) maxalt = 3000 --meter The maximum altitude. It will be "course out" if it becomes higher than this. LapNumber = 3 --Final Race LapNumber smokecolor = "Orange" --Grid Smoke Color (Green , Red , White , Orange , Blue) FanfareWaitTime = 11 --(sec) Fanfare sound play time PrematureStartSpeed = 1 --Premature start check speedKnown problem When it respawn after the pilot ejected, a script stops. If "Russia Infantry Soldier Rus" is specified as a course guide, will be nil error. (bug?) If four or more players participate, it cannot fly with server PC. (Very high load) I am a programming beginner. Since I think that there are many problems and improving points, please point out a correction part. Thank you. MP_RaceScript_v1.0.zip BigBird AirRace CousePack.zip
  19. These skins real paint. JASDF 303sq was used in TAC MEET of 2006. http://blogs.yahoo.co.jp/shyuyuri12/archive/2013/03/03 http://www.amv83.fr/Asm/galleryjapanF15-303sqn.htm Download Link;) https://docs.google.com/file/d/0B52YxSsZ_9q_Z0haTE03aWdkbWM/edit?usp=sharing https://docs.google.com/file/d/0B52YxSsZ_9q_TmRVOHJ4NXlnVm8/edit?usp=sharing I have never made Longbow Apache Skin. Wow, 23sq 10th Special paint! Very nice!:thumbup:
  20. BB.

    BB's Panels

    Unfortunately, there is no function of the backlight. But, I plan to improve in the near future.
  21. BB.

    BB's Panels

    Thank you all for the response! :) This time I used acrylic plate that is already gray coloured so print seal on the button wont peel off. Last time I made buttons for CDU, I was suffering from the seal peeling off from the button as I was putting seal on the gray painting, painted over the white acrylic plate. You mean how did I linked the LED caution light with the SIM? The process of recognizing LED status is done by following sequence. DCS Export.lua > Socket > Socket Receiver > USB IO Device > LED
×
×
  • Create New...