[0.11.x](0.5.0)[WIP] Record Your Stuff!

Topics and discussion about specific mods
Post Reply
User avatar
AlyxDeLunar
Fast Inserter
Fast Inserter
Posts: 105
Joined: Mon Dec 22, 2014 7:32 pm
Contact:

[0.11.x](0.5.0)[WIP] Record Your Stuff!

Post by AlyxDeLunar »

Sure, we have a graphical representation of pollution, but who has time to look at different shades of red on a map? Not I! I'm an industrialist, and I function off cold, hard numbers.
So here is a work in progress mod to get just that! Ever curious about exactly how much pollution you have? This is for you!

Features:
-Placeholder graphics! A completely ripoff of the small electric pole! I'm a programmer, not a graphic artist!
-A custom GUI to display a numerical count of your pollution.
-Pollution Reader can be crafted at start, found in the logistics crafting section

Pollution Count is taken from an average value of the recorded pollution from every Pollution Reader you have placed.
Pollution Readers make use of the game.getpollution function, meaning they just read the pollution value in the chunk they reside in.

I only had to reload the game about 60 times while working this out (my second mod!), but I've got it all working stable. Probably. But I know it won't work for multiplayer, as I'm using game.player
Example
ToDo:
-Make it work in multiplayer
-Use something better than the base game electric pole for the graphic
-Other things to make it better?
Attachments
RecordYourStuff_0.5.0.zip
(3.2 KiB) Downloaded 151 times
Sometimes humorous, usually congenial. Always Alyx.

My Stuff:
Lunar's Factorio Mod Manager

Degraine
Filter Inserter
Filter Inserter
Posts: 281
Joined: Wed Aug 13, 2014 10:49 am
Contact:

Re: [0.11.x](0.5.0)[WIP] Record Your Stuff!

Post by Degraine »

I can think of a couple of things you could do. Truncate that number, for starters. I'm sure two decimal places will be sufficient.

Another thing would be to allow separate counters, rather than having a single readout for every pollution reader in the world, so you can monitor the dirtiness of separate facilities.

YuokiTani
Smart Inserter
Smart Inserter
Posts: 1037
Joined: Thu May 08, 2014 7:57 pm
Contact:

Re: [0.11.x](0.5.0)[WIP] Record Your Stuff!

Post by YuokiTani »

What should i say ... i like the idea :) - and maybe this helps you a bit ...

ImageImageImage

User avatar
AlyxDeLunar
Fast Inserter
Fast Inserter
Posts: 105
Joined: Mon Dec 22, 2014 7:32 pm
Contact:

Re: [0.11.x](0.5.0)[WIP] Record Your Stuff!

Post by AlyxDeLunar »

Whoa! Where did you get those sprites? I can use them, really?
Sometimes humorous, usually congenial. Always Alyx.

My Stuff:
Lunar's Factorio Mod Manager

User avatar
AlyxDeLunar
Fast Inserter
Fast Inserter
Posts: 105
Joined: Mon Dec 22, 2014 7:32 pm
Contact:

Re: [0.11.x](0.5.0)[WIP] Record Your Stuff!

Post by AlyxDeLunar »

Alright, I worked on it more today and got it to a point I feel it is mostly complete!
Link is here: https://forums.factorio.com/forum/vie ... f=14&t=769

I appreciate the feedback!
And YuokiTani, I really appreciate the sprites! It took a lot of stress off making the mod look nice :)
Sometimes humorous, usually congenial. Always Alyx.

My Stuff:
Lunar's Factorio Mod Manager

YuokiTani
Smart Inserter
Smart Inserter
Posts: 1037
Joined: Thu May 08, 2014 7:57 pm
Contact:

Re: [0.11.x](0.5.0)[WIP] Record Your Stuff!

Post by YuokiTani »

AlyxDeLunar wrote:Whoa! Where did you get those sprites? I can use them, really?
this i have made around october 2012 for an other project, but this project dies around spring 2013 after about 9 years - if i remember correct. so i have many models/gfx laying around my harddrive waiting for a new good use.

i my old project/game this was a bomb-targeting-device you can see a bigger image below
view 2012 version
some overhaul and now its a peaceful device :)

User avatar
AlyxDeLunar
Fast Inserter
Fast Inserter
Posts: 105
Joined: Mon Dec 22, 2014 7:32 pm
Contact:

Re: [0.11.x](0.5.0)[WIP] Record Your Stuff!

Post by AlyxDeLunar »

Haha, well....bomb targeting device, pollution reader, what's the difference anyhow?
It looks pretty cool regardless, I am really impressed! And thanks again for letting me use it :)
Sometimes humorous, usually congenial. Always Alyx.

My Stuff:
Lunar's Factorio Mod Manager

Post Reply

Return to “Mods”