Skip to content

Commit

Permalink
Added DM01 Entryway and deathmatch PROMOD preset (#127)
Browse files Browse the repository at this point in the history
* added DM01 Entryway and Deathmatch PROMOD preset

* fixed integration tests

* added guaranteed healing item spawn

* moved map declaration to harmony-specific subfolder

---------

Signed-off-by: Unisol <1929445+Unisol@users.noreply.github.com>
  • Loading branch information
Unisol authored Oct 30, 2024
1 parent 7d6a607 commit cf3f2f6
Show file tree
Hide file tree
Showing 7 changed files with 5,801 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Content.IntegrationTests/Tests/PostMapInitTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ public sealed class PostMapInitTest
"Oasis",
"Cog",
"Xeno", // Xeno map playtest
"Barratry" // Update of old map
"Barratry", // Update of old map
"dm01-entryway" // deathmatch PROMOD map
};

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
death-match-promod-title = DeathMatch PROMOD
death-match-promod-description = Shoot anything that moves! If it doesn't move, push it and then shoot. The first to 31 points wins!
5,669 changes: 5,669 additions & 0 deletions Resources/Maps/_Harmony/Nonstations/dm01-entryway.yml

Large diffs are not rendered by default.

97 changes: 97 additions & 0 deletions Resources/Prototypes/_Harmony/GameRules/roundstart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
- type: entity
id: DeathMatchPROMOD
parent: BaseGameRule
components:
- type: DeathMatchRule
gear: DeathMatchPROMODGear
killCap: 31
rewardSpawns:
- id: ClothingOuterArmorBasicSlim # armor
orGroup: loot
- id: ClothingOuterArmorBasic
orGroup: loot
- id: ClothingOuterArmorBulletproof
orGroup: loot
- id: ClothingOuterArmorReflective
orGroup: loot
- id: WeaponPistolViper # handguns
orGroup: loot
- id: WeaponPistolCobra
orGroup: loot
- id: WeaponRevolverInspector
orGroup: loot
- id: WeaponRevolverPython
orGroup: loot
- id: WeaponSubMachineGunC20r # SMGs
orGroup: loot
- id: WeaponSubMachineGunDrozd
orGroup: loot
- id: WeaponSubMachineGunWt550
orGroup: loot
- id: WeaponShotgunDoubleBarreled # shotguns
orGroup: loot
- id: WeaponShotgunSawn
orGroup: loot
- id: WeaponShotgunKammerer
orGroup: loot
- id: WeaponDisablerSMG # energy weapons
orGroup: loot
- id: WeaponLaserCarbine
orGroup: loot
- id: WeaponLaserSvalinn
orGroup: loot
- id: WeaponPistolCHIMPUpgraded
orGroup: loot
- id: MagazinePistolCaselessRifle # ammo
orGroup: loot
- id: MagazinePistol
orGroup: loot
- id: SpeedLoaderMagnum
orGroup: loot
- id: MagazinePistolSubMachineGun
orGroup: loot
- id: MagazinePistolSubMachineGunTopMounted
orGroup: loot
- id: MagazineShotgun
orGroup: loot
- id: GrenadeFlashBang # grenades
orGroup: loot
- id: WhiteholeGrenade
orGroup: loot
- id: SmokeGrenade
orGroup: loot
- id: TearGasGrenade
orGroup: loot
- id: EmpImplanter # implants
orGroup: loot
- id: ScramImplanter
orGroup: loot
- id: EmergencyMedipen # healing items
orGroup: loothealing
- id: BruteAutoInjector
orGroup: loothealing
- id: BurnAutoInjector
orGroup: loothealing
- id: Stimpack
orGroup: loothealing
- id: CombatMedipen
orGroup: loothealing
- type: KillCalloutRule
- type: PointManager
- type: RespawnDeadRule
- type: RespawnTracker
respawnDelay: 5


# DeathMatch PROMOD Gear

- type: startingGear
id: DeathMatchPROMODGear
equipment:
jumpsuit: ClothingUniformRandomStandard
shoes: ClothingShoesBootsJack
ears: ClothingHeadsetGrey
gloves: ClothingHandsGlovesFingerless
back: ClothingBackpack
pocket1: WeaponPistolMk58
pocket2: MagazinePistol
4 changes: 4 additions & 0 deletions Resources/Prototypes/_Harmony/Maps/Pools/deathmatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- type: gameMapPool
id: DeathMatchPROMODMapPool
maps:
- dm01-entryway
14 changes: 14 additions & 0 deletions Resources/Prototypes/_Harmony/Maps/arenas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- type: gameMap
id: dm01-entryway
mapName: DM01 Entryway
mapPath: /Maps/_Harmony/Nonstations/dm01-entryway.yml
minPlayers: 0
stations:
dm01-entryway:
stationProto: StandardStationArena
components:
- type: StationNameSetup
mapNameTemplate: "DM01 Entryway"
- type: StationJobs
availableJobs:
Passenger: [ -1, -1 ]
13 changes: 13 additions & 0 deletions Resources/Prototypes/_Harmony/game_presets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,16 @@
- MeteorSwarmScheduler
- SpaceTrafficControlEventScheduler
- BasicRoundstartVariation

- type: gamePreset
id: DeathmatchPROMOD
alias:
- deathmatchpromod
- dmpm
name: death-match-promod-title
description: death-match-promod-description
maxPlayers: 15
showInVote: true
supportedMaps: DeathMatchPROMODMapPool
rules:
- DeathMatchPROMOD

0 comments on commit cf3f2f6

Please sign in to comment.