abs 2 Posted July 31, 2013 Hi, So I'm retexturing some units, and I was wondering if it was somehow possible to disable the glasses/goggles from appearing. As of right now, I don't think they quite "fit". Thanks, Abs Share this post Link to post Share on other sites
Pomi Git 256 Posted July 31, 2013 I raised an issue on the feedback tracker about how glasses are handled: http://feedback.arma3.com/view.php?id=12017 I need to clarify though, are you talking about when when you specify glasses in a unit class linkeditems or when you don't? To explain what I mean, if you dont specify anything then the game either uses a users profile selection or selects one for you. If you specify something then only that is used. Share this post Link to post Share on other sites
abs 2 Posted July 31, 2013 I don't want them to appear on my units at all, by default. For example, right now the units have nothing in their config for linked items: weapons[] = {}; respawnWeapons[] = {}; Items[] = {}; RespawnItems[] = {}; magazines[] = {}; respawnMagazines[] = {}; linkedItems[] = {}; respawnLinkedItems[] = {}; In this case, it differs from your bug. Abs Share this post Link to post Share on other sites
Pomi Git 256 Posted July 31, 2013 (edited) I don't want them to appear on my units at all, by default. For example, right now the units have nothing in their config for linked items: weapons[] = {}; respawnWeapons[] = {}; Items[] = {}; RespawnItems[] = {}; magazines[] = {}; respawnMagazines[] = {}; linkedItems[] = {}; respawnLinkedItems[] = {}; In this case, it differs from your bug. Abs what you are trying to achieve is different but the issue I raised is relevant in terms of how the game handles priorities for glasses. Anyway, as far as im aware there is no way of flagging that you want no glasses at all. A workaround that might achieve what you want is to put an init eventhandler in the units class which removes any glasses. It would work the same as if you put it directly in the init of a unit in the editor i.e "removeGoggles this" Edited July 31, 2013 by pomigit Share this post Link to post Share on other sites
surpher 1 Posted July 31, 2013 Try adding this to a units class identityTypes[] = {"NoGlasses",0]; Share this post Link to post Share on other sites
abs 2 Posted July 31, 2013 Try adding this to a units class identityTypes[] = {"NoGlasses",0]; Thanks for your replies, Pomigit and Surpher. Surpher, I already have this in my config: identityTypes[] = {"LanguageENG_F", "Head_NATO", "G_NATO_default"}; How should I integrate yours into this? (Sorry...kinda noobish at configs, still.) Thanks again! Abs Share this post Link to post Share on other sites
surpher 1 Posted July 31, 2013 Yes integrate them, I think using "NoGlasses" alone cause units to have the same face. identityTypes[] = {"NoGlasses","LanguageENG_F","Head_NATO","G_NATO_default"}; If you don't want your units to use glasses at all you can add this to your unit class. glassesEnabled = 0; Share this post Link to post Share on other sites
abs 2 Posted July 31, 2013 Awesome! Thanks man...I'm going to try this in a couple of hours. On the way to work right now. Will report back. Abs Share this post Link to post Share on other sites
Pomi Git 256 Posted July 31, 2013 Well I learned something myself, useful to know Share this post Link to post Share on other sites
da12thMonkey 1943 Posted July 31, 2013 Yes integrate them, I think using "NoGlasses" alone cause units to have the same face. identityTypes[] = {"NoGlasses","LanguageENG_F","Head_NATO","G_NATO_default"}; Wouldn't he want to get rid of the G_NATO_default identityType from this array, since this is the one that assigns the glasses? Share this post Link to post Share on other sites
abs 2 Posted July 31, 2013 Wouldn't he want to get rid of the G_NATO_default identityType from this array, since this is the one that assigns the glasses? Just tried it, and it turns out the answer is that I don't have to get rid of the G_NATO_default value. It worked! Thanks again, surpher! You're a lifesaver. :) Abs Share this post Link to post Share on other sites
surpher 1 Posted July 31, 2013 Wouldn't he want to get rid of the G_NATO_default identityType from this array, since this is the one that assigns the glasses? Yes this also seems to works. identityTypes[] = {"LanguageENG_F","Head_NATO"}; Share this post Link to post Share on other sites