Garry's Mod

Garry's Mod

Trash Compactor Gamemode
 This topic has been pinned, so it's probably important
VictimofScience  [developer] 21 Aug, 2015 @ 8:48pm
Info for Map Makers
Making Maps for Trash Compactor

For starters use the Counter Strike: Source Hammer editor. Don't use Source SDK Tool hammer editor as it will not work. You can find the hammer editor in the bin folder of the CS:S install. (Steam\steamapps\common\Counter-Strike Source\bin)

Make sure to run CS:S at least once so hammer can be configured properly. You can set hammer's bsp output to the gmod folder in it's Build Programs. (Game Executable and Place Compiled BSPs in Directory)


Map prefix must be trash_mapname


Trash Compactor will look for all prop_physics and prop_physics_multiplayer and save them in a list. At the beggining of each round all props are deleted and respawned in their original place.

In short make all trashman props a prop_physics or prop_physics_multiplayer!


Push Triggers are how you add force to all props (trigger_push). Generally I use a force of 1000 for most props however it will not usually work for heavier props such as cars. You can check the mass of a prop in the model viewer in hammer. (Remember to set the flags in push triggers for Clients and Physics Props)

For larger or heavier props I use another push trigger ontop of the other with a higher push force with a filter_activator_mass_greater and use a mass value of 1000 so anything over 1000 will get pushed harder than something under 1000. For the push force I usually do anything from 2000 - 4000

For filtering teams, use a filter_activator_team. Filter team number is 4 for trashmen and 5 for victims. (Not terrorist/ct)

Trashman spawns at an info_player_terrorist spawn and victims at an info_player_counterterrorist entity. Also make sure theres at least one info_player_start somewhere in the map

For removing the phygun from the trashman when they jump down, create a trigger_multiple and name it the following "TrashmanStripTrigger" (without quotes). Thats it. The gamemode will take care of the rest.

You can download the VMF for trash_canal Here[1drv.ms].
Last edited by VictimofScience; 10 Oct, 2020 @ 11:04am
< >
Showing 1-1 of 1 comments
< >
Showing 1-1 of 1 comments
Per page: 1530 50