felipechapmanfromm 6 Posted July 14, 2020 There is a strange shadow cast from a cap I added in, i'm pretty sure it's my config.cpp. It only seems to be present when there is only one character in the editor. It also throws various errors like the one below but with different endings after the '.'. Here are some screenshots: https://imgur.com/a/S3yC7UB Here is the section within config.cpp: class Headgear_Base_F; class Headgear_H_Cap; class SAR_Cap: Headgear_H_Cap { author = "baconbore"; displayName = "Custom Cap"; picture = ""; model = "\A3\Characters_F\Common\capb"; hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\MyAddon\Data\cap_SAR.paa"}; hiddenSelectionsMaterials[] = {"\A3\Characters_F\Common\data\capb.rvmat"}; class ItemInfo: HeadgearItem { mass = 4; allowedSlots[] = {901,605}; uniformModel = "\A3\Characters_F\Common\capb"; modelSides[] = {3,1}; hiddenSelections[] = {"camo"}; armor = "0"; }; }; Any replies are appreciated. Cheers Share this post Link to post Share on other sites
Jackal326 1181 Posted July 14, 2020 The shadow is not your config. Its the model. Your shadow lod needs to be triangulated (CTRL+A to select all, then press '/') AND fully closed (Structure > Topology > Find Non Closed) then close the holes.... Also, sharpen all the faces in the shadow LOD. The config error is a new one on me... Share this post Link to post Share on other sites
felipechapmanfromm 6 Posted July 15, 2020 Thanks for your reply, I have not touched the model... I used the default bohemia cap "\A3\Characters_F\Common\capb", so shouldn't it keep all the default settings other than the ones I have changed in the config? I also ommited this: class Headgear_Base_F: ItemCore { class ItemInfo; }; and replaced it with: class HeadgearItem; at the start of the helmet config as I could not get multiple classes of helmet to work with the code above. Is this an issue? Thanks 🙂 Share this post Link to post Share on other sites
Jackal326 1181 Posted July 15, 2020 44 minutes ago, felipechapmanfromm said: ...I used the default bohemia cap "\A3\Characters_F\Common\capb"... Yeah, I only just noticed that. Its weird because that shadow streaking is usually caused by the problem I outlined in my previous reply, and with it being an official model with a new skin I'm at a loss as to the cause Share this post Link to post Share on other sites
felipechapmanfromm 6 Posted July 15, 2020 Thanks for your input anyway 😉 Im not sure if this helps but it seem that you can actually see it through grass and walls. https://imgur.com/a/pXHw6Lz Share this post Link to post Share on other sites
felipechapmanfromm 6 Posted July 15, 2020 Seems like I have fixed the shadow issue. I just removed this line: hiddenSelectionsMaterials[] = {"\A3\Characters_F\Common\data\capb.rvmat"}; I get this error when I add the cap in the editor, any insight into this? Cheers Share this post Link to post Share on other sites