Skip to content

Commit

Permalink
Режимы
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgencheg committed Sep 2, 2024
1 parent be2d030 commit d726826
Show file tree
Hide file tree
Showing 8 changed files with 141 additions and 86 deletions.
14 changes: 14 additions & 0 deletions Resources/Locale/ru-RU/_LostParadise/GameRules/names.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
calm-title = Спокойный
calm-description = Ничего не происходит, буквально ничего, совсем ничего... Наслаждайся ЕРП(Ну или просто рп)!
easy-title = Легкий
easy-description = Кажется что-то идет не так... Но это было довольно легко!
average-title = Средний
average-description = На станции присутствуют различные угрозы... Прийдется немного напрячься...
heavy-title = Тяжелый
heavy-description = Это будет крайне не легко... А вы сможете вернуться домой?
pizdec-title = ХАРДКОР
pizdec-description = Это реально конец, ну вот полный конец. Ну вот вообще. Ну короче вот да. Станция бабах.
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
- id: LPPweaponPibodi
- id: LPPMagazineBoxHunting
- id: LPPClothingOuterHardsuitHunter
- id: LPPWeaponBattleCutter
# - id: LPPWeaponBattleCutter
- id: LPPWeaponCutterMagazine
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
- type: entity
name: боевой резак
parent: BaseWeaponPowerCellSmall
id: LPPWeaponBattleCutter
description: Старая модель резаков, что, вроде как, предназначались для горной добычи, теперь же для рубки ксеносов.
components:
- type: Sprite
sprite: _LostParadise/Objects/Weapons/Guns/Pistols/battlecutter.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-unshaded-4
map: ["enum.GunVisualLayers.MagUnshaded"]
shader: unshaded
- type: Item
size: Small
shape:
- 0,0,1,0
- 0,1,0,1
- type: Clothing
sprite: _LostParadise/Objects/Weapons/Guns/Pistols/battlecutter.rsi
soundForce: true
slots:
- Belt
- suitStorage
- type: Gun
soundGunshot:
path: "/Audio/_LostParadise/Weapons/Guns/Gunshots/BattleCutterFire.ogg"
params:
volume: 100
soundForce: true
- type: AmmoCounter
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
startingItem: LPPWeaponCutterMagazine
- type: MagazineVisuals
magState: mag
steps: 5
zeroVisible: true
#- type: entity
# name: боевой резак
# parent: BaseWeaponPowerCellSmall
# id: LPPWeaponBattleCutter
# description: Старая модель резаков, что, вроде как, предназначались для горной добычи, теперь же для рубки ксеносов.
# components:
# - type: Sprite
# sprite: _LostParadise/Objects/Weapons/Guns/Pistols/battlecutter.rsi
# layers:
# - state: base
# map: ["enum.GunVisualLayers.Base"]
# - state: mag-unshaded-4
# map: ["enum.GunVisualLayers.MagUnshaded"]
# shader: unshaded
# - type: Item
# size: Small
# shape:
# - 0,0,1,0
# - 0,1,0,1
# - type: Clothing
# sprite: _LostParadise/Objects/Weapons/Guns/Pistols/battlecutter.rsi
# soundForce: true
# slots:
# - Belt
# - suitStorage
# - type: Gun
# soundGunshot:
# path: "/Audio/_LostParadise/Weapons/Guns/Gunshots/BattleCutterFire.ogg"
# params:
# volume: 100
# soundForce: true
# - type: AmmoCounter
# - type: ItemSlots
# slots:
# gun_magazine:
# name: Magazine
# startingItem: LPPWeaponCutterMagazine
# - type: MagazineVisuals
# magState: mag
# steps: 5
# zeroVisible: true
9 changes: 9 additions & 0 deletions Resources/Prototypes/_LostParadise/GameRules/roundstart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- type: entity
id: LPPRampingStationEventScheduler
parent: BaseGameRule
noSpawn: true
components:
- type: RampingStationEventScheduler
chaosModifier: 2 # By default, one event eac.h 30-10 seconds after two hours Changing CVars will cause this to deviate.
startingChaosRatio: 0.001 # Starts as slow as survival, but quickly ramps up
shiftLengthModifier: 0.5
24 changes: 24 additions & 0 deletions Resources/Prototypes/_LostParadise/game_presets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
- type: gamePreset
id: LPPSurvival
alias:
- lppsurvival
name: heavy-title
showInVote: true # secret # DeltaV - Me when the survival. Used for periapsis.
description: heavy-description
minPlayers: 40
rules:
- LPPRampingStationEventScheduler
- BasicRoundstartVariation
- SubGamemodesRule

- type: gamePreset
id: LPPExtended
alias:
- lppextended
name: easy-title
showInVote: true #2boring2vote # DeltaV - I'd like to disagree, used for periapsis.
description: easy-description
rules:
- BasicStationEventScheduler
- BasicRoundstartVariation
- SubGamemodesRule
8 changes: 8 additions & 0 deletions Resources/Prototypes/_LostParadise/sercret_weights.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- type: weightedRandom
id: LPPSecret
weights:
LPPSurvival: 0.10
Nukeops: 0.25
Zombie: 0.20
Traitor: 0.30
LPPExtended: 0.15
79 changes: 40 additions & 39 deletions Resources/Prototypes/game_presets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
alias:
- survival
name: survival-title
showInVote: true # secret # DeltaV - Me when the survival. Used for periapsis.
showInVote: false # secret # DeltaV - Me when the survival. Used for periapsis.
description: survival-description
rules:
- RampingStationEventScheduler
Expand All @@ -14,33 +14,33 @@
id: SurvivalHellshift
alias:
- hellshift
showInVote: true
name: hellshift-title
description: hellshift-description
showInVote: false
name: pizdec-title
description: pizdec-description
rules:
- HellshiftStationEventScheduler
- BasicRoundstartVariation
- SubGamemodesRule

- type: gamePreset
id: AllAtOnce
name: all-at-once-title
description: all-at-once-description
showInVote: false
rules:
- Nukeops
- Traitor
- Revolutionary
- Zombie
- RampingStationEventScheduler
#- type: gamePreset
# id: AllAtOnce
# name: all-at-once-title
# description: all-at-once-description
# showInVote: false
# rules:
# - Nukeops
# - Traitor
# - Revolutionary
# - Zombie
# - RampingStationEventScheduler

- type: gamePreset
id: Extended
alias:
- extended
- shittersafari
name: extended-title
showInVote: true #2boring2vote # DeltaV - I'd like to disagree, used for periapsis.
showInVote: false #2boring2vote # DeltaV - I'd like to disagree, used for periapsis.
description: extended-description
rules:
- BasicStationEventScheduler
Expand All @@ -52,9 +52,10 @@
alias:
- greenshift
- shittersafarideluxeedition
name: greenshift-title
showInVote: false #4boring4vote
description: greenshift-description
name: calm-title
showInVote: true #4boring4vote
description: calm-description
maxPlayers: 30
rules:
- BasicRoundstartVariation

Expand All @@ -63,29 +64,29 @@
alias:
- secret
- sekrit
name: secret-title
name: average-title
showInVote: true
description: secret-description
description: average-description
rules:
- Secret

- type: gamePreset
id: SecretExtended #For Admin Use: Runs Extended but shows "Secret" in lobby.
alias:
- secretextended
name: secret-title
showInVote: false #Admin Use
description: secret-description
rules:
- BasicStationEventScheduler

- type: gamePreset
id: SecretGreenshift #For Admin Use: Runs Greenshift but shows "Secret" in lobby.
alias:
- secretgreenshift
name: secret-title
showInVote: false #Admin Use
description: secret-description
#- type: gamePreset
# id: SecretExtended #For Admin Use: Runs Extended but shows "Secret" in lobby.
# alias:
# - secretextended
# name: secret-title
# showInVote: false #Admin Use
# description: secret-description
# rules:
# - BasicStationEventScheduler
#
#- type: gamePreset
# id: SecretGreenshift #For Admin Use: Runs Greenshift but shows "Secret" in lobby.
# alias:
# - secretgreenshift
# name: secret-title
# showInVote: false #Admin Use
# description: secret-description

- type: gamePreset
id: Sandbox
Expand All @@ -104,7 +105,7 @@
- traitor
name: traitor-title
description: traitor-description
showInVote: true
showInVote: false
rules:
- Traitor
- SubGamemodesRule
Expand Down
9 changes: 4 additions & 5 deletions Resources/Prototypes/secret_weights.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
- type: weightedRandom
id: Secret
weights:
#Survival: 0.44
Nukeops: 0.34
Zombie: 0.17
Traitor: 0.49
Survival: 0.44
Nukeops: 0.14
Zombie: 0.03
Traitor: 0.39
#Pirates: 0.15 #ahoy me bucko

0 comments on commit d726826

Please sign in to comment.