Ceisc's Maximum Range Projectiles

by Ceisc

Modifies the behaviour of thrown projectiles (grenade, cluster grenade, defender capsule, poison capsule, slowdown capsule, distractor, and destroyer) so that if you click outside the radius of the maximum range of the item it is thrown as far as possible in the direction of the cursor rather than not being launched at all. Should work for modded projectiles as well as long as they have a capsule_action type of "throw" and are of type "capsule" (not tested).

Tweaks
1 year, 7 months ago
1.1
209
Combat

g Can't connect in mp

1 year, 8 months ago

84.363 Error ClientMultiplayerManager.cpp:1072: mod-ceiscs-max-range-projectiles was not registered for the following events when the map was saved but has registered them as a result of loading: on_tick (ID 0)
84.363 Error ClientMultiplayerManager.cpp:1074: mod-ceiscs-max-range-projectiles was registered for the following events when the map was saved but has not re-registered them as a result of loading: cmrp-thrown-projectile-input (ID 200)
84.363 Error ClientMultiplayerManager.cpp:99: MultiplayerManager failed: "" + multiplayer.script-event-mismatch + "
" + "
mod-ceiscs-max-range-projectiles"

1 year, 8 months ago

I was trying to do what I thought was a clever optimisation but it looks like that causes some issues that I hadn't expected. With any luck the new version should work properly.

New response