[Mod] Motorbikes [motorbike]

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [Mod] Motorbikes [motorbike]

by Nathan.S » Post

It looks like once you craft a motorbike you can place unlimited numbers of them. Aside from that little bug it's super fun.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
Extex
Member
Posts: 244
Joined: Wed Mar 14, 2018 23:14
GitHub: Extex101
In-game: Extex

Re: [Mod] Motorbikes [motorbike]

by Extex » Post

Wow I feel stupid now XD
Fixed it

P.S. Just cut that out of your video XD (Or redo it XD)

Edit: Saw your video. You pointed out several things and made suggestions I didn't even think of XD gonna try to add them
Last edited by Extex on Sat Mar 11, 2023 23:53, edited 1 time in total.
Creator of jelys_pizzaria and motorbike, and player of persistent kingdoms. RIP

User avatar
Andrey01
Member
Posts: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Motorbikes [motorbike]

by Andrey01 » Post

Looks like nice. One note is the wheels should be rounded IMO. Also, it should be posted in WIP mods section.

User avatar
Melkor
Member
Posts: 369
Joined: Sat Sep 24, 2011 01:03
Location: Underground

Re: [Mod] Motorbikes [motorbike]

by Melkor » Post

Andrey01 wrote:One note is the wheels should be rounded IMO.
Why? :)

User avatar
Andrey01
Member
Posts: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Motorbikes [motorbike]

by Andrey01 » Post

Melkor wrote:
Andrey01 wrote:One note is the wheels should be rounded IMO.
Why? :)
Well I meant a prismatic shape, not fully rounded as in real. I think such intermediate variant would be more realistic and at the same time would keep harmonizing with the minetest world.

User avatar
sorcerykid
Member
Posts: 1841
Joined: Fri Aug 26, 2016 15:36
GitHub: sorcerykid
In-game: Nemo
Location: Illinois, USA

Re: [Mod] Motorbikes [motorbike]

by sorcerykid » Post

Unless the screenshots are outdated, it looks to me like the wheels are already rounded :P

User avatar
Irremann
Member
Posts: 49
Joined: Fri Jan 10, 2020 06:03
GitHub: Irremann
Location: Russia, Pereslavl-Zalesskiy

Re: [Mod] Motorbikes [motorbike]

by Irremann » Post

Nice mod. Why not in Mods/WIP subforum?

I got an error:
ServerError: AsyncErr: environment_Step: Runtime error from mod 'motorbike' in callback environment_Step(): /motorbike/init.lua:140: attempt to call global 'create_lines' (a nil value)

User avatar
pampogokiraly
Member
Posts: 293
Joined: Wed Jan 08, 2020 22:21
In-game: i_love_mesecon

Re: [Mod] Motorbikes [motorbike]

by pampogokiraly » Post

Irremann wrote:Nice mod. Why not in Mods/WIP subforum?
Because the forum moderators still didn't moved it.
All praise the Bacon God! The one and only god in MineTest

User avatar
Extex
Member
Posts: 244
Joined: Wed Mar 14, 2018 23:14
GitHub: Extex101
In-game: Extex

Re: [Mod] Motorbikes [motorbike]

by Extex » Post

Irremann wrote:Nice mod. Why not in Mods/WIP subforum?

I got an error:
ServerError: AsyncErr: environment_Step: Runtime error from mod 'motorbike' in callback environment_Step(): /motorbike/init.lua:140: attempt to call global 'create_lines' (a nil value)
Hmm yeah I suspected that...
I'll fix
Creator of jelys_pizzaria and motorbike, and player of persistent kingdoms. RIP

User avatar
Extex
Member
Posts: 244
Joined: Wed Mar 14, 2018 23:14
GitHub: Extex101
In-game: Extex

Re: [Mod] Motorbikes [motorbike]

by Extex » Post

Update
  • Bike rotates to direction of place
  • Motorbike moves slower on crumbly nodes
  • Punch the bike with hand to kick current player off the bike
  • Make Wheelies possible
  • Fixed stuff
Sounds coming soon
And maybe a fix to wheels not turning.. XD
Creator of jelys_pizzaria and motorbike, and player of persistent kingdoms. RIP

User avatar
pampogokiraly
Member
Posts: 293
Joined: Wed Jan 08, 2020 22:21
In-game: i_love_mesecon

Re: [Mod] Motorbikes [motorbike]

by pampogokiraly » Post

Very nice, very nice :D

PS: You should change your signature now :)
All praise the Bacon God! The one and only god in MineTest

u18398

Re: [Mod] Motorbikes [motorbike]

by u18398 » Post

APercy made a nice biofuel mod,
maybe that would be something for your motorbike :)

viewtopic.php?f=10&t=22667&start=100#p371734

User avatar
Extex
Member
Posts: 244
Joined: Wed Mar 14, 2018 23:14
GitHub: Extex101
In-game: Extex

Re: [Mod] Motorbikes [motorbike]

by Extex » Post

Sounds added!
Driving sounds thanks to Elkien3!
Creator of jelys_pizzaria and motorbike, and player of persistent kingdoms. RIP

Robsoie
Member
Posts: 104
Joined: Fri Apr 29, 2016 16:22

Re: [Mod] Motorbikes [motorbike]

by Robsoie » Post

Hello,
Just tested this mod :
- created a world (in the default Minetest Game)
- added the motorbike mod (only this mod) to it
- started in creative mod, added the 1st motorbike (the black one) to my inventory
- tried to place that motorbike on the ground
-> Minetest crash

error log if it can help :

Code: Select all

2021-03-29 19:10:58: ACTION[Server]: singleplayer takes motorbike:black from creative inventory
2021-03-29 19:11:00: WARNING[Server]: Undeclared global variable "i" accessed at C:\minetest-5.4.0-win64\bin\..\mods\motorbike/functions.lua:6
2021-03-29 19:11:00: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'motorbike' in callback item_OnPlace(): C:\minetest-5.4.0-win64\bin\..\mods\motorbike/functions.lua:6: attempt to perform arithmetic on global 'i' (a nil value)
2021-03-29 19:11:00: ERROR[Main]: stack traceback:
2021-03-29 19:11:00: ERROR[Main]: 	C:\minetest-5.4.0-win64\bin\..\mods\motorbike/functions.lua:6: in function 'random_digits'
2021-03-29 19:11:00: ERROR[Main]: 	C:\minetest-5.4.0-win64\bin\..\mods\motorbike/functions.lua:26: in function 'get_plate'
2021-03-29 19:11:00: ERROR[Main]: 	C:\minetest-5.4.0-win64\bin\..\mods\motorbike\init.lua:121: in function <C:\minetest-5.4.0-win64\bin\..\mods\motorbike\init.lua:118>
2021-03-29 19:11:00: ACTION[Server]: singleplayer leaves game. List of players: 
2021-03-29 19:11:01: ACTION[Main]: Server: Shutting down

EDIT : i don't know if it is the proper way, but i fixed this for me by adding

Code: Select all

local i = 0
to the 1st line of the functions.lua , there is no more error in the log after that, only a lot of "deprecated call" things.

User avatar
Extex
Member
Posts: 244
Joined: Wed Mar 14, 2018 23:14
GitHub: Extex101
In-game: Extex

Re: [Mod] Motorbikes [motorbike]

by Extex » Post

Oh wow that wasn't supposed to be there... Or anywhere lol. I removed it, thanks for notifying me
Creator of jelys_pizzaria and motorbike, and player of persistent kingdoms. RIP

pescedot012
New member
Posts: 6
Joined: Wed Sep 22, 2021 13:35
In-game: Pescedot

Re: [Mod] Motorbikes [motorbike]

by pescedot012 » Post

the mod is too good I like to build routes to do with the motorbikes and also ramps that make me fly in the air and while I fly I wheelie the motorbike. Plus, the odometer is super nice.

Post Reply

Who is online

Users browsing this forum: Google [Bot], Semrush [Bot] and 10 guests