How to change what quality actually Does?

Place to get help with not working mods / modding interface.
guy smiley
Inserter
Inserter
Posts: 20
Joined: Mon Aug 21, 2017 7:40 am
Contact:

How to change what quality actually Does?

Post by guy smiley »

I'm looking to make a mod that changes the effects of quality on certain entities. For example, I would like to change Big Electric Pole so it gets no area increase with quality, and instead drastically more wire reach instead. But, I have no idea how to see, or change, what the stats of an entity are that are affected by quality, or by how much. Nothing whatsoever in the Quality mod itself pertains to this, as far as I can tell.

Can anyone help?
petrathekat
Burner Inserter
Burner Inserter
Posts: 9
Joined: Fri Apr 19, 2024 7:12 pm
Contact:

Re: How to change what quality actually Does?

Post by petrathekat »

Unfortunately I'm pretty sure it's hard-coded. The game engine has some list of attributes affected by quality and you can't modify them. :(
User avatar
BraveCaperCat
Filter Inserter
Filter Inserter
Posts: 412
Joined: Mon Jan 15, 2024 10:10 pm
Contact:

Re: How to change what quality actually Does?

Post by BraveCaperCat »

You can however make new entities and switch to them when you have quality regular ones. They can be quality only and any prototype values you can change (so, pretty much everything) can be modified by quality levels. This however only works for entities. This would allow you to rewrite any quality effects from scratch (if you want to, some entities can stay the same)
Creator of multiple mods, including Quality Assurance - My most popular one.
Go check them out with the first and second links!
I'll probably be wanting or giving help with modding most of the time I spend here on the forum.
guy smiley
Inserter
Inserter
Posts: 20
Joined: Mon Aug 21, 2017 7:40 am
Contact:

Re: How to change what quality actually Does?

Post by guy smiley »

ah yeah that's probably a workable idea @BraveCat ty ty. this would probably only be for myself anyway, so UI being wrong/inaccurate would be ok.

I do hope quality effects are made visible/moddable in the future tho, cos yeah this solution would not be reflected in the quality stats visible in factoriopedia and places.
User avatar
BraveCaperCat
Filter Inserter
Filter Inserter
Posts: 412
Joined: Mon Jan 15, 2024 10:10 pm
Contact:

Re: How to change what quality actually Does?

Post by BraveCaperCat »

guy smiley wrote: Thu Dec 19, 2024 6:19 am ah yeah that's probably a workable idea @BraveCat ty ty. this would probably only be for myself anyway, so UI being wrong/inaccurate would be ok.

I do hope quality effects are made visible/moddable in the future tho, cos yeah this solution would not be reflected in the quality stats visible in factoriopedia and places.
Actually, that's exactly what Quality Rebalance does. I made a fork once, but I don't work on it anymore sadly.
Creator of multiple mods, including Quality Assurance - My most popular one.
Go check them out with the first and second links!
I'll probably be wanting or giving help with modding most of the time I spend here on the forum.
Post Reply

Return to “Modding help”