Starbound

Starbound

Custom species are curious too
32 kommentarer
◁ ▹Tail Biter ▶ 15. aug. kl. 0:24 
Glad people are still trying to make Starbound more of an escape from reality versus a fun space shooty survival game, appreciate your hard works
Corbent  [ophavsmand] 15. juli kl. 8:27 
@SealonBoard Glad to help. As for the description, I'm not sure. Haven't tested extensibly and world.entityDescription is a core function we can call but we don't have access to the source code for it. The only source of info on the API says:

"Returns the configured description for the specified inspectable entity (currently only objects and plants support this). Will return a species-specific description if species is specified and a generic description otherwise. "

What I have seen is that if they examine a machine, like in the last screenshot here with the hydro trays, they read their status.
SealonBoard 15. juli kl. 7:23 
@Corbent Thanks. It works perfectly. And if the desired race doesn't have description, it uses human description normally too! Thanks for helping me. I can now enjoy various races and match similar description dialogues for them! You're a life saver!

Also, the crew starts reading the nodes's description too. Breaking the fourth wall. So.. if the object or node doesn't have human description, it reads the short description instead. Am I guessing right?
Corbent  [ophavsmand] 14. juli kl. 21:39 
@SealonBoard Yeah I see what the issue is. I was in a rush in the morning but now I tested it. The substitutions need to go before the block that sets the race as human, not after. Obviously if it's already set to human, it won't be harpy or kitsune, or halfsea for the conditions. My mistake.
SealonBoard 14. juli kl. 21:01 
@Corbent Thanks for the generous advice. And I tested the code. It seems the original code has taken over the modified ones. Harpy races keep saying human descriptions, including the other races.


-----examples------

if world.entityDescription(args.entity, species) == world.entityDescription(args.entity) then
species = "human"
end

if species == "harpy" then
species = "avian"
end

if species == "kitsune" then
species = "hylotl"
end

if species == "halfsea" then
species = "hylotl"
end

if species == "mechineki" then
species = "neki"
end

if species == "starshroom" then
species = "floran"
end

if species == "saturnmothman" then
species = "saturn"
end

if species == "droden" then
species = "glitch"
end
-------------------

Could the reason would be the order, or priority of the code?
Corbent  [ophavsmand] 14. juli kl. 11:21 
@SealonBoard Hello. Sure. I am super busy at the moment so can't test and do it pretty. But A quick fix that might work is as follows:

There is a condition on line 12 that reads:

if world.entityDescription(args.entity, species) == world.entityDescription(args.entity) then
species = "human"
end

After that little block you can add:
if species == " <YourCustomSpeciesName> " then
species = " <DesiredSpeciesName> "
end

Repeat the block for each species you want to set.
SealonBoard 13. juli kl. 8:34 
I'm curious about modifying the cs_dialog.lua file to give specific race to share the specific vanila race's dialog.

Such as, giving harpies (they are cutebound avian) to share avian dialog. And share Hylotl's dialogue with Kitsune and Halfsea. Can you give me advice to modifying the code to specifying the races?
Banjo 5. maj 2022 kl. 11:38 
@Corbent hilarious stuff, mhm mhm
Corbent  [ophavsmand] 5. maj 2022 kl. 11:25 
@Pocket Egg Don't you love it when Steam leaves your post in limbo forever? Happened to me once and I had no idea way.
Banjo 2. maj 2022 kl. 8:28 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
Corbent  [ophavsmand] 6. mar. 2022 kl. 21:21 
New mod released! Was an awfully busy week so it took longer than usual. Corbent's Interactive Crew: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2774848292 , the ultimate crew overhaul! If you subscribe to that mod, you no longer need this one, as the inspect fix for custom races is included!
ThatCannibalisticDrone 25. feb. 2022 kl. 9:23 
I like the deerfolk and Neki's.
Nefilol Seflll 24. feb. 2022 kl. 16:28 
Denne kommentar afventer at blive analyseret af vores automatiske indholdskontrolsystem. Den er midlertidigt skjult, indtil vi bekræfter, at indholdet ikke er skadeligt (f.eks. links til websider, som forsøger at stjæle oplysninger).
Corbent  [ophavsmand] 24. feb. 2022 kl. 11:24 
@CaptainCrazeh A spiritual successor to Datebound is on my plans at some point if the engine doesn't crush my ambitions too early.
Corbent  [ophavsmand] 24. feb. 2022 kl. 11:22 
@Laudy Thanks. I have other ideas to overhaul the very lackluster companion system in this game.

Last night I got about 30% of the next one done. Instead of a fix It's a whole new crew feature if it succeeds. I'm just crossing my fingers so that I don't hit hard engine limitations that prevent it. I'm a very experienced coder, but not an experienced Starbound modder haha.

Looking for a Sunday release if all goes well.
CaptainCrazeh 24. feb. 2022 kl. 9:54 
I'm glad I'm not the only one who uses Datebound for crewmembers, especially of the Lyceen mod.
Laudy 24. feb. 2022 kl. 9:32 
This is a rather nice mod you've made here.
Corbent  [ophavsmand] 23. feb. 2022 kl. 6:49 
@Tea-Loving Lad Now that I see that Starbound modding isn't that hard to get into (although software development experience certainly is helping) I have some experiments to run. Can't make any promises but I'm poking around into some more potential improvements for crew interaction that might get released in a separate mod if successful.
Corbent  [ophavsmand] 23. feb. 2022 kl. 6:45 
@Hoovy Simulator 2 [FIN] Yeah, if the modders include species specific descriptions for the objects they add, that species can inspect them. This patch allows anyone to inspect anything. Which is the way it should have always been in my opinion.
SourceStick 23. feb. 2022 kl. 6:03 
I mean, and other furniture IF it comes from the Lyceen mod.
SourceStick 23. feb. 2022 kl. 6:02 
I once noticed that Lyceen like to inspect stuff, like doors, lights, tables and other furniture that comes from the Lyceen mod. I wonder if this also happens with other race mods.
Tea-Loving Lad 23. feb. 2022 kl. 3:01 
Damn! This is something that I never knew I needed.

Thanks for giving crew members some more character!
Corbent  [ophavsmand] 21. feb. 2022 kl. 22:56 
In fact I just had an idea. Since the default descriptions aren't that bad I might add a random chance (50%) of either using human or default line, increasing the variety of things the NPC can say.
Corbent  [ophavsmand] 21. feb. 2022 kl. 22:13 
@Kronolos Thanks for the observations. The mod has been updated to properly use human inspection lines. I have to say the mod feels ten times better now.
Aethis 21. feb. 2022 kl. 19:51 
thats pretty clever. I wish you good luck and a fudgeton of motivation
Corbent  [ophavsmand] 21. feb. 2022 kl. 19:49 
Now that you revealed this little detail to me, I'll see if I can add one more line somewhere to alter the condition the game uses and actually make it default to human lines and be more natural. FU and Enhanced Storage will remain as they are though since that's how those mods roll.
Aethis 21. feb. 2022 kl. 19:40 
enhanced storage inspection be like:
"12/64 slots used"
Corbent  [ophavsmand] 21. feb. 2022 kl. 19:39 
You are right, I was mistaken. it takes the description of the object if no species specific lines are found. Just checked. (Lack of experience using other species).

I found it funny that if they inspect FU machinery, they actually get the whole status display like power, inputs, outputs and such. When they inspect something they get the exact same thing you would get if you inspected it yourself.
Aethis 21. feb. 2022 kl. 19:17 
actually, the game defaults to the item description, some human things are the description but some are not. Unfortunately, my mothy and coated crew still dont have many unique lines outside of lamp inspection, sat. furniture inspection, and some lush planet furniture dialogue.
Corbent  [ophavsmand] 21. feb. 2022 kl. 18:20 
@Hermit Yes, human inspection lines are the ones the system defaults to when it can't find race specific ones.

Also the inspect action has a random cooldown between 1 to 3 minutes by default. So they don't talk that much. Left it unmodified since it could become annoying to some people. Might release another file with lower cooldown if people express interest in more talkative companions.
🦊 Hermit 21. feb. 2022 kl. 18:10 
I may be interested in this, I do like my crew being a little more talkative and lifelike. I assume the lines they default to would be the standard Human text?
Aethis 21. feb. 2022 kl. 13:30 
my fly and floofy as f... brethren will now join me as I inspect every atom of the rng universe