[Mod] Vehicle Mash [1.4] [vehicle_mash]

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Mod] Vehicle Mash [1.3] [vehicle_mash]

by mahmutelmas06 » Post

Haha seems its not a in 5 minutes on laptop feature :D
Thank you for spending time on this. Having the same view better than nothing.
My Mods:

Beverage

blert2112
Member
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: [Mod] Vehicle Mash [1.3] [vehicle_mash]

by blert2112 » Post

mahmutelmas06 wrote:Haha seems its not a in 5 minutes on laptop feature :D
Thank you for spending time on this. Having the same view better than nothing.
It's something my kids asked for quite a while ago, I just got caught up in porting mobs over to mobs_redo and hardware upgrades.
I can change the view perspective using set_eye_offset() but it looks like swinging a ball on a string around your head (with your eyes attached to the ball). I can't find any other way to change it so I went with it and locked the view to the vehicle yaw (passenger can't look around).
The mod is currently in disarray so I am rewriting it to clean things up and remove some code duplication. A new version should be up in a day or two, given I don't break something.

blert2112
Member
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: [Mod] Vehicle Mash [1.4] [vehicle_mash]

by blert2112 » Post

updated
Not going to gaurantee backward compatability... you might want to delete any old vehicles in your game or you might have unknowns lying about.

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Mod] Vehicle Mash [1.4] [vehicle_mash]

by mahmutelmas06 » Post

Thanks for effort.
Nice job

And a suggestion. I dont know if u look at mobs redo codes but if u use texture code with compatible api like this

textures = {
{"blue_car.png",
"black_car.png"},
},

you dont have to have different lua files for each car such as blue.lue black.lua and mod would be lighter.
( ı am considering nobody cares spesific car color instead of random one )
My Mods:

Beverage

blert2112
Member
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: [Mod] Vehicle Mash [1.4] [vehicle_mash]

by blert2112 » Post

mahmutelmas06 wrote:Thanks for effort.
Nice job

And a suggestion. I dont know if u look at mobs redo codes but if u use texture code with compatible api like this

textures = {
{"blue_car.png",
"black_car.png"},
},

you dont have to have different lua files for each car such as blue.lue black.lua and mod would be lighter.
( ı am considering nobody cares spesific car color instead of random one )
So, is it working to your liking? I did not lock the passenger view after all. Should I?

Yeah, that would make the mod smaller but... when was the last time you walked into a dealership to buy a car, picked one, and then had to settle for a random color? ;) Personally, I would rather sacrifice the small amount of memory in exchange for knowing what color I will be getting. It is very easy to disable any of the vehicles you want gone... just open the init.lua file in the mod folder and comment out (put -- in front of) the corresponding dofile.. lines. I am considering pulling the mod apart and making it a modpack instead, that way you can just delete any vehicle folder you dont want.

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Mod] Vehicle Mash [1.4] [vehicle_mash]

by mahmutelmas06 » Post

I am ok with the current version comletely :) Just trying to be useful in that forum :p
My Mods:

Beverage

User avatar
Panquesito7
Member
Posts: 27
Joined: Tue Jun 09, 2020 05:37
GitHub: Panquesito7
IRC: Panquesito7
In-game: Panquesito7
Contact:

Re: [Mod] Vehicle Mash [1.4] [vehicle_mash]

by Panquesito7 » Post

If someone is still interested in this mod, you can use my fork which has more features.
Want to know them? See https://github.com/minetest-mods/vehicle_mash#changelog since v2.1 for more information.

User avatar
JIGIx
New member
Posts: 3
Joined: Fri Mar 13, 2020 16:27
In-game: JIGIx

Re: [Mod] Vehicle Mash [1.4] [vehicle_mash]

by JIGIx » Post

Somebody managed to crash a car from that mod into one of my building. It has "Generic CAO, hp=10, armor={immortal=1,}" properties and I don't seem to be able to drive it(?). Do you know how I can get rid of that griefing? I try to dig a hole under but the car doesnt fall. Anything else I could try?

User avatar
apercy
Member
Posts: 639
Joined: Wed Mar 25, 2020 16:31
GitHub: APercy
In-game: APercy
Location: Pinheiral - RJ - Brazil

Re: [Mod] Vehicle Mash [1.4] [vehicle_mash]

by apercy » Post

JIGIx wrote:
Fri Dec 24, 2021 18:38
Somebody managed to crash a car from that mod into one of my building. It has "Generic CAO, hp=10, armor={immortal=1,}" properties and I don't seem to be able to drive it(?). Do you know how I can get rid of that griefing? I try to dig a hole under but the car doesnt fall. Anything else I could try?
pistons can move it

User avatar
JIGIx
New member
Posts: 3
Joined: Fri Mar 13, 2020 16:27
In-game: JIGIx

Re: [Mod] Vehicle Mash [1.4] [vehicle_mash]

by JIGIx » Post

apercy wrote:
Fri Dec 24, 2021 18:57
pistons can move it
that works lol. a bit fastidious though, but now there's a car hanging in the air in the middle of nowhere 🤷‍♂️ thanks for the suggestion!

User avatar
apercy
Member
Posts: 639
Joined: Wed Mar 25, 2020 16:31
GitHub: APercy
In-game: APercy
Location: Pinheiral - RJ - Brazil

Re: [Mod] Vehicle Mash [1.4] [vehicle_mash]

by apercy » Post

JIGIx wrote:
Fri Dec 24, 2021 19:37
apercy wrote:
Fri Dec 24, 2021 18:57
pistons can move it
that works lol. a bit fastidious though, but now there's a car hanging in the air in the middle of nowhere 🤷‍♂️ thanks for the suggestion!
If it is your server, try to install my airutils. The tug tool can move objects. It was designed to move the airplanes to the proper place, but it can move any object: https://github.com/APercy/airutils

User avatar
Blockhead
Member
Posts: 1622
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: [Mod] Vehicle Mash [1.4] [vehicle_mash]

by Blockhead » Post

Stay safe out there, don't jump the gates! (Click to watch on YouTube)

Image
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

blocker
Member
Posts: 42
Joined: Fri Jan 08, 2021 06:14
Location: Germany

Re: [Mod] Vehicle Mash [1.4] [vehicle_mash]

by blocker » Post

In which mod are the barriers/gates? Looks nice.

User avatar
Blockhead
Member
Posts: 1622
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: [Mod] Vehicle Mash [1.4] [vehicle_mash]

by Blockhead » Post

The barriers and warning devices are from streets mod (cheapie's fork, roads, in this case).

Also, the explosion code is over at a branch of my GitHub repository and I have sent it to the Advtrains developer mailing list. The sprite and sound are from OpenTTD. It would be nice if Panquesito could let me know if the approach used in my code is good :)
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests