This fixes bugs with brush-based effect entities having their effects appear at the origin of the map. These entities use the collision bounds of the brush, assuming it is in world space. However, including the origin KV on a brush causes the model bounds to be defined in local space. Using local space info as if it was worldspace ended up in the code spawning effects at the origin of the map.
Fixed by creating a base that covers what these entities were doing in older FGDs where they actually worked (which omits origin KV).
TLDR: origin KV on these ents breaks them so make sure it is removed. Older FGDs & thus maps dont have the KV so they work fine.
Closes https://github.com/momentum-mod/game/issues/1789
This fixes bugs with brush-based effect entities having their effects appear at the origin of the map. These entities use the collision bounds of the brush, assuming it is in world space. However, including the
origin
KV on a brush causes the model bounds to be defined in local space. Using local space info as if it was worldspace ended up in the code spawning effects at the origin of the map.Fixed by creating a base that covers what these entities were doing in older FGDs where they actually worked (which omits
origin
KV).TLDR:
origin
KV on these ents breaks them so make sure it is removed. Older FGDs & thus maps dont have the KV so they work fine.