[MOD 0.17.xx] TimeButtons v0.3.7

Topics and discussion about specific mods
User avatar
darius456
Fast Inserter
Fast Inserter
Posts: 222
Joined: Thu Jan 02, 2014 6:33 am
Contact:

[MOD 0.17.xx] TimeButtons v0.3.7

Post by darius456 »

Image

I presents you my second small mod for factorio.
This mod add 2 to 10 buttons which control game speed.
When we chose speed, this button text color is change to red, others to white.
When we load game this mod detects actual game speed and change specific button text color to red if game speed is different than buttons speed all buttons text color is change to yellow and we get prompt on console.
There is a menu in which you can disable or enable buttons, change it's label and game speed.

Image
Image
CHANGELOG
The latest version available in Mod Portal: Link
Attachments
TimeButtons_0.3.6.zip
(297.46 KiB) Downloaded 915 times
TimeButtons_0.3.2.zip
(30.39 KiB) Downloaded 8710 times
TimeButtons v0.2.1.zip
(33.04 KiB) Downloaded 14083 times
TimeButtons v0.1.0.zip
(29.48 KiB) Downloaded 1678 times
Last edited by darius456 on Sat Mar 30, 2019 8:45 pm, edited 38 times in total.
Lenovo Y580 8GB Ram GF660m 128GB SSD W7
RaffRich
Burner Inserter
Burner Inserter
Posts: 8
Joined: Mon Feb 17, 2014 5:12 pm
Contact:

Re: [MOD 0.9.0] TimeButtons v0.0.1

Post by RaffRich »

This mod is good for the start or when I'm waiting for the research. :D
And the speed decreases automatically when the frames going down :D
Very cool mod! And no bugs found yet. ;)
User avatar
darius456
Fast Inserter
Fast Inserter
Posts: 222
Joined: Thu Jan 02, 2014 6:33 am
Contact:

Re: [MOD 0.9.0] TimeButtons v0.0.1

Post by darius456 »

RaffRich wrote:And no bugs found yet. ;)
There was a little bug, but already fixed, see 1st post.
RaffRich wrote:And the speed decreases automatically when the frames going down :D
I have nothing to do with that. Maybe it is a native game mechanism.
RaffRich wrote:This mod is good for the start or when I'm waiting for the research. :D
This was my intention.
RaffRich wrote:Very cool mod!
Thank you very much.
Lenovo Y580 8GB Ram GF660m 128GB SSD W7
lukeplechaty
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Feb 23, 2014 10:30 pm
Contact:

Re: [MOD 0.9.0] TimeButtons v0.0.1

Post by lukeplechaty »

you know what wood be good if you can make it so the buttons can hide like use a key on the keybord to bring it up or not.
1n5aN1aC
Burner Inserter
Burner Inserter
Posts: 8
Joined: Mon Feb 24, 2014 8:04 pm
Contact:

Re: [MOD 0.9.0] TimeButtons v0.0.1

Post by 1n5aN1aC »

Thanks for this!

Very useful in some situations.

Agree though that perhaps a hotkey or something to hide the buttons would be useful.
User avatar
darius456
Fast Inserter
Fast Inserter
Posts: 222
Joined: Thu Jan 02, 2014 6:33 am
Contact:

Re: [MOD 0.9.0] TimeButtons v0.0.1

Post by darius456 »

lukeplechaty wrote:you know what wood be good if you can make it so the buttons can hide like use a key on the keybord to bring it up or not.
1n5aN1aC wrote:Agree though that perhaps a hotkey or something to hide the buttons would be useful.
I don't think that hotkey is even possible in lua script. But I have uploaded update in 1st post. Version 0.0.3 is up there. I have added a way to turn on and off time buttons. Simply move your mouse to left upper corner (100pix border) and then go outside this area to toggle between on and off.

I hope it will be good solution.
Lenovo Y580 8GB Ram GF660m 128GB SSD W7
sparr
Smart Inserter
Smart Inserter
Posts: 1463
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Re: [MOD 0.9.x] TimeButtons v0.0.3

Post by sparr »

My take on this mod also has an 0.5x speed button, for fighting biters in slow motion. You might add that?
User avatar
darius456
Fast Inserter
Fast Inserter
Posts: 222
Joined: Thu Jan 02, 2014 6:33 am
Contact:

Re: [MOD 0.9.x] TimeButtons v0.0.3

Post by darius456 »

sparr wrote:My take on this mod also has an 0.5x speed button, for fighting biters in slow motion. You might add that?
I have found small bug. When buttons are off, and auto load/save occur this error appear "Error while running the onload ... index field 'button_x1' (a nil value)". This is because I try to change color of non exist button. Fixed in version v0.0.4. This version is upload in 1st post. Also I've added x0.5 speed button at the request of sparr.
Lenovo Y580 8GB Ram GF660m 128GB SSD W7
sparr
Smart Inserter
Smart Inserter
Posts: 1463
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Re: [MOD 0.9.x] TimeButtons v0.0.4

Post by sparr »

Would you consider putting the source to this mod on github? I've forked it, and I'd like to provide code changes back to you.
User avatar
darius456
Fast Inserter
Fast Inserter
Posts: 222
Joined: Thu Jan 02, 2014 6:33 am
Contact:

Re: [MOD 0.9.x] TimeButtons v0.0.4

Post by darius456 »

sparr wrote:Would you consider putting the source to this mod on github? I've forked it, and I'd like to provide code changes back to you.
I do not know the word "forked". I tried to translate it in google but results are very funny. So please use another word.

By the way I have just uploaded new version of Time Buttons mod. I have added menu where you can disable and enable buttons, change speed and label. I would like to change its code to more universal so you could set amount of buttons, current is fixed max to 6 - perhaps in v0.0.6

Hope You will enjoy.
Lenovo Y580 8GB Ram GF660m 128GB SSD W7
sparr
Smart Inserter
Smart Inserter
Posts: 1463
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Re: [MOD 0.9.x] TimeButtons v0.0.5

Post by sparr »

I made a copy of your mod with new features. I would like to contribute those changes back to you.
User avatar
darius456
Fast Inserter
Fast Inserter
Posts: 222
Joined: Thu Jan 02, 2014 6:33 am
Contact:

Re: [MOD 0.9.x] TimeButtons v0.0.5

Post by darius456 »

sparr wrote:I made a copy of your mod with new features. I would like to contribute those changes back to you.
Ok nice. I dont have account on github but i will create one and put there this mod. But need time becouse im in work rigth now and for next 24 hours.
Lenovo Y580 8GB Ram GF660m 128GB SSD W7
User avatar
darius456
Fast Inserter
Fast Inserter
Posts: 222
Joined: Thu Jan 02, 2014 6:33 am
Contact:

Re: [MOD 0.9.x] TimeButtons v0.0.6

Post by darius456 »

Next update is out there in 1st post. There was a few minor changes that apply to gui. Time buttons are now semi transparent, gui hovered button is blue rather than yellow. And of course this version is 100% compatible to factorio v0.9.3.

Have a nice day/night
Lenovo Y580 8GB Ram GF660m 128GB SSD W7
User avatar
darius456
Fast Inserter
Fast Inserter
Posts: 222
Joined: Thu Jan 02, 2014 6:33 am
Contact:

Re: [MOD 0.9.x] TimeButtons v0.0.7

Post by darius456 »

Next update is out there in 1st post. Fixed major bug that appear when you try to save and then load game with disabled time buttons. I strongly recommend to download this update.
Lenovo Y580 8GB Ram GF660m 128GB SSD W7
User avatar
tiggyd
Burner Inserter
Burner Inserter
Posts: 18
Joined: Wed Mar 12, 2014 8:04 am
Contact:

Re: [MOD 0.9.x] TimeButtons v0.0.7

Post by tiggyd »

Heya! I've just started to use this mod and can I say, after starting a new game in Factorio several times, aiming for greater efficiency each time, this mod is such a time-saver!

I have just run into an issue though. I am running Factorio 0.9.3 with TimeButtons 0.0.7 and I cannot save my game. I have not modified any settings for the mod at all. I get the same error pop up when the game tries to auto-save. I have attached a screenshot:
Attachments
error when saving using 0.9.3 + TimeButtons 0.0.7
error when saving using 0.9.3 + TimeButtons 0.0.7
error.png (43.18 KiB) Viewed 34620 times
Namaste
“I honor the place in you in which the entire Universe dwells, I honor the place in you which is of Love, of Integrity, of Wisdom and of Peace. When you are in that place in you, and I am in that place in me, we are One.”
User avatar
darius456
Fast Inserter
Fast Inserter
Posts: 222
Joined: Thu Jan 02, 2014 6:33 am
Contact:

Re: [MOD 0.9.x] TimeButtons v0.0.7

Post by darius456 »

tiggyd wrote:Heya! I've just started to use this mod and can I say, after starting a new game in Factorio several times, aiming for greater efficiency each time, this mod is such a time-saver!

I have just run into an issue though. I am running Factorio 0.9.3 with TimeButtons 0.0.7 and I cannot save my game. I have not modified any settings for the mod at all. I get the same error pop up when the game tries to auto-save. I have attached a screenshot:
Sorry for that... already fixed in v0.0.8.
Lenovo Y580 8GB Ram GF660m 128GB SSD W7
User avatar
tiggyd
Burner Inserter
Burner Inserter
Posts: 18
Joined: Wed Mar 12, 2014 8:04 am
Contact:

Re: [MOD 0.9.x] TimeButtons v0.0.7

Post by tiggyd »

darius456 wrote:
tiggyd wrote:Heya! I've just started to use this mod and can I say, after starting a new game in Factorio several times, aiming for greater efficiency each time, this mod is such a time-saver!

I have just run into an issue though. I am running Factorio 0.9.3 with TimeButtons 0.0.7 and I cannot save my game. I have not modified any settings for the mod at all. I get the same error pop up when the game tries to auto-save. I have attached a screenshot:
Sorry for that... already fixed in v0.0.8.

I'm glad I could find something to help for the next edition! Thank you so much for your hard work, it is very appreciated! ;)
Namaste
“I honor the place in you in which the entire Universe dwells, I honor the place in you which is of Love, of Integrity, of Wisdom and of Peace. When you are in that place in you, and I am in that place in me, we are One.”
User avatar
tiggyd
Burner Inserter
Burner Inserter
Posts: 18
Joined: Wed Mar 12, 2014 8:04 am
Contact:

Re: [MOD 0.9.x] TimeButtons v0.0.8

Post by tiggyd »

I'd just like to thank you for the update, your mod has been working perfectly!
Namaste
“I honor the place in you in which the entire Universe dwells, I honor the place in you which is of Love, of Integrity, of Wisdom and of Peace. When you are in that place in you, and I am in that place in me, we are One.”
Nebabon
Burner Inserter
Burner Inserter
Posts: 18
Joined: Sun Mar 16, 2014 9:00 pm
Contact:

Re: [MOD 0.9.x] TimeButtons v0.0.8

Post by Nebabon »

This looks very useful but I'm getting an error "Path __TimeButons__/resources/GUI/50x120.png does not match any mod." I don't know what i'm doing wrong here. Any help would be appreciated. Thanks!
Post Reply

Return to “Mods”