Barotrauma 潜渊症

Barotrauma 潜渊症

Better Charging (WITHOUT DETERIORATION CHANGES)
59 条留言
Roadent 6 月 26 日 下午 3:32 
Alright, I checked out the implementation of the mod.

You're right - there is no way to apply the effects to the Diving Suit Locker without overriding the Diving Suits themselves. :(

Anyways, I found some outdated code that I'd suggest updating:

-Update the <StatusEffect type="OnFailure">. The Barotrauma devs have added an "electricshock" Affliction, as well as a 50% probability of stun. This applies to Batteries, Charging Docks, and both Oxygen Tank Shelves (small one and legacy one).

-For both oxygentankshelf and oxygentankshelf2, the Barotrauma devs have added a ItemsUseInventoryPlacement="true" attribute to the <ItemContainer> element. This makes the layout of the tanks in the Oxygen Tank Shelf be drawn according to their position in the inventory. Now that it's disabled, the tanks are always drawn, at least on oxygentankshelf2, left-to-right, which looks less pretty.
heheboi  [作者] 6 月 12 日 上午 7:21 
It is impossible to do with current system without lua or overriding suits and oxygen tanks, which I dont wanna do for compability reasons.
Roadent 6 月 12 日 上午 6:05 
What I meant by "pull electricity" is:

In vanilla, Oxygen Tank Shelves pull 30 kW of energy, and Diving Suit Lockers pull 10 kW of energy.

In this mod, Oxygen Tank Shelves pull 10 kW energy when idle, and then +100 kW of energy per each oxygen tank it's charging. So, 110 kW for 1 tank charging; 210 kW for 2 tanks; 310 kW for 3 tanks.

However, Diving Suit Lockers do not have that behavior. They always pull 10 kW, regardless of whether the Oxygen Tank within the Diving Suit is full or not. One would expect the Diving Suit Locker to also pull 110 kW if it's charging the Oxygen Tank within the Diving Suit.
heheboi  [作者] 6 月 12 日 上午 4:45 
Nah, I dont
Ozen (Лиса) 6 月 11 日 下午 11:25 
Author, maybe you know of a mod kinda reverting process. I mean to charge oxygen tanks at the station and then release oxygen to hull when powered. Like it's done in reality. Thank you in advance
heheboi  [作者] 6 月 11 日 上午 8:09 
they already pull electricity in vanilla.
Roadent 6 月 11 日 上午 6:11 
Diving Suit lockers do not pull electricity and lower hull oxygen when you insert a diving suit with a not-full oxygen tank inside the same way that Oxygen Tank Shelves do.

Would it be possible to program in that functionality as well?
Draconis🐊 6 月 4 日 上午 12:12 
Honestly this should be Pull Requested because it would make upgrading the O2 generator actually a big deal.
heheboi  [作者] 4 月 30 日 上午 3:50 
I dont understand why it shouldnt.
cursedsanti 4 月 29 日 下午 6:29 
still works?
heheboi  [作者] 2024 年 11 月 14 日 上午 10:47 
Re-Update mod
Nobaru 2024 年 11 月 14 日 上午 10:45 
Okay it's gone now. Thank you.
heheboi  [作者] 2024 年 11 月 14 日 上午 10:40 
Will try to re-upload
heheboi  [作者] 2024 年 11 月 14 日 上午 10:39 
Charging dock wasnt updated in last patch
Nobaru 2024 年 11 月 14 日 上午 10:30 
Looks like something broke with the last update, the status led on the charging dock is constantly flickering between red and green.
heheboi  [作者] 2024 年 11 月 12 日 上午 7:16 
Im not gonna implement your fix, Im just gonna fix 3 oxygen tank fix for hig shelf and that's about it, I dont see any reason to lower oxygen drain.
heheboi  [作者] 2024 年 11 月 12 日 上午 7:13 
What?
Nick Molliger 2024 年 11 月 12 日 上午 6:46 
Bro, i sent you whole fixed .xml. Please try it and update.
heheboi  [作者] 2024 年 11 月 11 日 上午 9:17 
Released experimental fix, didnt test it properly but it seems to be working without issues - test it out lol
Nick Molliger 2024 年 11 月 11 日 上午 7:56 
Playbacking the issue:
1. Create new campaign with only this mod (no lua, no cs, no others)
2. Wear Oxygen Mask
3. Disconnect Oxygen Generator power input
4. Disconnect Oxygen Tank Shelf power input
5. Put your unfull oxygen tank from mask into the shelf
6. Go to status monitor and watch how oxygen level drains in the room with shelves

Sorry, I tried many methods to edit code of StatusEffects but i'm bad in modding this game
heheboi  [作者] 2024 年 11 月 10 日 下午 8:46 
They shouldnt consume oxygen when not powered, will look into that.
Nick Molliger 2024 年 11 月 10 日 下午 3:04 
Oxygen tank shelves are consuming hull oxygen even when they're disabled, but have at least one tank not full inside. Is it possible to fix this?
Sasha Fox #SaveTF2 2024 年 10 月 20 日 下午 11:17 
So wait, the original mod author was upset over content posted on a Discord, so they took it out on all of us who use the workshop? I feel content is just content, you ignore/block people you don't like, but ruining hundreds of innocent users progress who have zero clue over whats happening in Discords is a bit... I'm an animal lover and even I don't get triggered over what people post, if someones posting content I really don't want to see I block them or don't interact with that Discord. No need to make it hundreds of innocent peoples problem otherwise your worse then the people uploading the gifs as your doing something that hundreds can't even control in updating and spreading it to hundreds of users ruining saves.
NeckRopeMancer 2024 年 10 月 20 日 下午 3:28 
Actually, panman does have authority to repost. The authority comes from your agreement in using Barotrauma's license to produce your content.

Your content has no standalone functionality and is entirely reliant on the Barotrauma application in order to operate, as well as making extensive use of the Barotrauma API.

Pursuant the above, you would not have any standing to lay claim to copyright of the above content as doing so would be a breach of the Barotrauma IP and you could face litigation by Daedalic Entertainment for breach of licensing terms.

So, go ahead and do it, you won't. Talk big game but tiny ass man.
POSTACI 2024 年 10 月 20 日 上午 9:16 
ah nvm you are the guy who got mad at cat gifs
POSTACI 2024 年 10 月 20 日 上午 9:14 
@Black_moons Dude I don't even know you but just from reading this mod page I can say that you are a sore loser
ALE199 2024 年 10 月 20 日 上午 12:30 
Why is Barotrauma the game with so much drama, like I thought of all the games Barotrauma wouldn't get it on the account it's not a pvp sweat fest
starqueen 2024 年 10 月 19 日 下午 7:43 
what drama happened with moon?
Matsumoto Rise 2024 年 10 月 19 日 下午 7:14 
It looks like the lighting you modified uses a projection lamp. Please don't do this, it will affect game performance.
Matsumoto Rise 2024 年 10 月 19 日 下午 5:09 
I love immersive mods, full score!
horse 2024 年 10 月 18 日 上午 6:18 
It isn't really a crime. Just a "minor" inconvinience.
Cirind Chaosdiver 2024 年 10 月 18 日 上午 4:46 
I love the fact that original mod author is threatening DMCA in comments after adding god damn malware to his mod lmao.

Threatening DMCA after literally commiting crime. Big fucking brain moment.
RTO700 2024 年 10 月 18 日 上午 3:20 
IR's batteries will randomly zap, start fires or electrocute nearby water when flooded. Also there is a opening look for it.
heheboi  [作者] 2024 年 10 月 18 日 上午 2:18 
Why it is needed?
RTO700 2024 年 10 月 18 日 上午 1:32 
Will there be a patche for immersive reipair?
Dezztroy 2024 年 10 月 17 日 下午 6:30 
Original modder should be banned from the workshop for uploading malware.
epple 2024 年 10 月 17 日 上午 5:16 
zamn, never knew why all Moons addons got privated/deleted. Welp. Thanks for keeping a fun addon alive :rep2:

Do you think it's possible to mirror the proximity depth charge addon too?
Nobaru 2024 年 10 月 17 日 上午 4:58 
Thanks for clarifying that the damage is permanent. I used a backup, so fortunately, I didn’t lose much progress, although I still have backups of the damaged subs.
heheboi  [作者] 2024 年 10 月 17 日 上午 3:53 
@Nobaru disabling mod wouldnt fix the damage, it is permament unless you using instructions below


lua choosensubmarine = nil for submarine in SubmarineInfo.SavedSubmarines do if string.lower(submarine.Name) == string.lower(Game.GameSession.SubmarineInfo.Name) then print(submarine.Name , ' original file added as pending submarine') choosensubmarine = submarine break end end Game.GameSession.SubmarineInfo.Name = Game.GameSession.SubmarineInfo.Name .. '_corrupted' Game.GameSession.SwitchSubmarine(choosensubmarine, true)


this is a singlular console command.
start round, run it then level transition (dock or undock). It essentially buys you a stock version of your sub and adds it to pending with transfer items enabled. unattach anything nailed to walls before round change otherwise it wouldnt transfer
Destroyer1104 2024 年 10 月 17 日 上午 2:48 
Based mod
Nobaru 2024 年 10 月 17 日 上午 2:19 
To clarify, there are users claiming that simply disabling the original mod fixed the issue of the junction boxes getting fried. However, I had to apply a backup or restart from a point before I bought the submarine to resolve the issue. This was just the most convenient way for me to fix it, not saying there are other solutions or I may have done something wrong to completely get rid of the status effect. Just docking and restarting the mission didn’t work at least, even with the mod disabled.
Slime Incarnate 2024 年 10 月 17 日 上午 12:51 
what is this undertow drama you mentioned, im trying to figure out why the hell they would just sabotage their own mod
Eebly sheembly 2024 年 10 月 16 日 下午 11:55 
the edited cats were too much for black moons :pensive:
horse 2024 年 10 月 16 日 下午 11:14 
peak drama
heheboi  [作者] 2024 年 10 月 16 日 下午 11:10 
Moons, I know how DMCA works, so go on, file it and we will settle it through steam.
snark 2024 年 10 月 16 日 下午 10:37 
that's not really how that works
Black_moons 2024 年 10 月 16 日 下午 10:07 
If you don't remove this mod, then you will get a DMCA takedown against your steam account content. Its not up for discussion or bargaining. You don't have any legal justification to steal my code and images and upload them.
Super Pre-order 2024 年 10 月 16 日 下午 8:47 
Don't know about details of that drama, but doing this to the mod so many people downloaded tells a lot about that person. Funny that his reputation deteriorated faster than affected pumps and junction boxes alltogether.
heheboi  [作者] 2024 年 10 月 16 日 下午 4:10 
@Black_Moons, while I would remove this mod on condition of you removing such change from original, seems like original doesnt exist anymore, so eh.