Commit graph

121 commits

Author SHA1 Message Date
LoneWolfHT
c698e3265b Fix infinite grapple hook uses 2020-07-09 17:40:56 -07:00
LoneWolfHT
d7f6dc7c06
Add ranged damage group to guns and crossbow
* Add ranged damage group to guns

* Add ranged and crossbow group to crossbow
2020-07-01 11:42:17 -07:00
ANAND
bc0fc7f43c
Properly track players' LMB keypresses
Fixes automatic fire continuing after player's death and respawn
2020-06-17 18:51:00 +05:30
ANAND
b8b1c6d368
[trivial] api.lua: Fix code-style 2020-05-31 22:22:21 +05:30
LoneWolfHT
ade1f47dea
Fix constant server crash 2020-05-31 09:40:20 -07:00
ANAND
897f74cb7b
Ignore the shooter player when processing rounds (#1)
This removing the initial raycast offset and allows damaging players at point-blank range
2020-05-31 20:06:52 +05:30
ANAND
2a1c951c8a
shooter: Fix invalid particlespawner definition 2020-05-30 17:54:27 +05:30
ANAND
3d7ad1a6bc
Crossbow: Pass player as puncher instead of arrow object 2020-05-13 17:38:45 +05:30
ANAND
ea8af36b47
Fix inventory corruption when using automatic weapons 2020-05-13 17:38:45 +05:30
ANAND
5238358ce5
Nerf shotgun
- Reduce magazine capacity
- Reduce fire-rate
2020-04-23 07:59:16 +05:30
rubenwardy
777cfe8b24 Use correct puncher 2020-03-14 23:17:34 +00:00
rubenwardy
5593df448f Fix shooter.get_weapon_spec 2020-03-14 20:59:55 +00:00
Lone_Wolf
cfb3818b09 Fix reload action not taking ammo 2019-05-27 18:05:35 +01:00
jeremyweston
8caadbab5e Update init.lua 2019-05-25 18:10:13 +01:00
stujones11
63ca8472ae Create LICENSE 2019-04-08 21:31:12 +01:00
ANAND
9dacd39bbd Use table.copy instead of using = syntax
Using table.copy ensures that a new copy of the table is created
2019-04-05 15:52:52 +01:00
ANAND
1b5dbda4cf Increase clip size of SMG 2019-04-05 14:04:33 +01:00
stujones11
8c85ca00c5 Increase initial raycast offset 2019-04-04 18:14:48 +01:00
stujones11
48cfe6b6ca Fix automatic weapons disappearing when empty 2019-04-04 18:05:53 +01:00
stujones11
4da4f8ecea Bump version to 0.6.1 2019-04-02 18:47:30 +01:00
stujones11
6b4ea389ce Fix api inconsistencies 2019-04-02 18:44:25 +01:00
stujones11
886e5803e0 Add entity damage coefficient 2019-04-02 16:29:50 +01:00
stujones11
efe82e3e52 Make bullet particle velocity a function of step/time 2019-04-02 15:56:38 +01:00
stujones11
2a68881248 Use per-player camera height 2019-04-02 15:38:23 +01:00
stujones11
2a5674e67d Fix guns disappearing when empty 2019-04-02 15:24:32 +01:00
stujones11
8e18c0b117 Add spread option and update shotgun definition 2019-04-02 15:19:33 +01:00
stujones11
88750a0353 Localise vector helper methods 2019-04-02 13:37:21 +01:00
stujones11
0678919fea Minor doc corrections 2019-03-26 22:32:03 +00:00
stujones11
4d8aa37f72 Make get_weapon_spec a little more robust 2019-03-26 18:42:42 +00:00
stujones11
35ddb6c038 Minor particles optimisation 2019-03-26 18:28:08 +00:00
stujones11
78007fa332 Fix crash caused by previous commit 2019-03-26 18:08:16 +00:00
rubenwardy
182f50daa8 Create shooter.get_weapon_spec(player, weapon_name) as a Lua hook 2019-03-24 18:20:34 +00:00
stujones11
e24279e205 Add mod icons 2019-03-24 16:08:06 +00:00
stujones11
10b4393e9d Add sceenshot to main README.md 2019-03-24 15:30:09 +00:00
stujones11
0d58b85a66 Minor fixes, add optional node drops 2019-03-24 15:22:34 +00:00
stujones11
20405958da More minor corrections 2019-03-24 15:06:10 +00:00
stujones11
70dac6ef64 Doc fixes 2019-03-24 14:40:31 +00:00
stujones11
ae2bb7fd6b Fix crash for nil entity references 2019-03-23 22:18:06 +00:00
stujones11
0eb5049218 Improve api, respect entity on_blast callbacks 2019-03-23 20:55:45 +00:00
stujones11
b5984a231f Update .luacheckrc 2019-03-23 20:55:45 +00:00
stujones11
7ee40abb2a Alias loaded weapons 2019-03-23 20:55:45 +00:00
stujones11
b8e9048b94 Replace deprecated moveto call 2019-03-23 20:55:44 +00:00
stujones11
adb8e476f9 Include shot origin in returned gunspec 2019-03-23 20:55:44 +00:00
stujones11
e76fa31ae3 Improve screenshot, correct aspect ratio 2019-03-23 20:55:44 +00:00
stujones11
2f5d046472 Allow on_hit to override builtin damage 2019-03-23 20:55:44 +00:00
stujones11
4a9bf8fc6e Add individual screenshots and some doc fixes 2019-03-23 20:55:44 +00:00
ANAND
b26d9812ff Reduce effective range of shotgun 2019-03-23 20:55:44 +00:00
stujones11
d1e1dcc1d6 Remove hard mod dependencies other than default 2019-03-23 20:55:44 +00:00
stujones11
16451b7c35 Add settingtypes.txt 2019-03-23 20:55:44 +00:00
stujones11
7ff1b99b8b Add modpack.conf and remove deprecated files 2019-03-23 20:55:44 +00:00