[Space Age] "Star" image

Place to get help with not working mods / modding interface.
User avatar
BraveCaperCat
Filter Inserter
Filter Inserter
Posts: 412
Joined: Mon Jan 15, 2024 10:10 pm
Contact:

[Space Age] "Star" image

Post by BraveCaperCat »

How do I change this image to something else, say a black hole (assuming I have the image stored in my mod's files):
Screenshot 2024-11-22 105012.png
Screenshot 2024-11-22 105012.png (46.09 KiB) Viewed 224 times
Is it possible? If not, why?
It would also be fine if I could delete it (adding a black hole space location instead)
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.
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3733
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: [Space Age] "Star" image

Post by DaveMcW »

Code: Select all

data.raw['utility-sprites']['default'].starmap_star.filename = "__my-mod__/graphics/blackhole.png"
User avatar
BraveCaperCat
Filter Inserter
Filter Inserter
Posts: 412
Joined: Mon Jan 15, 2024 10:10 pm
Contact:

Re: [Space Age] "Star" image

Post by BraveCaperCat »

DaveMcW wrote: Fri Nov 22, 2024 1:24 pm

Code: Select all

data.raw['utility-sprites']['default'].starmap_star.filename = "__my-mod__/graphics/blackhole.png"
Ah, I didn't think about looking for a prototype. Really should have searched for star first... At least this helps other people making big mods which add new star systems!
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”