Starbound

Starbound

Avali Height and Tweaks for Race Traits
55 Comments
Some Other Dinosaur  [author] 14 Oct, 2024 @ 1:31pm 
@Orifan1
I'm assuming that the server has to have it, but I don't know for sure. I'd recommend referencing the Race Traits mod documentation (if it has any) on whether race add-ons are client-side or not.

It needs the NPC mod because I had to change the actual Avali race file to change the height because changing it as part of the status effect screwed up Morph Spheres and I didn't know how to fix that.

The consequence of not having the NPC mod is that all the NPC Avali will have tall sprites but short hitboxes, which makes them look like they're standing halfway into the ground.
Orifan1 5 Oct, 2024 @ 5:54am 
does this work on servers that also have race traits, but not this mod? nor the NPC mod?
❀♥.°Rocio°.♥❀ 2 Sep, 2024 @ 4:54pm 
alright thanks so much, im gonna try this mod then ^^
good side i have openstarbound so im gonna see how it works.
Some Other Dinosaur  [author] 2 Sep, 2024 @ 2:43pm 
@❀♥.°Kanmi°.♥❀
SmolAvali manually made smaller Avali sprites, which I believe is the superior method that overall produces better results than scaling them in-game.

The downsides to SmolAvali is that it creates a new race rather than altering the original Avali race, so all the Avali NPCs will be tall.
Also, last I checked the mod was never finished, so not every armor and cosmetic item was properly altered to fit the SmolAvali. Plus, any compatibility with other Avali armor / cosmetic mods would have to be added manually.

This mod scales the in-game sprites to be smaller, which means all armor and cosmetics work out-of-the-box, but consequently it creates a bit of jank that I never figured out how to fix. OpenStarbound apparently fixes some of this jank, though I haven't tested this myself.

And yes, you will need Race Traits to run this mod.
❀♥.°Rocio°.♥❀ 1 Sep, 2024 @ 4:57pm 
So, this mod is the same but better than the others i read "smolavali"? im wanna make sure because im want to try c:

PD: Do i need the addon Race traits if i have Openstarbound playing?
Some Other Dinosaur  [author] 5 Aug, 2024 @ 7:33pm 
@Trans Girl Kasyu
Thank you!

This is the first I've heard of OpenStarbound. It looks like exactly what this game has needed for a while now lol. Glad they fixed the scaling issue in any case.
Trans Girl Kasyu 2 Aug, 2024 @ 6:24pm 
very well done!
Trans Girl Kasyu 2 Aug, 2024 @ 4:26pm 
for some reason the sprites scale properly with openstarbound without losing detail
Some Other Dinosaur  [author] 28 Dec, 2023 @ 8:04pm 
@mkcarawaymk
I don't know what you mean by that question.

If you want to make their legs shorter, that would involve editing some sprites and changing the humans' standingPoly and crouchingPoly values.

If you just want to just make them smaller like this mod does, please see the breakdown I typed up earlier in the comments.
mkcarawaymk 27 Dec, 2023 @ 3:29pm 
how do I change the human players height for legs?
:ujel: Jamjam/jamzo_wamzo 17 Nov, 2023 @ 12:17pm 
yoo thanks, this might even help me coding class lolz:steamthumbsup:
Some Other Dinosaur  [author] 16 Nov, 2023 @ 8:49am 
@wet sandpaper
Also, here's the original "standingPoly", "crouchingPoly", "mass", and "frontHandPosition" values. Its the only things I really changed in the "avalinoid.config" file.

"frontHandPosition" : [8, -3],

"standingPoly" : [ [-0.75, -2.0], [-0.35, -2.5], [0.35, -2.5], [0.75, -2.0], [0.75, 0.65], [0.35, 1.22], [-0.35, 1.22], [-0.75, 0.65] ],
"crouchingPoly" : [ [-0.75, -2.0], [-0.35, -2.5], [0.35, -2.5], [0.75, -2.0], [0.75, -1], [0.35, -0.5], [-0.35, -0.5], [-0.75, -1] ],
"mass" : 1.6,
Some Other Dinosaur  [author] 16 Nov, 2023 @ 8:46am 
@wet sandpaper
Once you get it unpacked, I'll try to break down really quick what each file in my mod does.

"avali.species.patch" patches the avali.species file to use the "avalinoid.config" file.

"avalinoid.config" defines the hitbox values and other values. (You're looking for "standingPoly", "crouchingPoly", and "frontHandPosition").

You'll want to rename "avali.species.patch" to "[race].species.patch", with [race] being the name of the race in the race mod's files.

"avaliheight.lua" changes the sprite size.

"avaliheight.statuseffect" creates a status effect that uses the "avaliheight.lua" file as its script.

Changing the sprite size is as easy as changing the number in "avaliheight.lua". As for "avaliheight.statuseffect", rename stuff accordingly.

"om_racetraits.statuseffect.patch" tells Race Traits which status effects to apply to which race (and in this case, I also used it to change the Avali run speed and jump height). Change the values in here accordingly.
Some Other Dinosaur  [author] 16 Nov, 2023 @ 8:28am 
@wet sandpaper
You ain't stupid. It took me quite a bit of trial and error to make this mod in the first place lol.

I am unfortunately not inclined to make a tutorial, but I can at least point you in the right direction.

You'll need to know how to "pack" and "unpack" mod files. Either of these tutorials will work:
https://community.playstarbound.com/threads/how-to-successfully-pack-and-unpack-pak-files.66649/
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=745239455

I'd recommend also unpacking the game's files, Race Traits, and the race mod you're working with, so that you can find all the right values you need to switch out.
:ujel: Jamjam/jamzo_wamzo 9 Nov, 2023 @ 1:55pm 
im stupid af lol sorry for asking but i prob need a tutorial or some shi to change the sprite size and change the race it applies to.
:ujel: Jamjam/jamzo_wamzo 9 Nov, 2023 @ 1:54pm 
well i tried my best, i failed miserably.
:ujel: Jamjam/jamzo_wamzo 9 Nov, 2023 @ 1:15pm 
sorry for being so annoying but, where do i find the statuseffect.patch and the avaliheight.lua files? its probably very obvious but im stupid af
:ujel: Jamjam/jamzo_wamzo 9 Nov, 2023 @ 1:11pm 
i dunno anything about coding but i know how to change values, hopefully it doesnt instantly crash.
Some Other Dinosaur  [author] 8 Nov, 2023 @ 9:09pm 
@wet sandpaper
To make it point to a new race, you need to find the om_racetraits.statuseffect.patch file and change the values to point to the other race.

To make the character appear larger find the avaliheight.lua file and change the scale value to whatever you need it to be (for example, 2 for double the size, .5 for half the size, etc)

To alter the character's hitbox, find the "avalinoid.config" folder and change the "standingPoly" and "crouchingPoly" values. The easiest way to do this would be to find the values from the original Starbound "humanoid.config" file and then multiply them by the same scale value you used in the status effect .lua file.

You may also have to change the "frontHandPosition" so held items appear properly on your character. You can also change "mass" to alter how the race is affected by gravity.
:ujel: Jamjam/jamzo_wamzo 7 Nov, 2023 @ 9:18am 
additionally, how to i made the sprites taller, rather than smaller?
:ujel: Jamjam/jamzo_wamzo 6 Nov, 2023 @ 12:34pm 
is there a way to change the race this applies to? ive been trying myself but im too stupid for it to work.
Some Other Dinosaur  [author] 9 Aug, 2023 @ 9:18pm 
Yeah, feel free to use my mod as the basis for that if you want. All you really gotta do is change some names and make everything point to the Avikan rather than the Avali.
Assassin Fennec 4 Aug, 2023 @ 1:09am 
could this also be done for the Avikan?
Some Other Dinosaur  [author] 26 Jul, 2022 @ 9:06pm 
@Cody Bayliss
I haven't tried it myself but uninstalling this shouldn't break anything. You can also uninstall Race Traits no problem if you follow the steps on the mod's page.
The NPC Add-on for Race Traits is a different story though. Uninstalling that will break existing NPCs.
Cody Bayliss 23 Jul, 2022 @ 9:46pm 
can this be removed?
Some Other Dinosaur  [author] 17 Jan, 2022 @ 3:02pm 
Thanks for the heads up guys. Unfortunately, I don't think I can fix the issue. As far as I can tell, there's no way I can apply the scaling effect to just the character.

This issue seems to apply to all procedurally-generated Assault Rifles, even those held by the player, and possibly other weapons that are composed of multiple pieces.

If you want to workaround this issue for your NPC Crew Members, you can use the Crew Customization + mod to change your crew members' weapons.
Obsidian [it/its] 13 Jan, 2022 @ 8:01pm 
I figure if the held weapons were somehow unscaled, it would fix that
Combat Carl 12 Jan, 2022 @ 7:07pm 
It's an awesome mod, but it breaks the randomized guns that crewmembers/recruits can spawn in with and it's too big of a bug to overlook on my end, if that was ever fixed this would become a mainstay mod for me.
Some Other Dinosaur  [author] 16 Dec, 2021 @ 3:43pm 
@AvaAvari
I think you got a little mixed up. Race Traits are active by default. You don't need to use the device to make them active. So when you're using the device to "activate" the race traits, you're actually deactivating them because they were already on.
AvaAvari 16 Dec, 2021 @ 10:43am 
question maybe ive done something wrong but ive checked most things the mod seems to activate before even activating race traits with its in game item this causes when you do activate race traits the character bugs out and your hit box stays the same but the sprite reverts
Some Other Dinosaur  [author] 5 Dec, 2021 @ 5:38pm 
@TerraEve Sorry, but for this mod I'd rather keep the hitbox matching the actual sprite, as best as I managed that anywho.
Argalia 5 Dec, 2021 @ 4:38am 
can you change the hitbox so they can fit through 2 block horozontal gaps and 1 block vertical gaps?
Some Other Dinosaur  [author] 21 Nov, 2021 @ 10:07pm 
Aight, the Race Traits devs updated the NPC patch to apply to crew members, so the issue with crew members should be fixed now. :steamthumbsup:
Some Other Dinosaur  [author] 5 Nov, 2021 @ 11:07pm 
@Pixel
Awesome, glad to hear it's working for the most part!

As for the issue, I looked into it and the issue with the crew members is a Race Traits thing. At the moment the NPC add-on doesn't apply Race Trait effects to crew members, but that might change in a future update according to one of the authors.

But it makes sense that the crew still has changed physics, because there were certain things that I applied via a config file for the Avali race rather than through the status effect.
Pixel 5 Nov, 2021 @ 1:25pm 
Very much enjoying this mod, for the most part it works a treat!
Only just now encountered a problem. The physics seem to apply to crew members, but not the visuals. Any idea what might be causing that?
Some Other Dinosaur  [author] 25 Oct, 2021 @ 3:47pm 
@Niko
SmolAvali creates its own version of the Avali race with manually resized sprites, whereas this mod resizes the Avali race via a status effect (with the status effect being applied via Race Traits).

SmolAvali will look better because the sprites were resized manually, but it may not have all of the armor and clothing.
The method I used in this mod resizes any armor and clothing worn automatically, but a lot of things will look either wonky or ugly due to the game resizing the sprites instead of a human.

That's the gist of it. :P
Eevote 24 Oct, 2021 @ 10:54pm 
Like what's the difference
Eevote 24 Oct, 2021 @ 10:54pm 
Is this not just smolvali?
Some Other Dinosaur  [author] 24 Oct, 2021 @ 3:52pm 
@Oмεяυıп
Thanks for letting me know. I have amended the description with the proper credits.
LookinDapper 24 Oct, 2021 @ 10:03am 
thanks for the fix!
Oмεяυıп 23 Oct, 2021 @ 8:49pm 
Thank you for this addon!
However, Race Traits is by Silver and I! We're co-devs. Not just made by me. Thank you.
Some Other Dinosaur  [author] 23 Oct, 2021 @ 6:45pm 
Aight, I fixed the Distortion Sphere. Turned out all I had to do was set the collision polys in the humanoid config file for the Avali instead of setting it in the status effect lua like a big dumb.
Some Other Dinosaur  [author] 23 Oct, 2021 @ 4:27pm 
@LookinDapper
Ah yeah, I haven't tested this with either Frackin' Universe or with crew members, so I'm not sure what the problem could be.
As for the Morph Ball thing... I think the issue is due to the status effect's setting of the hitbox overriding the morph ball tech's setting of the hitbox. I might be able to fix it if I can add some sort of check in the lua script.
LookinDapper 23 Oct, 2021 @ 4:46am 
i found a bug with Frankin U, any Avali crew grow back to a 4 block size. Another thing is that the ball transform thing floats a block above the ground. but otherwise a fantastic mod.
Kleiton 21 Oct, 2021 @ 8:06pm 
Straight up opened the Worshop thinking "I need to catch back up with Avali mods" and Steam shows me this in the front page, Big W
Some Other Dinosaur  [author] 21 Oct, 2021 @ 5:44pm 
@TheHopelessThrumbo Yeah honestly, and thanks! :steamthumbsup:
TheHopelessThrumbo 21 Oct, 2021 @ 2:37pm 
SB is a big dumbo sadly, and making the sprites even smaller hurts my eyes. Neat job regardless.
ATTA 20 Oct, 2021 @ 6:28am 
Godness, not bitter furry goblins, not...why...no way...:missing:
Moth 20 Oct, 2021 @ 3:27am 
WELP, SMOLAVALI IS REDUNDANT NOW AFAIC
Some Other Dinosaur  [author] 19 Oct, 2021 @ 1:48pm 
@Silver Sokolova
BTW you guys did great with Race Traits. It was super easy to add the custom effect (the patch guide was super helpful in that regard lol).