freddern 0 Posted July 9, 2007 Hi. I'm working on some units and I have all the normal maps ready but they don't seem to work. As you can see in my config I have only given the "desert teamleader" unit wound textures at this point. (so if I do something wrong I don't have to make changes on every unit) I have also edited the three rvmat files that you can see I have changed, so that they "link" to the correct normal maps. In the p3d models I have also changed the normal map- and rvmat paths. When I load the unit ingame I got the Normal map I want, but when I shoot him he only get wounds on his hands and face (the rvmat's where I used the original paths and files.) What am I doing wrong? Please help My CfgVehicles.hpp <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class CfgVehicles { class All {}; class AllVehicles : All {}; class Land : AllVehicles {}; class Man : Land {}; class Soldier : Man {}; class SoldierWB : Soldier {}; class SoldierWSniper : SoldierWB {}; class Rec_w_Teaml : SoldierWB { vehicleClass = "NO_forceElement"; displayName = "Woodland Recce Teamleader"; model = "\NO_Recce\no_woodla_teamlead"; scope = public; nightVision = true; camouflage = 0.6; Icon = "\Ca\characters\data\map_ico\i_lider_ca.paa"; nameSound = "officer"; weapons[] = {"G36a", "NVGoggles", "M9", "Throw", "Put"}; magazines[] = {"30Rnd_556x45_G36", "30Rnd_556x45_G36", "30Rnd_556x45_G36", "30Rnd_556x45_G36", "30Rnd_556x45_G36", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "HandGrenadeTimed", "HandGrenadeTimed", "SmokeShell"}; }; class Recc_w_Snip : SoldierWSniper { vehicleClass = "NO_forceElement"; displayName = "Woodland Recce Sniper"; model = "\NO_Recce\no_woodla_skarpsk"; scope = public; nightVision = true; camouflage = 0.8; Icon = "\Ca\characters\data\map_ico\i_wojak_ca.paa"; nameSound = "sniper"; weapons[] = {"M24", "NVGoggles", "M9", "Binocular", "Throw", "Put"}; magazines[] = {"5Rnd_762x51_M24", "5Rnd_762x51_M24", "5Rnd_762x51_M24", "5Rnd_762x51_M24", "5Rnd_762x51_M24", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "HandGrenadeTimed", "HandGrenadeTimed", "SmokeShellGreen", "SmokeShellRed"}; }; class Recc_w_Medi : SoldierWB { vehicleClass = "NO_forceElement"; displayName = "Woodland Recce Medic"; model = "\NO_Recce\no_woodla_sanite"; scope = public; nightVision = true; camouflage = 0.6; Icon = "\Ca\characters\data\map_ico\i_medyk_CA.paa"; nameSound = "medic2"; attendant=1; weapons[] = {"G36a", "NVGoggles", "M9", "Binocular", "Throw", "Put"}; magazines[] = {"30Rnd_556x45_G36", "30Rnd_556x45_G36", "30Rnd_556x45_G36", "30Rnd_556x45_G36", "30Rnd_556x45_G36", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "HandGrenadeTimed", "HandGrenadeTimed"}; }; class Rec_d_Teaml : SoldierWB { vehicleClass = "NO_forceElement"; displayName = "Desert Recce Teamleader"; model = "\NO_Recce\no_desert_teamlead"; scope = public; nightVision = true; camouflage = 0.6; Icon = "\Ca\characters\data\map_ico\i_lider_ca.paa"; nameSound = "officer"; weapons[] = {"G36a", "NVGoggles", "M9", "Throw", "Put"}; magazines[] = {"30Rnd_556x45_G36", "30Rnd_556x45_G36", "30Rnd_556x45_G36", "30Rnd_556x45_G36", "30Rnd_556x45_G36", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "HandGrenadeTimed", "HandGrenadeTimed", "SmokeShell"}; class Wounds { tex[] = {}; mat[] = {"ca\characters\data\us_hhl.rvmat", "ca\characters\data\us_hhl_wound1.rvmat", "ca\characters\data\us_hhl_wound2.rvmat", "NO_Recce\rvmat_fil\no_soldier_teamlead_body.rvmat", "NO_Recce\rvmat_fil\no_soldier_teamlead_body_wound1.rvmat", "NO_Recce\rvmat_fil\no_soldier_teamlead_body_wound2.rvmat"}; Â Â }; }; Share this post Link to post Share on other sites
freddern 0 Posted July 15, 2007 Maby another way to ask the question is: What makes the materials transform to the wound material when unit is damaged? What am I missing? I have compared my addon to other addons with wound textures and I can't find any differences that should cause this... Please help. I got a great addon on hold because of this... Share this post Link to post Share on other sites
MiG 0 Posted July 28, 2007 I'm not used with ArmA configs yet, but in wound textures definitions you should use always small caps. Another thing, i just take a fast look cause i have to leave, but the only soldier who has wound texture seems Desert Recce Teamleader. Share this post Link to post Share on other sites