[Space Age] "Star" image

Place to get help with not working mods / modding interface.
User avatar
BraveCaperCat
Filter Inserter
Filter Inserter
Posts: 489
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 644 times
Is it possible? If not, why?
It would also be fine if I could delete it (adding a black hole space location instead)
If you want to see the mods I've made, press one. If you need me to update a mod to 2.0, press two. If you're looking for QA, press three. If you've been waiting over 1 and a half years for Digital Age, bad luck.
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3753
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: 489
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!
If you want to see the mods I've made, press one. If you need me to update a mod to 2.0, press two. If you're looking for QA, press three. If you've been waiting over 1 and a half years for Digital Age, bad luck.
Post Reply

Return to “Modding help”