Add fists weapon #691

This commit is contained in:
Cong
2021-01-07 23:26:12 +11:00
parent 2b7772d2f5
commit fb116a7d5b
25 changed files with 56 additions and 24 deletions

View File

@@ -1,5 +1,5 @@
{
"Version": 2,
"Version": 3,
"DefaultBullet": {
"Pic": {
"Type": "Directional",
@@ -7,8 +7,8 @@
},
"Spark": "spark",
"HitSounds": {
"Object": "hit_hard",
"Flesh": "hit_flesh",
"Object": "hits/hard",
"Flesh": "hits/flesh",
"Wall": "ricochet"
},
"HitsObjects": true,
@@ -23,8 +23,17 @@
"Name": "knife",
"Power": 2,
"HitSounds": {
"Object": "knife_hard",
"Flesh": "knife_flesh"
"Object": "hits/knife_hard",
"Flesh": "hits/knife_flesh"
}
},
{
"Name": "fist",
"Power": 10,
"Mass": 1.5,
"HitSounds": {
"Object": "hits/knife_hard",
"Flesh": "hits/fist_flesh"
}
},
{
@@ -62,9 +71,9 @@
"Special": "Flame",
"Spark": "",
"HitSounds": {
"Object": "hit_fire",
"Flesh": "hit_fire",
"Wall": "hit_fire"
"Object": "hits/fire",
"Flesh": "hits/fire",
"Wall": "hits/fire"
},
"WallBounces": true
},
@@ -255,8 +264,8 @@
"Spark": "",
"HitSounds": {
"Object": "",
"Flesh": "hit_gas",
"Wall": "hit_gas"
"Flesh": "hits/gas",
"Wall": "hits/gas"
},
"WallBounces": true
},
@@ -322,8 +331,8 @@
"Size": [10, 10],
"Special": "Petrify",
"HitSounds": {
"Object": "hit_petrify",
"Flesh": "hit_petrify",
"Object": "hits/petrify",
"Flesh": "hits/petrify",
"Wall": ""
}
},
@@ -419,8 +428,8 @@
"WallBounces": true,
"Spark": "",
"HitSounds": {
"Object": "hit_gas",
"Flesh": "hit_gas",
"Object": "hits/gas",
"Flesh": "hits/gas",
"Wall": ""
},
"Falling": {
@@ -447,8 +456,8 @@
"WallBounces": true,
"Spark": "",
"HitSounds": {
"Object": "hit_gas",
"Flesh": "hit_gas",
"Object": "hits/gas",
"Flesh": "hits/gas",
"Wall": ""
},
"Falling": {
@@ -475,8 +484,8 @@
"WallBounces": true,
"Spark": "",
"HitSounds": {
"Object": "hit_gas",
"Flesh": "hit_gas",
"Object": "hits/gas",
"Flesh": "hits/gas",
"Wall": ""
},
"Falling": {
@@ -505,8 +514,8 @@
"WallBounces": true,
"Spark": "",
"HitSounds": {
"Object": "hit_fire",
"Flesh": "hit_fire",
"Object": "hits/fire",
"Flesh": "hits/fire",
"Wall": ""
},
"Falling": {
@@ -535,7 +544,7 @@
"Spark": "",
"HitSounds": {
"Object": "",
"Flesh": "hit_gas",
"Flesh": "hits/gas",
"Wall": ""
}
},
@@ -559,7 +568,7 @@
"Spark": "",
"HitSounds": {
"Object": "",
"Flesh": "hit_gas",
"Flesh": "hits/gas",
"Wall": ""
}
},
@@ -608,8 +617,8 @@
"Persists": true,
"Spark": "",
"HitSounds": {
"Object": "hit_gas",
"Flesh": "hit_gas",
"Object": "hits/gas",
"Flesh": "hits/gas",
"Wall": ""
}
},

View File

@@ -35,6 +35,18 @@
"SoundLockLength": 10,
"CanShoot": false
},
{
"Pic": "",
"Icon": "fist",
"Name": "Fists",
"Description": "A melee weapon of last resort",
"Bullet": "fist",
"Cost": 0,
"Lock": 30,
"Sound": "",
"SwitchSound": "knuckles",
"CanShoot": false
},
{
"Index": 1,
"Name": "Machine gun",

BIN
graphics/fist.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

4
graphics/fist.txt Normal file
View File

@@ -0,0 +1,4 @@
CC0 Hand Wear Icons by AntumDeluge
https://opengameart.org/content/cc0-hand-wear-icons
http://creativecommons.org/publicdomain/zero/1.0/

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,4 @@
Adapted from Punch, slap, n' kick.wav
by CGEffex
http://freesound.org/people/CGEffex/sounds/98341/
http://creativecommons.org/licenses/by/3.0/

BIN
sounds/knuckles.ogg Normal file

Binary file not shown.

3
sounds/knuckles.txt Normal file
View File

@@ -0,0 +1,3 @@
Derived from knuckles cracking by borq1
https://freesound.org/people/borq1/sounds/475965/
http://creativecommons.org/publicdomain/zero/1.0/