I've used the mod in the past and I've recently added it back to my mod list again after dusting off an old Valheim server, getting ready for a new adventure.
I'm curious though, the Valheim map obscuring fog, is this an hard value which can ether be turned on or off? Or can some kind of transparency level be applied? I was kind of hoping to find mod, that may require an area to be explored multiple times or based on time progression, before the exploration circle fully reveals and lifts the fog.
Would it be possible to add a progression to this? the more bosses you kill the bigger the radius? Eg Killing the first boss only adds 1 point each time after the first kill but the first time you kill the boss you get an radius increase of 5
In this mod config, I see mod default set to 50 for both foot and ship radius. Is this a simply relative number - e.g. 50 = same as base game default, therefore increasing by 1 = 2% increase to base game explore radius?
Reason I ask is prefer this mod over similar ability in Valheim Plus. Love that mod as well but it only allows single setting for both foot and ship, very much prefer ability to split ship vs foot radius.
But in that other mod, radius default is set to 100, which I've tested and for sure equals same as base game radius. So +1 there = +1% change.
I tried using this mod at default 50 am unsure if this 50 setting is same as base game radius? (am trying to keep foot radius same as base game, while increasing ship radius by a lot.
**Edit - ensured no mod conflict by first disabling entire map section of Valheim Plus (so no overlap in explore settings even though loses ability to mark ship/cart location), and when that yielded results in reply below I removed Valheim Plus entirely, started brand new temp world and re-tested.
**Edit 2 - tried reverting to prior ver 0.7.1 and same thing - ship setting increase 3x to 150 doesn't make radius bigger than default foot. And yes, I am moving while on boat, not just standing on boat, or sitting on boat rudder with ship motionless. Moving in same direction along coastline by boat as I run on ship, foot = 50 is same as ship = 150
Also, for me the ship radius doesn't seem to be working. Using latest ver 0.7.3
Double checked and mod enabled = true, foot radius same as default 50, but increased ship to 3x at 150 (see pasted config below) and get no further visible view than when on foot. *Edit - also ensured no other mod conflict, completed disabled and unloaded Valheim Plus entirely and still same issue. Ship explore distance set to 3x at 150 is same view as default foot at 50.
Standing at the shore line, I marked my furthest visible point on map - got into boat parked on same shoreline, and moved linear path up and down shore. My ship radius view is no further than foot radius as my explored map distance is identical on ship to being on foot despite config 3x for ship.
"default explore radius" is the default value of the float type "Minimap.m_exporeradius" variable in the game. I don't know if this means a meter or a pixel. But I know that it works at a relative value as you say. For example, 100 is twice as much as 50 and 150 is three times as much as 50.
The movement applies immediately when you get on and off the ship. It has nothing to do with moving on the ship or holding a rudder.
When I tested it, it seemed to work well. Check the attached gif.
To see how the radius changes, ShowRadiusOnly = true Be careful about using this. The remembered map will be erased. Of course, I tested with "ShowRadiusOnly = false".
When "Notification" and "Debug" are activated, the radius values applied when getting on and off the boat are displayed. It is also recorded in the LogOutput.log, so check it.
[Info : Unity Log] catcatcat Player over board Ship [Info : Unity Log] catcatcat Map Fog Of War Explore Radius Set 50 [Info : Unity Log] 10/07/2021 14:49:13: Player onboard, total onboard 1 [Info : Unity Log] catcatcat Player onboard Ship [Info : Unity Log] catcatcat Map Fog Of War Explore Radius Set 150 [Info : Unity Log] 10/07/2021 14:49:17: Player over board, players left 0
It's recorded in the log file, but if it doesn't work... I don't understand.
Can anyone explain the patch notes better? "Add Show Radius Only Mode. It doesn't remember past areas." doesn't make sense to me. :( What should I expect this to do, pragmatically?
it means that it won't remember the area that you have explore. it just give you the current area you're on. even if you walk everywhere, the map won't be charted, and always have fog of war.
haha. I am not a native English speaker. Google Translate taught me that. I'm sorry. So I uploaded a gif together, but I added it back to the main page.
That is hardcore. Not my cup of tea, but a neat option!
@Icecat: please include a warning so that it shows up on the F1 menu and configuration file. Something like:
Warning - enabling this will erase all previously discovered areas.
I luckily had multiple character backups to revert to, but one of my friends stayed online too long (~10 minutes the game automatically makes a single backup of your character file) and both were erased by then. :(
We really enjoy this mod, though! It has definitely increased the "realism" in a great way. Thanks for your work!
I'm sorry for the two people who lost their map memory. If you use map sharing in the Hearth & Home update, I think it will be recoverable to some extent.
For my part, no worries friend. It's a cool idea! Just wasn't prepared for that level of challenge. :)
As I mentioned, I easily restored my character and the map from my backups. My friend was not so lucky, but the cartography table fixed it otherwise for him. :)
Yes this is necessary. Currently with the weather changes you get notifications almost constantly, it's very immersion breaking. Speaking of weather, I don't think the fog multiplier works properly, it seemed to apply when there was no fog around, so I just set it back to 1. Anyway, great mod, thanks for your effort!
I was wondering the same thing, I wasn't sure whether it might have been a known issue with the game itself given the default value for the setting is 1.
I was wondering the same thing, I wasn't sure whether it might have been a known issue with the game itself given the default value for the setting is 1.
Yeah I had the same thought, especially since I saw this comment about a similar mod where someone says they can't figure out how to detect if the player is in fog. It's a shame because fog is the condition you'd like to have the greatest effect on discover radius, but oh well. It's still fun to have the rain and light conditions work as expected.
Fog density is not simple.The original code goes like this: RenderSettings.fogDensity += env.m_fogDensityNight * nightInt; RenderSettings.fogDensity += env.m_fogDensityDay * dayInt; RenderSettings.fogDensity += env.m_fogDensityMorning * morningInt; RenderSettings.fogDensity += env.m_fogDensityEvening * eveningInt; It varies by time. So, using devcommand, record the maximum(day, env clear, 0.15) and minimum(night, env misty, 0.003) values, convert them to % ratio, and multiply. It cannot be zero because it multiplies existing values. So we set the minimum to 10%. Google Translate a long sentence, so the content may be strange. thank you.
Boats explore radius has always been questionable...this mod addresses that with the ability to have separate ranges. And a great modifier with weather! Great Idea!. the config seems good, but the notifications are valuable only when debugging the mod and not while playing the game. the weather changes spam the log file so bad that it makes the log unusable for real issues. the configuration on this mod desperately needs one more item to TURN OFF the notifications. we don't need to see them in game! But all else said Great Mod!
[Info : BepInEx] Loading [Fog Of War Explore Radius 0.7.0] [Warning: HarmonyX] AccessTools.DeclaredMethod: Could not find method for type Console and name InputText and parameters [Warning: HarmonyX] Unknown patch - Could not find method InputText with 0 parameters in type Console, but it was found in base class of this type Terminal
Im getting this when Im loading the game up with your mod, I dont know what it means or what it does, but I thought I should share.
Thank you for creating this mod. It's a very nice feature.
How much of a lift would it be to make your ExploreRadius dependent on or influenced by the weather? Double or even triple radius on a boat makes sense on a clear day, but fog can easily drop your visibility down to like 15ft at night.
54 comments
I'm curious though, the Valheim map obscuring fog, is this an hard value which can ether be turned on or off? Or can some kind of transparency level be applied? I was kind of hoping to find mod, that may require an area to be explored multiple times or based on time progression, before the exploration circle fully reveals and lifts the fog.
In this mod config, I see mod default set to 50 for both foot and ship radius. Is this a simply relative number - e.g. 50 = same as base game default, therefore increasing by 1 = 2% increase to base game explore radius?
Reason I ask is prefer this mod over similar ability in Valheim Plus. Love that mod as well but it only allows single setting for both foot and ship, very much prefer ability to split ship vs foot radius.
But in that other mod, radius default is set to 100, which I've tested and for sure equals same as base game radius. So +1 there = +1% change.
I tried using this mod at default 50 am unsure if this 50 setting is same as base game radius? (am trying to keep foot radius same as base game, while increasing ship radius by a lot.
**Edit - ensured no mod conflict by first disabling entire map section of Valheim Plus (so no overlap in explore settings even though loses ability to mark ship/cart location), and when that yielded results in reply below I removed Valheim Plus entirely, started brand new temp world and re-tested.
**Edit 2 - tried reverting to prior ver 0.7.1 and same thing - ship setting increase 3x to 150 doesn't make radius bigger than default foot. And yes, I am moving while on boat, not just standing on boat, or sitting on boat rudder with ship motionless. Moving in same direction along coastline by boat as I run on ship, foot = 50 is same as ship = 150
Double checked and mod enabled = true, foot radius same as default 50, but increased ship to 3x at 150 (see pasted config below) and get no further visible view than when on foot.
*Edit - also ensured no other mod conflict, completed disabled and unloaded Valheim Plus entirely and still same issue. Ship explore distance set to 3x at 150 is same view as default foot at 50.
Standing at the shore line, I marked my furthest visible point on map - got into boat parked on same shoreline, and moved linear path up and down shore. My ship radius view is no further than foot radius as my explored map distance is identical on ship to being on foot despite config 3x for ship.
***my settings
# Default value: 50
ExploreRadius = 50
## Fog Of War Explore Radius Range if player on ship
# Setting type: Single
# Default value: 50
ExploreRadiusOnShip = 150
## Enable this mod
# Setting type: Boolean
# Default value: true
Enabled = true
I don't know if this means a meter or a pixel.
But I know that it works at a relative value as you say.
For example, 100 is twice as much as 50 and 150 is three times as much as 50.
The movement applies immediately when you get on and off the ship.
It has nothing to do with moving on the ship or holding a rudder.
When I tested it, it seemed to work well.
Check the attached gif.
The setting is
ExploreRadius = 50
ExploreRadiusOnShip = 150
Enabled = true
Mode = fixed
EnableNotification = true
EnableDebug = true
To see how the radius changes,
ShowRadiusOnly = true
Be careful about using this. The remembered map will be erased.
Of course, I tested with "ShowRadiusOnly = false".
When "Notification" and "Debug" are activated, the radius values applied when getting on and off the boat are displayed.
It is also recorded in the LogOutput.log, so check it.
[Info : Unity Log] catcatcat Player over board Ship
[Info : Unity Log] catcatcat Map Fog Of War Explore Radius Set 50
[Info : Unity Log] 10/07/2021 14:49:13: Player onboard, total onboard 1
[Info : Unity Log] catcatcat Player onboard Ship
[Info : Unity Log] catcatcat Map Fog Of War Explore Radius Set 150
[Info : Unity Log] 10/07/2021 14:49:17: Player over board, players left 0
It's recorded in the log file, but if it doesn't work... I don't understand.
Thank you.
even if you walk everywhere, the map won't be charted, and always have fog of war.
I am not a native English speaker.
Google Translate taught me that.
I'm sorry.
So I uploaded a gif together, but I added it back to the main page.
@Icecat: please include a warning so that it shows up on the F1 menu and configuration file. Something like:
I luckily had multiple character backups to revert to, but one of my friends stayed online too long (~10 minutes the game automatically makes a single backup of your character file) and both were erased by then. :(
We really enjoy this mod, though! It has definitely increased the "realism" in a great way. Thanks for your work!
I'm sorry for the two people who lost their map memory.
If you use map sharing in the Hearth & Home update, I think it will be recoverable to some extent.
Thank you for enjoying my mod.
As I mentioned, I easily restored my character and the map from my backups. My friend was not so lucky, but the cartography table fixed it otherwise for him. :)
Fog density is not simple.The original code goes like this:
RenderSettings.fogDensity += env.m_fogDensityNight * nightInt;
RenderSettings.fogDensity += env.m_fogDensityDay * dayInt;
RenderSettings.fogDensity += env.m_fogDensityMorning * morningInt;
RenderSettings.fogDensity += env.m_fogDensityEvening * eveningInt;
It varies by time.
So, using devcommand, record the maximum(day, env clear, 0.15) and minimum(night, env misty, 0.003) values, convert them to % ratio, and multiply.
It cannot be zero because it multiplies existing values.
So we set the minimum to 10%.
Google Translate a long sentence, so the content may be strange.
thank you.
[Info : BepInEx] Loading [Fog Of War Explore Radius 0.7.0]
[Warning: HarmonyX] AccessTools.DeclaredMethod: Could not find method for type Console and name InputText and parameters
[Warning: HarmonyX] Unknown patch - Could not find method InputText with 0 parameters in type Console, but it was found in base class of this type Terminal
Im getting this when Im loading the game up with your mod, I dont know what it means or what it does, but I thought I should share.
How much of a lift would it be to make your ExploreRadius dependent on or influenced by the weather? Double or even triple radius on a boat makes sense on a clear day, but fog can easily drop your visibility down to like 15ft at night.
thank you.
Add Influenced By Weather
Please test it.