Sentient Spiders


Kick that raw fish into overdrive and give spidertrons a little sentience, as a treat. - Spidertrons automatically follow their last driver. - Idle spidertrons wander around the factory. - Stuck spidertrons try to find another path to their destination.

Tweaks
2 months ago
1.1 - 2.0
1.48K
Transportation

g Color changing woes

2 days ago

Hey asher_sky, love the mod.

However, the random color changing for spidertrons is driving insane, since I love to set a particular color for some of them and not the others.
Is it possible to have a setting to disable it? Do you know which lines to comment out to turn this off?

a day ago

I'm glad you like it!
There aren't any settings for it right now, but if you're comfortable modifying the code you can disable the color adjustment by changing the return of this function to just say "return color" instead of "return { ... }" https://github.com/jingleheimer-schmidt/sentient_spiders/blob/8372d002b3624df5c5af52def19c76e2b3b9c6e5/control.lua#L59
I'll flag, however, that modifying the code will make it not work in multiplayer, unless everyone else also modifies it in the exact same way.

I added the color adjustment because I think it makes the spiders feel more autonomous, like they're aging and growing on their own. I intended for it to be very minor, so it only slightly changes the color a tiny bit at a time. I will likely adjust it to be even more gradual for the next release, but I get that sometimes you just want it to stay exactly how you set it, so I will also look into adding a setting or command to turn it off as well :)

a day ago

The edit worked, thanks for the help!

I play solo, so the multiplayer bit is fine for me; might be helpful for others, though.

I understand the thought process behind the colour changing, it makes sense in the way you designed the mod (and the other mods you've made).
I've seen that there are a few lines of "dialogue" in the files, however I don't see them popping up in-game. Is that remnants of a nice feature or something I missed?

In any case, thanks again :)

a day ago

Great, I'm glad that worked for you!
When I was originally writing the mod, I implemented a little dialogue system where text could pop up over the spiders sort of like a speech bubble, so they could chat about what they were up to. Like, if it wanders over somewhere with lots of belts, it might say "Wow, look at all those belts!", or if it's wandering around the solar fields it might make a comment about solar panels or accumulators.
Unfortunately I mostly abandoned that feature because it just felt... idk... it felt like it didn't quite fit. But it's always been in the back of my mind to revisit it and develop it a bit more.
Since you're already editing the code, if you want to try it out just change the manual_override to false here https://github.com/jingleheimer-schmidt/sentient_spiders/blob/8372d002b3624df5c5af52def19c76e2b3b9c6e5/control.lua#L71, and you should occasionally see little messages above the spiders. Although I only ever wrote a handful of them, so they will likely get quite repetitive.

New response