Barotrauma

Barotrauma

Barotrauma Workshop
You can build your own submarines and monsters with in-game editors and share your creations with other players. Imagine and experiment.
Sifi334 30 Jun, 2023 @ 11:59pm
When trying to mod, where should questions on mods be posted? (still gonna ask the modding help anyways)
I'm trying to add more talents into the surgeon class from Neurotrauma Surgery Plus, and so far it had been going well -- one of my friends came up with the idea of a syringe that makes you not fall unconscious below vitality, similar to the implacable (with huge downsides dw).

I've coded 2 separate afflictions, one that makes the player immune to Neurotrauma's unconscious affliction & stun, while the other effect just copies the code of implacable. Mainly <AbilityFlag flagtype="AlwaysStayConscious" />.

Eventually, I'll try to fit it into one affliction, but while the Vanilla implacable affliction will keep a player conscious, the second effect that uses the exact same code of Implacable albeit the identifier, doesn't seem to work the same way Implacable does!

I've probably missed where I can send the question to, but if you know where I should ask this question(Github, this steam workshop page, or another), or if you know what might be the problem/want more insight to the code, I will gladly accept anything.

I should probably also add - I am also using gunshot wounds but unless I'm way too unlucky, the chances of different afflictions having a different effect on the many npcs I've tested this on, it isn't just me getting unlucky/lucky

Implacable alone = Player stays Conscious for 2-3 seconds
Implacable + First effect = Player stays Conscious for full duration
Second Effect + First effect = Player stays conscious for 2-3 seconds
Last edited by Sifi334; 1 Jul, 2023 @ 12:10am
< >
Showing 1-4 of 4 comments
Probably should be posted here as this is the workshop discussion area and mods are workshop items. As for your issue on modding have you tried an override for the item? Might be what you are wanting, however, I do not know for sure as I do not mess around and mod with Neurotrauma or consciousness affects - only QoL mods
Sifi334 1 Jul, 2023 @ 11:26am 
It was Neurotrauma's Lua coding -- Sorry for asking the question, it took me more than a day for me to think about looking into the Neurotrauma Lua's code.

Thanks for telling me if I should come here with modding help, as well as the suggestion (anything helps when you are lost, and the comment just brought me back to looking).
Glad to have helped in that regard ^-^ :luv:
DuckieMcduck 5 2 Jul, 2023 @ 8:20am 
As someone who tried to ask for help here and had to answer myself I can safely state this subforum is practically abandoned. You can ask stuff here but chances are people who can answer are elsewhere; mostly Discord.

If you'd like assistance with the LUA for Barotrauma (which is a third party plugin), join their discord, they also deal with other modding:
https://discord.gg/f9zvNNuxu9

If you'd like general TC/XML modding you can try the official undertow discord:
https://discordapp.com/invite/undertow
< >
Showing 1-4 of 4 comments
Per page: 1530 50