Starbound

Starbound

69 ratings
Avali Drone Pet Patch
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
122.550 KB
27 Apr, 2020 @ 6:23am
14 May, 2020 @ 6:07pm
4 Change Notes ( view )

Subscribe to download
Avali Drone Pet Patch

Description
Ever wonder why your futuristic pet drone gets stuck on single-block-high walls?
Or why only some versions have the drone use the charging dock?
How about why the darn thing is constantly following your every move?

Well have I got a patch for you!
In addition, your drone will look a little more lively when moving around!

NEW!
You will now be able to see your drones when they dock!
No more hudini bots going invisible when they should be right there, gad dangit!

What this does:
-v1.0
Changes collision values in the avalidronepet monstertype to let the drone properly navigate low rises.
Changes follow values in the drone monstertype to stop it constantly following you.
Removes a reference to a non-existent script from the older drone mods, letting them work.
Adds bits of code to let the drone use the dock as a pethouse.
Adds updated spritesheet to give the drone a little more animation to its movements.
-v1.1
Adds a new script (AvaliDrone_sleepAction).
Added new frame to the spritesheets and patches files to use frame.
>End result is drones are visible when docking, invisible when docking at pethouse.
-v1.15
Removed some debugging log spam from the new script
-v1.2
Changes petBehaviorAvali to properly ignore regular pethouses

Credits:
Leinglo for the original mod
🐱 for the fix to the original mod
Wolf for the bits of code letting the drone use the dock

Requires:
One (and ONLY one) of the existing Avali Drone Pet mods. Doesn't matter which one, as I've tried to make this patch compatible with all four mods and bring them to the same standard of functionality.
I would recommend using Wolf's mods though - they use file patches instead of outright file replacements. Helps with compatibility.

Please let me know of any bugs/issues you run into.
17 Comments
Wolf 18 Jul, 2020 @ 8:17pm 
@Atomic Dash FU's BYOS is a little funky when making the SAIL in that it doesn't have the proper pet type. If you're using this mod in conjunction with my version of the drone, I've made some compatibility patches. However, if you installed the mod after creating a BYOS ship, you'll need to switch your SAIL with a properly generated one. I've made a workaround for that, namely a reward bag you can craft from the avali nanolathe.
Wolf 18 Jul, 2020 @ 7:49pm 
Heck, just found this today, good stuff you have here! You've got everything pretty much fixed for the drone here, so not sure what else you'd need from my version. That said, go ahead and strip out whatever you need from mine to make this standalone if you ever so desire.
Atomic Dash 18 Jul, 2020 @ 8:29am 
Do you make the mod also FU compatible? It works with a normal ship but the BYOS from FU does not take over the drone. :fhappy:
Lonzo34  [author] 14 May, 2020 @ 6:20pm 
That last bit about not being able to ignore pethouses w/out compatibility was a lie, apparently.
Fixed that bit now too. Place all the pethouses you want, and your drones *should* ignore them all!
(if they don't let me know)
Lonzo34  [author] 2 May, 2020 @ 10:10pm 
@SeaStorm
Good news! I've fixed the invisibility!
I was mistaken at where the code is - the pets never actually interact with the pethouse; it's all in their action coding to go invisible.
This means couldn't add a second frame to the pethouse without *severe* recoding, but it also means the the fix was a lot simpler than I thought. Granted, it wasn't easy , but by having the pet use a modified sleepaction script (new one added, does not overwrite original) I could get it to stay visible when docking while still going invisible at a regular pethouse.
I can't stop it from sleeping at regular pethouses without breaking compatability, but just don't place a pethouse and you'll be all set.
Lonzo34  [author] 1 May, 2020 @ 11:04pm 
@Phoenix
Huh.
Seems like the Avali team only recently (Nov. 2019) added the cleaning drone. (I've had Purchasable Pets for forever so I never noticed)
Celeste the Fox 1 May, 2020 @ 6:07pm 
@SeaStorm im not using any mods that change pets in any way.
MonsterMadd1e 1 May, 2020 @ 5:07pm 
ok, thanks anyways!
Lonzo34  [author] 29 Apr, 2020 @ 8:17pm 
@SeaStorm
The way the pethouses are coded, pets that sleep in them turn invisible, and the pethouses themselves don't have a secondary sprite.

I'm looking into giving the dock a second sprite, but the game is being difficult.
Doesn't help that I'm new to modding

Using the Cleaning drone charger as a pethouse unfortunately doesn't solve the pets turning invisible.
MonsterMadd1e 29 Apr, 2020 @ 7:02pm 
Could the drone either, A. show on the dock when it's sleeping on it or, B. use the Cleaning Drone charger instead?