im you Posted March 14, 2020 Posted March 14, 2020 (edited) I made a nuclear missile. After the nuclear bomb was launched, I only saw the missile tail flame and missile smoke. The model and label were not displayed. It was not even in the F6's missile perspective. local NukeMissile = { category = CAT_MISSILES, name = "NukeMissile", wsTypeOfWeapon = {wsType_Weapon,wsType_Missile,wsType_SS_Missile,WSTYPE_PLACEHOLDER}; Escort = 0, Head_Type = 5, sigma = {20, 20, 20}, M = 5860.0, H_max = 200000.0, H_min = -1, Diam = 5000.0, Cx_pil = 1, D_max = 460000.0, D_min = 3000.0, -- D_max = 0.0, -- D_min = 0.0, Head_Form = 1, Life_Time = 7200.0, Nr_max = 17, v_min = 170.0, v_mid = 2380.0, Mach_max = 5.50, t_b = 0.0, t_acc = 0.0, t_marsh = 7200.0, Range_max = 4600000.0, -- Range_max = 0.0, H_min_t = 0.0, Fi_start = 10.14152, Fi_rak = 3.14152, Fi_excort = 3.14152, Fi_search = 99.9, OmViz_max = 99.9, Damage_ = 1200, warhead = { mass = 910000; expl_mass = 900000; other_factors = {1, 1, 1}; obj_factors = {1, 1}; concrete_factors = {1, 1, 1}; cumulative_factor = 0; concrete_obj_factor = 0.5; cumulative_thickness = 0.6; piercing_mass = 50000.0; caliber = 880, }, exhaust = {1,1,1,1}, X_back = -5.5, Y_back = 0.0, Z_back = 0.0, Reflection = 0.3967, KillDistance = 0.0, shape_table_data = { { name = "NukeMissile"; file = "NukeMissile"; life = 1; fire = { 0, 1}; username = "NukeMissile"; index = WSTYPE_PLACEHOLDER; }, }, }; declare_weapon(NukeMissile) GT = {}; GT_t.ws = 0; ..............................Omitted........... GT.WS[ws].LN = {} GT.WS[ws].LN[1] = {} GT.WS[ws].LN[1].type = 8 GT.WS[ws].LN[1].distanceMin = 18000 GT.WS[ws].LN[1].distanceMax = 4600000 GT.WS[ws].LN[1].reactionTime = 8 GT.WS[ws].LN[1].show_external_missile = true GT.WS[ws].LN[1].external_tracking_awacs = true GT.WS[ws].LN[1].sensor = {} set_recursive_metatable(GT.WS[ws], GT_t.WS_t.ship_rif) -- set_recursive_metatable(GT.WS[ws].LN[1].sensor, GT_t.WSN_t[0]) GT.WS[ws].LN[1].PL = {} GT.WS[ws].LN[1].PL[1] = {} GT.WS[ws].LN[1].PL[1].ammo_capacity = 1 GT.WS[ws].LN[1].PL[1].type_ammunition = NukeMissile.wsTypeOfWeapon; GT.WS[ws].LN[1].PL[1].name_ammunition = NukeMissile.shape_table_data.username GT.WS[ws].LN[1].PL[1].reload_time = 1000000; -- never during the mission GT.WS[ws].LN[1].PL[1].shot_delay = 10 GT.WS[ws].LN[1].max_number_of_missiles_channels = 1; GT.WS[ws].LN[1].BR = { {connector_name = 'POINT_Nuke', drawArgument = 30}, } Who will help me?:哭: Edited March 14, 2020 by im you
happy cavin Posted March 16, 2020 Posted March 16, 2020 check the shapes folder and make sure that you have a file called NukeMissile.edm there. 检查一下你的NukeMissile.edm是不是最新edm格式的文件,否则也不显示出来。
Recommended Posts