Barotrauma 潜渊症

Barotrauma 潜渊症

Revive Bots - Endless Crew Respawns
120 条留言
NPC 11 月 1 日 下午 12:20 
ah ok good to know it may be future update
DieSchwarzeSpinne  [作者] 11 月 1 日 上午 11:48 
@NPC. Unfortunately no. But this will probably be added at a later date
NPC 11 月 1 日 上午 9:22 
Does this mod revive pets like mudrapers
drunk driving compilation #42 10 月 27 日 下午 5:00 
that's a ton of text that i don't have the attention span to understand, but you're the modder, you do what's best
DieSchwarzeSpinne  [作者] 10 月 25 日 上午 6:28 
@drunk driving compilation #42. You seem to forget that you would also need to reset the exp so the right level so new talent points do not require more exp than before. Then one would also need to consider the current exp. In case the current exp exeeds the new level threshold you would gain another talent point. In this case, would you just keep the talent point (And possibly use it for a talent that you did not have in the first place), or would you then lose 1 less talent? Furthermore, deleting the right talents is not as simple. I would need to figure out what talents are lower in the talent tree and only delete the leaves. And what happens when a whole talent tree is deleted? In this case the other talent trees become available again (As they only lock when starting a different tree). These are all things that need to be considered when I would implement losing a percentage.

It is not hard, but requires much more work than simply resetting both the talents and the exp to 0.
drunk driving compilation #42 10 月 24 日 下午 7:23 
\/ Doesn't seem too hard, take the current amount of talents and multiply by the precentage, then round to the nearest whole number of talents
either that, or do it by the total talent xp, then convert the remaining into talents
DieSchwarzeSpinne  [作者] 10 月 23 日 上午 6:37 
@drunk driving compilation #42. I guess it would be possible to lose all talents on death. Losing only a % would be a bit harder.
drunk driving compilation #42 10 月 22 日 下午 6:42 
any way of losing talents, or a % of talents on death?
DieSchwarzeSpinne  [作者] 10 月 10 日 上午 3:59 
@Samu333_Dorado_. Changes made using commands should be saved. So the next time you start the server, the changes should still be there.
Samu333_Dorado_ 10 月 9 日 下午 1:08 
I have a cuestion, if you use the commands to chance the rules of the revive of bots and close the server or the game iself, the chances i have made will stay or will chance back to default?
DieSchwarzeSpinne  [作者] 10 月 8 日 上午 7:06 
@Fancy_Force. What exactly did you change in the Afflictions.xml file and could you copy the whole error message?
Fancy_Force 10 月 8 日 上午 3:46 
Mod returns a hash error when editing the Afflictions.xml file, please help
DieSchwarzeSpinne  [作者] 9 月 27 日 下午 2:51 
@Johnny Bifoutre. Unfortunately no. The mod only works when the bots die while the mod is active.
Johnny Bifoutre 9 月 20 日 下午 9:02 
Hello my crew died the round before I installed the mod. Now I am at a station, is it possible for them to revive ? I kept the bags.
[R.P.C.]Ashuryx 8 月 4 日 下午 12:14 
well he spawned in as a mechanic and he created new and he killed his character to spawn as the class he wanted then with eva suit from deadspace on him and a other modded weapons we launched to start a mission and the eva suit on him was gone along with all the modded weapons we bought that he was carrying wasnt sure if it was the mod or the game being wonky
DieSchwarzeSpinne  [作者] 8 月 4 日 上午 11:26 
@[R.P.C.]johnlemoore. Thank you for this information. Not sure if this happened because of the mod, as the mod checks for if the characer that is respawned was a bot. But nonetheless, I will investigate and try to fix this, if it is indeed caused by my mod.

Do you know how exactly he changed his character? Like what were the steps he took, when did he equip his suit/weapons and did you add/remove any bots while at the station? If you can provide some more information it is easier to figure out, what exactly happened.
[R.P.C.]Ashuryx 8 月 4 日 上午 9:38 
not sure if its the mod but my friend changed his character during station respawned and was that class had a suit on and weapons equiped next round started he was back to the basic equipment
radar defender 7 月 1 日 上午 4:38 
oh okay that explains then thanks, have a nice day :)
DieSchwarzeSpinne  [作者] 7 月 1 日 上午 1:27 
@radar defender. Yes, I assume you just host the server yourself? Like one of you just presses host game and the others join? Then the one hosting has to select the Lua for Barotrauma Executable when starting the server. You can refer to the Lua for Barotrauma workshop page to see exactly how to host a server with lua.
radar defender 6 月 30 日 下午 8:47 
well yes i installed lua for barotrauma and my friend too, or do you mean that a server should have it too?
DieSchwarzeSpinne  [作者] 6 月 29 日 下午 3:03 
@radar defender. Did you install Lua for Barotrauma correctly? You need to use clientside lua when playing singleplayer (Look at the workshop for Lua for Barotrauma to see how to install that). In case you play multiplayer you need to have this mod and lua for barotrauma installed in the host.

To check if everything works you can open the console and look for the logs the mod creates. If there are no messages, the mod is not installed correctly
radar defender 6 月 29 日 上午 11:21 
i installed it apllied and my asisstant still didn`t respawn please advice
瀚星之翎 6 月 27 日 上午 6:13 
thx:steamhappy:
DieSchwarzeSpinne  [作者] 6 月 27 日 上午 6:04 
@瀚星之翎. This is indeed an issue that can happen when the bots drop the items they hold in their hands when they die. I plan to add this later, but unfortunately I do not have time to work on this mod right now.
Aragog 6 月 26 日 下午 1:16 
Got 11 suits for the 8 bots I have, most died from getting crushed by pressure anyways as they put the suits off because "of course the endworm would only attack us once, I'm completely safe" (dies immediately) Thank you for this mod. A lot of idiot bots where saved :steamthumbsup:
瀚星之翎 6 月 26 日 上午 8:55 
Due to the death of robots in combat with enemies, valuable firearms held in hand may fall off, and handheld items are often lost during resurrection. Can you create a function that prevents handheld items from falling off during death?
Husk cultist 6 月 18 日 上午 7:08 
now i wont be mad when my bot dies to a ♥♥♥♥♥♥♥ hammer head baby because it was busy repairing a useless wall
瀚星之翎 6 月 17 日 下午 9:31 
thank you:steamhappy:
DieSchwarzeSpinne  [作者] 6 月 17 日 上午 10:23 
@瀚星之翎. Thank you for reporting this issue. Unfortunately this does not seem like an easy fix and I would need some time to figure out how to lock the crew-list order. Because I'm currently very busy this will not be finished soon. But I put it on my list for things to add to the mod so when I have more time, I will try to add this.
瀚星之翎 6 月 17 日 上午 7:15 
Could I kindly ask you to develop a mod that enables play to freely adjust and lock the order of the bot crew list on the left? In single-player mode, whenever a bot dies and is resurrected, the order of the bot list becomes scrambled. Despite restoring it by dragging, the list reverts back to the scrambled order at the conclusion of each tour.
DieSchwarzeSpinne  [作者] 5 月 16 日 下午 2:09 
@尤里大人-ule. The mod only checks for the 'ManageSettings' permission. You need this permission to use the bot commands. If you have this permission and it still does not work, please send me the exact error message saying that you don't have permission so I can figure out if it is a problem with my mod of barotrauma itself.

As a quick workaround you can also change the settings by manually editing the 'config.lua' file under 'Revive Bots/Lua/config.lua' in the servers mod folder (Which usually is under %LocalAppData%\Daedalic Entertainment GmbH\Barotrauma\WorkshopMods\Installed\3253027507.
尤里大人-ule 5 月 14 日 上午 9:47 
I am the owner of a server, but when I type command from here it said I don't have the permission, thats weird........
あるうい 4 月 20 日 上午 4:26 
The command can automatically completed, but the command cannot be found.
あるうい 4 月 20 日 上午 4:18 
I used Lua but it still didn't work for me,I'm sure I installed it correctly, but the example commands above don't work either.
DieSchwarzeSpinne  [作者] 4 月 19 日 下午 3:51 
@[AGE]Rick_cake. The mod seems to work fine on my end. Are you sure that you have Lua for Barotrauma installed aswell? And if you play in singleplayer you need to activate Lua for Barotrauma for singleplayer. See the Lua for Barotrauma Workshop page on how to do that. If you host a server you have to make sure to select the Lua for Barotrauma executable.

If all that does not work, please open the F2 Console and send the logs that are generated, when a new round starts and the BOTs do not revive.
[AGE]Rick_cake 4 月 19 日 上午 3:50 
"Hey, I think there's a bug — AI crew members can't be revived anymore."

"It seems there's a bug with AI revival. They stay dead even when they should be able to come back."
Skitter 3 月 4 日 下午 7:10 
is it possible to detect when a player dies or respawns? if so, can you use that to apply BB when necessary? i haven't found a mod for adding back reaper's tax either which is weird, the concept of being haunted by memories of your past lives is so wonderfully existential dread inducing and was fun to RP with.
i know bug burden lore-wise is meant to be the npc glitching out after being forcefully restarted by this mod rather than reincarnation-based trauma, but you could either reflavor the effect or add a variant of the debuff with different flavor text for player characters.
DieSchwarzeSpinne  [作者] 3 月 1 日 下午 1:22 
@Skitter. Unfortunately players use a different respawn system so giving players bug burden when respawning isn't that easy. Maybe other people already made a mod for adding back Reapers Tax?
The idea of pets respawning as well is an interesting idea. But as pets do not count as normal crewmates this is also not so easy. I'm currently a bit busy but when I have time I'll look into maybe adding respawnable pets aswell but I'm not sure that it is possible.
Skitter 3 月 1 日 下午 1:06 
could you potentially allow us to toggle on bug burden on players now that reapers tax is gone? and maybe allow pet respawns?
Tendou Arisu 1 月 5 日 下午 7:31 
@DieRauteEnte thank you so much! I think it's working now!
DieSchwarzeSpinne  [作者] 1 月 5 日 下午 5:37 
@Tendou Arisu. When you subscribe to "Lua for Barotrauma" you do not automatically install clientside lua and singleplayer won't work directly. To install clientside lua you can follow the guide on the Lua for Barotrauma workshop page or follow the instructions in this youtube video.

To check if clientside lua is working you can look in the upper left corner in the main menu: There should be a red text saying that lua is working.

To use lua in multiplayer you have to change the server executable when starting the server in the main menu(Just click on LuaForBarotrauma in the ServerExecutable dropdown when you press host server)

Please let me know if lua is working correctly(Press F3 to open the debug console. In there you should see some debug messages of lua) and incase lua works but the command still does not work, what exaclty you type in the console.
Tendou Arisu 1 月 5 日 下午 5:15 
the command didn't work for me
Tendou Arisu 1 月 5 日 下午 5:14 
Thank you for your reply! I am playing single player. I have clicked "subscribe to all". it seems to include LUA for barotrauma
DieSchwarzeSpinne  [作者] 1 月 5 日 下午 3:45 
@Tendou Arisu. The command only shows up in console when you have installed both this mod and CLIENTSIDE Lua(You have to enable clientside lua seperately when you install Lua for Barotrauma). But the command should work even if you do not have clientside lua active.

Does the command still work? Like when you use the example commands in the description, do they work?
Tendou Arisu 1 月 4 日 下午 1:39 
Command "changeReviveBotsSetting" not found.
水月 2024 年 10 月 31 日 上午 11:56 
@DieRauteEnte,Thank you for your work.
DieSchwarzeSpinne  [作者] 2024 年 10 月 31 日 上午 11:31 
@水月. Thank for for that log. It was indeed a bug caused by how the job levels were stored by Barotrauma. It only happened when you turned on 'enableSkillReduction'. This is also the reason it worked after reinstalling the mod. The newest update should fix this issue.
水月 2024 年 10 月 31 日 上午 10:46 
[ReviveBots] [Client] Reviving BOTs which died this round.
[ReviveBots] [Client] Reviving dead BOT named k1
[ReviveBots] [Client] loseGeneOnDeath is set to false.Skipping gene removal
[CL LUA ERROR] USERNAME C:/Users/USERNAME/AppData/Local/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/Installed/3253027507/Lua/Autorun/Revive Bots.lua:(175,16-105): cannot access field LevelRange of userdata <Barotrauma.SkillPrefab>
水月 2024 年 10 月 31 日 上午 10:43 
Oh, damn. This error has occurred again, and by this time I already had 12 people.
水月 2024 年 10 月 31 日 上午 7:54 
Oh, after I deleted the Installed folder and re-subscribed to all the mods, they seem to be working properly now.