Garry's Mod

Garry's Mod

Not enough ratings
[ActiveProps] Vending Machine
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun
File Size
Posted
Updated
7.390 KB
30 Mar, 2024 @ 9:21am
25 Apr, 2024 @ 2:06pm
3 Change Notes ( view )

Subscribe to download
[ActiveProps] Vending Machine

Description
Add interactivity to your gameplay with this addon!
This addon converts all created vending machine props into props with the ability to break them.



Features:
  • Compatible with the maps and props (only works with some of the models below) in the game.
  • Easy setup and activation via the Q menu.
  • This modification is perfect for fun, adding an element of life to the gameplay.

This addon works with:
Entities:
  • "prop_physics"
  • "prop_physics_override"
  • "prop_physics_multiplayer"
  • "prop_dynamic"
  • "prop_dynamic_override"

Models:
  • "models/props_interiors/vendingmachinesoda01a.mdl"
  • "models/props/cs_office/vending_machine.mdl"
    This model only works if content from CS:Source is enabled.

This addon has:
ConVars:
  • vending_cans_chance 0.65
    Chance that the vending machine will be full.

  • vending_cans_collision_disable 1
    Disable collisions for dropped cans.

  • vending_cans_min 1
    Minimum value of cans in vending machine.

  • vending_cans_max 50
    Maximum value of cans in vending machine.

  • vending_cans_fadetime 30
    The time after which the dropped cans will disappear.

  • vending_cans_throw_delay 0.15
    The time between drops of soda can.

  • vending_damage_mod 0
    Change the health system to the hit to trigger the event.

  • vending_damage_hits 5
    Number of hits to trigger.

  • vending_damage_health_random 1
    Enable randomization for the health scale.

  • vending_damage_health 100
    Health of vending machine.

ToolMenu:
  • Options -> Interactive Props -> Vending Machine
1 Comments
Big Floppa 19 Nov, 2024 @ 12:53am 
make one for the cash register next