Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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.
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.
Would it be possible to program in that functionality as well?
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
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.
Threatening DMCA after literally commiting crime. Big fucking brain moment.
Do you think it's possible to mirror the proximity depth charge addon too?
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