The Loooser Posted April 14, 2018 Share Posted April 14, 2018 Hello! I have the following 2 problems: 1.) I simply don't get the colour for the item which I set for it in the XML. I want a white Hazmat Helmet which emits light. Colour: 250,240,240 But ingame, it has another colour! Same for the Icon ... See yourself: 2.) 2nd Question just solved .... Any advice for the 1.) ? Link to comment Share on other sites More sharing options...
xyth Posted April 14, 2018 Share Posted April 14, 2018 Try specifying a custom icon, it looks like your using the default icon. For example: <property name="CustomIcon" value="leatherHood" /> <property name="CustomIconTint" value="87,87,87" /> Link to comment Share on other sites More sharing options...
The Loooser Posted April 14, 2018 Author Share Posted April 14, 2018 So you mean I should just replace <property name="CustomIcon" value="hazmatMask"/> <property name="CustomIconTint" value="250,240,240"/> with <property name="CustomIcon" value="leatherHood" /> <property name="CustomIconTint" value="87,87,87" /> ? Then is just has an Icon of the Leather Hood. But how does this help me? Maybe you could just copy and paste the lines and insert what is needed ? Because I don't really understand what you mean : C The colour shall be 250,240,240: <item id="1505" name="advanced hazmat Mask"> <property name="CustomIcon" value="hazmatMask"/> <property name="CustomIconTint" value="250,240,240"/> <property name="Waterproof" value="0.15"/> <property name="Class" value="ItemClassToggle"/> <property name="Meshfile" value="Items/Misc/sackPrefab"/> <property name="DropMeshfile" value="Items/Misc/sack_droppedPrefab"/> <property name="Material" value="metal"/> <property name="RepairTools" value="leather"/> <property name="HoldType" value="45"/> <property name="Weight" value="60"/> <property name="EconomicValue" value="1200"/> <property name="LightSource" value="Entities/Lighting/miningHelmetLightSource"/> <property name="EquipSlot" value="Head"/> <property name="Degradation" value="250" param1="true"/> <property name="DegradationBreaksAfter" value="false"/> <property name="Encumbrance" value="0.01"/> <property class="Attributes"> <!-- scrapArmor --> <property name="ConcussiveProtection" value="0.228,0.57"/> <property name="PunctureProtection" value="0.18,0.45"/> <property name="FireProtection" value="0.16,0.4"/> <property name="RadiationProtection" value="0.12,0.3"/> <property name="ElectricalProtection" value="0.06,0.1"/> <property name="DegradationMax" value="240,600"/> </property> <property name="ActivateObject" value="miningHelmetLightSource(Clone)"/> <property class="UMA"> <property name="Overlay0Tint" value="250,240,240"/> <property name="Mesh" value="armor_hazmat_head"/> <property name="Overlay0" value="armor_hazmat_hood"/> <property name="Layer" value="2"/> <property name="UISlot" value="Headgear"/> <property name="ShowAltHair" value="true"/> </property> <property name="Group" value="Clothing"/> <property name="ActionSkillGroup" value="Clothing/Armor"/> <property name="CraftingSkillGroup" value="craftSkillScience"/> <property name="RepairExpMultiplier" value="10.8"/> <property name="LightValue" value="0.7"/> </item> Link to comment Share on other sites More sharing options...
xyth Posted April 14, 2018 Share Posted April 14, 2018 <property name="CustomIcon" value="advancedhazmatMask"/> <property name="CustomIconTint" value="250,240,240"/> make a new icon, then tint that. The game might be resetting the default icon. Link to comment Share on other sites More sharing options...
The Loooser Posted April 14, 2018 Author Share Posted April 14, 2018 So instead of writing <property name="CustomIcon" value="hazmatMask"/> I shall write <property name="CustomIcon" value="advancedhazmatMask"/> Is this all to *make* a new icon? I just did it and now the only difference is that the icon of the item in the equip slot is missing. So I guess the game does not know *advancedhazmatMask* and I indeed need to do something different to *make* it as a new icon? But also what you talk about is related to the ICON but not the item itself ? Because I feel like this would not solve the problem with the item being not white in the real game. Link to comment Share on other sites More sharing options...
Darkstardragon Posted April 15, 2018 Share Posted April 15, 2018 When you change an item of clothings color, it does not always translate well. Tinting a certain piece of clothing or armor white especially. Yes, you need to rename your item. Yes, you need to apply a custom icon the name can be the same but change the color of the icon as well. I changed the hazmat suit army green and it worked out well, when i tried white couldnt notice much of a difference in color. Link to comment Share on other sites More sharing options...
sinda Posted April 15, 2018 Share Posted April 15, 2018 what's the 0 in the "Overylay0" part? would that be a measure of opacity? if so that could help, but otherwise white doesn't overlay other colors well anywhere photo programs, etc Link to comment Share on other sites More sharing options...
The Loooser Posted April 17, 2018 Author Share Posted April 17, 2018 I don't know but every Item has it. Therefore does not seem like you could even remove it. I cannot even repaint Items which Vedui does in this Videos. See me dying Military Boots - it is not even working !!!!! I copied what Vedui did and made them white. They don't change at all. Link to comment Share on other sites More sharing options...
StompyNZ Posted April 18, 2018 Share Posted April 18, 2018 Overylay0 - the 0 is just an index, you can have Overylay1, Overylay2 etc The colour for an item is a tint over the existing mesh material, so you can only get close matches if the uncolored item is white (hazmat are orange) To achieve fully what you are wanting you'd have to edit the uma textures, but from what I've heard that's difficult (works in previewer, crashes in game) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.