Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Long description
Long description
I find myself wanting to know if assemblers are active. This is a simple visual indicator of the same.
I am happy to accept a pull request for a better image. Please send one if you can make it!
Pictures
Pictures
...
Version history
Version history
Version# 0.0.2 (2016-4-14): Moved light a bit lower so it can be seen with modules installed and the overlay open.
Version# 0.0.1 (2015-12-13): Initial revision
Re: [MOD 0.12.x] Assembler Light
Posted: Wed Dec 16, 2015 2:02 pm
by ssilk
Why is this in gameplay-changes?
Moved to non-changing.
Re: [MOD 0.12.x] Assembler Light
Posted: Sat Apr 09, 2016 1:36 pm
by BlackHat
I love this mod. But have one small issue.
IF you put Modules in it (ie Assembler 3 with 4 modules) it covers the indicator light.
Can the location of the light be tweaked to be a little lower so its not covered by the Modules when they are inserted?
Re: [MOD 0.12.x] Assembler Light
Posted: Mon Apr 11, 2016 9:58 am
by Speadge
whith having 4 modules i still see the light below the modules.
what do u expect? make a pic
Re: [MOD 0.12.x] Assembler Light
Posted: Tue Apr 12, 2016 3:45 pm
by BlackHat
Ok, with 4 modules only about 40-50% of the indicator light is covered. (making it harder to see)
BUT if you only put 3 Modules in it, it covers about 75% of the indicator light.
AND, if its 3 green Efficiency 3 modules, because of the similar color, I cant tell if its running unless I zoom way in to spot the edge of the indicator below the module.
My question remains, Can the indicator light be moved slightly so its not being covered by modules when they are inserted in the Assembly machines.
Re: [MOD 0.12.x] Assembler Light
Posted: Wed Apr 13, 2016 3:12 am
by obstinate
It could definitely be moved . . . but I'm a bit lazy to do it. If you want to take a crack at it, you can see how the lights are made on the factory sprites. Send me updated images and I'll put them in.
Re: [MOD 0.12.x] Assembler Light
Posted: Wed Apr 13, 2016 11:22 am
by BlackHat
Oh, I was hoping the position could be adjust by tweaking some value in the lua file.
I did not realize the sprites would need to be rebuilt to adjust the location.
Oh will. Thanks for the info.
Re: [MOD 0.12.x] Assembler Light
Posted: Wed Apr 13, 2016 12:33 pm
by BlackHat
Ok, it did not make sense to me that you needed to change the sprites to adjust the position. and when I looked at the indicator light sprite, it did not look like you could move it.
So I started playing around with the values in the lua, trying to figure out what did what and restarting the game after every change. and found that it looks like
(FIRST = Origional Location, SECOND = New Location, Third = New Location with Modules installed)
Post.jpg (102.67 KiB) Viewed 18724 times
Re: [MOD 0.12.x] Assembler Light
Posted: Fri Apr 15, 2016 2:30 am
by obstinate
Sorry, I had totally forgotten that's how I did it. Since it's so easy to fix, I did so. I tagged release 0.0.2. I've tested it briefly on my own factorio and it seems to work fine. Please check the updated link. (Thanks for the contribution!)
Re: [MOD 0.12.x] Assembler Light
Posted: Fri Apr 15, 2016 6:42 pm
by SilentSean
Great mod, being able to see when assemblers are actually active makes some thing so much easier to diagnose
Fascinating. I'm not sure that's a good fit for this mod but it sure is nifty. Thanks for sharing.
Re: [MOD 0.12.x] Assembler Light
Posted: Sun May 01, 2016 12:01 am
by Smoovious
If it is going to have a small light glow (and probably a smaller radius and not as bright... perhaps use a directional light like the head-/flash-light), perhaps make it more green to match the color of the assembler light.
-- Smoov
Re: [MOD 0.12.x] Assembler Light
Posted: Wed May 18, 2016 5:13 pm
by Jackalope_Gaming
Obstinate, I made a pull request for you on the Github that nearly halves the number of lines of code needed to make the mod work and would enable supporting other mods much more easily if you'd like.
Re: [MOD 0.12.x] Assembler Light
Posted: Tue Jun 07, 2016 5:16 pm
by steinio
Does this mod add an accu to the assemblers?
It would be ok, but just curious because i have 5MJ accu capacity without accus
Re: [MOD 0.12.x] Assembler Light
Posted: Sat Jun 11, 2016 10:33 pm
by Jackalope_Gaming
Nope, this mod only adds an animation to the front of assemblers. No accumulators.
Re: [MOD 0.12.x] Assembler Light
Posted: Sun Aug 28, 2016 3:23 pm
by Thomasnotused
I updated this to 0.14 because I got bored, enjoy!