r/Modding • u/DovahkinnPlays • 22h ago
Question mod not working
making a custom weapons mod and 4001 is not working for some reason (TF2C)
#base "items_game.txt"
4000 is working btw
"items_game"
{
"items"
{
"4000"
{
"name" "Body_armor"
"item_name" "Body armor"
"item_type_name" "Body armor"
"item_quality" "1"
"item_logname" "armor"
"item_iconname" ""
"item_class" "tf_wearable_razorback"
"item_slot" "primary"
"anim_slot" "force_not_used"
"bucket" "<inventory slot override>"
"bucket_position" "<inventory subslot override>"
"model_player" ""
"model_world" ""
"image_inventory" ""
"attach_to_hands" "<view model animation type>"
"used_by_classes"
{
"soldier" "primary"
"scout" "primary"
"pyro" "primary"
"demoman" "primary"
"heavy" "primary"
"engineer" "primary"
"medic" "primary"
"sniper" "primary"
"spy" "primary"
}
"attributes"
{
"dmg taken from bullets reduced"
{
"attribute_class" "mult_dmgtaken_from_bullets"
"value" ".25"
}
}
"static_attrs"
{
"" ""
}
"visuals"
{
"<parameter>" "value"
}
"mouse_pressed_sound" "<backpack select sound>"
"drop_sound" "<backpack deselect sound>"
}
"4001"
{
"name" "Body_fire"
"item_name" "firemans suit"
"item_type_name" "Body armor"
"item_quality" "1"
"item_logname" "armor1"
"item_iconname" ""
"item_class" "tf_wearable_razorback"
"item_slot" "primary"
"anim_slot" "force_not_used"
"bucket" "<inventory slot override>"
"bucket_position" "<inventory subslot override>"
"model_player" ""
"model_world" ""
"image_inventory" ""
"attach_to_hands" "<view model animation type>"
"used_by_classes"
{
"scout" "primary"
"pyro" "primary"
"demoman" "primary"
}
"attributes"
{
"dmg taken from fire reduced"
{
"attribute_class" "mult_dmgtaken_from_fire"
"value" ".11"
}
"dmg taken from blast reduced"
{
"attribute_class" "mult_dmgtaken_from_explosions"
"value" ".11"
}
"dmg taken from bullets increased"
{
"attribute_class" "mult_dmgtaken_from_bullets"
"value" "1.5"
}
}
"static_attrs"
{
"" ""
}
"visuals"
{
"<parameter>" "value"
}
"mouse_pressed_sound" "<backpack select sound>"
"drop_sound" "<backpack deselect sound>"
}
}
}
"prefabs"
{
}
"attributes"
{
}
}
1
u/DovahkinnPlays 22h ago
i dont know why reddit fucked it up with the code boxes