Garry's Mod

Garry's Mod

gm_d3vinetown_v4
 This topic has been pinned, so it's probably important
Bamboy  [developer] 17 Jan, 2015 @ 10:32am
Map's Custom Entities
List of custom entity names and keyvalues used in the map...
It is important to note that this list is intended for those who know how to write Garry's Mod Lua scripts. By me creating this list, I am giving permission for those who are interested to duplicate custom features.
Also, I don't know how to write Garry's Mod Lua scripts, so don't ask me for help where that is concerned!

Brush Entities
Name: trigger_nobuild
No Keyvalues
Usage: Any player owned entities that enter this area will be deleted. (Used mainly in the spawn room, but there are a few other places.)

Name: trigger_donorroom
No Keyvalues
Usage: Non donator ranked players will be ether killed or teleported away when entering this area.

Name: trigger_theatre
No Keyvalues
Usage: Player weapons and tools will be removed or given back when entering/exiting this volume. You may want this to delete player owned entities as well.

Point Entites
Name: point_movie_projector
No Keyvalues
Usage: A PlayX projection starts here, and points toward point_movie_projector_end. Used in the theatre. (This requires code to spawn a PlayX projection entity, I would assume)

Name: point_movie_projector_end
No Keyvalues
Usage: See point_movie_projector.

Entity Keyvalues
These can be put on any entity, custom or otherwise.

Name: d3a_aegis_shared
Value: 1
Usage: Used for allowing players to modify the colors of the func_brush entities in the color room. (It marks entities as "shared" on prop protection so players can modify.)
NOTE: Entities using this keyvalue also have the Garry's Mod keyvalues of "gmod_allowphysgun" "0" and "gmod_allowtools" "tool_color" so that players can't do abusive things to these entities. Certian addons might bypass gmod_allowtools. Allow players to use this with care!

Name: donor_only
Value: 1
Usage: Used on the trigger_teleport in spawn that leads to the donor room. Basically, this will only teleport players if they are donors.


NOTE!
The spawn room's staff list and changelog boards have no special entities or anything. They were made intending that a script would be created that would create world-space text to go over them. This feature was never fully implimented, but there is nothing wrong with the map that would prevent it.

Please leave any questions you have here. But again, I don't know Garry's Mod scripting.
Last edited by Bamboy; 17 Jan, 2015 @ 11:13am