mirror of
https://github.com/mapbase-source/source-fgds.git
synced 2024-12-29 00:55:30 +03:00
Added ammo multiplier I/KV, which had been forgotten about
This commit is contained in:
parent
8a4c350ba2
commit
a29f788a19
@ -4035,6 +4035,14 @@
|
|||||||
input BreakConstraint(void) : "Breaks the constraint on this item if it started constrained."
|
input BreakConstraint(void) : "Breaks the constraint on this item if it started constrained."
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@BaseClass base(Item) = ItemAmmo
|
||||||
|
[
|
||||||
|
AmmoMultiplier(float) : "Ammo Multiplier" : "1.0" : "Multiplies the amount of ammo this item gives. Using a negative number directly sets it to that number, rather than multiplying it."
|
||||||
|
|
||||||
|
// Inputs
|
||||||
|
input SetAmmoMultiplier(float) : "Sets the multiplier for the amount of ammo this item gives."
|
||||||
|
]
|
||||||
|
|
||||||
@PointClass base(Item) studio("models/items/healthkit.mdl") = item_dynamic_resupply : "A dynamic item. When the player enters the PVS of this entity, " +
|
@PointClass base(Item) studio("models/items/healthkit.mdl") = item_dynamic_resupply : "A dynamic item. When the player enters the PVS of this entity, " +
|
||||||
"it will determine the item most needed by the player, spawn one of those items, and remove itself. To determine which item the player most needs, it " +
|
"it will determine the item most needed by the player, spawn one of those items, and remove itself. To determine which item the player most needs, it " +
|
||||||
"calculates which of the Desired Health/Armor/Ammo ratios the player is farthest from.\n\nIf the player is above all the desired levels, then no item " +
|
"calculates which of the Desired Health/Armor/Ammo ratios the player is farthest from.\n\nIf the player is above all the desired levels, then no item " +
|
||||||
@ -4069,22 +4077,22 @@
|
|||||||
input BecomeMaster(void) : "Make this resupply the master resupply. All other resupplies set to Use Master's Values will now use this resupply's values."
|
input BecomeMaster(void) : "Make this resupply the master resupply. All other resupplies set to Use Master's Values will now use this resupply's values."
|
||||||
]
|
]
|
||||||
|
|
||||||
@PointClass base(Item) studio("models/items/boxsrounds.mdl")= item_ammo_pistol : "Box of Pistol ammo" []
|
@PointClass base(ItemAmmo) studio("models/items/boxsrounds.mdl")= item_ammo_pistol : "Box of Pistol ammo" []
|
||||||
@PointClass base(Item) studio("models/items/BoxSRounds.mdl")= item_ammo_pistol_large : "Large Box of Pistol ammo" []
|
@PointClass base(ItemAmmo) studio("models/items/BoxSRounds.mdl")= item_ammo_pistol_large : "Large Box of Pistol ammo" []
|
||||||
@PointClass base(Item) studio("models/items/BoxMRounds.mdl")= item_ammo_smg1 : "Box of SMG1 ammo" []
|
@PointClass base(ItemAmmo) studio("models/items/BoxMRounds.mdl")= item_ammo_smg1 : "Box of SMG1 ammo" []
|
||||||
@PointClass base(Item) studio("models/items/BoxMRounds.mdl")= item_ammo_smg1_large : "Large Box of SMG1 ammo" []
|
@PointClass base(ItemAmmo) studio("models/items/BoxMRounds.mdl")= item_ammo_smg1_large : "Large Box of SMG1 ammo" []
|
||||||
@PointClass base(Item) studio("models/items/combine_rifle_cartridge01.mdl")= item_ammo_ar2 : "Box of AR2 ammo" []
|
@PointClass base(ItemAmmo) studio("models/items/combine_rifle_cartridge01.mdl")= item_ammo_ar2 : "Box of AR2 ammo" []
|
||||||
@PointClass base(Item) studio("models/items/combine_rifle_cartridge01.mdl")= item_ammo_ar2_large : "Large Box of AR2 ammo" []
|
@PointClass base(ItemAmmo) studio("models/items/combine_rifle_cartridge01.mdl")= item_ammo_ar2_large : "Large Box of AR2 ammo" []
|
||||||
@PointClass base(Item) studio("models/items/357ammo.mdl")= item_ammo_357 : "Box of 357 ammo" []
|
@PointClass base(ItemAmmo) studio("models/items/357ammo.mdl")= item_ammo_357 : "Box of 357 ammo" []
|
||||||
@PointClass base(Item) studio("models/items/357ammobox.mdl")= item_ammo_357_large : "Large Box of 357 ammo" []
|
@PointClass base(ItemAmmo) studio("models/items/357ammobox.mdl")= item_ammo_357_large : "Large Box of 357 ammo" []
|
||||||
@PointClass base(Item) studio("models/items/CrossbowRounds.mdl")= item_ammo_crossbow : "Box of Crossbow ammo" []
|
@PointClass base(ItemAmmo) studio("models/items/CrossbowRounds.mdl")= item_ammo_crossbow : "Box of Crossbow ammo" []
|
||||||
@PointClass base(Item) studio("models/items/BoxBuckshot.mdl")= item_box_buckshot : "Box Buckshot" []
|
@PointClass base(ItemAmmo) studio("models/items/BoxBuckshot.mdl")= item_box_buckshot : "Box Buckshot" []
|
||||||
@PointClass base(Item) studio("models/weapons/w_missile_closed.mdl")= item_rpg_round : "RPG Round" []
|
@PointClass base(ItemAmmo) studio("models/weapons/w_missile_closed.mdl")= item_rpg_round : "RPG Round" []
|
||||||
@PointClass base(Item) studio("models/items/AR2_Grenade.mdl")= item_ammo_smg1_grenade : "SMG1 Grenade" []
|
@PointClass base(ItemAmmo) studio("models/items/AR2_Grenade.mdl")= item_ammo_smg1_grenade : "SMG1 Grenade" []
|
||||||
@PointClass base(Item) studio("models/items/battery.mdl") = item_battery : "HEV battery" []
|
@PointClass base(Item) studio("models/items/battery.mdl") = item_battery : "HEV battery" []
|
||||||
@PointClass base(Item) studio("models/items/healthkit.mdl") = item_healthkit : "Small Health Kit" []
|
@PointClass base(Item) studio("models/items/healthkit.mdl") = item_healthkit : "Small Health Kit" []
|
||||||
@PointClass base(Item) studio("models/healthvial.mdl") = item_healthvial : "Personal Health Kit" []
|
@PointClass base(Item) studio("models/healthvial.mdl") = item_healthvial : "Personal Health Kit" []
|
||||||
@PointClass base(Item) studio("models/items/combine_rifle_ammo01.mdl") = item_ammo_ar2_altfire : "AR2 Alt-fire Round" []
|
@PointClass base(ItemAmmo) studio("models/items/combine_rifle_ammo01.mdl") = item_ammo_ar2_altfire : "AR2 Alt-fire Round" []
|
||||||
@PointClass base(Item) studio("models/items/hevsuit.mdl") = item_suit : "HEV Suit"
|
@PointClass base(Item) studio("models/items/hevsuit.mdl") = item_suit : "HEV Suit"
|
||||||
[
|
[
|
||||||
spawnflags(Flags) =
|
spawnflags(Flags) =
|
||||||
|
Loading…
Reference in New Issue
Block a user