Files
QuenchTreeArboretum/trenchbroom/entity_defs/player_start.entity_def.lx

36 lines
968 B
Plaintext

entity_def = {
classname = "player_start"
editor = {
class_type = "PointClass"
description = "A location where the player can spawn."
internal_only = false
class_properties = []
meta_properties = [
["size", [-8 -8 0 8 8 52]]
]
}
game = { // The entity created from this
prototype = ""
modifiers = [
{
type = "luxe: system/mesh.modifier"
mesh = "&MESH&"
material = "func_luxe: texture_default/textured"
}
{
type = "luxe: system/physics/body3D.modifier"
}
{
type = "luxe: system/physics/mesh_collider3D.modifier"
mesh = "&MESH_COL&"
body = [
"&ENTITY_UUID&"
] // body
}
{
type = "luxe: system/tags.modifier"
tags = [ "player_start" ]
}
]
}
}