func_brush
< Hr
Jump to navigation
Jump to search
| CFuncBrush |
func_brush je četkasti entitet dostupan u svim
Source igrama. It's a generic brush entity with various features.
It combines the functions of func_wall, func_illusionary, and func_wall_toggle from
Quake and
GoldSrc. The older entities can still be used, for an insignificant amount of memory saved.
If the game has round restart mechanics this entity may not behave as expected:
|
Setting
solidbsp keyvalue to 1 seems to fix the issue.Keyvalues
- Name (targetname) <niz>[ Edit ]
- Naziv kojim se drugi entiteti referiraju na ovaj entitet, putem Ulazi/Izlazi ili drugih ključ vrijednosti (npr.
parentnameilitarget).
Također se prikazuje u Hammerovim 2D prikazima i Entity Report.Vidi također: Generički ključ_vrijednosti, ulazi i izlazi dostupni svim entitetima
- Solidity (Solidity) <izbora>
- Used to control the solidity/collision of these brushes.
- 0: Toggle - The solidity can be toggled together with its visibility.
- 1: Never Solid
- 2: Always Solid
Greška:npc_combine_s can walk through no matter what type of solidity is set by using scripted_sequence [to-do: testirano u ?]
- Solid BSP (solidbsp) <Booleov>
- Set this to BSP if the player seems to rotate oddly relative to the surface.
- NPC class excluded from collisions (excludednpc) <classname>
- If an NPC classname (i.e. npc_zombie) is specified here, NPCs of that type won't collide with these brushes.
- Invert NPC class exclusion (invert_exclusion) <Booleov>
- If set, then the excluded NPC class will consider this brush solid, and all other NPC classes will consider it non-solid.
- StartDisabled (StartDisabled) <Booleov>
- If true brush will start invisible, and if
solidityis not set toAlways Solidit will also be non-solid
Savjet:If Solidity is Toggle, disabling will also make the entity non-solid.
Flags
- Ignore player +USE : [2]
- Entity will ignore all Use inputs, including ones from the player.
Inputs
- SetExcluded
- Change the NPC class that does not collide with the brush.
- SetInvert
- Whether to reverse the NPC class exclusion rule.
- Enable
- Make the brush visible and if
solidityis not set toNever Solidmake it solid
- Disable
- Make the brush invisible and if
solidityis not set toAlways Solidmake it non-solid
Upozorenje:The invisiblity is achieved by applying EF_NODRAW which makes the entity ignored on client therefore if solidity was Always Solid moving against the brush collision will feel jittery (testirano u: l4d2)
- Toggle !FGD
- Toggles the enabled state of the entity