piXel496 Posted December 20, 2013 Posted December 20, 2013 (edited) :mad: I hate it too when people come with changes or new ideas during a revision because then deadlines come under pressure etc., but. :noexpression: The P-51D got no updates in 1.27. It would be nice to give it some extra by adding the default available DCS smoke colors to the HWAR's. It does not take a lot of work since it is more like "rewireing existing code" and double check. It is here written and tested. Using the format ED uses without disturbing existing code from 1.27beta. I know it could be a mod but it would interfere with network consistency because 5 files need altering. I think the P-51D deserves this feature by default and it would be great in multiplayer games. Files which need change: ..\DCS World\Bazar\ContainerTable.sht ..\DCS World\Scripts\Database\db_weapons_data.lua ..\DCS World\Config\Weapons\DrawInfo.lua ..\DCS World\Scripts\Database\planes\P-51D.lua ..\DCS World\Scripts\Database\wsTypes.lua Added code in detail: ------------------------------------------------------- ..\DCS World\Bazar\ContainerTable.sht ------------------------------------------------------- -- Smoke Generator HWAR yellow { name = "HWAR smoke generator (yellow)"; file = "hvar_SmokeGenerator"; life = 60; -- load = { false, false}; fire = { 0, 1}; username = "HWAR smoke generator (yellow)"; index = 201; }, -- Smoke Generator HWAR orange { name = "HWAR smoke generator (orange)"; file = "hvar_SmokeGenerator"; life = 60; -- load = { false, false}; fire = { 0, 1}; username = "HWAR smoke generator (orange)"; index = 202; }, -- Smoke Generator HWAR green { name = "HWAR smoke generator (green)"; file = "hvar_SmokeGenerator"; life = 60; -- load = { false, false}; fire = { 0, 1}; username = "HWAR smoke generator (green)"; index = 203; }, -- Smoke Generator HWAR blue { name = "HWAR smoke generator (blue)"; file = "hvar_SmokeGenerator"; life = 60; -- load = { false, false}; fire = { 0, 1}; username = "HWAR smoke generator (blue)"; index = 204; }, -- Smoke Generator HWAR white { name = "HWAR smoke generator (white)"; file = "hvar_SmokeGenerator"; life = 60; -- load = { false, false}; fire = { 0, 1}; username = "HWAR smoke generator (white)"; index = 205; }, -- Smoke Generator HWAR red { name = "HWAR smoke generator (red)"; file = "hvar_SmokeGenerator"; life = 60; -- load = { false, false}; fire = { 0, 1}; username = "HWAR smoke generator (red)"; index = 206; }, ------------------------------------------------------- ..\DCS World\Scripts\Database\db_weapons_data.lua ------------------------------------------------------- { CLSID = "{HVAR_SMOKE_GENERATOR_YELLOW}", Picture = "HVAR_smoke.png", displayName = _("HWAR - smoke generator yellow"), Cx_pil = 0.0004, Weight = 64, attribute = {4, 15, 50, 201}, Elements = { [1] = { Position = {0, 0, 0}, ShapeName = "hvar_SmokåGenerator", }, }, -- end of Elements }, { CLSID = "{HVAR_SMOKE_GENERATOR_ORANGE}", Picture = "HVAR_smoke.png", displayName = _("HWAR - smoke generator orange"), Cx_pil = 0.0004, Weight = 64, attribute = {4, 15, 50, 202}, Elements = { [1] = { Position = {0, 0, 0}, ShapeName = "hvar_SmokåGenerator", }, }, -- end of Elements }, { CLSID = "{HVAR_SMOKE_GENERATOR_GREEN}", Picture = "HVAR_smoke.png", displayName = _("HWAR - smoke generator green"), Cx_pil = 0.0004, Weight = 64, attribute = {4, 15, 50, 203}, Elements = { [1] = { Position = {0, 0, 0}, ShapeName = "hvar_SmokåGenerator", }, }, -- end of Elements }, { CLSID = "{HVAR_SMOKE_GENERATOR_BLUE}", Picture = "HVAR_smoke.png", displayName = _("HWAR - smoke generator blue"), Cx_pil = 0.0004, Weight = 64, attribute = {4, 15, 50, 204}, Elements = { [1] = { Position = {0, 0, 0}, ShapeName = "hvar_SmokåGenerator", }, }, -- end of Elements }, { CLSID = "{HVAR_SMOKE_GENERATOR_WHITE}", Picture = "HVAR_smoke.png", displayName = _("HWAR - smoke generator white"), Cx_pil = 0.0004, Weight = 64, attribute = {4, 15, 50, 205}, Elements = { [1] = { Position = {0, 0, 0}, ShapeName = "hvar_SmokåGenerator", }, }, -- end of Elements }, { CLSID = "{HVAR_SMOKE_GENERATOR_RED}", Picture = "HVAR_smoke.png", displayName = _("HWAR - smoke generator red"), Cx_pil = 0.0004, Weight = 64, attribute = {4, 15, 50, 206}, Elements = { [1] = { Position = {0, 0, 0}, ShapeName = "hvar_SmokåGenerator", }, }, -- end of Elements }, ------------------------------------------------------- ..\DCS World\Config\Weapons\DrawInfo.lua ------------------------------------------------------- Smokes[201] = { alpha = 180, r = 255, g = 230, b = 50, dx = -2.0, dy = 0 } -- yellow HVAR Smokes[202] = { alpha = 180, r = 255, g = 150, b = 35, dx = -2.0, dy = 0 } -- orange HVAR Smokes[203] = { alpha = 180, r = 50, g = 160, b = 90, dx = -2.0, dy = 0 } -- green HVAR Smokes[204] = { alpha = 180, r = 50, g = 100, b = 210, dx = -2.0, dy = 0 } -- blue HVAR Smokes[205] = { alpha = 180, r = 255, g = 255, b = 255, dx = -2.0, dy = 0 } -- white HVAR Smokes[206] = { alpha = 180, r = 245, g = 40, b = 40, dx = -2.0, dy = 0 } -- red HVAR ------------------------------------------------------- ..\DCS World\Scripts\Database\planes\P-51D.lua ------------------------------------------------------- { CLSID = "{HVAR_SMOKE_GENERATOR_RED}",arg = 314,arg_value = 0.5}, { CLSID = "{HVAR_SMOKE_GENERATOR_GREEN}",arg = 314,arg_value = 0.5}, { CLSID = "{HVAR_SMOKE_GENERATOR_BLUE}",arg = 314,arg_value = 0.5}, { CLSID = "{HVAR_SMOKE_GENERATOR_ORANGE}",arg = 314,arg_value = 0.5}, { CLSID = "{HVAR_SMOKE_GENERATOR_YELLOW}",arg = 314,arg_value = 0.5}, { CLSID = "{HVAR_SMOKE_GENERATOR_WHITE}",arg = 314,arg_value = 0.5}, ------------------------------------------------------- ..\DCS World\Scripts\Database\wsTypes.lua ------------------------------------------------------- HWAR_SMOKE_GENERATOR_YELLOW = 201; HWAR_SMOKE_GENERATOR_ORANGE = 202; HWAR_SMOKE_GENERATOR_GREEN = 203; HWAR_SMOKE_GENERATOR_BLUE = 204; HWAR_SMOKE_GENERATOR_WHITE = 205; HWAR_SMOKE_GENERATOR_RED = 206; Download adjusted 1.27beta files I hope I am not an annoyance. I just want to help and put the money where my mouth is. Regards, . Edited December 21, 2013 by piXel496 ...BTW, the above has nothing in common with my multicolor smoke mod old stuff I made
theOden Posted December 21, 2013 Posted December 21, 2013 Very nice. Still, the 1.2.7 is not final and above that, what ED is aiming for is primarily net-stability and being a bigger issue while also severe I think we shouldn't blame them if out Mustang has to wait one patch to get improvements. "First thing first" as some say. [sIGPIC][/sIGPIC]
Mike Busutil Posted December 21, 2013 Posted December 21, 2013 The P-51D got no updates in 1.27. V1.2.7 DCS: P-51D Mustang * Added Israeli skin by Mario “Markindel”. * Added oil system leakage with subsequent damage effects for the engine as it runs out of oil. No visual effect yet, so watch oil pressure. [sIGPIC][/sIGPIC] Checkout my user files here: https://www.digitalcombatsimulator.com/en/files/filter/user-is-Mike Busutil/apply/
Recommended Posts