meta-issue for porting existing projectiles to the new projectiles mod #5947

Open
opened 2024-01-10 23:53:49 +00:00 by flux · 1 comment
Member

with #102 at a stable point, i want to gather a list of which mods need to be modified, as well as all existing issues relating to projectiles. i'll be updating this top comment a lot, though other comments are of course appreciated.

mods which currently have some form of projectile

  • cannons

    i'm leaning towards creating a hard fork of this. your-land/administration#137

  • fireworks

  • mobs_animal

    thrown chicken egg

  • mobs_redo

    these arrows may be tricky to replace, as mobs_redo's built-in behavior ({attack_type="shoot" or "dogshoot"} assumes mobs_redo arrows

    • mobs_gazer
    • mobs_mime
    • mobs_monster
      • dungeon_master
      • mese_monster
      • obsidian_flan
      • spider
    • mobs_skeletons
    • mobs_umbra
    • nether_mobs
    • yl_events
      • dragon
      • miocene
    • yl_nether_mobs
  • nether

    the electrumese sword projectile. this mod is already YL's own fork, so we can work with that.

  • petz

    these might be tricky to override, as the behavior is highly integrated with petz internals.

    • jack-o-lantern grenade
    • spider shooting cobweb
    • square ball
  • snowball

    i'm leaning towards creating a hard fork of this

  • spears

    i'm leaning towards creating a hard fork of this

  • x_bows

    replaced with y_bows, see #5846

relevant open issues

bugs

if these are checked, i think the relevant projectile behavior has been implemented, but it may not be in place for all projectiles yet, and i haven't tested everything. some of the "checked" things depend on mob behavior which has not been implemented yet - all the check means is that the projectiles support this.

  • #59 arrows go through walls

  • #186 spears disappear into walls when lag

  • #1250 placing a loaded bow in an anvil/etc. dupes the arrow

    in y_bows, there is no loaded bow item.

  • #1678 "player tried to catch cannonball" is spammy

  • #1803 if an arrow is stuck in ghoststone, and the ghoststone vanishes, the arrow does not fall

  • #2994 spear damage is disabled entirely?!

  • #3184 spears may not respect PvP rules

  • #3486 petz grenade creates fire in protected areas (or not?)

  • #3567 you can hit yourself with your own cannonballs in some situations

  • #3686 can't interact with nodes while holding snowballs

  • #3701 petz die when exposed to explosions created by a player (i.e. electrumese sword)

  • #3743 mystery PvP messages when shooting arrows in an arena with multiple people

  • #3905 miocene/obsidian flans destroy protected or unbreakable nodes

  • #4213 warnings about texture alpha channels

    fixed by using a model for the entity and not a wielditem node

  • #4217 arrow dupe with pedestal

  • #4229 arrow dupe on death

  • #4522 weird interaction between electrumese projectile and balrog whip

  • #4626 mobs_redo mobs possibly killed by an explosion caused by a projectile when supposedly wearing a protection rune

  • #4855 wither projectiles (and some others) don't behave sanely when punched by a player

  • #5242 wither projectiles sometimes fly through walls and then explode

  • #5649 weird death messages when you hit yourself with your own projectile

  • #5717 x_bows no longer hit mobs_redo creatures due to missing collision boxes

new mods or features

  • #285 catapult

  • #296 throwable axes

  • #297 ore lumps in the slingshot

  • #364 throwable alcohol

  • #1266 rotten egg in the slingshot

  • #1529 throwable tnt sticks

  • #1561 throw a snowball at a lava flan to turn it to an obsidian flan

  • #2216 throwable bricks

  • #2071 fire arrows should place torches, not fire

    probably this should be closed as "wontfix"

  • #2379 cannonballs should do more damage

  • #2655 port fireworks

  • #2934 fire arrows should emit light when in flight

    minetest isn't designed for such a thing at all, but we could try

  • #3444 display DPS when hitting a training dummy

  • #3986 spears should fly farther

  • #4972 slingshot from the hook mod

  • #5356 potato as a projectile

  • #5608 if a mob takes damage from a projectile, and does not want to or cannot target the shooter, run away

with #102 at a stable point, i want to gather a list of which mods need to be modified, as well as all existing issues relating to projectiles. i'll be updating this top comment a lot, though other comments are of course appreciated. ## mods which currently have some form of projectile * [ ] cannons i'm leaning towards creating a hard fork of this. https://gitea.your-land.de/your-land/administration/issues/137 * [ ] fireworks * [ ] mobs_animal thrown chicken egg * [ ] mobs_redo these arrows may be tricky to replace, as mobs_redo's built-in behavior (`{attack_type="shoot" or "dogshoot"}` assumes mobs_redo arrows * [ ] mobs_gazer * [ ] mobs_mime * [ ] mobs_monster * dungeon_master * mese_monster * obsidian_flan * spider * [ ] mobs_skeletons * [ ] mobs_umbra * [ ] nether_mobs * [ ] yl_events * dragon * miocene * [ ] yl_nether_mobs * [ ] nether the electrumese sword projectile. this mod is already YL's own fork, so we can work with that. * [ ] petz these might be tricky to override, as the behavior is highly integrated with petz internals. * jack-o-lantern grenade * spider shooting cobweb * square ball * [ ] snowball i'm leaning towards creating a hard fork of this * [ ] spears i'm leaning towards creating a hard fork of this * [x] x_bows replaced with y_bows, see #5846 ## relevant open issues ### bugs if these are checked, i *think* the relevant projectile behavior has been implemented, but it may not be in place for all projectiles yet, and i haven't tested everything. some of the "checked" things depend on mob behavior which has *not* been implemented yet - all the check means is that the projectiles support this. * [x] #59 arrows go through walls * [x] #186 spears disappear into walls when lag * [x] #1250 placing a loaded bow in an anvil/etc. dupes the arrow in y_bows, there is no loaded bow item. * [ ] #1678 "player tried to catch cannonball" is spammy * [ ] #1803 if an arrow is stuck in ghoststone, and the ghoststone vanishes, the arrow does not fall * [ ] #2994 spear damage is disabled entirely?! * [x] #3184 spears may not respect PvP rules * [x] #3486 petz grenade creates fire in protected areas (or not?) * [ ] #3567 you can hit yourself with your own cannonballs in some situations * [ ] #3686 can't interact with nodes while holding snowballs * [x] #3701 petz die when exposed to explosions created by a player (i.e. electrumese sword) * [ ] #3743 mystery PvP messages when shooting arrows in an arena with multiple people * [x] #3905 miocene/obsidian flans destroy protected or unbreakable nodes * [x] #4213 warnings about texture alpha channels fixed by using a model for the entity and not a wielditem node * [x] #4217 arrow dupe with pedestal * [x] #4229 arrow dupe on death * [ ] #4522 weird interaction between electrumese projectile and balrog whip * [x] #4626 mobs_redo mobs possibly killed by an explosion caused by a projectile when supposedly wearing a protection rune * [x] #4855 wither projectiles (and some others) don't behave sanely when punched by a player * [x] #5242 wither projectiles sometimes fly through walls and then explode * [ ] #5649 weird death messages when you hit yourself with your own projectile * [x] #5717 x_bows no longer hit mobs_redo creatures due to missing collision boxes ### new mods or features * [ ] #285 catapult * [ ] #296 throwable axes * [ ] #297 ore lumps in the slingshot * [ ] #364 throwable alcohol * [ ] #1266 rotten egg in the slingshot * [ ] #1529 throwable tnt sticks * [ ] #1561 throw a snowball at a lava flan to turn it to an obsidian flan * [ ] #2216 throwable bricks * [ ] #2071 fire arrows should place torches, not fire probably this should be closed as "wontfix" * [ ] #2379 cannonballs should do more damage * [ ] #2655 port fireworks * [ ] #2934 fire arrows should emit light when in flight minetest isn't designed for such a thing at all, but we could try * [ ] #3444 display DPS when hitting a training dummy * [ ] #3986 spears should fly farther * [ ] #4972 slingshot from the hook mod * [ ] #5356 potato as a projectile * [ ] #5608 if a mob takes damage from a projectile, and does not want to or cannot target the shooter, run away
flux added the
4. step/at work
1. kind/other
labels 2024-01-10 23:53:49 +00:00
flux added this to the flux's TODO list project 2024-01-11 20:03:56 +00:00
flux self-assigned this 2024-01-11 20:04:00 +00:00
Author
Member

after compiling these lists, i decided that i wanted to work on cannons next. found something interesting on the CDB, and decided to try it out.

the model is neat, but the whole thing is an entity. but this allows you to aim it properly

image

however, you can apparently specify arbitrary explosion sizes of the projectiles. i'm lucky i was pointing it at a relatively empty part of my test server:

image

(the smaller crater on the left side is from my boomstick mod)

after compiling these lists, i decided that i wanted to work on cannons next. found [something interesting](https://content.minetest.net/packages/Mr.%20Rar/cannon73/) on the CDB, and decided to try it out. the model is neat, but the whole thing is an entity. but this allows you to aim it properly ![image](/attachments/4baba401-cfd5-4e85-abb8-8d25eb77fe53) however, you can apparently specify arbitrary explosion sizes of the projectiles. i'm lucky i was pointing it at a relatively empty part of my test server: ![image](/attachments/dd9d6afb-667a-4bd4-bde7-957370e9e16e) (the smaller crater on the left side is from my boomstick mod)
1.5 MiB
101 KiB
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#5947
No description provided.