Closed SomeRandomNoobKekeke closed 3 months ago
I decompressed my multiplayer saves, RadiationEnabled="True", very strange
I tried togglecampaignteleport, docking undocking,
Radiation amount doesn't change :( <Radiation Amount="-200" Enabled="True" />
This seems to be easier to test in debug version https://github.com/FakeFishGames/Barotrauma/blob/4a63dacbcee8e3829a44e9c16a5335704a979a4d/Barotrauma/BarotraumaClient/ClientSource/Map/Map/Map.cs#L527-L538
I made myself a command
DebugConsole.Commands.Add(new DebugConsole.Command("radstep", "", (string[] args) =>
{
GameMain.GameSession?.Map?.Radiation?.OnStep(1);
}));
I can move radiation with it, but after start level / dock it resets back to -200
I'm out of ideas on how to test it
RadiationEnabled="" doesn't control the radiation. At the bottom of the gamesession.xml, there's a <Radiation>
line which is how it's actually enabled/disabled.
Also, #13590
OK, i figure it out:
GameMain.GameSession?.Map?.Radiation?.OnStep(1);
doesn't work because it's not syncedat least one step
is only when transfering to next locationSo, radiation does work, it's just hard to test
@Vykn
At the bottom of the gamesession.xml, there's a
line which is how it's actually enabled/disabled.
i mentioned that, you didn't ever read it
Radiation amount doesn't change :(
<Radiation Amount="-200" Enabled="True" />
I did read it, I just didn't recognise that part of it. I encountered this over a year ago and it seemed like the same issue. Sorry ¯\_(ツ)_/¯
Disclaimers
What happened?
It ~either~ doesn't move ~or checkbox for enabling jovian radiation doesn't work~
Reproduction steps
Start multiplayer campaign with radiation enabled togglecampaignteleport Jump around the map 4-6 times No radiation...
In singleplayer you will see red radiation front
Bug prevalence
Happens every time I play
Single player or multiplayer?
Multi Player
-
No response
Version
v1.4.6.0 (Blood in the Water Update, hotfix 2)
-
No response
Which operating system did you encounter this bug on?
Windows
Relevant error messages and crash reports
No response