indev
:3
indev submitted a new resource:
Karlson map - Oh, you don't know what Karlson is?
Read more about this resource...
Karlson map - Oh, you don't know what Karlson is?
Read more about this resource...
Small update that adds a tip (only appears once) when map with grapling lua loaded.
Also changed map id to MAPKK, since MAPAS is taken, according to spreadsheet in kartkrew discord.
There are no gameplay/map layout changes.
Somehow i forgot to add more player starts on the map so here they are
Yeah, i added tip in 1.1 (it is built in script, and appears only one time per player when map with graple points is loaded). The only problem is that it appears in chat, and if you play in offline mode, chat is hiddenThe only thing I would suggest is having some sort of indicator built in that shows that the Break Button is how you use it in game. Y'know, since not everyone who may play on a map that uses this will be aware this this addon exists, or know how to use it. It could be a quick heads up in the chat box that says something like, "When the Ring above you turns green, press Brake to grapple," or a break button icon can appear when the ring turns green. Just something to ensure that everyone's on the same page.
Added few actions to customize grapling behavior! They will be explained in "Adding graple points" spoiler
Hmm... AcrobaSics will work just fine, since it just triggers trick when you're going up, acrobaTics will probably be a bit hard to control, since it have the gauge, but in general that would be fine, i think(As someone who hasn't even tried this mod once) The only problem is compatibility with tricks and other mechanic that use break. It probably won't matter in my case but I hope it has been considered. Not that I know anything anyway.
Distance between player and graple indicator no longer changes for different mapobjectscale values. Thanks Patafoin for report
- Instead of using hardcoded GRAPLE_BIAS constant (used for biasing player forward so graple points ahead prefered), now script uses double graple distance, which should 1) Improve picking closest graple point and 2) Make this biasing work better for graple points with huge graple distance (hardcoded value of 600*FRACUNIT could not help at all).
- Karlson map is now using extra graple point type for close-placed graple points.
- Biasing player forward has been replaced by angle checking. If graple point is considered out of player sight (player's angle - angle to graple point > angle check value) it is ignored. It is enabled by default and default angle check value is 90 (from -90 to 90) so graple points behind player are ignored. Angle checking, and angle itself can be configured with A_SetGrapleAngleCheck, where var1 value enables/disables the check and var2 used to configure angle value (it is just...
There was some logical issue in angle checking that caused picking incorrect closest graple points. Should be fixed now
Now angle checking is done via dot product, which works much better
(now i'm thinking that i should've kept map and lua as separate addons)
After a playtest with multiple players there popped up a problem that players get confused by grapling mechanic and can't complete map or just suffer from it, so now map layout is updated in a way that grapling mechanic is optional but using it makes you go faster
Change mapthingnum's to avoid conflicts
- Now when player release graple point, their vertical momentum gets capped and cut off speed is added to horizontal momentum. This can be customized/disabled with A_SetGrapleZMomentumCutoff. Var1 enables/disables this behavior, and var2 controls maximum vertical momentum (default value is 40*FRACUNIT)
- Tip is now shows every time map with grapling is loaded (similar to acrobasics trick reminder), and also it can be disabled with showgrapletip cvar set to Off.
- Map: made graple...
Add boss waypoints on map so race positions should work more or less correctly now (didn't know boss waypoints were a thing until recently)
The script was refactored, with improved way of customization. Look into GrappleExample.pk3 for reference. Note that this is breaking update, so any maps that have previous "grapling" lua's will need to be changed in order to use this version. This is not required though, new version will not break pre 2.0 one if both scripts are loaded
Karlson map has been removed, updated version will probably be out in a different post soon