Page 3 of 6

Re: [mod] Vehicles [vehicles]

PostPosted: Tue Nov 08, 2016 00:31
by AnxiousInfusion
Better, maybe placebo. I do realize that it does allow one to drive slowly by tapping 'W'.

Going over the code, I found that nodes registered through vehicles.register_simplenode function have no sound because "sounds = " is missing in front of "default.node_sound_dirt_defaults()".

Also, I tried my hand at a disembarking effect in the form of a lock chirp: https://youtu.be/zB0gNADNkSY

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
      if self.driver and clicker == self.driver then
      object_detach(self, clicker, {x=1, y=0, z=1})
      minetest.sound_play("lock_vehicle",
      {gain = 4, max_hear_distance = 3, loop = false})


Using converted "car lock.mp3" by hawabaz, freesound.org

Re: [mod] Vehicles [vehicles]

PostPosted: Tue Nov 08, 2016 04:41
by D00Med
Nice! I'll add that when I figure out how to lock them :D
I fixed the sound problem.
I tried your suggestion for turning the vehicles, but I noticed that if you look backwards and then start driving, the vehicle suddenly faces the same way. What I think I'll do is make the vehicles follow the players looking direction rather than copy it.

Re: [mod] Vehicles [vehicles]

PostPosted: Thu Nov 10, 2016 23:12
by Diamond knight
the current explosion is not what i meant, but is is kind of cool

i meant if you hit a block too hard (right now you can drive a car into a steel wall at max speed and the car is ok)

Re: [mod] Vehicles [vehicles]

PostPosted: Fri Nov 11, 2016 01:44
by D00Med
Yeah that would be messy.
I'd have to make a new collision detection system, but the more code there is for each vehicle, the more lag there will be.

Re: [mod] Vehicles [vehicles]

PostPosted: Fri Nov 11, 2016 16:29
by GreenDimond
That. Is. AMAZING!!!

Re: [mod] Vehicles [vehicles]

PostPosted: Fri Nov 11, 2016 16:59
by GreenDimond
So I know you said that the parachute and the wings were unstable, but i still have bugs to report.
Parachute: works fine, until i hit the ground. If i look forward, i can just keep on going....and if I get rid of it, i disappear.
The wings: The model is under the player.....and if i keep placing them while flying, this happens...
Image
Also, if i get off the original, the others keep going and act as if im still on them (when i turn they turn).
Image
Other than that, great mod! +10

Re: [mod] Vehicles [vehicles]

PostPosted: Fri Nov 11, 2016 20:36
by D00Med
The parachutes are meant to be removed on impact, but I know what you mean, sometimes it doesn't work.
Those wings, are very very very frustrating...

Re: [mod] Vehicles [vehicles]

PostPosted: Fri Nov 25, 2016 15:45
by Lejo
Can i install the mod but don't use mobs?
Is there a way to disable mob spawning?

Lejo

Re: [mod] Vehicles [vehicles]

PostPosted: Fri Nov 25, 2016 16:26
by DS-minetest
what mobs?!

Re: [mod] Vehicles [vehicles]

PostPosted: Fri Nov 25, 2016 20:34
by D00Med
Yes it works without mobs. I might be removing the mobs dependancy next time I update, since I'm improving the animation. I'm also adding jumping and hovering

edit: Should flying vehicles accelerate the same way that vehicles do?

Re: [mod] Vehicles [vehicles]

PostPosted: Sat Nov 26, 2016 00:50
by AnxiousInfusion

Re: [mod] Vehicles [vehicles]

PostPosted: Sat Nov 26, 2016 08:05
by D00Med
O.o this mod needs motorbikes. But thankyou, now I know what to do with the jet

Re: [mod] Vehicles [vehicles]

PostPosted: Sat Nov 26, 2016 08:44
by Lejo
DS-minetest wrote:what mobs?!

Mobs Redo

Re: [mod] Vehicles [vehicles]

PostPosted: Sat Nov 26, 2016 10:12
by DS-minetest
DS-minetest wrote:what mobs?!

i just didnt see the mob dependence

Re: [mod] Vehicles [vehicles]

PostPosted: Sun Nov 27, 2016 16:47
by Andrey01
Hello, DOOMed, have you made new version of mod?You promised what you will add ambulance, fire car, police and other vehicles from my list above

Re: [mod] Vehicles [vehicles]

PostPosted: Sun Nov 27, 2016 17:24
by TheReaperKing
Thanks for all of your hard work on this, my students are loving it!

Re: [mod] Vehicles [vehicles]

PostPosted: Sun Nov 27, 2016 19:38
by D00Med
Andrey01 wrote:Hello, DOOMed, have you made new version of mod?You promised what you will add ambulance, fire car, police and other vehicles from my list above

Yep, it's getting there. I will try to keep all my promises.

Re: [mod] Vehicles [vehicles]

PostPosted: Mon Nov 28, 2016 00:44
by AnxiousInfusion
Andrey01 wrote:Hello, DOOMed, have you made new version of mod?You promised what you will add ambulance, fire car, police and other vehicles from my list above


Same, I have been F5'ing the Git page since early November. I cannot wait to deploy a more finished version to my server.

Re: [mod] Vehicles [vehicles]

PostPosted: Mon Nov 28, 2016 22:53
by D00Med
Update:
>added assault suit, geep, police car, and ambulance
>rockets and bullets are faster
>rockets have a smoke trail
>bullets are now a 3d model
>cars are slower in reverse
>Animation fixed for differrent vehicles
>added jumping/hovering
>merged object_fly and object_fly_2
>bullet spawn height can be set
>fixed eye offset

I will be adding more vehicles, but making the models and textures is very time consuming(eg: nearly 9 hours for the assault suit).

Re: [mod] Vehicles [vehicles]

PostPosted: Tue Nov 29, 2016 00:43
by Christian9
I Cant place any of them

Re: [mod] Vehicles [vehicles]

PostPosted: Tue Nov 29, 2016 01:09
by D00Med
That is odd, what happens?

Re: [mod] Vehicles [vehicles]

PostPosted: Tue Nov 29, 2016 14:11
by DS-minetest
@Christian9: do you use the newest minetest-dev?

i really like the assault suit, its beautiful

Re: [mod] Vehicles [vehicles]

PostPosted: Tue Nov 29, 2016 15:32
by Andrey01
D00Med wrote:Update:
>added assault suit, geep, police car, and ambulance
>rockets and bullets are faster
>rockets have a smoke trail
>bullets are now a 3d model
>cars are slower in reverse
>Animation fixed for differrent vehicles
>added jumping/hovering
>merged object_fly and object_fly_2
>bullet spawn height can be set
>fixed eye offset

I will be adding more vehicles, but making the models and textures is very time consuming(eg: nearly 9 hours for the assault suit).

Nice update!I like it!

Re: [mod] Vehicles [vehicles]

PostPosted: Wed Nov 30, 2016 05:17
by AnxiousInfusion
I really like the headlights on/off concept on the Fewawi. Maybe that effect could be used for all cars as lights on when a vehicle is occupied and lights off when parked?

Re: [mod] Vehicles [vehicles]

PostPosted: Wed Nov 30, 2016 05:23
by D00Med
That's a nice idea. I did consider it, but having separate textures for lights on/off seemed a bit over the top to me.
Still, I'll add it to some of the vehicles.

Re: [mod] Vehicles [vehicles]

PostPosted: Wed Nov 30, 2016 07:04
by Lejo
If I use a Parachute I get this Error:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
2016-11-30 08:07:31: ACTION[Server]: singleplayer uses vehicles:backpack, pointing at [nothing]
2016-11-30 08:07:32: ERROR[Main]: ServerError: Lua: Runtime error from mod 'vehicles' in callback item_OnUse(): /home/user/.minetest/mods/vehicles/api.lua:60: attempt to index local 'eye_offset' (a nil value)
2016-11-30 08:07:32: ERROR[Main]: stack traceback:
2016-11-30 08:07:32: ERROR[Main]:    /home/user/.minetest/mods/vehicles/api.lua:60: in function 'object_attach'
2016-11-30 08:07:32: ERROR[Main]:    /home/user/.minetest/mods/vehicles/init.lua:1682: in function </home/user/.minetest/mods/vehicles/init.lua:1673>
2016-11-30 08:07:32: ACTION[Server]: singleplayer leaves game. List of players:

and
If I shot fast with a Assault Site on a vehicle the vehicle drops 2 times!


Maybe you can add Warships, which is as strong as the Assault Site.
Can you add unbreakable Blocks.
Very Nice Mod.

Lejo

Re: [mod] Vehicles [vehicles]

PostPosted: Wed Nov 30, 2016 19:52
by D00Med
It's fixed.
Yes that is a problem I can't seem to avoid with any kind of bullet/missile/etc.
That would be cool. Why unbreakable blocks? thankyou

Re: [mod] Vehicles [vehicles]

PostPosted: Wed Nov 30, 2016 20:01
by Lejo
I want to use this Mod on my Minigameserver Subgames for all!
And there I need unbreakable Blocks for a to make a area!
If I don't have unbreakable Blocks I have to set in minetest.conf:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
vehicles_nodes = false

And that is boring.

Re: [mod] Vehicles [vehicles]

PostPosted: Wed Nov 30, 2016 20:58
by D00Med
And you can't use a protector mod?

Re: [mod] Vehicles [vehicles]

PostPosted: Thu Dec 01, 2016 05:05
by benrob0329
I made a review of your mod: https://www.youtube.com/watch?v=pyHfFx1UdnE