Jump to content

Rideable entity


MadAlchemist

Recommended Posts

2 hours ago, Spear and Fang said:

The only rideable entity that I'm aware of (aside from the vanilla bed) is Viescraft.
https://mods.vintagestory.at/show/mod/791

Yes, there's no source available for it so your only options are to (1) reach out to Vies, (2) Use dnSpy or similar, (3) Build it from scratch based on the bed (like Vies did).

The bed really may be what I need. Never thought about it, because it's not moving entity but a block. 

Link to comment
Share on other sites

2 hours ago, MadAlchemist said:

Bed will not help at all. Because, unlike in Minecraft, sources are not visible :(

Blockbed.cs, sleeping.cs, bebed.cs, + dnSpy or similar to go deeper.
https://github.com/search?q=org%3Aanegostudios+bed&type=code

You've got your work cut out for you though because iMountable is not fully fleshed out (although I understand that Tyron made some improvements to it after watching Vies streaming some of his Viescraft modding on Twitch).  https://www.twitch.tv/vies

Alternatively, you could go the (budget) item route that I used for the raft.

JakeCool then took that same approach for the handglider:
https://github.com/91loocekaj/vs-usefulstuff
as did Dante for the vsMovement mod I believe:
https://mods.vintagestory.at/show/mod/970

Edited by Spear and Fang
Link to comment
Share on other sites

27 minutes ago, Spear and Fang said:

Blockbed.cs, sleeping.cs, bebed.cs, + dnSpy or similar to go deeper.
https://github.com/search?q=org%3Aanegostudios+bed&type=code

You've got your work cut out for you though because iMountable is not fully fleshed out (although I understand that Tyron made some improvements to it after watching Vies streaming some of his Viescraft modding on Twitch).  https://www.twitch.tv/vies

Yes, I have found that GitHub page, and, with source code of survival mode available, it works (partially):
2021-12-25_18-01-22.thumb.png.d0e55adb0605a532acdc436ae2cc6574.png

Not controllable yet, but I have attached drifter's wander AI to it, and it does carry player when moves!

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.