Commit Graph

  • ea9cf4cb97 Update invspace.lua master Elkien3 2020-11-20 12:12:36 -06:00
  • 785a4eb0be Create gunslinger_charge.ogg Elkien3 2020-11-20 11:59:15 -06:00
  • f33fdc3477 Update init.lua Elkien3 2020-11-20 11:55:09 -06:00
  • e5976cebe0 update gunslinger Elkien3 2020-11-20 11:25:56 -06:00
  • 05aa97769b Create ballistics.lua Elkien3 2020-10-11 15:44:05 -05:00
  • 7719ed048f fix pipework dispensers crashing server when trying to drop loaded gun Elkien3 2020-07-06 11:08:57 -05:00
  • 56af86d8cd make eye offset change where bullet comes from Elkien3 2019-10-28 13:33:00 -05:00
  • 1e8284beb2 fix crash while trying to load with only empty mag in inv Elkien3 2019-08-06 22:39:21 -05:00
  • 74204e154f add support for my version of binoculars Elkien3 2019-07-28 11:11:18 -05:00
  • 0b5971f2d2 fix automatic weapons not firing right away Elkien3 2019-05-13 13:32:54 -05:00
  • a6336bc316 add invisible texture Elkien3 2019-05-03 08:33:09 -05:00
  • be585fc38d add smoke and muzzle flash Elkien3 2019-05-03 08:24:31 -05:00
  • 651c3a94a8 fix being able to shoot through doors Elkien3 2019-05-03 08:10:09 -05:00
  • 44930f75ea move where recoil is added Elkien3 2019-04-25 13:22:19 -05:00
  • 905bcc5b6e fix sound not attached to dropper Elkien3 2019-04-24 16:05:23 -05:00
  • cab493267c prevent it from duplicating Elkien3 2019-04-14 11:08:48 -05:00
  • 4067683794 make guns and magazines not repairable by technic MV workshop Elkien3 2019-04-13 08:08:05 -05:00
  • 8488f2c32b fix player shooting while dead Elkien3 2019-04-12 11:40:23 -05:00
  • 269bebaf0d fix wear duping Elkien3 2019-04-12 11:36:44 -05:00
  • 90ccff46fa fix guns duping Elkien3 2019-04-12 11:33:01 -05:00
  • 61f3412285 add sounds for reoading Elkien3 2019-04-10 15:59:20 -05:00
  • d5b5e46237 fix being able to shoot yourself in the foot Elkien3 2019-03-27 10:42:00 -05:00
  • b311f4e92f more helper stuff Elkien3 2019-03-27 08:28:37 -05:00
  • a1276a6dfb update the api helper Elkien3 2019-03-27 08:23:25 -05:00
  • ac52c69f2d initial fork commit Elkien3 2019-03-27 08:17:55 -05:00
  • 45fd1d9c0f Fix burst fire weapons being destroyed when out of ammo Elkien3 2019-03-15 08:35:33 -05:00
  • 754fb12442 fix crash when shooting player Elkien3 2019-03-14 16:05:46 -05:00
  • 2c8fbc70cc Revert "Big Update" Elkien3 2019-03-14 16:00:13 -05:00
  • 6ddb4a2fab Big Update Elkien3 2019-03-13 11:51:30 -05:00
  • 12daaffc35
    Convert gunslinger:cheetah to automatic mode again Anand S 2019-01-18 18:20:34 +05:30
  • 0507fe7296
    Move wear check to fire Anand S 2019-01-18 18:09:25 +05:30
  • 3338764585
    Set meta back to itemstack after modification Anand S 2019-01-18 16:56:49 +05:30
  • b502dfa808
    Use dtime arg passed to on_step to track time elapsed from last shot Anand S 2019-01-18 16:55:27 +05:30
  • a4a1f56a9c
    Add projectile particle Anand S 2019-01-15 12:48:22 +05:30
  • bb074d0651
    fire: Return if def is non-existent Anand S 2019-01-15 12:48:05 +05:30
  • 7cfa7e4412
    guns.lua: Make cheetah fire in burst mode Anand S 2019-01-15 10:48:52 +05:30
  • 8ffa07307e
    Rename invalid field in definition of gunslinger:cheetah Anand S 2019-01-15 09:51:09 +05:30
  • d857b786ee
    API.md: Improve documentation of burst mode Anand S 2019-01-14 16:14:08 +05:30
  • a15ad27f9c
    Rename style_of_fire to mode; add new firing mode for bolt-action guns Anand S 2019-01-13 21:50:59 +05:30
  • 9faeb35e44
    Separate reload from on_lclick again Anand S 2019-01-13 21:47:49 +05:30
  • 1afd0ca267
    Define default gunshot sound during gun registration itself Anand S 2019-01-13 12:38:15 +05:30
  • 2b7de3cc9d
    fire(): Play gunslinger_fire2 sound for guns with splash style of fire Anand S 2019-01-13 12:13:40 +05:30
  • b23f5fa2de
    fire(): Return before declaring def, if stack is nil Anand S 2019-01-13 12:09:19 +05:30
  • 40fa0fd4ca
    Add missing parenthesis to os.time in on_lclick Anand S 2019-01-07 15:11:33 +05:30
  • 37d175f381
    Document gunslinger.disable_builtin setting Anand S 2019-01-06 11:52:08 +05:30
  • e60d5aa896
    register_gun: Fix inverse condition when checking for lite mode Anand S 2019-01-06 11:38:40 +05:30
  • 9992816356
    Add mod.conf Anand S 2019-01-05 07:57:26 +05:30
  • 087902f2ac
    Tweak and optimise add_auto and on_step Anand S 2019-01-05 07:47:29 +05:30
  • 34b2ba9f90
    Make on_lclick and on_step respect gun's fire_rate Anand S 2019-01-05 07:37:52 +05:30
  • 231f3498fd
    Fix incorrect condition evaluated to register on_step Anand S 2019-01-05 07:04:12 +05:30
  • b21c47a6e3
    Prepare for pre-release Anand S 2019-01-04 20:24:34 +05:30
  • 0f42c5153c
    Add zoom, simplify scopes Anand S 2019-01-04 19:44:26 +05:30
  • d8cee030a3
    Rename gunslinger.enable_automatic to gunslinger.lite Anand S 2019-01-04 18:36:51 +05:30
  • db1bc18fbf
    Return if def == nil in fire() Anand S 2019-01-04 15:53:35 +05:30
  • 47295009cd
    Fix incorrect interval passed to minetest.after in burst mode Anand S 2019-01-04 15:51:06 +05:30
  • 4c00ffd228
    Merge reload into on_lclick Anand S 2019-01-04 13:33:40 +05:30
  • ba6bfea7a6
    Register globalstep only if automatic guns have been enabled Anand S 2019-01-03 17:10:54 +05:30
  • 468f199f77
    Implement burst mode Anand S 2019-01-02 21:27:54 +05:30
  • 8f2159d860
    API.md: Fix minor typo Anand S 2018-12-30 22:31:22 +05:30
  • 2f1b35fd23
    Improve error message when registering auto guns Anand S 2018-12-29 17:15:28 +05:30
  • 8993a618d4
    README: Update TODO section Anand S 2018-12-29 12:44:17 +05:30
  • 2359b4442a
    README: Add TODO section Anand S 2018-12-28 17:27:56 +05:30
  • ae589e185e
    Improve wear mechanism Anand S 2018-12-28 17:26:48 +05:30
  • a766dd7058 Fix accidental swap of if-else blocks in "semi-automatic" Anand S 2018-11-27 21:18:12 +05:30
  • 8fcc38d609 Fix missing namespace in function call Anand S 2018-11-27 20:50:47 +05:30
  • d1ffced22d README.md: Add special section explaining automatic guns Anand S 2018-11-27 16:08:21 +05:30
  • 2a5bf40509 Add setting to optionally disable automatic guns Anand S 2018-11-27 16:07:21 +05:30
  • f626853804 Add helper function add_auto Anand S 2018-11-27 15:28:41 +05:30
  • b58e6d481c on_step: Add time checks to respect fire-rate of gun Anand S 2018-11-27 15:13:35 +05:30
  • 6d3bfd204e Actually set stack after modification in on_step Anand S 2018-11-27 15:10:19 +05:30
  • bf6ac0c5f7 Implement firing of semi-auto weapons Anand S 2018-11-27 14:53:22 +05:30
  • e3527bed2f Use hard-coded eye-height for now; rename field in gun def Anand S 2018-11-24 15:17:48 +05:30
  • fa8a153cb5 Relocate gunshot sound to top of fire() Anand S 2018-11-24 13:41:27 +05:30
  • 99857612bb Add guns.lua Anand S 2018-11-23 22:44:31 +05:30
  • c2e500315b Import type table into gun def; Make types optional Anand S 2018-11-23 22:36:21 +05:30
  • 408abbc260 Add per-gun firing range Anand S 2018-11-23 22:09:28 +05:30
  • e7bd07bdbe Use a totally different gunslinger_cheetah.png altogether Anand S 2018-11-23 21:54:36 +05:30
  • 8860fd92d0 Only pass the required params to show_scope instead of the full gun def Anand S 2018-11-23 15:27:59 +05:30
  • 18b1f42cb8 Don't re-add to automatic if entry exists Anand S 2018-11-23 15:07:26 +05:30
  • e1a479b8b0 Separate API reference documentation from README Anand S 2018-11-23 13:33:26 +05:30
  • 30e8cea45c Clean up and re-arrange API methods Anand S 2018-11-23 13:11:19 +05:30
  • 6de402af44 Add API support for gunshot sound Anand S 2018-11-20 15:10:33 +05:30
  • 2659d195a1 Add standalone API Anand S 2018-11-19 22:48:38 +05:30
  • 6db582f912
    Initial commit ClobberXD 2018-10-04 20:27:25 +05:30