Jerec Posted February 15, 2015 Posted February 15, 2015 Does somebody know the name of the texture of the red square around the targets in arcade mode? I would like to change it into green. Thanks!
vicx Posted February 16, 2015 Posted February 16, 2015 Jerec for what plane do want to change? Each aircraft has it's own template file that you edit to change things. "C:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\Su-25T\Cockpit\Scripts\ARCADE\arcade_template_hud.lua" "C:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\F-86\Cockpit\Scripts\ARCADE\arcade_template_hud.lua" "C:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\Ka-50\Cockpit\Scripts\ARCADE\arcade_template_hud.lua" Inside the file is this bit. target_airborne = CreateElement "ceTexPoly" target_airborne.name = "target_airborne" target_airborne.vertices = {{-trg_size_x, -trg_size_y}, {-trg_size_x, trg_size_y}, { trg_size_x, trg_size_y}, { trg_size_x, -trg_size_y}} target_airborne.indices = default_box_indices target_airborne.material = _T_RED_ target_airborne.tex_params = {0.5, 365.5 / 512, tex_scale, tex_scale} target_airborne.controllers = {{"draw_target_hud"},{"draw_iff_color"},{"you_are_the_target_blinking"}} target_airborne.h_clip_relation = h_clip_relations.INCREASE_IF_LEVEL target_airborne.level = DEFAULT_LEVEL + 1 target_airborne.additive_alpha = true AddElement(target_airborne) In bold is what you change from _T_RED_ to _T_GREEN_. Edit the file with notepad++ and save to desktop. Copy from desktop back to original location. You will be asked by Windows Security to say Yes. Other colors are defined in "C:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\*Some AIRCRAFT*\Cockpit\Scripts\ARCADE\arcade_usefull_definitions.lua" Yellow, pink, purple. etc are defined there. Have fun.
Recommended Posts