Development Forum |
 |
|

Annex

|
4/23/2020 | 1 |
Hey all,
Just a thing I have noted about green spew. As it only seems to affect the sprites of creatures created from scratch I worked out a way to work around the issue.
I created a script that injects a simple object that uses the sprite file for each body part as a gallery and then kills the object immediately.
I run this if I have made a run on a new set of creature sprites and the green spew is not an issue.
Happy days! |
 Peppery One
Papriko
    
|
4/23/2020 | |
Huh, interesting. That actually works? Sounds pretty convenient to be honest.
The current method involves opening an existing spew-free file and saving over that.
Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis... |

Annex

|
4/23/2020 | |
It is working a treat for me. I have to do it before I hatch a creature with the new sprites. My current guess is there is some weird processing of files by the engine that is different when creating a creature.
If you force it to treat the sprites as a standard object for that first processing, it bypasses the spew.
I am relieved as the thought of manually bringing in 192 images 8 times every time I did an update was slightly off-putting. |

Annex

|
4/27/2020 | |
I just want to confirm that this workflow is solid, at least for me. I have tested it in a few different orders and with different body sprites and it seems reliable.
I have a script that looks like lots of lines of this, just with all the various body parts swapped in:
new: simp 1 1 1111 "a00w" 192 1 1000
kill targ |
I then go into a world with zero creatures in and run the script. Job done.
Sometimes if I have just done a fresh run of sprites I go into my main world to see how they look without running the script and everything has green spew.
I just go back into my empty world, run the script and, when I return to my main world, all is fixed. |

Annex

|
4/27/2020 | |
I just want to confirm that this workflow is solid, at least for me. I have tested it in a few different orders and with different body sprites and it seems reliable.
I have a script that looks like lots of lines of this, just with all the various body parts swapped in:
new: simp 1 1 1111 "a00w" 192 1 1000
kill targ |
I then go into a world with zero creatures in and run the script. Job done.
Sometimes if I have just done a fresh run of sprites I go into my main world to see how they look without running the script and everything has green spew.
I just go back into my empty world, run the script and, when I return to my main world, all is fixed. |