Page 1 of 1
can someone help me make a mod car?

Posted:
Tue Jan 01, 2013 20:49
by MASK
I have seen some mods and the minetest eg boats, ufo, minecarts, etc. I apreindi some good things with this mod I just mentioned but I want to make a car more mod do not know where to start!
will be someone that you could help me if it's already a little help will be useful

Posted:
Tue Jan 01, 2013 20:55
by rarkenin
First of all, take a look at the source code fo the already-existing mods.

Posted:
Tue Jan 01, 2013 21:00
by MASK
well look at the source code I've ever looked at them I just did not understand, as I do the models, the movements es w, s, a, d

Posted:
Tue Jan 01, 2013 22:01
by rarkenin
Well, we're not going to make something and then say you made it, since someone else made it for you. You can post a mod request, but make sure it's in the right place.

Posted:
Wed Jan 02, 2013 02:09
by Josh
A good way to make a car mod would be to take some code from the Boat or Carts mod (For the movement)
and make the textures look more like a car.

Posted:
Wed Jan 02, 2013 05:11
by Dopium
I have made a car mod along with a streets mod but havent released it as there is already a streets mod. I used the ufo mod and changed parts of the code so it stays on the ground, however the cars only work on flat ground meaning i cant get them to go uphill as of yet. I can upload just the modified car script if your interested and maybe you can work out how to make the ride go uphill.

Posted:
Wed Jan 02, 2013 05:27
by jojoa1997
Dopium wrote:I have made a car mod along with a streets mod but havent released it as there is already a streets mod. I used the ufo mod and changed parts of the code so it stays on the ground, however the cars only work on flat ground meaning i cant get them to go uphill as of yet. I can upload just the modified car script if your interested and maybe you can work out how to make the ride go uphill.
maybe you could use the boat mod but instead of going on water it can go on all solid nodes

Posted:
Wed Jan 02, 2013 06:00
by Dopium
jojoa1997 wrote:Dopium wrote:I have made a car mod along with a streets mod but havent released it as there is already a streets mod. I used the ufo mod and changed parts of the code so it stays on the ground, however the cars only work on flat ground meaning i cant get them to go uphill as of yet. I can upload just the modified car script if your interested and maybe you can work out how to make the ride go uphill.
maybe you could use the boat mod but instead of going on water it can go on all solid nodes
Good idea, i will have a look but im fairly sure i will have the same problem as ufos. From what i have at the moment everything works fine, going downhill, flat ground turning all that is good the problem is uphill when you run into uphill nodes. I disabled the 'jump'(+y) feature and made it so the vehicle falls so it stays flat on the ground. This works great for downhill however with that option you cant climb nodes. I can make it climb and drop when space bar 'jump' is released but the problem is the vehicle will keep climbing untill the player releases space bar. As im not an advanced coder i have no idea how to make it climb +1 node but no < then 2 nodes. I have also tried using a stairs system hoping the vehicle would climb without the jump feature but it didnt work. Thanks for the input tho i will look into it

Posted:
Wed Jan 02, 2013 22:19
by MASK
well, I changed the code until I got the boat he was placed in stone more like he did not walk