From 5e4ceff9017b4584cc9f4a41473e41aae7930a3a Mon Sep 17 00:00:00 2001 From: Cong Date: Thu, 12 Sep 2024 19:04:29 +1000 Subject: [PATCH] Cantaloupe splat #712 --- data/.wolf3d/N3Ddata.cdogscpn/bullets.json | 87 +++++++++++++++++- .../graphics/particles/cantaloupe_8x8.png | Bin 0 -> 385 bytes data/.wolf3d/N3Ddata.cdogscpn/guns.json | 22 ++++- 3 files changed, 104 insertions(+), 5 deletions(-) create mode 100644 data/.wolf3d/N3Ddata.cdogscpn/graphics/particles/cantaloupe_8x8.png diff --git a/data/.wolf3d/N3Ddata.cdogscpn/bullets.json b/data/.wolf3d/N3Ddata.cdogscpn/bullets.json index 01771c3cb..e4b8e479a 100644 --- a/data/.wolf3d/N3Ddata.cdogscpn/bullets.json +++ b/data/.wolf3d/N3Ddata.cdogscpn/bullets.json @@ -43,16 +43,42 @@ "Name": "cantaloupe", "Pic": { "Type": "Animated", - "Sprites": "grenade", - "Mask": "ffba43" + "Sprites": "particles/cantaloupe", + "TicksPerFrame": 2 }, "Size": [4, 4], "ShadowSize": [6, 4], - "Speed": 600, + "SpeedLow": 500, + "SpeedHigh": 700, "Range": 200, - "Power": 100, + "Power": 20, "Mass": 1.0, "Spark": "", + "Hit": { + "Flesh": {}, + "Wall": {} + }, + "HitGuns": [ + "cantaloupe_splat" + ], + "Falling": { + "GravityFactor": 1 + } + }, + { + "Name": "cantaloupe_splat", + "Pic": { + "Type": "AnimatedRandom", + "Sprites": "particles/spall3", + "TicksPerFrame": 6, + "Mask": "F08C60" + }, + "SpeedLow": 256, + "SpeedHigh": 512, + "SpeedScale": true, + "Range": 100, + "Power": 15, + "WallBounces": true, "Hit": { "Flesh": { "Sound": "splat0" @@ -61,10 +87,63 @@ "Sound": "splat0" } }, + "Falling": { + "GravityFactor": 4, + "DestroyOnDrop": true + } + }, + { + "Name": "watermelon", + "Pic": { + "Type": "Animated", + "Sprites": "grenade", + "Mask": "527A30" + }, + "Size": [8, 8], + "ShadowSize": [8, 6], + "Speed": 400, + "Range": 300, + "Power": 40, + "Mass": 4.0, + "Spark": "", + "Hit": { + "Flesh": {}, + "Wall": {} + }, + "HitGuns": [ + "watermelon_splat" + ], "Falling": { "GravityFactor": 1 } }, + { + "Name": "watermelon_splat", + "Pic": { + "Type": "AnimatedRandom", + "Sprites": "particles/spall2", + "TicksPerFrame": 6, + "Mask": "C63A4F" + }, + "SpeedLow": 256, + "SpeedHigh": 512, + "SpeedScale": true, + "Range": 100, + "Power": 20, + "WallBounces": true, + "Hit": { + "Flesh": { + "Sound": "splat1" + }, + "Wall": { + "Sound": "splat1" + } + }, + "Falling": { + "GravityFactor": 4, + "DestroyOnDrop": true + } + }, { "Name": "bullet_enemy", "Pic": { diff --git a/data/.wolf3d/N3Ddata.cdogscpn/graphics/particles/cantaloupe_8x8.png b/data/.wolf3d/N3Ddata.cdogscpn/graphics/particles/cantaloupe_8x8.png new file mode 100644 index 0000000000000000000000000000000000000000..f0ac3b0de334b2673c500cb749653dd8417c569f GIT binary patch literal 385 zcmV-{0e=38P)A$h&=0`i;y^k$8sY~a4kV5mM+d)xxUmu9H;{oaxVg9yCzB?`n6iUuAQV%p zi!}^PObmxZz4Lld!#g#7et+)XR`5IP*PAuQTwHenczFI2Ca?E=ZqH8&xzfyE-Zyx? z=L6*Y8b-4ifWVaigu{e(YoPhv#~T3El>%HyFU-k;ilrW(TkX0#{Ni zc>uY9ZAC>hFT?)#aw`j5$=+x7ypd)?$bJ~RJW8eJ+iqxb>^BK&W?7DhXW4ybOz{KYx@;I^#H3uJhGN9^02|^P4xiBh7Z@ f{Y9eJzN`NSY10f}55gLj00000NkvXXu0mjf;zF