Page 11 of 14

Re: [mod] Vehicles [vehicles]

Posted: Sun Oct 22, 2017 16:47
by Phoenixflo44
You've written the city vehicles are also there but there are no

Re: [mod] Vehicles [vehicles]

Posted: Sun Oct 22, 2017 20:57
by D00Med
There should be some; the cars, the firetruck, the ambulance etc.

Re: [mod] Vehicles [vehicles]

Posted: Sun Nov 12, 2017 14:21
by krokoschlange
I noticed two bugs in multiplayer:
If two people are driving in two different cars and one of them isn't pressing W, then his and the other one's vehicle's timer variable are getting reset which means that the other one can't accelerate.

Also, if you are connected to a server as a client you can't drive small curves.
This effect does not appear in singleplayer or if you host a server via the gui and you are the host (still happens to clients then)

Re: [mod] Vehicles [vehicles]

Posted: Mon Nov 13, 2017 20:25
by D00Med
Ok, thankyou for pointing this out.
I'm still trying to rewrite this thing, it's quite tricky.

Re: [mod] Vehicles [vehicles]

Posted: Tue Nov 14, 2017 21:01
by Andrey01
DOOMed, are you preparing new update with that you promised me before?

Re: [mod] Vehicles [vehicles]

Posted: Wed Nov 15, 2017 03:26
by D00Med
Yes I am, I'm sorry I'm taking such a long time. I have been chipping away at that list of vehicles.
Unfortunately it's becoming more and more important that I fix the messy api.

Re: [mod] Vehicles [vehicles]

Posted: Fri Nov 17, 2017 11:58
by PbbP
Hello D00Med,
I have a few questions about dmobs api.lua? I try to modify the api.lua that the Dragon Rider is displayed smaller. I have in the function object_attach ...
player: set_properties ({visual_size = {x = .5, y = .5}})
changed but the rider is 1.5 nodes above the dragon. I have tried
player: set_attach (entity.object, "", attach_at, {x = 0, y = -1.5, z = 2})
but without effect. How can I adjust the height of the rider over the Dragon?
Many Thanks

Re: [mod] Vehicles [vehicles]

Posted: Fri Nov 17, 2017 20:14
by D00Med
Did you try using a table for "attach_at" to modify the player's position?

Re: [mod] Vehicles [vehicles]

Posted: Sat Nov 18, 2017 07:53
by PbbP
Thanks, now I changed piloting.lua form
object_attach(self, clicker, {x=0, y=12, z=4}, {x=0, y=0, z=4}) to
object_attach(self, clicker, {x=0, y=8, z=4}, {x=0, y=0, z=4})
and it works fine.

In api.lua don't forget change player size after detach in

function object_detach(entity, player, offset)...
player:set_properties({visual_size = {x=1, y=1}})

Re: [mod] Vehicles [vehicles]

Posted: Wed Nov 22, 2017 02:19
by AccidentallyRhine
I wonder if it might be a good idea to separate the vehicles into sub-mods since there are some vehicles server owners may want to exclude. I know I can just go and comment out the register entities but this mod continues to grow.

Re: [mod] Vehicles [vehicles]

Posted: Wed Nov 22, 2017 20:26
by D00Med
I wonder if it might be a good idea to separate the vehicles into sub-mods since there are some vehicles server owners may want to exclude. I know I can just go and comment out the register entities but this mod continues to grow.
I hate it when mods that should be one are separated, so I probably won't do that.
However I will make it easier to remove certain parts when I next update.

Re: [mod] Vehicles [vehicles]

Posted: Fri Nov 24, 2017 12:10
by Phoenixflo44
D00Med wrote:Image

This mod adds some very fast vehicles, with an api for adding more. Instead of using the keyboard to turn, the vehicles are controlled using the mouse. There are cars, planes, a boat, a tank, a firetruck, and a gun turret.
The cars can increase their speed for a bit if the sneak button is held(nitro), and the tank, jet and gun turret will fire their weapons when sneak is pressed. Also the ute's can carry passengers, and the fewawi (deliberate misspelling) turns on it's lights when right-clicked whilst sneaking, and the fire truck will fire water when sneak is pressed. There are also a few nodes for decoration, and a missile launcher.

There is also a parachute and wings, but these don't work very well at the moment.

Todo:
>Hovercraft and more boats
>wings
>Submarine
>Truck/Lorry
>Bus
>Passengers in all cars
>Add the old driving function to replace the simple driving
>Spaceships
>Police siren
>Mining/digging capability for vehicles
>Camaro
>Those tiberium things xD
>Better jump
>split the mod into a modpack
>Possibly redo the api so that velocity and acceleration are only applied on one line (idk how to word this, no seperate set_velocity/acceleration for each event).


If anyone has any requests or models they'd like to see in the mod, it would be greatly appreciated
I'm kinda busy lately, got enough on my plate for now.

Image

Screenshot:
Spoiler
Image
Crafting:
Spoiler
Image
parachute:
grass, grass, grass
stick, X, stick,
X, wood, X

Ambulance:
X, X, X
car body, car body, white dye
wheel, engine, wheel

Geep:
X, X, X
X, engine, X
wheel, armor, wheel

Police car:
X, blue dye, red dye
X, car body, X
wheel, engine, wheel

Assault Suit:
tank gun, glass, armor
X, engine, X
armor, X, armor

Image

Image


Updates:
Spoiler
11/4/17:
>Improved steering and braking. Steering is better whilst the cars brakes are being used, and the difference between normal turning and turning whilst braking can be specified in a vehicles definiton.
>The boat has a boost effect similar to that of cars
>Pressing 'down' will now slow a vehicle to a stop before it moves backwards.
>fixed some bugs
24/3/17:
>added braking (used by cars)
>improved boost effect
>improved turning (it should be smoother)
8/3/17:
>added Tractor
>nodes destroyed by vehicles now drop items
>vehicles only play sound to their driver(apart from the ambulance)
6/2/17:
>changed tank model and added desert tank
>added fourd
>changed the way vehicles turn, they now turn a little more smoothly and aren't perfectly matched to the players looking direction
>added option for keyboard steering, but it is not used by the vehicles included in the mod.
4/2/17:
>added apache helicopter
>added crafting recipes for the helicopter and lightcycles
>added animation speed setting
>animation speed is relative to the speed of the vehicles
>attempted to improve the speed of the mod by moving some variables inside 'if' functions.
>visually, turning is a bit smoother (vehicle turning is divided into 4 yaw changes instead of 1)
3/2/17:
>added lightcycles
>added helicopter
>added death_node, place_node, and destroy_node options to the the api(see the readme file for more detail)
28/1/17:
by zaoqi:
>intilib support
>improvements to vehicle drop
26/1/17:
by zaoqi:
>Vehicles explode when they hit lava
>Functions are in the format vehicles.function_name, eg: vehicles.object_drive
>vehicles have gravity when they are not driven
>functions are now entirely in the api
by me:
>vehicles are now dropped if punched by the driver whilst they are being driven.

11/1/17:
>The built-in vehicles, items, and nodes can all be disabled(line 21)
>All vehicles except the parachute now use the same driving function. It's a lot easier to make new vehicles now.
>The assault suit can fire missiles with the 'use' key. It is now possible for vehicles to fire two weapons.
>vehicles get a boost(formerly nitro) with the 'use' key, and can still shoot with 'sneak'.

29/11/16:
>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_fly2
>bullet spawn height can be set
>fixed eye offset

4/11/16:
>added driving sound for cars
>added accelleration for cars
>vehicles require ammo for weapons
>planes can no longer fly backwards
>vehicles slow down in water
>fixed an error in the parachute
>vehicles explode when destroyed
>stairs dependancy is now optional
>vehicles can be removed and picked up if there is no driver
>fixed the jet flying away after exiting
>added crafting recipes and materials

changes thanks to Wuzzy:
>added setting vehicles_nodes = true/false
>added sound to basic nodes
>made tyres fall
>changed tunnel lights texture

26/10/16:
>fixed problem with animation in object_fly

25/10/16:
>added yellow lambogoni(thanks to Kosmos for the texture)

22/10/16:
>Missiles and bullets punch as if they are the player, so that mobs will chase after whoever shoots them
>missiles will point up or down depending on the direction they are moving.

5/10/16:
Vehicle owners can remove a vehicle by punching it, and the spawner will be dropped
License(code): LGPL 2.1+
License(textures and models): CC BY-SA 3.0 UNPORTED

depends:
default, tnt, stairs?, intilib?

download: https://github.com/D00Med/vehicles/archive/master.zip
Github: https://github.com/D00Med/vehicles

screenshot:
Image
You wrote it trucks, buses...
But I only see the old vehicles.

Re: [mod] Vehicles [vehicles]

Posted: Fri Nov 24, 2017 17:00
by Andrey01
Phoenixflo44 wrote:
D00Med wrote:Image

This mod adds some very fast vehicles, with an api for adding more. Instead of using the keyboard to turn, the vehicles are controlled using the mouse. There are cars, planes, a boat, a tank, a firetruck, and a gun turret.
The cars can increase their speed for a bit if the sneak button is held(nitro), and the tank, jet and gun turret will fire their weapons when sneak is pressed. Also the ute's can carry passengers, and the fewawi (deliberate misspelling) turns on it's lights when right-clicked whilst sneaking, and the fire truck will fire water when sneak is pressed. There are also a few nodes for decoration, and a missile launcher.

There is also a parachute and wings, but these don't work very well at the moment.

Todo:
>Hovercraft and more boats
>wings
>Submarine
>Truck/Lorry
>Bus
>Passengers in all cars
>Add the old driving function to replace the simple driving
>Spaceships
>Police siren
>Mining/digging capability for vehicles
>Camaro
>Those tiberium things xD
>Better jump
>split the mod into a modpack
>Possibly redo the api so that velocity and acceleration are only applied on one line (idk how to word this, no seperate set_velocity/acceleration for each event).


If anyone has any requests or models they'd like to see in the mod, it would be greatly appreciated
I'm kinda busy lately, got enough on my plate for now.

Image

Screenshot:
Spoiler
Image
Crafting:
Spoiler
Image
parachute:
grass, grass, grass
stick, X, stick,
X, wood, X

Ambulance:
X, X, X
car body, car body, white dye
wheel, engine, wheel

Geep:
X, X, X
X, engine, X
wheel, armor, wheel

Police car:
X, blue dye, red dye
X, car body, X
wheel, engine, wheel

Assault Suit:
tank gun, glass, armor
X, engine, X
armor, X, armor

Image

Image


Updates:
Spoiler
11/4/17:
>Improved steering and braking. Steering is better whilst the cars brakes are being used, and the difference between normal turning and turning whilst braking can be specified in a vehicles definiton.
>The boat has a boost effect similar to that of cars
>Pressing 'down' will now slow a vehicle to a stop before it moves backwards.
>fixed some bugs
24/3/17:
>added braking (used by cars)
>improved boost effect
>improved turning (it should be smoother)
8/3/17:
>added Tractor
>nodes destroyed by vehicles now drop items
>vehicles only play sound to their driver(apart from the ambulance)
6/2/17:
>changed tank model and added desert tank
>added fourd
>changed the way vehicles turn, they now turn a little more smoothly and aren't perfectly matched to the players looking direction
>added option for keyboard steering, but it is not used by the vehicles included in the mod.
4/2/17:
>added apache helicopter
>added crafting recipes for the helicopter and lightcycles
>added animation speed setting
>animation speed is relative to the speed of the vehicles
>attempted to improve the speed of the mod by moving some variables inside 'if' functions.
>visually, turning is a bit smoother (vehicle turning is divided into 4 yaw changes instead of 1)
3/2/17:
>added lightcycles
>added helicopter
>added death_node, place_node, and destroy_node options to the the api(see the readme file for more detail)
28/1/17:
by zaoqi:
>intilib support
>improvements to vehicle drop
26/1/17:
by zaoqi:
>Vehicles explode when they hit lava
>Functions are in the format vehicles.function_name, eg: vehicles.object_drive
>vehicles have gravity when they are not driven
>functions are now entirely in the api
by me:
>vehicles are now dropped if punched by the driver whilst they are being driven.

11/1/17:
>The built-in vehicles, items, and nodes can all be disabled(line 21)
>All vehicles except the parachute now use the same driving function. It's a lot easier to make new vehicles now.
>The assault suit can fire missiles with the 'use' key. It is now possible for vehicles to fire two weapons.
>vehicles get a boost(formerly nitro) with the 'use' key, and can still shoot with 'sneak'.

29/11/16:
>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_fly2
>bullet spawn height can be set
>fixed eye offset

4/11/16:
>added driving sound for cars
>added accelleration for cars
>vehicles require ammo for weapons
>planes can no longer fly backwards
>vehicles slow down in water
>fixed an error in the parachute
>vehicles explode when destroyed
>stairs dependancy is now optional
>vehicles can be removed and picked up if there is no driver
>fixed the jet flying away after exiting
>added crafting recipes and materials

changes thanks to Wuzzy:
>added setting vehicles_nodes = true/false
>added sound to basic nodes
>made tyres fall
>changed tunnel lights texture

26/10/16:
>fixed problem with animation in object_fly

25/10/16:
>added yellow lambogoni(thanks to Kosmos for the texture)

22/10/16:
>Missiles and bullets punch as if they are the player, so that mobs will chase after whoever shoots them
>missiles will point up or down depending on the direction they are moving.

5/10/16:
Vehicle owners can remove a vehicle by punching it, and the spawner will be dropped
License(code): LGPL 2.1+
License(textures and models): CC BY-SA 3.0 UNPORTED

depends:
default, tnt, stairs?, intilib?

download: https://github.com/D00Med/vehicles/archive/master.zip
Github: https://github.com/D00Med/vehicles

screenshot:
Image
You wrote it trucks, buses...
But I only see the old vehicles.
"Todo" list means what the mod`s author has planned for the future. Not what adds the mod currently.

Re: [mod] Vehicles [vehicles]

Posted: Sat Nov 25, 2017 17:41
by Phoenixflo44
Andrey01 wrote:
Phoenixflo44 wrote:
D00Med wrote:Image

This mod adds some very fast vehicles, with an api for adding more. Instead of using the keyboard to turn, the vehicles are controlled using the mouse. There are cars, planes, a boat, a tank, a firetruck, and a gun turret.
The cars can increase their speed for a bit if the sneak button is held(nitro), and the tank, jet and gun turret will fire their weapons when sneak is pressed. Also the ute's can carry passengers, and the fewawi (deliberate misspelling) turns on it's lights when right-clicked whilst sneaking, and the fire truck will fire water when sneak is pressed. There are also a few nodes for decoration, and a missile launcher.

There is also a parachute and wings, but these don't work very well at the moment.

Todo:
>Hovercraft and more boats
>wings
>Submarine
>Truck/Lorry
>Bus
>Passengers in all cars
>Add the old driving function to replace the simple driving
>Spaceships
>Police siren
>Mining/digging capability for vehicles
>Camaro
>Those tiberium things xD
>Better jump
>split the mod into a modpack
>Possibly redo the api so that velocity and acceleration are only applied on one line (idk how to word this, no seperate set_velocity/acceleration for each event).


If anyone has any requests or models they'd like to see in the mod, it would be greatly appreciated
I'm kinda busy lately, got enough on my plate for now.

Image

Screenshot:
Spoiler
Image
Crafting:
Spoiler
Image
parachute:
grass, grass, grass
stick, X, stick,
X, wood, X

Ambulance:
X, X, X
car body, car body, white dye
wheel, engine, wheel

Geep:
X, X, X
X, engine, X
wheel, armor, wheel

Police car:
X, blue dye, red dye
X, car body, X
wheel, engine, wheel

Assault Suit:
tank gun, glass, armor
X, engine, X
armor, X, armor

Image

Image


Updates:
Spoiler
11/4/17:
>Improved steering and braking. Steering is better whilst the cars brakes are being used, and the difference between normal turning and turning whilst braking can be specified in a vehicles definiton.
>The boat has a boost effect similar to that of cars
>Pressing 'down' will now slow a vehicle to a stop before it moves backwards.
>fixed some bugs
24/3/17:
>added braking (used by cars)
>improved boost effect
>improved turning (it should be smoother)
8/3/17:
>added Tractor
>nodes destroyed by vehicles now drop items
>vehicles only play sound to their driver(apart from the ambulance)
6/2/17:
>changed tank model and added desert tank
>added fourd
>changed the way vehicles turn, they now turn a little more smoothly and aren't perfectly matched to the players looking direction
>added option for keyboard steering, but it is not used by the vehicles included in the mod.
4/2/17:
>added apache helicopter
>added crafting recipes for the helicopter and lightcycles
>added animation speed setting
>animation speed is relative to the speed of the vehicles
>attempted to improve the speed of the mod by moving some variables inside 'if' functions.
>visually, turning is a bit smoother (vehicle turning is divided into 4 yaw changes instead of 1)
3/2/17:
>added lightcycles
>added helicopter
>added death_node, place_node, and destroy_node options to the the api(see the readme file for more detail)
28/1/17:
by zaoqi:
>intilib support
>improvements to vehicle drop
26/1/17:
by zaoqi:
>Vehicles explode when they hit lava
>Functions are in the format vehicles.function_name, eg: vehicles.object_drive
>vehicles have gravity when they are not driven
>functions are now entirely in the api
by me:
>vehicles are now dropped if punched by the driver whilst they are being driven.

11/1/17:
>The built-in vehicles, items, and nodes can all be disabled(line 21)
>All vehicles except the parachute now use the same driving function. It's a lot easier to make new vehicles now.
>The assault suit can fire missiles with the 'use' key. It is now possible for vehicles to fire two weapons.
>vehicles get a boost(formerly nitro) with the 'use' key, and can still shoot with 'sneak'.

29/11/16:
>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_fly2
>bullet spawn height can be set
>fixed eye offset

4/11/16:
>added driving sound for cars
>added accelleration for cars
>vehicles require ammo for weapons
>planes can no longer fly backwards
>vehicles slow down in water
>fixed an error in the parachute
>vehicles explode when destroyed
>stairs dependancy is now optional
>vehicles can be removed and picked up if there is no driver
>fixed the jet flying away after exiting
>added crafting recipes and materials

changes thanks to Wuzzy:
>added setting vehicles_nodes = true/false
>added sound to basic nodes
>made tyres fall
>changed tunnel lights texture

26/10/16:
>fixed problem with animation in object_fly

25/10/16:
>added yellow lambogoni(thanks to Kosmos for the texture)

22/10/16:
>Missiles and bullets punch as if they are the player, so that mobs will chase after whoever shoots them
>missiles will point up or down depending on the direction they are moving.

5/10/16:
Vehicle owners can remove a vehicle by punching it, and the spawner will be dropped
License(code): LGPL 2.1+
License(textures and models): CC BY-SA 3.0 UNPORTED

depends:
default, tnt, stairs?, intilib?

download: https://github.com/D00Med/vehicles/archive/master.zip
Github: https://github.com/D00Med/vehicles

screenshot:
Image
You wrote it trucks, buses...
But I only see the old vehicles.
"Todo" list means what the mod`s author has planned for the future. Not what adds the mod currently.
Oh
I didn't know

Re: [mod] Vehicles [vehicles]

Posted: Sun Nov 26, 2017 13:55
by azekill_DIABLO
Guys just stop quoting that immensly long post!

Re: [mod] Vehicles [vehicles]

Posted: Sun Nov 26, 2017 20:40
by D00Med
I was about to say xD

Re: [mod] Vehicles [vehicles]

Posted: Tue Nov 28, 2017 00:55
by AccidentallyRhine
From a game design standpoint, being able to break down a car back into a carryable item encourages players to keep their cars in their pockets which, let's be honest, is a bit broken and a balancing issue. I think that once a vehicle is placed it should remain an entity.

Also, now that the nifty skeleton key has been pulled into default, maybe this would be a good starting point for building out a locking functionality?

Re: [mod] Vehicles [vehicles]

Posted: Tue Nov 28, 2017 07:40
by Andrey01
azekill_DIABLO wrote:Guys just stop quoting that immensly long post!
If no quoting, then how to define who do we reply in the post to?

Re: [mod] Vehicles [vehicles]

Posted: Tue Nov 28, 2017 17:24
by azekill_DIABLO
Andrey01 wrote:
Spoiler
azekill_DIABLO wrote:Guys just stop quoting that immensly long post!
If no quoting, then how to define who do we reply in the post to?
Quote it but do like i did!

Re: [mod] Vehicles [vehicles]

Posted: Tue Nov 28, 2017 19:37
by Andrey01
azekill_DIABLO wrote:
Andrey01 wrote:
Spoiler
azekill_DIABLO wrote:Guys just stop quoting that immensly long post!
If no quoting, then how to define who do we reply in the post to?
Quote it but do like i did!
If the post is really very big then probably you`re right. Else we don`t need to write posts in these "spoilers" if the post is small indeedly.

Re: [mod] Vehicles [vehicles]

Posted: Tue Nov 28, 2017 20:14
by D00Med
AccidentallyRhine wrote:From a game design standpoint, being able to break down a car back into a carryable item encourages players to keep their cars in their pockets which, let's be honest, is a bit broken and a balancing issue. I think that once a vehicle is placed it should remain an entity.

Also, now that the nifty skeleton key has been pulled into default, maybe this would be a good starting point for building out a locking functionality?
That is true, but I think it's good to be able to move a car if it gets stuck.
And that's a good idea!, thanks.

Re: [mod] Vehicles [vehicles]

Posted: Sat Dec 09, 2017 04:32
by Cross_over
it's possible to set which vehicles appear ingame?

Re: [mod] Vehicles [vehicles]

Posted: Sat Dec 09, 2017 05:23
by AccidentallyRhine
Not without commenting out the various register_entity/register_crafts. Which is the issue I was addressing here.

Re: [mod] Vehicles [vehicles]

Posted: Sat Dec 09, 2017 07:59
by D00Med
Not going to happen.
What I might do though, is put each vehicle into a different lua file. then it will be really easy to comment out or delete the vehicles you don't want.

Re: [mod] Vehicles [vehicles]

Posted: Mon Dec 11, 2017 19:34
by christoferlevich
So we love this mod on our server but we have an issue. Whenever we are all on and playing (this class is 27 kids), they can get into cars, drive them, and get out, but they can't pick them up and put them in their inventory. Normally, left shift click does the trick, but not when we are loaded.

Is this a memory issue? Maybe its got something to do with permissions I am missing?

Not sure. Hoping someone else may have had and solved this issue already.