add: laser, flamehider and silencer module for rifles

This commit is contained in:
CaYpeN1
2024-03-19 10:08:18 +05:00
parent 50f526f98c
commit 47741932ed
9 changed files with 162 additions and 28 deletions

Binary file not shown.

View File

@@ -12,7 +12,7 @@
sprite: White/Objects/Weapons/modules.rsi
size: Small
shape:
- 0,0,1,1
- 0,0,0,0
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
@@ -23,10 +23,40 @@
# modules
- type: entity
id: LightModule
name: "light module for rifle"
name: "light module"
parent: BaseModule
components:
- type: Item
- type: Sprite
state: light
- type: Appearance
- type: entity
id: LaserModule
name: "laser module"
parent: BaseModule
components:
- type: Item
- type: Sprite
state: laser
- type: Appearance
- type: entity
id: FlameHiderModule
name: "flamehider module"
parent: BaseModule
components:
- type: Item
- type: Sprite
state: flamehider
- type: Appearance
- type: entity
id: SilencerModule
name: "silencer module"
parent: BaseModule
components:
- type: Item
- type: Sprite
state: flamehider
- type: Appearance

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -9,6 +9,11 @@
"states": [
{
"name": "light"
},
{
"name": "laser"
}, {
"name": "flamehider"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB