mt1006 / mc-mocap-mod

Minecraft mod that allows you to record and replay player movements
https://modrinth.com/mod/motion-capture
GNU Lesser General Public License v3.0
13 stars 2 forks source link

Looping function #30

Open vini14zin opened 3 months ago

vini14zin commented 3 months ago

Hello, I have a suggestion for an addition that I believe is easy to do and would be very useful.

it would be a /mocap playing Looping command, to be able to put a scene in a loop, it would be very useful for, for example, populating a city with several NPCs walking around and having a life, but for that it would be cool if it were possible to put an animation in Looping

the Looping function would be when the scene ended, the scene would restart infinitely

me and a group of friends are organizing a series and it would be really cool to be able to use the mod to create a living world full of people walking around and having their lives in the background

I think this would make the mod even more complete

mt1006 commented 3 months ago

That's a good idea I'll probably add it in some way in the future. Although, there are potential issues with how to make smooth transition between iterations, as well as in case of populating the city or village, adding some logic to it. In the current version you can try to achieve something similar by utilizing datapack functions and /schedule (https://minecraft.wiki/w/Commands/schedule) command. I'm not sure how well it is going work, as I've never tried doing such thing, but if you set correct timing I think it should work fine (btw you can check recording length using /mocap recordings info).