Starbound

Starbound

Avali Drone Pet (1.3 Patch)
ScallopD 2017 年 9 月 30 日 上午 4:07
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?
最后由 ScallopD 编辑于; 2017 年 9 月 30 日 上午 5:00
< >
正在显示第 1 - 7 条,共 7 条留言
Seafarer 2017 年 9 月 30 日 下午 12:42 
I too have this problem.
Wolf  [开发者] 2017 年 9 月 30 日 下午 1:05 
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 2017 年 9 月 30 日 下午 1:18 
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 2017 年 10 月 6 日 下午 2:16 
Hey, found anything yet? Sorry to bother, but I'm really interested in getting this mod working properly.
最后由 ScallopD 编辑于; 2017 年 10 月 6 日 下午 2:18
Wolf  [开发者] 2017 年 10 月 6 日 下午 3:04 
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 2017 年 10 月 6 日 下午 3:10 
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.
最后由 ScallopD 编辑于; 2017 年 10 月 6 日 下午 3:11
Wolf  [开发者] 2017 年 10 月 6 日 下午 7:54 
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.
最后由 Wolf 编辑于; 2017 年 10 月 6 日 下午 7:57
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50