Starbound

Starbound

Avali Drone Pet (1.3 Patch)
ScallopD 30 Sep, 2017 @ 4:07am
Drone doesn't dock
Drone isn't docking and instead will just nap on the floor, or if avaliable sleep in a pet house. I don't think it's caused by a mod because I tested it barebones (Avali race and this mod, nothing else) and the pet still doesn't dock. Any idea why?
Does the drone even dock at all? Or is the dock merely cosmetic?
Last edited by ScallopD; 30 Sep, 2017 @ 5:00am
< >
Showing 1-7 of 7 comments
Seafarer 30 Sep, 2017 @ 12:42pm 
I too have this problem.
Wolf  [developer] 30 Sep, 2017 @ 1:05pm 
I think this was implemented before I patched it up. I removed a modified script that was breaking the mod, however I believe it also implemented the proper sleep behavior for the drone dock.

In hindsight, I should have accounted for that. Give me a few days and I'll see if I can cook up a solution.
ScallopD 30 Sep, 2017 @ 1:18pm 
Thank you so much. I was hoping there would be an actual proper script, having the dock just sit there would break my immersion really hard.
Godspeed and good luck!
ScallopD 6 Oct, 2017 @ 2:16pm 
Hey, found anything yet? Sorry to bother, but I'm really interested in getting this mod working properly.
Last edited by ScallopD; 6 Oct, 2017 @ 2:18pm
Wolf  [developer] 6 Oct, 2017 @ 3:04pm 
I tried my hand at a solution but things wouldn't work. I'll probably get out a dirtier solution (modifying the petBehavior.lua script directly) today.

I've got some nastier bugs with some of my other mods that need my attention. Once those are settled, I'll come back to this and hopefully find a cleaner solution.
ScallopD 6 Oct, 2017 @ 3:10pm 
Alright, sounds good. I thought the script would be the same as the pet house one but instead it changes the dock to the appropriate sprite, however I know nothing about coding so I'm probably talking crap.
Last edited by ScallopD; 6 Oct, 2017 @ 3:11pm
Wolf  [developer] 6 Oct, 2017 @ 7:54pm 
Okay so good news and bad news.

Good news first: the drone sleeps in the dock.
Bad news: the drone sleeps IN the dock.

Also, the solution is clean (I do not completely override everything in petBehavior.lua). So here's what the bad news means:

The game has a separate script for sleeping which animates the drone to be invisible. I can't do what I did with petBehavior.lua because I've got to modify and delete code in the script. However I might not have to do any of that because of the way frames work (hopefully). I'll try to see what I can do, but not soon. I've still got to fix a major bug in one of my other mods. As I said, when that gets finished I will come back to this.

Hopefully for now, this is better than nothing.
Last edited by Wolf; 6 Oct, 2017 @ 7:57pm
< >
Showing 1-7 of 7 comments
Per page: 1530 50