#Custom Armor Scale dont work
27 messages · Page 1 of 1 (latest)
custom items set the scale only in Spawn() for some reason
@odd olive limits broken too idk if just for me, can you check ?
@twin imp have yamato tested?
Nope
once I get back from uni tomorrow I will try to replicate it
If you asked if i test something the response is always no

I only make more bug
@twin imp I TOTALLY FORGOT 😭
Once I'm finish implementing something into callvote I'm going to replicate this
np, so its working or broken ?
If this is still broken I can probably fix it today
need test for me yeah its broken
I think i fixed the scaling and ArmorAmmoLimit not serializing
hi sorry for late response
- scale not working
Uhmmm
- ammo limits seriliations fixed but not category limits
At least there a parh to make it fix
Could you make a PR ?
3.Even if the ammo limit is serialized, it doesn't work.
test item
public class TestArmor : CustomArmor
{
public override uint Id { get; set; } = 9999;
public override ItemType Type { get; set; } = ItemType.ArmorCombat;
public override string Name { get; set; } = "Test Armor";
public override string Description { get; set; } = "This is a test armor.";
public override float Weight { get; set; } = 1f;
public override Vector3 Scale { get; set; } = Vector3.one * 0.3f;
public override List<ArmorAmmoLimit> AmmoLimits { get; set; } =
[
new ArmorAmmoLimit() { AmmoType = AmmoType.Nato762, Limit = 500 },
new ArmorAmmoLimit() { AmmoType = AmmoType.Nato556, Limit = 500 },
new ArmorAmmoLimit() { AmmoType = AmmoType.Nato9, Limit = 500 },
new ArmorAmmoLimit() { AmmoType = AmmoType.Ammo44Cal, Limit = 500 },
];
public override List<BodyArmor.ArmorCategoryLimitModifier> CategoryLimits { get; set; } =
[
new() { Category = ItemCategory.SpecialWeapon, Limit = 34},
new() { Category = ItemCategory.Grenade, Limit = 34},
];
public override SpawnProperties SpawnProperties { get; set; }
}```
Custom armors is really broken.
Cant fix that without breaking changes