Turret Entities (#38)
* Spotlight Turret. * Used new turret sprite, credit: @Lobstrex (Lob)#5692 * Moved AimShootLifeProcessor.cs to content. * Update Submodule Try 2.
This commit is contained in:
committed by
Pieter-Jan Briers
parent
98bd1552b9
commit
071ed3f1ed
46
Resources/Prototypes/Entities/Turret.yml
Normal file
46
Resources/Prototypes/Entities/Turret.yml
Normal file
@@ -0,0 +1,46 @@
|
||||
- type: entity
|
||||
id: TurretBase
|
||||
name: Turret Base
|
||||
components:
|
||||
- type: Transform
|
||||
- type: Clickable
|
||||
- type: BoundingBox
|
||||
- type: Sprite
|
||||
drawdepth: FloorPlaceable
|
||||
sprites:
|
||||
- TurrBase
|
||||
|
||||
- type: entity
|
||||
id: TurretTopGun
|
||||
name: Turret (Gun)
|
||||
components:
|
||||
- type: Transform
|
||||
- type: Clickable
|
||||
- type: BoundingBox
|
||||
- type: Sprite
|
||||
drawdepth: WallMountedItems
|
||||
sprites:
|
||||
- TurrTop
|
||||
- type: AiController
|
||||
logic: AimShootLife
|
||||
vision: 6.0
|
||||
|
||||
- type: entity
|
||||
id: TurretTopLight
|
||||
name: Turret (Light)
|
||||
components:
|
||||
- type: Transform
|
||||
- type: Clickable
|
||||
- type: BoundingBox
|
||||
- type: Sprite
|
||||
drawdepth: WallMountedItems
|
||||
sprites:
|
||||
- TurrLamp
|
||||
- type: AiController
|
||||
logic: AimShootLife
|
||||
vision: 6.0
|
||||
- type: PointLight
|
||||
radius: 512
|
||||
mask: flashlight_mask
|
||||
autoRot: true
|
||||
|
||||
BIN
Resources/textures/Buildings/TurrBase.png
Normal file
BIN
Resources/textures/Buildings/TurrBase.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
BIN
Resources/textures/Buildings/TurrLamp.png
Normal file
BIN
Resources/textures/Buildings/TurrLamp.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
BIN
Resources/textures/Buildings/TurrTop.png
Normal file
BIN
Resources/textures/Buildings/TurrTop.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
Reference in New Issue
Block a user