Closed Heyo13579 closed 5 years ago
the first line looks correct, the second is wrong.. you need to call it once for each type; ArmorStats.setMaterialArmorValue("T1_COMBAT","PHYSICAL",24.0); ArmorStats.setMaterialArmorValue("T1_COMBAT","PROJECTILE", 24.0);
i made the changes but still not seeing it be reflected in game, i am restarting the game after every change. the changes should be reflected on the armor piece correct?
What does your crafttweaker log say?
[PREINITIALIZATION][CLIENT][INFO] Current loaders after merging: [[preinit]] [PREINITIALIZATION][CLIENT][INFO] Loading scripts for loader with names [preinit] [PREINITIALIZATION][CLIENT][INFO] [preinit | SIDE_CLIENT]: Skipping file {[0:crafttweaker]: MineTweakerRecipeMaker.zs} as we are currently loading with a different loader [PREINITIALIZATION][CLIENT][INFO] Completed script loading in: 2ms [INITIALIZATION][CLIENT][INFO] CraftTweaker: Building registry [INITIALIZATION][CLIENT][INFO] CraftTweaker: Successfully built item registry [INITIALIZATION][CLIENT][INFO] Current loaders after merging: [[preinit], [recipeevent | crafttweaker]] [INITIALIZATION][CLIENT][INFO] Loading scripts for loader with names [crafttweaker | recipeevent]
[INITIALIZATION][CLIENT][INFO] Removing Metal Press Recipes for Titanium Aluminide Rod
[INITIALIZATION][CLIENT][INFO] Removing Metal Press Recipes for Titanium Iridium Alloy Rod
[INITIALIZATION][CLIENT][INFO] Completed script loading in: 208ms
[POSTINITIALIZATION][CLIENT][INFO] Removing Shaped recipes for
from what i can see its not reading the second .zs file
i figured it out .... i named the file wrongly -_- i did .ZS instead of .zs and thats what cause it to not read apparently....
i do have one more question how does the material values i set correspond to ingame values? ie i set it physical to 20 and it gave each piece 4
p.s what does this value: .setArmorElemental(17.0f) correspond to? as well as why do some armors in game have values that arnt reflected in the materials file?
elemental sets the value for fire, ice, lightning and energy
these are the values i found for all of the gear a lot of values are missing from them because i cant find them in the files of the mod, the above is written in the crafttweaker format so feel free to post it to your wiki
The values you set for a material are for all 4 pieces together. and the split for the 4 parts is (25%, for helmet+leggins, 30% for chest, 20% for boots)
awsome that helps alot also what about the missing values? is there a default value listed for values not written? or are they written some where else? for example the t1_combat only has the physical attribute defined but nothing else yet in game the armor has a value for all atributes
also i do greatly appreciate your speedy responses and your patience with me!
Yes, there are default values. Physical and projectile are set to the armor value passed directly in the constructor: public static TGArmorMaterial T1_COMBAT = new TGArmorMaterial("T1_COMBAT", 60<baseDurability, 0<Enchantability, 15.0f<armor, SoundEvents.ITEM_ARMOR_EQUIP_LEATHER,0.5f<toughness);
All other values besides radiation are set to 75% of the armor value by default. Radiation is 0.
i had originally thought that that number was the physical value
so the math would be (armorvaule)-25%=(any non defined value) ergo 15-25%=11.25
p.s does this value also count for unresistable aswell or is that a null value atm?
im unsure what the proper formatting is for the .zs file when changing armor values as i understand from the wiki its
but this is not working
am i formatting it incorrectly?
i also have MTRM installed could that be causing conflicts with adding another .zs file?