From adebcefbd23454b50eb4aacd6dcd3acf181e197f Mon Sep 17 00:00:00 2001 From: Cong Date: Thu, 26 Oct 2023 23:38:22 +1100 Subject: [PATCH] Enemy health and speed #71 --- .../techdemo/cyberdogs.cdogscpn/campaign.json | 2 +- .../cyberdogs.cdogscpn/characters.json | 64 +++---- .../techdemo/cyberdogs.cdogscpn/missions.json | 160 ++++++++++++++++++ 3 files changed, 193 insertions(+), 33 deletions(-) diff --git a/missions/custom/techdemo/cyberdogs.cdogscpn/campaign.json b/missions/custom/techdemo/cyberdogs.cdogscpn/campaign.json index a4c59d448..4912dfe0a 100644 --- a/missions/custom/techdemo/cyberdogs.cdogscpn/campaign.json +++ b/missions/custom/techdemo/cyberdogs.cdogscpn/campaign.json @@ -12,5 +12,5 @@ "MaxLives": 4, "PlayerHP": 20, "PlayerMaxHP": 50, - "Missions": 10 + "Missions": 11 } \ No newline at end of file diff --git a/missions/custom/techdemo/cyberdogs.cdogscpn/characters.json b/missions/custom/techdemo/cyberdogs.cdogscpn/characters.json index 2a0a5361e..f50118495 100644 --- a/missions/custom/techdemo/cyberdogs.cdogscpn/characters.json +++ b/missions/custom/techdemo/cyberdogs.cdogscpn/characters.json @@ -78,14 +78,14 @@ "Facehair": "ff1616ff", "Hat": "ff1616ff", "Glasses": "ff1616ff", - "speed": 256, + "speed": 192, "Gun": "DumbGun", - "maxHealth": 40, + "maxHealth": 15, "flags": 1024, - "probabilityToMove": 50, - "probabilityToTrack": 25, - "probabilityToShoot": 2, - "actionDelay": 15 + "probabilityToMove": 25, + "probabilityToTrack": 50, + "probabilityToShoot": 10, + "actionDelay": 5 }, { "Class": "Cyborg", @@ -99,14 +99,14 @@ "Facehair": "ff1616ff", "Hat": "ff1616ff", "Glasses": "ff1616ff", - "speed": 256, + "speed": 384, "Gun": "Lazer", - "maxHealth": 40, + "maxHealth": 12, "flags": 1024, "probabilityToMove": 50, - "probabilityToTrack": 25, - "probabilityToShoot": 2, - "actionDelay": 15 + "probabilityToTrack": 50, + "probabilityToShoot": 10, + "actionDelay": 5 }, { "Class": "Cyborg", @@ -120,14 +120,14 @@ "Facehair": "ff1616ff", "Hat": "ff1616ff", "Glasses": "020000ff", - "speed": 256, + "speed": 128, "Gun": "Gun", - "maxHealth": 40, + "maxHealth": 60, "flags": 1024, - "probabilityToMove": 50, - "probabilityToTrack": 25, - "probabilityToShoot": 2, - "actionDelay": 15 + "probabilityToMove": 25, + "probabilityToTrack": 50, + "probabilityToShoot": 10, + "actionDelay": 5 }, { "Class": "Cyborg", @@ -141,14 +141,14 @@ "Facehair": "ff1616ff", "Hat": "ff1616ff", "Glasses": "ff1616ff", - "speed": 256, + "speed": 512, "Gun": "Lazer", - "maxHealth": 40, + "maxHealth": 12, "flags": 1024, - "probabilityToMove": 50, - "probabilityToTrack": 25, - "probabilityToShoot": 2, - "actionDelay": 15 + "probabilityToMove": 25, + "probabilityToTrack": 50, + "probabilityToShoot": 10, + "actionDelay": 5 }, { "Class": "Cyborg", @@ -165,12 +165,12 @@ "Glasses": "fcfcfcff", "speed": 256, "Gun": "DumbGun", - "maxHealth": 40, + "maxHealth": 15, "flags": 1024, - "probabilityToMove": 50, - "probabilityToTrack": 25, - "probabilityToShoot": 2, - "actionDelay": 15 + "probabilityToMove": 25, + "probabilityToTrack": 50, + "probabilityToShoot": 10, + "actionDelay": 5 }, { "Class": "Cyborg", @@ -187,11 +187,11 @@ "Glasses": "ff1616ff", "speed": 256, "Gun": "TurboLazer", - "maxHealth": 40, + "maxHealth": 60, "flags": 1024, "probabilityToMove": 50, - "probabilityToTrack": 25, - "probabilityToShoot": 2, - "actionDelay": 15 + "probabilityToTrack": 50, + "probabilityToShoot": 10, + "actionDelay": 5 }] } \ No newline at end of file diff --git a/missions/custom/techdemo/cyberdogs.cdogscpn/missions.json b/missions/custom/techdemo/cyberdogs.cdogscpn/missions.json index 21e48f464..35e8fa606 100644 --- a/missions/custom/techdemo/cyberdogs.cdogscpn/missions.json +++ b/missions/custom/techdemo/cyberdogs.cdogscpn/missions.json @@ -1,5 +1,141 @@ { "Missions": [{ + "Title": "", + "Description": "", + "Type": "Classic", + "Width": 48, + "Height": 48, + "ExitStyle": "hazard", + "KeyStyle": "office", + "Objectives": [], + "Enemies": [3, + 4, + 5, + 6, + 7, + 8], + "SpecialChars": [], + "MapObjectDensities": [], + "EnemyDensity": 10, + "Weapons": ["Knife", + "Machine gun", + "Grenades", + "Flamer", + "Shotgun", + "Powergun", + "Shrapnel bombs", + "Molotovs", + "Sniper rifle", + "Prox. mine", + "Dynamite", + "Chemo bombs", + "Petrify gun", + "Browny gun", + "Confusion bombs", + "Chemo gun", + "Pulse rifle", + "Heatseeker", + "Fists", + "Swarmer", + "Launcher", + "Pistol", + "Akimbo Pistols", + "Chainsaw", + "2xChainsaw", + "3xChainsaw", + "4xChainsaw", + "5xChainsaw", + "Fists", + "MiniGun", + "Launcher", + "Flamer", + "Powergun", + "Lazer", + "TurboLazer", + "Blaster", + "MegaGun", + "DumbGun", + "Gun"], + "WeaponPersist": false, + "SkipDebrief": false, + "TileClasses": { + "Wall": { + "Name": "wall", + "Type": "Wall", + "Style": "steel", + "Mask": "848484ff", + "MaskAlt": "008400ff", + "CanWalk": false, + "IsOpaque": true, + "Shootable": true, + "IsRoom": false, + "DamageBullet": "" + }, + "Floor": { + "Name": "tile", + "Type": "Floor", + "Style": "recessed", + "Mask": "484848ff", + "MaskAlt": "008400ff", + "CanWalk": true, + "IsOpaque": false, + "Shootable": false, + "IsRoom": false, + "DamageBullet": "" + }, + "Room": { + "Name": "tile", + "Type": "Floor", + "Style": "recessed", + "Mask": "707070ff", + "MaskAlt": "008400ff", + "CanWalk": true, + "IsOpaque": false, + "Shootable": false, + "IsRoom": true, + "DamageBullet": "" + }, + "Door": { + "Name": "door", + "Type": "Door", + "Style": "office", + "Mask": "ffffffff", + "MaskAlt": "ffffffff", + "CanWalk": false, + "IsOpaque": true, + "Shootable": true, + "IsRoom": true, + "DamageBullet": "" + } + }, + "Walls": 0, + "WallLength": 0, + "CorridorWidth": 1, + "Rooms": { + "Count": 0, + "Min": 5, + "Max": 5, + "Edge": false, + "Overlap": false, + "Walls": 0, + "WallLength": 1, + "WallPad": 1 + }, + "Squares": 0, + "ExitEnabled": true, + "Doors": { + "Enabled": false, + "Min": 1, + "Max": 1, + "RandomPos": false + }, + "Pillars": { + "Count": 0, + "Min": 1, + "Max": 1 + } + }, + { "Title": "Mission 1", "Description": "", "Type": "Classic", @@ -718,6 +854,18 @@ "ExitStyle": "hazard", "KeyStyle": "office", "Objectives": [{ + "Description": "Retrieve objects", + "Type": "Collect", + "Pickups": ["folder", + "disk1", + "pci_card", + "paper", + "teddy"], + "Count": 12, + "Required": 0, + "Flags": 0 + }, + { "Description": "Kill enemies", "Type": "Kill", "Index": 0, @@ -1287,6 +1435,18 @@ "ExitStyle": "hazard", "KeyStyle": "office", "Objectives": [{ + "Description": "Retrieve objects", + "Type": "Collect", + "Pickups": ["folder", + "disk1", + "pci_card", + "paper", + "teddy"], + "Count": 24, + "Required": 0, + "Flags": 0 + }, + { "Description": "Kill enemies", "Type": "Kill", "Index": 0,