noxworld-dev / opennox

OpenNox main repository.
GNU General Public License v3.0
446 stars 24 forks source link

Expose harpoon rope effect for scripts #649

Open dennwc opened 7 months ago

dennwc commented 7 months ago

Currently there's no way to recreate harpoon visual effect using scripts.

From the code, it looks like HarpoonRope uses a different mechanism than usual one-frame effects. Instead of a single net message for an effect it has net messages for start and end of an effect (attach/detach).

Having said that, the code for harpoon rope attachment mentions other similar ray effects as well. So it might be possible to expose a new API for all these ray effects: StartEffect and EndEffect.