23 lines
1.1 KiB
Modula-2
23 lines
1.1 KiB
Modula-2
# Hammer++ custom entity definitions. Loaded on start-up after the built-in set, so you can add
|
|
# your game's entities here - or redefine a built-in class by repeating its name.
|
|
#
|
|
# @point <class> "<label>" [color(r,g,b)] [size(h) | size(hx,hy,hz)] [dir] [model]
|
|
# @brush <class> "<label>" [color(r,g,b)] [contents(solid|clip|trigger|water|sky)]
|
|
# <key> <type> "<label>" "<default>" ["value=Label,value=Label"]
|
|
# types: string int float bool color255 vec3 choice model material target
|
|
# dir = shows an orientation arrow, model = displays the "model" key as a prop
|
|
|
|
@point npc_spawner "NPC spawner" color(255,110,110) size(12,32,12) dir
|
|
npc_type choice "NPC type" "grunt" "grunt=Grunt,sniper=Sniper,boss=Boss"
|
|
count int "Count" "3"
|
|
respawn bool "Respawn" "0"
|
|
patrol_target target "Patrol path start" ""
|
|
|
|
@point env_fog "Fog volume" color(180,200,230) size(10)
|
|
color color255 "Fog color" "180 190 210"
|
|
start float "Start distance" "256"
|
|
end float "End distance" "2048"
|
|
|
|
@brush trigger_hurt "Hurt trigger" color(255,60,60) contents(trigger)
|
|
damage float "Damage per second" "10"
|