How to stop time?

Post Reply
Badkraft
Member
Posts: 28
Joined: Wed Jan 27, 2021 13:44

How to stop time?

by Badkraft » Post

I want to stop time as a privilege.

Given:

Code: Select all

/grant settime


...so one can

Code: Select all

/time 05:00
.

How would I add a new privilege, say controltime, that includes settime and be able to start/stop time?

User avatar
ywwv
Member
Posts: 105
Joined: Mon Jan 18, 2021 11:51

Re: How to stop time?

by ywwv » Post

I want to go back in time. or do slow motion. this would be a good mod

dawgdoc
Member
Posts: 257
Joined: Mon Feb 27, 2017 01:10
GitHub: dawgdoc

Re: How to stop time?

by dawgdoc » Post

This thread may help you accomplish your goal.
Give a man a fish, feed him for a day. Give a kid a fish, it's going to die.

User avatar
ywwv
Member
Posts: 105
Joined: Mon Jan 18, 2021 11:51

Re: How to stop time?

by ywwv » Post

dawgdoc wrote:
Wed Feb 03, 2021 05:10
This thread may help you accomplish your goal.
this is important. now I just need to know how to go back in time. this could be done in the mod I think. im just worried about time paradoxes. but I think that's the point. you have to accept the contradictions

User avatar
ywwv
Member
Posts: 105
Joined: Mon Jan 18, 2021 11:51

Re: How to stop time?

by ywwv » Post

if I set the "time speed" variable to a negative number will I go back in time? I want to be able to have blocks and entities move backwards from where they otherwise moved.

User avatar
Nathan.S
Member
Posts: 1065
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: How to stop time?

by Nathan.S » Post

Time just controls the day/night cycle. I don't think setting a negative time would effect entities at all, much less make them do anything in reverse.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
ywwv
Member
Posts: 105
Joined: Mon Jan 18, 2021 11:51

Re: How to stop time?

by ywwv » Post

Nathan.S wrote:
Fri Feb 05, 2021 03:40
Time just controls the day/night cycle. I don't think setting a negative time would effect entities at all, much less make them do anything in reverse.
thats very misleading . I think it should be changed then. its name. to reflect what it actually does

User avatar
Nathan.S
Member
Posts: 1065
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: How to stop time?

by Nathan.S » Post

It does exactly what it says it does. Setting speed just make the time of day change at different speeds, essentially calling this function at a different speed than normal.

Code: Select all

* `minetest.set_timeofday(val)`
    * `val` is between `0` and `1`; `0` for midnight, `0.5` for midday
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
ywwv
Member
Posts: 105
Joined: Mon Jan 18, 2021 11:51

Re: How to stop time?

by ywwv » Post

Nathan.S wrote:
Fri Feb 05, 2021 13:30
It does exactly what it says it does. Setting speed just make the time of day change at different speeds, essentially calling this function at a different speed than normal.

Code: Select all

* `minetest.set_timeofday(val)`
    * `val` is between `0` and `1`; `0` for midnight, `0.5` for midday
it says "speed". but speed of what? it is an open question that has a very unsatisfying answer.

I beleive in criticings works tha t may be illuminated further. I wll open the gith b and create a PR for this if I have half a mind too

User avatar
ywwv
Member
Posts: 105
Joined: Mon Jan 18, 2021 11:51

Re: How to stop time?

by ywwv » Post

it could be the speed you scream ,. for you all know

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests