#Custom Armor Scale dont work

27 messages · Page 1 of 1 (latest)

twin imp
#

dont work, i need to make ev.Pickup.Scale = Scale manually on pickupcreated event

mortal dagger
twin imp
#

@odd olive limits broken too idk if just for me, can you check ?

dense pebble
#

@twin imp have yamato tested?

twin imp
dense pebble
odd olive
#

I only make more bug

dense pebble
#

@twin imp I TOTALLY FORGOT 😭

#

Once I'm finish implementing something into callvote I'm going to replicate this

twin imp
lapis island
#

If this is still broken I can probably fix it today

twin imp
lapis island
twin imp
#
  1. scale not working
odd olive
#

Uhmmm

twin imp
#
  1. ammo limits seriliations fixed but not category limits
odd olive
#

At least there a parh to make it fix

odd olive
twin imp
#

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.

lapis island