Skip to content

Useful tweaks and content for Source Engine Games

Notifications You must be signed in to change notification settings

beepster4096/HammerAddons

 
 

Repository files navigation

Hammer Addons

Teamspen's Hammer Addons


Features

  • Auto-packing - Automatically packs non-stock game files into the bsp. Filtered based on search paths in the included custom gameinfo and FGD database. Assets can also be packed manually with comp_pack entities.
  • Static prop combining - merges together adjacent props to allow them to be efficently drawn in batches. To use, decompile props and configure the folder & studioMDL's path then place comp_propcombine_set entities.
  • A unified FGD database, allowing keyvalues to be shared among games, and accurately defining when features were added and removed.
  • Many more entity options, and an improved editor layout.
  • New sprites for almost all entities, both custom made and from a number of other sources.
  • Adds lots more AutoVisgroups for easily hiding entities.
  • New comp_ entities. These are mainly intended for use in instances, allowing modifying entities outside of the instance to conform or doing normally impossible things like positioning things in the void.
  • Improvments for games supporing VScript:
    • In any RunScriptCode input, backticks can be used for string literals, instead of the disallowed " character.
    • In addition to the normal Entity Scripts section, a new Init Code field can be used to write code that's packed and added to those scripts. Useful for setting configuration options etc. Backticks can be used here too.

Installation

  • Download the latest release from the releases tab.
  • Follow this guide.
  • If using BEEMOD2.4, change Hammer -> Options -> Build Programs to use vrad_original.exe.

Using Vactubes (Portal 2 only)

This addon implements a dynamic vactube system similar to Valve's, including randomised objects, complex junctions and dropper support.

  • To use, place and configure comp_vactube_object entities to specify which items can appear in tubes.
  • When building vactube paths, place a comp_vactube_start entity at the beginning of the track, and a comp_vactube_end at the end.
  • Then at each corner/junction in a vactube place a comp_vactube_junction ent, picking the appropriate type. These all need to be rotated appropriately so the arrows point in the correct direction to be matched up by the compiler.
  • To split a path into multiple tubes, you'll need to use one of the "splitter" junction types.
  • To join multiple back into a single pipe, simply overlap two junctions such that their outputs both point down the same route.
  • For droppers, place the supplied instances/cubedropper/dropper_vactube.vmf instance, and run a path up to the vactube end entity in the top. Place a prop_weighted_cube inside the dropper to specify which cube type it will spawn. The specific route leading to the dropper will be detected and only replacement cubes will be sent this way. Add a splitter just before the dropper, so the tube can have decorative items flowing through it constantly.
  • To place the vactube scanner TVs, simply add a "straight"-type junction inside the model, then place the prop_dynamics for the screen and optionally the spinner. The screen will need the supplied _new model, so both orientations have all the skins. They will automatically be detected and flash on when objects pass.
  • To avoid visual collisions, you may want to turn off the automatic spawning on one or more spawn points, then use the outputs on a junction to manually spawn objects in sync with another path.

Development

About

Useful tweaks and content for Source Engine Games

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.6%
  • Squirrel 3.9%
  • Batchfile 0.5%