ls_barricade
componentBarricadeA wall that can be shot or hit down and repaired (hold USE). Bots defend behind it and go round it while it stands.
A wall that breaks and can be repaired. Wraps the selected brushes.
A brush entity: tie brushes to it. Needs Loner-Strike's components plugin, which comes with the app.
Keys (11)
- Name targetname
- What map logic and modes call this component. A button whose target is this name sets it off.
- On at round start enabled
- Off: it does nothing until a mode or map logic switches it on. Default: 1. Choices: 1 Yes, 0 No.
- Sets off target
- What to set off when its main thing happens (taken, opened, extracted, broken...).
- Health hp
- How much damage it takes before it breaks. Default: 500.
- Defended by team
- This team repairs it and can't damage it. Default: 2. Choices: 0 Nobody.
- Seconds per repair repair_secs
- Each repair adds a quarter of its health. Default: 3.
- Bots go round it blocks_bots
- Bots treat it as a wall while it stands. Default: 1. Choices: 1 Yes.
- Own team can damage it friendly_damage
- Its own team's shots damage it too. Default: 0. Choices: 0 No.
- Span the corridor fit
- Map packs: stretch the barricade along this axis until it meets the walls (up to 400 units each way). Without a model it's drawn as a beam fence.
- Box size (x y z) size
- Map packs: the barricade's box when it isn't a brush. Default: 64 16 80.
- Take over adopt
- Map packs: the Name or *model of an existing func_wall/func_breakable to turn into this barricade.