Fast traveling within the Glowing Sea stops rad damage

Post » Sun Dec 20, 2015 5:54 am

I'm not sure if Bethesda is watching for detailed technical bugs here, but thought this was worth posting.

While making a mod (True Storms), I discovered an issue present in the game that was initially being reported as a bug with the mod. When fast traveling between two locations within the Glowing Sea, the magic effect that gives you constant rad damage will dispell, and you will no longer receive any rad damage until the weather changes and the spell is fired again. This can be a long time, depending, which removes much of the danger of the area.

TO REPRODUCE:

  • Fast travel between any two locations within the glowing sea that are in somewhat close proximity, so too much time doesn't go by and force a weather change (i.e. from the Crater of Atom to Virgil's Cave)

TECHNICAL BREAKDOWN:

Let's use CommonwealthGSFoggy (001BD481) as the example:

  • This weather, like the other weathers in this region, fires the spell GlowingSeaPlayerRadiationFoggy (0023EC95) (disease / constant effect / self)
  • That spell uses the magic effect Glowing Sea Radiation (0023EC94) with conditions to only apply the spell while in the Glowing Sea Region (000E50AF)
  • The spell has two keywords: RemoveBeforeFastTravel [KYWD:000210B4] and DamageTypeRadiation [KYWD:0004B25C]
  • When fast traveling, the RemoveBeforeFastTravel keyword naturally applies what it says it does, and clears out the magic effect on fast travel, however, when arriving at the destination, if the weather is still the same, the trigger that fires the spell in the first place is not re-fired, and so the magic effect is not re-applied, and you can run around radiation-free.

In my mod (which has separate copies of the radiation damage spells/effects), I got around this by removing the RemoveBeforeFastTravel keyword on the magic effect, then placing conditions for IsPlayerMoveIntoNewSpace and IsPCSleeping so it sticks on them while traveling, but stops the radiation so it doesn't build up and kill the player when they arrive at their destination. The magic effect will continue, and the spell will gracefully remove the magic effect if the player leaves the region, and when the weather changes.

That's one idea, another would be to add a check on fast travel to re-trigger any associated spells with the weather.

Just wanted to share.

User avatar
Sakura Haruno
 
Posts: 3446
Joined: Sat Aug 26, 2006 7:23 pm

Return to Fallout 4