How to stretch an entity picture?

Place to get help with not working mods / modding interface.
Post Reply
someone1337
Fast Inserter
Fast Inserter
Posts: 131
Joined: Wed Apr 26, 2017 11:29 pm
Contact:

How to stretch an entity picture?

Post by someone1337 »

As nuclear power plants are tooo ups intensive, im trying to create a "nuclear power plant" that is just one big entity.

It would take 8 nuclear fuel cells +2.2 M water + 200sec and a script would fill an electic energy interface with 1.1GW worth of energy.
https://git.somenet.org/pub/jan/factorio_some-npp.git (currently there seems to be some issue with my gitweb ;/)

The problem is: I seem to be unable to make one entity that is 95*95 big, as the picture fails to stretch to the entity's size and its impossible to have a picture bigger than 2048 * 2048 px - the screenshot picture is 3000 something * 3000 something.

Is there a way to strecht an entity picture over the whole entity size?
or do I need to make my nuclear powerplant only like 50*50 ?

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: How to stretch an entity picture?

Post by Klonan »

You can set the 'scale' in the sprite definition

There is also a way to put together multiple sprites as one, I think the easiest way is using 'layers',
And you can chop the image into a 2x2 grid of the sprites, with each layer only 1500x1500

Post Reply

Return to “Modding help”