Commit Graph

  • 58e5fc3305 Add minimum_damage_perc for explosion master marco_a 2025-01-02 21:33:08 +01:00
  • d3f70edd15 DOCS: add info about built-in entity custom fields in bullets marco_a 2024-12-25 14:45:07 +01:00
  • ae250a2f2a Add special value to reload_time to disable reloading entirely marco_a 2024-12-25 14:19:22 +01:00
  • 0ff5a8a050 Remove old unused function marco_a 2024-12-23 02:16:44 +01:00
  • 5d24aa91e6 Bullets cleanup marco_a 2024-12-23 02:16:07 +01:00
  • 5bb9d3e35b improved bullets explosion particle effect Giov4 2024-12-23 01:33:35 +01:00
  • 5b34c03e04 Ignore bullets when shooting marco_a 2024-12-22 20:05:22 +01:00
  • 5e2b6b94bb Always play bullet explosion for shooter marco_a 2024-12-22 18:15:00 +01:00
  • 66c239d594 Document proxy_obj parameter marco_a 2024-12-22 17:06:53 +01:00
  • df24d9eb4e Make bullets independent from framerate marco_a 2024-12-22 01:49:49 +01:00
  • 6fbd219699 Sounds for explosions marco_a 2024-12-22 00:54:50 +01:00
  • 382746d96d CRASHFIX: add a default value for reload_time marco_a 2024-12-21 23:51:27 +01:00
  • ec4bff1b58 Remove obsolete damage inside explosion marco_a 2024-12-21 23:31:06 +01:00
  • 8fb8002fc9 Debatable implementation of explosion damage according to distance marco_a 2024-12-21 23:30:25 +01:00
  • 6fb0537431 some initial fields for bullets marco_a 2024-12-21 17:07:22 +01:00
  • 73bd143953 tried to limit automatic_face_movement_max_rotation_per_sec of the bullets Giov4 2024-12-21 04:09:38 +01:00
  • 83a8da4e17 Weapons with bounciness 0 now behave correctly Giov4 2024-12-21 03:16:10 +01:00
  • 31d04db33d Correctly apply bouncing behavior to bullets Giov4 2024-12-20 16:20:29 +01:00
  • 9ef573f5be Merge branch 'better_bullets' into 'main' Zughy 2024-12-19 23:21:08 +00:00
  • 2b4189ada1 Better bullets Zughy 2024-12-19 23:21:08 +00:00
  • 7e22404503 Add weapons_lib.get_action_in_progress_weapon(..) marco_a 2024-12-11 00:27:21 +01:00
  • cbc07517e4 Add get_registered_weapons(..) marco_a 2024-12-08 13:03:26 +01:00
  • ecd8305494 Add limited_magazine weapon property marco_a 2024-10-08 02:02:11 +02:00
  • 43a893dd01 Bugfix: "FREEZE" and "DEADWEIGHT" physics overrides made players go faster after reloading marco_a 2024-10-07 23:20:49 +02:00
  • 5fff3b4c46 CRASHFIX: sanity check on "FREEZE" and "DEADWEIGHT" physics overrides, in case the player died in the meanwhile marco_a 2024-10-07 22:55:06 +02:00
  • 720f50a3d7 make ammo_per_use optional for actions of type "custom" marco_a 2024-10-05 23:30:34 +02:00
  • a0273ef2b5 Remove workaround pre-MT5.9 marco_a 2024-10-05 21:32:24 +02:00
  • 70cc2fc846 CRASHFIX: continuous fire weapons crashed the game if the shooter disconnected whilst shooting marco_a 2024-09-25 17:11:41 +02:00
  • 0dd17a1b66 Add special physics override "DEADWEIGHT" marco_a 2024-09-23 15:49:54 +02:00
  • fb955dca0e CRASHFIX: allow "custom" action type to support parameters like ammo_per_use, delay and loading_time marco_a 2024-09-23 11:35:09 +02:00
  • 1679d92f37 Bugfix: "FREEZE" physics option moved the player downwards when using the associated action marco_a 2024-09-23 00:37:56 +02:00
  • 84cfc23e27 Merge branch 'reload_canc2' into 'main' Zughy 2024-09-14 12:57:15 +00:00
  • 2ffa1548d2 CRASHFIX: rework reload cancelling when switching weapons Zughy 2024-09-14 12:57:15 +00:00
  • fc629de75e CRASHFIX: another bug introduced by weapon switching that was left in the code marco_a 2024-09-13 21:43:50 +02:00
  • f8b6ade5ed Temp revert: weapon switching when reloading causes a severe bug (which can also lead to a crash) marco_a 2024-08-29 22:48:38 +02:00
  • b1e4b55c0b Bugfix: proper speed checks when an action with physics_override ends its recovery marco_a 2024-08-26 22:54:44 +02:00
  • 9733e6f69e DOCS: add 'want to help' section marco_a 2024-08-26 12:56:24 +02:00
  • 0c94493bdc Go back to 0.2.0-dev marco_a 2024-08-25 16:59:02 +02:00
  • e619fd548f Retrobump for CDB marco_a 2024-08-25 16:56:37 +02:00
  • d9bddae469 Put media licences into LICENSE file marco_a 2024-08-25 16:54:10 +02:00
  • 9f3d285f69 Version bump (0.2.0-dev) marco_a 2024-08-25 14:57:00 +02:00
  • a9fc115edb mod.conf: add min MT version and improve description marco_a 2024-08-25 12:51:55 +02:00
  • 033bbbd854 Version bump (0.1.0) marco_a 2024-08-25 12:49:07 +02:00
  • 3ad4fb9ddf DOCS: specify crosshair is mandatory and melee weapons design marco_a 2024-08-25 12:43:43 +02:00
  • c7761494c3 DOCS: state current known limitations and WIP status of the mod marco_a 2024-08-25 01:53:08 +02:00
  • 027939e6ee DOCS: make 'em nice Zughy 2024-08-24 23:18:05 +00:00
  • b18d141cdf DOCS: clean up marco_a 2024-08-25 00:59:43 +02:00
  • bd64d38263 CRASHFIX from previous commits: wasn't considering the itemstack where the action generated from marco_a 2024-08-24 22:21:33 +02:00
  • aaeb41631d CRASHFIX due to weap_def/weapon renaming marco_a 2024-08-24 17:53:55 +02:00
  • c219221d19 DOCS: use correct nomenclature weap_def and weapon marco_a 2024-08-24 16:41:10 +02:00
  • 60af7e3a81 Merge branch 'canc_reload' into 'main' Zughy 2024-08-24 14:40:05 +00:00
  • 898438a60b Cancel reloading when switching to another weapon and start to reload again when re-grabbing the previous weapon Zughy 2024-08-24 14:40:05 +00:00
  • b716db61cf Add bullet@size override marco_a 2024-08-11 00:20:57 +02:00
  • 7d4ced831b Clean code marco_a 2024-08-10 19:46:50 +02:00
  • 53a195d4ef Merge branch 'param_override' into 'main' Zughy 2024-08-10 17:28:20 +00:00
  • c1d82795f8 Possibility to override single weapon parameters | Add bullets on_spawn callback | Bullets static_save = false Zughy 2024-08-10 17:28:20 +00:00
  • 33ec027128 Let audio_lib handle stopping sounds as well marco_a 2024-08-08 14:45:57 +02:00
  • 755e5cec43 Fix test weapons marco_a 2024-08-02 01:25:28 +02:00
  • 052de7c74a Rename files so to avoid overlapping with other mods marco_a 2024-07-29 16:20:18 +02:00
  • 16ba76158d ..and another fix marco_a 2024-07-29 15:54:48 +02:00
  • f7fc32fcc8 CRASHFIX: missing audio_lib check when launching a game marco_a 2024-07-29 15:49:52 +02:00
  • 0bee8f9118 Unify trail definition for both hitscan and bullet weapons (closes #10) marco_a 2024-06-20 23:35:42 +02:00
  • c96c5c95ac CRASHFIX: avoid ghost entities marco_a 2024-06-20 21:34:14 +02:00
  • 68207ca8f9 Don't use audio_lib deprecate function marco_a 2024-06-20 21:08:49 +02:00
  • e742b5b9f2 Document the fact that can_alter_speed must checked also for weapons not slowing down when it comes down to speeding up again the player marco_a 2024-06-16 15:21:10 +02:00
  • 0978c57df3 More speed checks, hopefully fixes #12 marco_a 2024-06-15 23:43:35 +02:00
  • 5cb1b43ecf Better wording marco_a 2024-06-08 02:25:26 +02:00
  • 5a25e0e302 Possibly fixes for physics_override handling marco_a 2024-06-08 02:12:53 +02:00
  • 811399a6d5 Be sure to always reset wl_slowed_down metadata when reset_state(..) is called | Better document wl_slowed_down metadata marco_a 2024-06-07 22:20:18 +02:00
  • 0a34fc82af Prevent weapons from picking up items marco_a 2024-05-28 14:29:29 +02:00
  • be3311a751 Bugfix: prevent yet another Sonic scenario marco_a 2024-05-23 23:37:39 +02:00
  • 2dec69167b Prevent weapons from being stackable marco_a 2024-05-02 22:03:05 +02:00
  • d14965e7b4 Add more info in debug marco_a 2024-05-02 02:46:53 +02:00
  • ab4566aad4 Increase assisted aim accuracy for raycast weapons marco_a 2024-04-24 23:45:09 +02:00
  • 2c40cd03ea Bugfix: another Sonic scenario when finishing shooting whilst zooming and then instantly changing slot (if weap delay < 0.5) marco_a 2024-04-22 11:51:57 +02:00
  • 87e0537657 Add settings to decide which players can see the debug messages and which can't marco_a 2024-04-22 00:13:27 +02:00
  • 0bb9c4c6be Bugfix: switching to another slot while shooting with a slow_down_user continuous fire weapon messed up the physics | Add debug option marco_a 2024-04-18 14:43:11 +02:00
  • 40b68c0aa9 Merge branch 'test_slowed_meta' into 'main' Zughy 2024-04-17 21:04:18 +00:00
  • 359c28a6f3 Fix bullets | Add wl_slowed_down metadata | CRASHFIX: check if player is still online before running the recovery phase | reset all metadata when joining Zughy 2024-04-17 21:04:18 +00:00
  • 199108b50a Move on_recovery_end callback into weapon parameters marco_a 2024-04-11 14:44:34 +02:00
  • 84b3f5a535 Remove TODO marco_a 2024-04-09 23:10:58 +02:00
  • 1447dbfef2 DOCS: expose apply_damage function marco_a 2024-04-09 22:20:06 +02:00
  • 9337f045e1 Notes for the future marco_a 2024-04-08 00:32:18 +02:00
  • 2323fa091f Add zoom on test weapon n°3 | fix bullets crash marco_a 2024-04-08 00:09:37 +02:00
  • c6cac58906 DOCS: improve readability of actions section marco_a 2024-04-04 01:08:46 +02:00
  • bd21cf76ae DOCS: clean up actions structure marco_a 2024-04-04 00:22:09 +02:00
  • ba31499337 DOCS: specify that "punch" actions can't support hit_point due to MT current limitations marco_a 2024-03-24 12:20:14 +01:00
  • 19646e6804 Possibility to override weapons' knockback via on_hit(..) marco_a 2024-03-24 11:57:44 +01:00
  • 23e2a18901 Cleaning marco_a 2024-03-24 01:03:03 +01:00
  • 223ae9361a Deactivate zoom and reset weapon state when dying marco_a 2024-03-24 01:00:39 +01:00
  • 65be4b6e79 Positional sounds are bad on Minetest, turn them into player-specific marco_a 2024-03-23 23:37:17 +01:00
  • c7e4eb5a10 Rename on_recovery -> on_recovery_end marco_a 2024-03-23 23:21:05 +01:00
  • 9b7b468744 Add weapons_lib.reset_state(..) util function | Cleaning, fixes marco_a 2024-03-23 17:57:57 +01:00
  • aea8acd227 Add weapons_lib.refill(..) and weapons_lib.get_weapon_by_name(..) functions | keep track of reloading afters | cleaning marco_a 2024-03-23 14:19:06 +01:00
  • 3242d59e10 Fix physics override marco_a 2024-03-23 01:26:05 +01:00
  • b5b6408e2e Notes marco_a 2024-03-23 00:31:03 +01:00
  • 2ee4810a5a Improve speed alteration checks | Expose weapons_lib.deactivate_zoom(..) | Initiate all the magazines when a player logs in (and remove checks from the globalstep) marco_a 2024-03-23 00:25:15 +01:00
  • 3bed28b5e0 Make action types mandatory | Pass pointed_thing also for actions of type "custom" marco_a 2024-03-22 02:00:36 +01:00
  • 06b15e4d99 mandatory weapon_type weapon parameter | rework weapon registrations so to allow custom parameters as well marco_a 2024-03-22 01:06:43 +01:00
  • 333045825f Add on_after_hit weapon callback marco_a 2024-03-21 16:13:57 +01:00