Page 1 of 1

Cyborg question

Posted: Sun Jan 22, 2017 9:24 pm
by Central Core
Hello once again. Now I am not sure if this is the right place for this one or any of my questions but no one has told me otherwise so here is another.

I am trying to replace the default cyborg sprite with one of my choosing so that when you become one at round start or make one by putting the brain in the cyborg body it would become the sprite I put in the file so I can see how it looks in game.

What I did was add the sprite to the robots.dmi file and I changed the icon_state in the robot.dm file from the default robot to the one I choose but all it did was change it in Dream maker not in game so if anyone knows what I missed please let me know.

Re: Cyborg question

Posted: Sun Jan 22, 2017 9:44 pm
by TribeOfBeavers
If you just want to change how a sprite looks it would probably be easier to just replace the existing one in the file, then you don't have to mess with the code at all.

Are you sure that you are running the code you compiled and not the old version?

Re: Cyborg question

Posted: Sun Jan 22, 2017 9:57 pm
by Central Core
TribeOfBeavers wrote:If you just want to change how a sprite looks it would probably be easier to just replace the existing one in the file, then you don't have to mess with the code at all.

Are you sure that you are running the code you compiled and not the old version?
Honestly you may be right about just changing the existing one...and I am pretty sure its the compiled one...

Re: Cyborg question

Posted: Tue Jan 24, 2017 4:10 pm
by Cobby
Central Core wrote:
TribeOfBeavers wrote:If you just want to change how a sprite looks it would probably be easier to just replace the existing one in the file, then you don't have to mess with the code at all.

Are you sure that you are running the code you compiled and not the old version?
Honestly you may be right about just changing the existing one...and I am pretty sure its the compiled one...
w-w-what

Re: Cyborg question

Posted: Tue Jan 24, 2017 4:41 pm
by Screemonster
In dream maker, after changing and saving your code, go to the build menu on the toolbar - did you hit "compile" or "clean compile"?

Re: Cyborg question

Posted: Thu Jan 26, 2017 3:54 am
by Central Core
Screemonster wrote:In dream maker, after changing and saving your code, go to the build menu on the toolbar - did you hit "compile" or "clean compile"?
I hit compile. I got it worked after a while so that is good.

Re: Cyborg question

Posted: Thu Jan 26, 2017 4:03 am
by Screemonster
Sometimes I've found that compile (as opposed to clean compile) can make fucky results when I'm working with images but I'm not 100% certain on what the difference is and why you'd use one and not the other.

Re: Cyborg question

Posted: Thu Jan 26, 2017 4:05 am
by Haevacht
If you fuck with images clean compile. It rebuilds resources or some shit.