ID:159704
 
I am trying to create buildings, right? And I've found some pretty nice recources that I want to pull from, and of course, the buildings I want to use are over 32x32. I first tried to simply make a large icon, and put it on the map. That worked. But I wanted the top part to overlay the characters, and the bottom part to be solid. This required me to split the icon in half, making the top and bottom two separate large icons. That's fine and easy. But I can't make the top part over lay, beause I can't get rid of the background behind the building when it's in the icon editor (Because we can't edit large icons in there). So I guess my question or questions are, how can I make it so the background behind the top of the building icon invisible, if possible, or is there a different and/or better solution to my problem?

<></<thank>
Well, DreamMaker can't edit large icons, but you can copy and paste the icon state into say, MSPaint and edit it there, which is what I do a lot.
In response to LordAndrew
Oh, I mean, I know that I can edit it in other places like that. What I'm trying to do is make it so there's part building, and part nothing in the icon, if that makes sense.
But I can't do that, because when I paste it from paint into the DM, it shows the building over a white background. I need that background clear so when I put the building(as an obj) on the turf, it looks like it's resting on the ground, not some white space. Thanks though.
In response to Yurokei
You need to convert the white color to a color with 0 opacity.
mob/verb/iconalpha(i as icon)
var/icon/I=new(i)
I.SwapColor(rgb(255,255,255,255),rgb(192,192,192,0))//replace white color with transparency
src<<ftp(I)//allow you to save it
In response to Kaiochao
Thank you! Now, will this save so that when the game starts up, people won't see white? Or will I have to use that verb every time. :/ I'm sorry, I'm pretty new.
In response to Yurokei
This verb "allows you to save the icon". The new icon will have the white removed.
In response to Kaiochao
Well, as I saved it, things like, Turfs.dyn.rsc, Turfs.lk, Trufs.rsc, and Turfs.rsc.lk were made. Was this supposed to happe? No new icon was created.:/
In response to Kaiochao
Well, as I saved it, things like, Turfs.dyn.rsc, Turfs.lk, Trufs.rsc, and Turfs.rsc.lk were made. Was this supposed to happe? No new icon was created.:/
((Sorry, I replied to a previous comment, not this.))
In response to Yurokei
It's saved in the .dyn file. And the .lk should disappear if you close Dreamseeker.
In response to Yurokei
The icon is a file, you save it as a .dmi file..
In response to Andre-g1
Sorry, I'm just realising all of that now. >.<'' It just worked. Thanks for all of your help. :)