Commit Graph

33 Commits

Author SHA1 Message Date
SmallJoker e458734cc5 Import two my MTG commits for better driving experience
Takes the changes from MTG commit 38307da and 71ea0c6
2022-06-03 20:41:33 +02:00
SmallJoker cc293e95fe Fix model animations after detach, remove README.txt 2019-11-26 19:41:18 +01:00
SmallJoker ae33bd7a68 Bump to 5.0.0 and fix the copper rail
moreores only adds the copper rail when the 'carts' mod was found
2019-10-18 10:09:29 +02:00
SmallJoker 34155473a9 Fix controls not working when going uphill 2018-07-04 22:04:55 +02:00
SmallJoker 7e275e1985 Disallow rail switching up/downhill 2018-07-04 21:23:06 +02:00
SmallJoker c6b9e4b672 Various improvements and bugfixes
Clear driver on leave using the detach callback (0.5.x and later)
Fix upright_sprite attachment position
Fallback to the regular node sound when metal does not exist
Set animation to "stand" on attach
2018-05-12 11:36:00 +02:00
SmallJoker 3781f6d4c0 Make moreores' copper rail connect again, add metal sounds 2018-05-04 14:38:52 +02:00
SmallJoker ca55c6f3c0 Change Y rotation from 45° to 30°. Only send velocity when required.
Smoother position correction when the X,Y,Z directions weren't changed
2017-11-18 12:38:25 +01:00
SmallJoker 4498605509 Hacky bugfix: Force updating player attachment rotation after detach 2017-11-06 17:38:20 +01:00
SmallJoker 6ac106c1a7 Pitch-Rotate player model and unblock downwards-going view 2017-10-27 12:40:27 +02:00
SmallJoker be0c56edef Pathfinder: Fix bounce back effect at rail end 2017-10-14 11:28:05 +02:00
SmallJoker 5502952bbd Fix rail counting in on_rail_step, localize API functions for faster access 2017-10-13 15:27:06 +02:00
SmallJoker e3688b5380 Pathfinder: Auto-correct position on failure (smoother)
Dynamic pathfinder distance, depending on speed and dtime
Replace various deprecated function names
2017-10-09 11:09:17 +02:00
SmallJoker 11a1ebad74 Correct the player attachment position for the new player model
Requires the player_api mod to 'detect' the new model
2017-08-13 10:15:03 +02:00
SmallJoker 3c646ee4df Pathfinder: Also use the last computed position prediction 2017-07-29 09:51:09 +02:00
SmallJoker af25c5411b Use minetest.raillike_group, do not connect rails with other raillike 2017-07-01 10:48:14 +02:00
SmallJoker cba969903a register_rail: Fix the table overwrite behaviour 2017-02-12 11:35:54 +01:00
SmallJoker 99d0480169 Rails: Make names consistent and redo all rail textures
Add rail templates
2016-11-27 13:00:39 +01:00
SmallJoker de5fb1825a Fix jerky movement on punch 2016-11-26 21:13:33 +01:00
SmallJoker b741282843 Do not take cart from inventory in creative mode
Correct comments and move some variables
2016-10-12 17:22:49 +02:00
SmallJoker eb6a833b66 Break too long lines and simplify the code
- Add boost_cart:get_rail_groups to get the default rail groups
- Remove duplicated code
- Do not boost the cart backwards when the brake rail gets activated
- Attempt to fix the cart swing problem
- Trim tailings and tidy up code
- TODO: Document all the stuff
2016-07-22 11:07:00 +02:00
Christopher Head 9d059b8e31
Rename a parameter to match its purpose. 2016-07-20 00:14:54 -07:00
SmallJoker cbe0ab9770 Check for regular behavior too
- HAAAAAAAANDS
2016-07-04 20:56:49 +02:00
SmallJoker d63f8ae024 Add pathfinding function (pilot version!)
- Add more comments
2016-07-04 20:34:52 +02:00
SmallJoker 307b5d1f92 Adjust 3rd person eye height 2015-12-20 23:15:40 +01:00
SmallJoker a7fd733819 Add boost_cart:register_rail(name, def) 2015-06-05 20:00:53 +02:00
SmallJoker 159d4ec603 Punch cart if mesecon signal is received 2015-03-22 10:52:48 +01:00
SmallJoker df04aa2a4d Fix different railtype problem 2015-03-15 14:57:53 +01:00
SmallJoker 670f961d35 Allow different railtypes 2015-03-15 13:09:02 +01:00
SmallJoker 2929d2ceb7 Confinue driving 2014-11-08 20:05:03 +01:00
SmallJoker 21e309c414 Shorter codes, allow left/right-down 2014-08-09 18:42:54 +02:00
SmallJoker 59b1512cc3 Allow switching with keys 2014-08-09 17:37:02 +02:00
SmallJoker ced150bc5b Upload 2014-07-22 23:15:43 +02:00