Search the Community
Showing results for tags 'coding'.
-
Hello, I wanted to report an issue with the external cargo and event handler that I discovered while working on a game mode and some related lua code. This error occurs when a piece of external cargo is lifted and then destroyed, by either being dropped or damaged mid-air. When this situation occurs, and an instance of the event handler has been called in the mission, the following error is prompted: [string "..."]:10: attempt to call method 'getName' (a nil value) stack traceback: [C]: in function 'getName' [string "..."]:10: in function 'onEvent' [string "Scripts/World/EventHandlers.lua"]:13: in function <[string "Scripts/World/EventHandlers.lua"]:11> null null I have also seen this error in the forementioned game mode be prompted with a getPosition or getPlayerName call; but always occurred when the external cargo was picked up and then destroyed. I have slimed the conditions of the error down to its most basic state, involving an external-cargo capable helicopter (in this case a CH-47), a piece of external cargo (in this case a small ISO container), and a 'Do Script' trigger calling the event handler, in the attached mission file. I have also attached my DCS log for the instance and a video of the error occurring with this mission: https://youtu.be/Jlano9twZQ0 (Please excuse the delay in hooking the cargo, it's more stressful when recording ) Lastly, here is the event handler code I used in the mission. For simplicity's sake, it is a slightly modified version of the event handler code found on the DCS hoggitworld wiki here: DCS func addEventHandler - DCS World Wiki - Hoggitworld.com Code: local e = {} function e:onEvent(event) local m = {} m[#m+1] = "Event ID: " m[#m+1] = event.id if event.initiator then m[#m+1] = "\nInitiator : " m[#m+1] = event.initiator:getName() end if event.weapon then m[#m+1] = "\nWeapon : " m[#m+1] = event.weapon :getTypeName() end if event.target then m[#m+1] = "\nTarget : " m[#m+1] = event.target :getName() end if event.id == 30 then m[#m+1] = "idx " m[#m+1] = event.idx end trigger.action.outText(table.concat(m), 10) end world.addEventHandler(e) As a closing remark, I am quite new to Lua coding. As such, when this error began occurring, I did believe it to be a mistake from myself; especially given the complexity of my game modes code. However, after doing an extensive amount of testing, I became more confident in the idea this may be an actual bug. I look forward to learning more about the issue and hearing other's thoughts. Thanks! EventCrash.miz dcs.log
-
- cargo
- helicopter
-
(and 8 more)
Tagged with:
-
IFEI export to monitor not working
SpaceFish112 posted a topic in DCS World Tutorial & Help Requests
Hi there, I have this code below which successfully exports the left and right DDI to a monitor yet the IFEI is never visible. I thought it might only show the IFEI when the night illumination is on but that wasn't it. I Suspect it is the definition "F18_IFEI =" which must be wrong although others make reference to that exact declaration and it works for them. below the code is an image of my output. Resolution of the centre monitor is 1920x1080 and the right monitor is 1600x1200. Max combined resolution is 4320x1200. In the image provided, the tiny little thing 3/4 down the output screen is not overlapping or a super tiny IFEI, it is an overlay which allows me to access overclocking settings for my CPU. _ = function(p) return p; end; name = _('Hornet 4:3 4320x1200 IFEI'); Description = 'Visual on 1st monitor, DDIs and MFCD on 2nd' // this is not the correct desc and I just haven't changed it Main_Monitor_x = 1920; Main_Monitor_y = 1080; DDI_Screen_x = 1600; DDI_Screen_y = 1200; DDI_sizes = 500; Viewports = { Center = { x = 0; y = 0; width = Main_Monitor_x; height = Main_Monitor_y; viewDx = 0; viewDy = 0; aspect = Main_Monitor_x / Main_Monitor_y; } } LEFT_MFCD = { x = Main_Monitor_x; y = 0; width = DDI_sizes; height = DDI_sizes; } RIGHT_MFCD = { x = Main_Monitor_x + DDI_Screen_x - DDI_sizes; y = 0; width = DDI_sizes; height = DDI_sizes; } F18_IFEI = { x = Main_Monitor_x + (DDI_Screen_x / 2) - (DDI_sizes / 2); y = DDI_Screen_y - DDI_sizes; width = DDI_sizes; height = DDI_sizes; // don't care right now the IFEi will print in a 1:1 apect ratio the same as DDIs, just want to get it to print first of all, tried 630 by 300 and that did nothing btw. } UIMainView = Viewports.Center -
Hello I know the gear out limit speed is 160 kmh from various manuals and documentation. One publically available source is the Cold War Air Musuems Mi-24 user manual obtained for public use by FOIA, it is technically for Mi-24D but has addendums for differences to V/P models, and states gear limit speed as 86 KIAS. Which is 159.2 kmh indicated air speed. https://mudspikefiles.s3.dualstack.us-east-1.amazonaws.com/original/3X/7/a/7ab064a7f951b9f0325354f257f5e58c571936d6.pdf I have a feeling it’s on a list to eventually be modeled, but just putting it here since no one seems to have mentioned it before. Can’t wait to see all the surprise and stuck gears from people used to lowering or raising the gear at 260 kmh
- 12 replies
-
- 3
-
-
-
- limit
- limitation
-
(and 1 more)
Tagged with:
-
Hello, don’t expect Synch mode to be implemented, as I’m sure it’s very difficult, and who knows how well it works in reality. But if ED did ever implement it, I would be very impressed. I’ve only needed it a few times. But it’s really impressive to realize that a 1970s machine could do such a thing, adding gyro sight properties to the range finding. Would add a very cool capability. Just mentioning it since it seems to not be something that sticks in players heads. I wonder if the D/V model had a similar capability for the front turret? As it always seemed to me that the original point of the precision air flow data sensor boom was to work with doppler to provide precise CCIP/corrections for the turret. Making it very accurate as it would correct for changing bullet AOA as turret moved. Then later adapted to V/P in ASP-17V and integrated with rockets and other gun types
- 2 replies
-
- sighting point
- targeting
-
(and 2 more)
Tagged with:
-
I am creating a skin for the hornet and have limited knowledge of creating a LUA so I have extracted one using ModelViewer and have placed all the relevant DDS files into the folder correctly. My issue currently is that I do not know how to edit what bort numbers are displayed on the final model, I have tried various changes to the code such as changing the corresponding lines to false or true but every time I go to view the livery in ModelViewer, all of the numbers are viewable. there are various tutorials which I have watched and I am still sifting through although i have so far found none that explain the process with how the current code I have set up is to be worked with. Below is an attachment of the unedited base code and a screenshot where I have circled in red the bort numbers I wish to keep on both sides. livery = { {"f18c_glass", DIFFUSE , "f18c_glass", false}; {"f18c_glass", SPECULAR , "f18c_glass_roughmet", false}; {"f18c_glass", DAMAGE , "f18c_glass_damage", false}; {"f18c2", DIFFUSE , "f18c_2_dif", false}; {"f18c2", NORMAL_MAP , "f18c_2_nm", false}; {"f18c2", SPECULAR , "f18c_2_dif_roughmet", false}; {"f18c2", DAMAGE , "f18c_2_damage", false}; {"f18c2", 10, "f18c_2_damage_nm", false}; {"f18c1", DIFFUSE , "f18c_1_dif", false}; {"f18c1", NORMAL_MAP , "f18c_1_nm", false}; {"f18c1", SPECULAR , "f18c_1_dif_roughmet", false}; {"f18c1", DAMAGE , "f18c_damage", false}; {"f18c1", 10, "f18c_damage_nm", false}; {"f18c1", DIFFUSE , "f18c_1_dif", false}; {"f18c1", NORMAL_MAP , "f18c_1_nm", false}; {"f18c1", SPECULAR , "f18c_1_dif_roughmet", false}; {"f18c1", DAMAGE , "f18c_damage", false}; {"f18c1", 10, "f18c_damage_nm", false}; {"F18C_SKELETON", DIFFUSE , "f18c_skeleton_diff", false}; {"F18C_SKELETON", DAMAGE , "f18c_skeleton_damage", false}; {"F18C_SKELETON", DIFFUSE , "f18c_skeleton_diff", false}; {"F18C_SKELETON", DAMAGE , "f18c_skeleton_damage", false}; {"f18C_headlight_R", DIFFUSE , "f18c_bano", false}; {"f18C_headlight_R_dammy", DIFFUSE , "f18c_bano", false}; {"F18C_headlight_L", DIFFUSE , "f18c_bano", false}; {"F18C_headlight_L_dammy", DIFFUSE , "f18c_bano", false}; {"f18C_headlight_band_f", DIFFUSE , "f18c_bano", false}; {"f18C_headlight_band_f", SELF_ILLUMINATION , "f18c_bano", false}; {"f18C_headlight_band_banno", DIFFUSE , "f18c_bano", false}; {"F18C_omni_banno_192", DIFFUSE , "f18c_bano", false}; {"f18C_headlight_KIL", DIFFUSE , "f18c_bano", false}; {"f18C_headlight_KIL_dammy", DIFFUSE , "f18c_bano", false}; {"F18C_BORT_NUMBER_KIL_R_100", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_R_100", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_R_100", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_R_100", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_R_100", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_KIL_R_10", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_R_10", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_R_10", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_R_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_R_10", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_KIL_R_01", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_R_01", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_R_01", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_R_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_R_01", DAMAGE , "f18c_2_damage", false}; {"F18C_omni_banno_192_dammy", DIFFUSE , "f18c_bano", false}; {"F18C_Brake_pads", DIFFUSE , "f18c_brake_pads_dif", false}; {"F18C_Brake_pads", NORMAL_MAP , "f18c_brake_pads_nm", false}; {"F18C_Brake_pads", SPECULAR , "f18c_brake_pads_dif_roughmet", false}; {"f18c_wheel_101", DIFFUSE , "f18c_wheel", false}; {"f18c_wheel_101", NORMAL_MAP , "f18c_wheel_nm", false}; {"f18c_wheel_101", SPECULAR , "f18c_wheel_roughmet", false}; {"f18c_wheel_101", DAMAGE , "f18c_wheel_damage", false}; {"F18C_headlight", DIFFUSE , "f18c_bano", false}; {"F18C_rulezh", DIFFUSE , "f18c_bano", false}; {"F18C_headlight_dammy", DIFFUSE , "f18c_bano", false}; {"f18c_Glass", DIFFUSE , "f18c_canopy-glass", false}; {"F18C_aoa", DIFFUSE , "f18c_bano", false}; {"F18C_aoa_dammy", DIFFUSE , "f18c_bano", false}; {"F18C_BORT_NUMBER_STV_aus_R_10", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_STV_aus_R_10", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_STV_aus_R_10", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_STV_aus_R_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_STV_aus_R_10", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_STV_aus_R_01", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_STV_aus_R_01", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_STV_aus_R_01", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_STV_aus_R_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_STV_aus_R_01", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_STV_aus_L_10", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_STV_aus_L_10", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_STV_aus_L_10", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_STV_aus_L_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_STV_aus_L_10", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_STV_aus_L_01", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_STV_aus_L_01", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_STV_aus_L_01", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_STV_aus_L_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_STV_aus_L_01", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_KIL_L_100", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_L_100", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_L_100", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_L_100", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_L_100", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_KIL_L_10", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_L_10", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_L_10", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_L_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_L_10", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_KIL_L_01", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_L_01", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_L_01", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_L_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_L_01", DAMAGE , "f18c_2_damage", false}; {"f18c2", DIFFUSE , "f18c_2_dif", false}; {"f18c2", NORMAL_MAP , "f18c_2_nm", false}; {"f18c2", SPECULAR , "f18c_2_dif_roughmet", false}; {"f18c2", DAMAGE , "f18c_2_damage", false}; {"f18c2", 10, "f18c_2_damage_nm", false}; {"f18c2", DIFFUSE , "f18c_2_dif", false}; {"f18c2", NORMAL_MAP , "f18c_2_nm", false}; {"f18c2", SPECULAR , "f18c_2_dif_roughmet", false}; {"f18c2", DAMAGE , "f18c_2_damage", false}; {"f18c2", 10, "f18c_2_damage_nm", false}; {"F18C_BORT_NUMBER_ZAK_R_01", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_ZAK_R_01", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_ZAK_R_01", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_ZAK_R_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_ZAK_R_01", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_ZAK_R_100", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_ZAK_R_100", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_ZAK_R_100", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_ZAK_R_100", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_ZAK_R_100", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_ZAK_R_10", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_ZAK_R_10", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_ZAK_R_10", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_ZAK_R_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_ZAK_R_10", DAMAGE , "f18c_2_damage", false}; {"F18C_SKELETON", DIFFUSE , "f18c_skeleton_diff", false}; {"F18C_SKELETON", DAMAGE , "f18c_skeleton_damage", false}; {"F18C_SKELETON", DIFFUSE , "f18c_skeleton_diff", false}; {"F18C_SKELETON", DAMAGE , "f18c_skeleton_damage", false}; {"F18C_WISP", DIFFUSE , "f18c_wisp_diff", false}; {"f18c2", DIFFUSE , "f18c_2_dif", false}; {"f18c2", NORMAL_MAP , "f18c_2_nm", false}; {"f18c2", SPECULAR , "f18c_2_dif_roughmet", false}; {"f18c2", DAMAGE , "f18c_2_damage", false}; {"f18c2", 10, "f18c_2_damage_nm", false}; {"f18C_headlight_band", DIFFUSE , "f18c_bano", false}; {"f18C_headlight_band", SELF_ILLUMINATION , "f18c_bano", false}; {"F18C_headlight_22", DIFFUSE , "f18c_bano", false}; {"cockpit_f18c", DIFFUSE , "f18c_cockpit_dif", false}; {"cockpit_f18c", SPECULAR , "f18c_cockpit_dif_roughmet", false}; {"cockpit_f18c_n", DIFFUSE , "f18c_cockpit_dif", false}; {"cockpit_f18c_n", SPECULAR , "f18c_cockpit_dif_roughmet", false}; {"f18c1", DIFFUSE , "f18c_1_dif", false}; {"f18c1", NORMAL_MAP , "f18c_1_nm", false}; {"f18c1", SPECULAR , "f18c_1_dif_roughmet", false}; {"f18c1", DAMAGE , "f18c_damage", false}; {"f18c1", 10, "f18c_damage_nm", false}; {"cockpit_f18c_2", DIFFUSE , "f18c_cockpit_2_dif", false}; {"cockpit_f18c_2", SPECULAR , "f18c_cockpit_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_NOSE_L_01", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_NOSE_L_01", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_NOSE_L_01", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_NOSE_L_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_NOSE_L_01", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_NOSE_L_100", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_NOSE_L_100", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_NOSE_L_100", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_NOSE_L_100", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_NOSE_L_100", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_NOSE_L_10", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_NOSE_L_10", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_NOSE_L_10", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_NOSE_L_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_NOSE_L_10", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_NOSE_R_01", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_NOSE_R_01", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_NOSE_R_01", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_NOSE_R_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_NOSE_R_01", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_NOSE_R_10", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_NOSE_R_10", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_NOSE_R_10", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_NOSE_R_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_NOSE_R_10", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_NOSE_R_100", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_NOSE_R_100", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_NOSE_R_100", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_NOSE_R_100", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_NOSE_R_100", DAMAGE , "f18c_damage", false}; {"P51D_Flame13", DIFFUSE , "flame_13", false}; {"P51D_Flame F11", DIFFUSE , "flame_f11", false}; {"P51D_Flame F13", DIFFUSE , "flame_f13", false}; {"P51D_Flame F12", DIFFUSE , "flame_f12", false}; {"P51D_Flame F14", DIFFUSE , "flame_f14", false}; {"P51D_Flame14", DIFFUSE , "flame_14", false}; {"P51D_Flame12", DIFFUSE , "flame_12", false}; {"P51D_Flame11", DIFFUSE , "flame_11", false}; {"F18C_afterburn", DIFFUSE , "f18c_afterburn", false}; {"f18c_wheel_102", DIFFUSE , "f18c_wheel", false}; {"f18c_wheel_102", NORMAL_MAP , "f18c_wheel_nm", false}; {"f18c_wheel_102", SPECULAR , "f18c_wheel_roughmet", false}; {"f18c_wheel_102", DAMAGE , "f18c_wheel_damage", false}; {"f18c_ladder", DIFFUSE , "f18c_ladder_dif", false}; {"f18c_ladder", SPECULAR , "f18c_ladder_dif_roughmet", false}; {"f18c_stay", DIFFUSE , "f18c_1_diff_stay_dif", false}; {"f18c_stay", NORMAL_MAP , "f18c_1_diff_stay_nm", false}; {"f18c_stay", SPECULAR , "f18c_1_diff_stay_dif_roughmet", false}; {"F18C_WISP", DIFFUSE , "f18c_wisp_diff", false}; {"f18c_wheel_103", DIFFUSE , "f18c_wheel", false}; {"f18c_wheel_103", NORMAL_MAP , "f18c_wheel_nm", false}; {"f18c_wheel_103", SPECULAR , "f18c_wheel_roughmet", false}; {"f18c_wheel_103", DAMAGE , "f18c_wheel_damage", false}; {"F18C_BORT_NUMBER_ZAK_L_10", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_ZAK_L_10", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_ZAK_L_10", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_ZAK_L_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_ZAK_L_10", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_ZAK_L_100", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_ZAK_L_100", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_ZAK_L_100", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_ZAK_L_100", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_ZAK_L_100", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_ZAK_L_01", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_ZAK_L_01", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_ZAK_L_01", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_ZAK_L_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_ZAK_L_01", DAMAGE , "f18c_2_damage", false}; {"f18c_glass_ils", DIFFUSE , "f18c_glass", false}; {"f18c_glass_ils", SPECULAR , "f18c_glass_roughmet", false}; {"f18c_glass_ils", DAMAGE , "f18c_glass_damage", false}; {"F18C_BORT_NUMBER_NOSE_kuw_L_100", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_NOSE_kuw_L_100", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_NOSE_kuw_L_100", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_NOSE_kuw_L_100", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_NOSE_kuw_L_100", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_NOSE_kuw_L_10", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_NOSE_kuw_L_10", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_NOSE_kuw_L_10", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_NOSE_kuw_L_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_NOSE_kuw_L_10", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_NOSE_kuw_L_01", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_NOSE_kuw_L_01", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_NOSE_kuw_L_01", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_NOSE_kuw_L_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_NOSE_kuw_L_01", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_NOSE_fin_R_10", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_NOSE_fin_R_10", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_NOSE_fin_R_10", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_NOSE_fin_R_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_NOSE_fin_R_10", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_NOSE_fin_R_01", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_NOSE_fin_R_01", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_NOSE_fin_R_01", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_NOSE_fin_R_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_NOSE_fin_R_01", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_NOSE_fin_L_10", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_NOSE_fin_L_10", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_NOSE_fin_L_10", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_NOSE_fin_L_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_NOSE_fin_L_10", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_NOSE_fin_L_01", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_NOSE_fin_L_01", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_NOSE_fin_L_01", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_NOSE_fin_L_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_NOSE_fin_L_01", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_KIL_Switz_R_100", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_Switz_R_100", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_Switz_R_100", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_Switz_R_100", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_Switz_R_100", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_KIL_Switz_R_10", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_Switz_R_10", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_Switz_R_10", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_Switz_R_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_Switz_R_10", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_KIL_Switz_R_01", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_Switz_R_01", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_Switz_R_01", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_Switz_R_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_Switz_R_01", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_KIL_Kuw_L_100", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_Kuw_L_100", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_Kuw_L_100", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_Kuw_L_100", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_Kuw_L_100", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_KIL_Kuw_L_10", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_Kuw_L_10", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_Kuw_L_10", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_Kuw_L_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_Kuw_L_10", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_KIL_Kuw_L_01", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_Kuw_L_01", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_Kuw_L_01", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_Kuw_L_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_Kuw_L_01", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_KIL_Kuw_R_100", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_Kuw_R_100", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_Kuw_R_100", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_Kuw_R_100", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_Kuw_R_100", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_KIL_Kuw_R_10", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_Kuw_R_10", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_Kuw_R_10", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_Kuw_R_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_Kuw_R_10", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_KIL_Kuw_R_01", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_Kuw_R_01", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_Kuw_R_01", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_Kuw_R_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_Kuw_R_01", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_MTW_aus_R_10", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_MTW_aus_R_10", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_MTW_aus_R_10", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_MTW_aus_R_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_MTW_aus_R_10", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_MTW_aus_R_01", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_MTW_aus_R_01", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_MTW_aus_R_01", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_MTW_aus_R_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_MTW_aus_R_01", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_MTW_aus_L_10", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_MTW_aus_L_10", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_MTW_aus_L_10", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_MTW_aus_L_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_MTW_aus_L_10", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_MTW_aus_L_01", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_MTW_aus_L_01", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_MTW_aus_L_01", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_MTW_aus_L_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_MTW_aus_L_01", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_NOSE_kuw_R_100", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_NOSE_kuw_R_100", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_NOSE_kuw_R_100", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_NOSE_kuw_R_100", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_NOSE_kuw_R_100", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_NOSE_kuw_R_10", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_NOSE_kuw_R_10", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_NOSE_kuw_R_10", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_NOSE_kuw_R_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_NOSE_kuw_R_10", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_NOSE_kuw_R_01", DIFFUSE , "f18c_1_dif", false}; {"F18C_BORT_NUMBER_NOSE_kuw_R_01", NORMAL_MAP , "f18c_1_nm", false}; {"F18C_BORT_NUMBER_NOSE_kuw_R_01", SPECULAR , "f18c_1_dif_roughmet", false}; {"F18C_BORT_NUMBER_NOSE_kuw_R_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_NOSE_kuw_R_01", DAMAGE , "f18c_damage", false}; {"F18C_BORT_NUMBER_KIL_Switz_L_01", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_Switz_L_01", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_Switz_L_01", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_Switz_L_01", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_Switz_L_01", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_KIL_Switz_L_10", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_Switz_L_10", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_Switz_L_10", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_Switz_L_10", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_Switz_L_10", DAMAGE , "f18c_2_damage", false}; {"F18C_BORT_NUMBER_KIL_Switz_L_100", DIFFUSE , "f18c_2_dif", false}; {"F18C_BORT_NUMBER_KIL_Switz_L_100", NORMAL_MAP , "f18c_2_nm", false}; {"F18C_BORT_NUMBER_KIL_Switz_L_100", SPECULAR , "f18c_2_dif_roughmet", false}; {"F18C_BORT_NUMBER_KIL_Switz_L_100", DECAL , "f18c_bort_number2", false}; {"F18C_BORT_NUMBER_KIL_Switz_L_100", DAMAGE , "f18c_2_damage", false}; {"F18C_afterburn", DIFFUSE , "f18c_afterburn", false}; {"F18C_afterburn_bok", DIFFUSE , "f18c_afterburn", false}; {"F18C_afterburn_bok", SELF_ILLUMINATION , "f18c_afterburn", false}; {"Pylon_AAQ28L", DIFFUSE , "pylon_aaq28l_diff", false}; {"Pylon_AAQ28L", NORMAL_MAP , "pylon_aaq28l_nm", false}; {"Pylon_AAQ28L", SPECULAR , "pylon_aaq28l_diff_roughmet", false}; {"pilot_F18_patch", DIFFUSE , "pilot_f18_patch", false}; {"pilot_F18_patch", NORMAL_MAP , "pilot_f18_patch_nm", false}; {"pilot_F18_patch", SPECULAR , "pilot_f18_patch_roughmet", false}; {"pilot_F18_helmet", DIFFUSE , "pilot_f18_helmet", false}; {"pilot_F18_helmet", NORMAL_MAP , "pilot_f18_helmet_nm", false}; {"pilot_F18_helmet", SPECULAR , "pilot_f18_helmet_roughmet", false}; {"pilot_F18_helmet_glass", DIFFUSE , "pilot_f18_visor", false}; {"pilot_F18_helmet_glass", SPECULAR , "pilot_f18_visor_roughmet", false}; {"pilot_F18_belts", DIFFUSE , "pilot_f18_belts", false}; {"pilot_F18_belts", NORMAL_MAP , "pilot_f18_belts_nm", false}; {"pilot_F18_belts", SPECULAR , "pilot_f18_belts_roughmet", false}; {"pilot_F18_helmet", DIFFUSE , "pilot_f18_helmet", false}; {"pilot_F18_helmet", NORMAL_MAP , "pilot_f18_helmet_nm", false}; {"pilot_F18_helmet", SPECULAR , "pilot_f18_helmet_roughmet", false}; {"pilot_F18", DIFFUSE , "pilot_f18", false}; {"pilot_F18", NORMAL_MAP , "pilot_f18_nm", false}; {"pilot_F18", SPECULAR , "pilot_f18_roughmet", false}; } name = "Skin 1" countries = {"AUS", "USA",}
-
Hey guys, I'm fairly new to making custom skins for aircraft in DCS, and I tried my hand with the JF-17 for fun (Unfortunate wording for anyone familiar with the plane). Everything looks great but I simply cannot get the helmets to work. I've attached my .lua file I'm trying to use and my buddy who has a TON more experience told me everything looks in order. The helmet texture loads no problem if I replace it in the Core textures folder, but I want everyone I'm flying with to have their own unique helmet. In addition to this: is there any way I can use the model viewer to look at my custom liveries in the Saved Games folder? I keep having to drag all my .dds and .lua files to a test folder in the CoreMods folder, and it gets tedious when you're busy with 4+ people's skins. Edit1: This is having the helmet loaded on the skin folder itself VS in the CoreMods Folder, nothing about the name or anything changed Thanks! description.lua
- 2 replies
-
- 1
-
-
- custom skins
- modelviewer2
-
(and 3 more)
Tagged with: