Skip to content

Commit

Permalink
Enemy health and speed #71
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed Oct 26, 2023
1 parent 0daf4c5 commit adebcef
Show file tree
Hide file tree
Showing 3 changed files with 193 additions and 33 deletions.
2 changes: 1 addition & 1 deletion missions/custom/techdemo/cyberdogs.cdogscpn/campaign.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"MaxLives": 4,
"PlayerHP": 20,
"PlayerMaxHP": 50,
"Missions": 10
"Missions": 11
}
64 changes: 32 additions & 32 deletions missions/custom/techdemo/cyberdogs.cdogscpn/characters.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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
}]
}
160 changes: 160 additions & 0 deletions missions/custom/techdemo/cyberdogs.cdogscpn/missions.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit adebcef

Please sign in to comment.