From 3ff34751a80cc6e748dce28eb8cfe9b013cc9aa5 Mon Sep 17 00:00:00 2001 From: "ALLEN-PC\\acj30" Date: Sun, 2 Mar 2025 11:44:03 -0600 Subject: [PATCH] Add item_battery_custom --- halflife2.fgd | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/halflife2.fgd b/halflife2.fgd index 7eb437f..5fb2034 100644 --- a/halflife2.fgd +++ b/halflife2.fgd @@ -4258,6 +4258,16 @@ input SetHealthAmount(float) : "Sets the amount of health this item gives." ] +@PointClass base(Item, Studiomodel) studioprop() = item_battery_custom : "Custom Battery" +[ + model(studio) : "Model" : "models/items/battery.mdl" : "The battery's model." + PowerAmount(float) : "Power Amount" : "15" : "The amount of power this item gives." + //TouchSound(sound) : "Touch Sound" : "ItemBattery.Touch" : "The sound to make when this item is picked up and used." + + // Inputs + input SetPowerAmount(float) : "Sets the amount of power this item gives." +] + @PointClass base(Targetname, Parentname, Angles, RenderFields, BaseFadeProp) studio("models/items/ammocrate_empty.mdl") = item_ammo_crate : "Ammo Crate" [ AmmoType(choices) : "Ammo Type" : 0 =