Jump to content

blklobo

Members
  • Posts

    89
  • Joined

  • Last visited

Everything posted by blklobo

  1. How to get coordinates of a building in DCS and its application examples MOOSE Version : 2.3.0 Alpha (Early Adopters) Download : https://github.com/FlightControl-Master/MOOSE/tree/release-2.3.0 ※ I am not good english user, so I use the Google Translator for this thread. This method is to get the coordinates of the building in DCS 1.5. You can use this method to know the type and coordinates of the building and to enter the kind of building you know so you can get the coordinates of the specific building you want. I can use this method to build various virtual battlefield environments. You can configure the environment below. (Thanks to FC) 1. Build a low-altitude air defense network in a specific city. 2. Build a mission to bomb specific buildings. 3. Infantry or cargo transport to a specific building. 4. Other creative environments are possible. As you know, the intervention of the air force in the contemporary low-intensity dispute is the responsibility of precisely striking certain goals in the city. I think MOOSE 2.3's new features will make it easier to implement battlefields in the city. As you know, the satellite view in the 1.5 Mission Editor was not very accurate, which made the mission a big challenge. Also, even if the satellite view is accurate, placing the unit manually in a particular building is a very time consuming process. Consider the following example code. Zone = ZONE:New( "Identfy" ) Zone:Scan( Object.Category.SCENERY ) for SceneryTypeName, SceneryData in pairs( Zone:GetScannedScenery() ) do for SceneryName, SceneryObject in pairs( SceneryData ) do local SceneryObject = SceneryObject -- Wrapper.Scenery#SCENERY MESSAGE:NewType( "Scenery: " .. SceneryObject:GetTypeName() .. ", Coord: " .. SceneryObject:GetCoordinate():ToStringLLDMS(), MESSAGE.Type.Information ):ToAll() end end 1. I created a 25 meter radius in the Mission Editor named "Identfy". This is to know the name of a specific building. 2. The following for statement prints the name of the particular building. This code is provided by FC as an example. I am not a professional programmer, so I can not understand the exact mechanism. Sorry! for SceneryName, SceneryObject in pairs( Zone:GetScannedSceneryType( "HOME16_TWIN" ) ) do local SceneryObject = SceneryObject -- Wrapper.Scenery#SCENERY local Vec2 = SceneryObject:GetVec2() ZU23:SpawnFromVec2( Vec2 ) MESSAGE:NewType( "Scenery: " .. SceneryObject:GetTypeName() .. ", Coord LL DMS: " .. SceneryObject:GetCoordinate():ToStringLLDMS(), MESSAGE.Type.Information ):ToAll() end I scanned the type of building with the above script and found the name of the building called HOME16_TWIN. And the coordinates of the HOME16_TWIN buildings in the Zone with a specific radius. Then, ZU-23, which we prepared in advance, is created in the corresponding coordinates. In my opinion, I think that these functions can be applied indefinitely using the DESIGNATION class and the MENU and TASKING classes. Take note of the MOOSE, which once again gives thanks to FC and is opening a new chapter in the world of mission editing.
  2. to Sydney Thank you for your reply. We use only default skins. We focus to performance. connect and fight! thank you.
  3. Hello everyone who DCS lover. I am DCS user in JTWF of South Korea. We opened "Dedicated Server". It will open 24hour, 356days. this server made for users who want 80s era WVR(Dogfight) we deploy KF-5E and MiG-21bis. additionally, we deploy F-86F and MiG-15bis. because we want satisfy many user who F-86F, MiG-15bis. Server placed in Republic of Korea. so might be high ping coming from north america and western. My poor english can't tell you about more. just connect our server and enjoy. thanks. Server Name in Multiplay : -= JTWF - North Korea vs South Korea (1985) =- JTWF : the largest DCS community in South Korea. we have not official third party and ED beta tester team.
  4. MiG-21 sick too[emoji17] 나의 SM-G930S 의 Tapatalk에서 보냄
  5. Thank you for reply! Healthful F-14 make me happy more! [emoji3][emoji3][emoji3] 나의 SM-G930S 의 Tapatalk에서 보냄
  6. Thanks FC! I will try as your reply, then report to you. Thanks a lot! 나의 SM-G930S 의 Tapatalk에서 보냄
  7. My hobby is make DCS footage with Track Replay. AJS-37 everytime going to wrong in Replay. If F-14 too. I will feel giant sad. And will crying. F-14 Track Replay will be good? 나의 SM-G930S 의 Tapatalk에서 보냄
  8. I made mission with MOOSE. But they are not engage to players. I tried no MOOSE mission, just use only DCS mission editor with CAP. Same result. Singleplay is Ok. Multiplay not Ok. I think AI CAP something wrong. 나의 SM-G930S 의 Tapatalk에서 보냄
  9. Hello. I love MOOSE Script so much. MOOSE gave to me the brave new world when making mission. Today, I have one question! How to upload and play sounds in MOOSE? Example, I use MOOSE and made script what spawning enemy CAP flight. I have done message notify this using message class when enemy CAP flight has been spawned. But I don't know how to notify to players with beep sounds. How to do that? Thanks.
  10. Korea government so insane. They are blocked Falcon 4.0 just it is make Korea Map[emoji3] If ED make korea map, or attempt it, Korea Gov will be angry. 나의 SM-G930S 의 Tapatalk에서 보냄
  11. I really wish fix track replay error on some module. Example Letherneck Simulations module. MiG-21bis, AJS-37. I love so much these module, then I try on every day how to make great movie about them. But I can not. Everytime I feel super sad when tracks are broken. What reason cause error? I really worry how to do when track broken F-14A too. I cant find any information in the ED forum about this problem. What reason cause? If I know I will try fix it. Please fix this problems. 나의 SM-G930S 의 Tapatalk에서 보냄
  12. My system is using i5, 1080, 32gb, ssd. 나의 SM-G930S 의 Tapatalk에서 보냄
  13. I love MiG-21bis a lot. Thank you for make this module. But some problems exist when enjoying Fishbed in 2.1.1. problems are bellowing. 1. FPS drop significantly when nearby each other. I tried change MiG-21bis paint scheme to 4K resolution. But problem not solved. And I tried downgrade DCS graphic option to all low including MSAA, can't solving problem. 2. Drag Chute can not be unfold in multiplaying. My collegues and me over running runway all time. I checked flight manual. But I dont know what is this. Singleplaying is good. Problem exist only multiplaying. 3. Cockpit texture is strange. It is not critical problem in flying. But I hope looking beautiful red instruments light. I know developing is hard work. But fishbed problems what now exist is very sad. Can I ask how much time spent for solving this problem? Specifically frame drop. We cant flying in formation[emoji22] 나의 SM-G930S 의 Tapatalk에서 보냄
  14. We can editing pilot name in the mission editor. I think it will be available what apply rank and name of pilots under the canopy frame. As you know we can edit tail bort number and some letters in Warthog, Mirage, Spitfire and other modules. How about we can edit rank and name of pilot in the F/A-18C Hornet? I think it will be awesome[emoji1] 나의 SM-G930S 의 Tapatalk에서 보냄
  15. I want make cinematic movie with AJS-37 Viggen. But I cant because track is broken every time. 나의 SM-G930S 의 Tapatalk에서 보냄
  16. I want make Viggen Cinematic Movie. But I Can't. What is wrong on the Viggen's Track Recording System? Other Module is good. but Viggen is not good.:(
  17. I send my mission to you. Thanks you so much Flight Control.
  18. No. I dont know what problem of my code. Thanks delta and FC. I am now going to travel to Lua Basic. I will solve that. 나의 SM-G930S 의 Tapatalk에서 보냄
  19. blklobo

    QFE / QNH

    https://www.digitaldutch.com/atmoscalc/index.htm I make kneeboard about QFE. But using mist code, Grime was said impossible. If you want, programming QFE calculator for using in DCS real time play. Reference Wikipedia. Search Barometric Formula 나의 SM-G930S 의 Tapatalk에서 보냄
  20. another method attemted(failed) Ok I attempted go other way. I looking dcs.log, I found something interest. hook? So I re-Coding my script. but I fail.:lol: -- WVR A2A TRAINING MOOSE SCRIPT LUA FILE (19 Feb. 2017) do -- Declare Polygon Zone local HotZone = ZONE_POLYGON:New( "HotZone", GROUP:FindByName( "HOTZONE" ) ) local SpaZone = ZONE_POLYGON:New( "SpaZone", GROUP:FindByName( "SPAZONE" ) ) -- Radio F10 Base Menu local MenuBase = MENU_COALITION:New( coalition.side.RED, "Training Start" ) -- Spawn BDM212 local function TwoMiG21() -- Get Vec2 Coordinate local Vec2BDM212 = SpaZone:GetRandomVec2() local Vec3BDM212 = POINT_VEC3:NewFromVec2( Vec2BDM212, 1750 ) function CapBDM212() local BDM212CAP = AI_CAP_ZONE:New( SpaZone, 500, 3000, 550, 650 ) :SetControllable( GROUP:FindByName( "BDM212#001") ) :SetEngageZone( HotZone ) :__Start( 1 ) end -- Spawning local BDM212 = SPAWN:New( "BDM212" ) :OnSpawnGroup( function( spawnGroup ) spawnGroup:E( CapBDM212 ) end ) :SpawnFromVec3( Vec3BDM212:GetVec3() ) end -- Radio F10 Menu local MenuTwoMiG21 = MENU_COALITION_COMMAND:New( coalition.side.RED, "Call Two MiG-21bis", MenuBase, TwoMiG21 ) end
  21. I attempted your solution just now. But not solve the problem. Can I ask what is the "spawnedGroup"? it is just "spawnedGroup" or "BDM212"? I found something in FC's docs. about OnSpawnGroup. So, my now code same to below. BDM212 = SPAWN:New( "BDM212" ) :OnSpawnGroup( function( SpawnedBDM212 ) BDM212CAP = AI_CAP_ZONE:New( SpaZone, 500, 3000, 550, 650 ) :SetControllable( SpawnedBDM212 ) :SetEngageZone( HotZone ) :__Start( 1 ) end ) :SpawnFromVec3( Vec3BDM212:GetVec3() ) end this case show error in the dcs.log, "23: attempt to index a nil value"
  22. Thanks for your Tip. but problem is same. I changed and more modernized based on your Tip and reference the MOOSE docs. This is my today final Source Code. Problem is exist. MiG-21bis are going to Airbase after Spawn. Dizzy. Thanks you so much why help me. but, LUA is so strong. In dcs.log, "20: attempt to call method 'OnSpawnGroup' (a nil value)"
  23. AI CAP Question of Spawned MiG Thanks FC why reply to every my poor question. Really Thank a lot! :thumbup: Can I ask to you more? sorry to my many question and not good english. Now, I make the "Within Visual Range Air Combat Training Mission" My plan is below, 1. Spawn Two MiG-21bis from Random Vec3 at 1750 meter (success) 2. Let Do them going to AI_CAP and Engage Zone (fail) I can't explain well because my english not good. So attaching my Source Code. // I found OnSpawnGroup API. but, MiG-21bis are going to Airbase for landing after spawn.
  24. thanks for your explain I got it. Thanks :thumbup:
  25. Hi Every Viggens. AJS-37 is so amazing module what I ever. I love it. but, I have two proplem. first is Track Replay. My favorite is make DCS movie. but AJS-37 Track is always going to die. Track is not match with I played. long time play, short time play, 1minute play are too. always track file is not match. this is bug? or my problem? second is I love Gun and Rocket. So I payloaded to viggen with Gun and Rocket. But I can't shot Gunpod. Just Rocket Fired, Gunpod are can't fire. It is real? Thanks. Sorry to my poor english.
×
×
  • Create New...