Cyborg question
-
- Joined: Thu Jan 12, 2017 6:38 am
- Byond Username: Central Core
- Location: Earth
Cyborg question
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.
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.
- TribeOfBeavers
- In-Game Game Master
- Joined: Wed Jun 15, 2016 6:54 pm
- Byond Username: TribeOfBeavers
- Location: Canada
Re: Cyborg question
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?
Are you sure that you are running the code you compiled and not the old version?
-
- Joined: Thu Jan 12, 2017 6:38 am
- Byond Username: Central Core
- Location: Earth
Re: Cyborg question
Honestly you may be right about just changing the existing one...and I am pretty sure its the compiled one...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?
- Cobby
- Code Maintainer
- Joined: Sat Apr 19, 2014 7:19 pm
- Byond Username: ExcessiveUseOfCobby
- Github Username: ExcessiveUseOfCobblestone
Re: Cyborg question
w-w-whatCentral Core wrote:Honestly you may be right about just changing the existing one...and I am pretty sure its the compiled one...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?
Voted best trap in /tg/ 2014-current
- Screemonster
- Joined: Sat Jul 26, 2014 7:23 pm
- Byond Username: Scree
Re: Cyborg question
In dream maker, after changing and saving your code, go to the build menu on the toolbar - did you hit "compile" or "clean compile"?
-
- Joined: Thu Jan 12, 2017 6:38 am
- Byond Username: Central Core
- Location: Earth
Re: Cyborg question
I hit compile. I got it worked after a while so that is good.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"?
- Screemonster
- Joined: Sat Jul 26, 2014 7:23 pm
- Byond Username: Scree
Re: Cyborg question
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.
- Haevacht
- Joined: Sat Apr 19, 2014 1:08 am
- Byond Username: Capital_H
Re: Cyborg question
If you fuck with images clean compile. It rebuilds resources or some shit.
1% of a coder, 2% of a spriter, 97% >:3c
Random name on Bagel, usually assistant.
Random name on Bagel, usually assistant.
Who is online
Users browsing this forum: No registered users