Mofos Random Player Spawn Locations
This is a migration from Nexus Mods of Mofo's Random Player Spawn Locations. Original Mod can be found at the link provided. This mod will be taken down at original owners request.
Date uploaded | 2 years ago |
Version | 1.8.0 |
Download link | MrModdieMax-Mofos_Random_Player_Spawn_Locations-1.8.0.zip |
Downloads | 1543 |
Dependency string | MrModdieMax-Mofos_Random_Player_Spawn_Locations-1.8.0 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.
Preferred version: 5.4.1901README
MofoMojo's Random First Spawn Start Position v1.8
Please update to at least 1.4/1.5 (See Known Issues)
Are you interested in a potentially real challenge? Care if you spawn on the middle of a small island in the map? Care if you spawn sandwiched between a Black Forest, the Meadows and a Draugr village? What about in one? Tired of spawning in the dead center of the map and wish you'd wake up in some other location?
If you answered yes to that last question, this is for you!!!
Want to wake up in a new location EVERY... TIME... YOU ... DIE? (See new 1.6 feature)
The mod now supports specifying a Biome type that you'd like to spawn in.
The mod supports specifying a minimum/maximum distance from center of the map along the X and Z axis and will look for locations anywhere within that area. Some biomes are constrained within a certain distance from the center of the map so the value is clamped to this distance, however you can override this check if you wish.
You can also disable the Valkyrie intro ride if you just want to pop up as quick as possible in your new homeland.
You can now specify a BiomeAreaType to have better control over the "zone" area you're starting in You can now specify a Biome to override Meadows. Good luck with this! May be a good idea for a seasoned character who got tired of retirement.
This mod ONLY randomizes YOUR first spawn into a map and sets your respawn point there. It does NOT mark this location on the map.
If you die, you'll respawn there. Congratulations it's your death day!!!
:: NOTES :: BiomeAreaType let's you specify the "area type" of the Zone you'll be spawning into. There are 3 types
Median - Means you're more likely to be surrounded by this biome area Edge - Means you're more likely to spawn near the edges and borders of other biomes or other places Everything - Means you're ok with whatever the RNG gods decide...
Biome setting let's you specify the type of Biome you prefer. Want to go truly random? Set it to None or BiomesMax and it'll place you in the first matching BiomeAreaType it finds. Why? Why do you want to do this?
:: REQUIREMENTS :: • BepInEx -
:: INSTALLATION :: Place the MofoMojo.MMRandomStartPosition.dll in your \BepinEx\Plugins folder Start Valheim and hold on to your pants Modify the \BepInEx\Config\MofoMojo.MMRandomStartPosition.cfg file to enable the mod. Play Valheim Profit... or die.
:: UNINSTALLATION :: Remove the .DLL and the .CFG file from the \Plugins and \Config folders respectively.
:: FEATURES :: • Spawn in new and horrifying conditions • Instantly die over and over because it placed you in a Draugr village • Run away for your life and immediately out of stamina and die to a pack of boar!!! • Disable the Valkyrie ride for an even quicker death • You do NOT have to run this on a dedicated server to take advantage of this system on a dedicated server. Just install, activate, join the dedicated server and profit!!!
:: KNOWN ISSUES :: • Can put you in hostile situations • Sometimes it will put you in another biome because it's VERY close to the one you asked for. You know... you've been sailing in the water and seen instances where you've passed through a biome that just wasn't there... yeah... like that. Only, I try to keep you dry. • World Generation is a fickle beast. I try to ensure that the location it puts you is a little above the ZoneSystem.instance.m_waterLevel to try and ensure you're not just placed in the water somewhere. I can't feasibly test this out very extensively but seems to be working! :D • Versions 1.3 and prior didn't set the HomePoint permanently for your character. This creates an issue where if you log out and back on and THEN die you might get teleported elsewhere. Should be fixed in 1.4 and later however characters started prior to 1.4 will likely encounter this issue. Sorry!!!!
:: VERSIONS :: 1.8 I must be tired... 1.7 At request of emulegs, added IgnoreWaterDepthCheck parameter. Mod previously attempted to always spawn you on terrain higher than the base water depth. This ignores that if set to true. 1.6 At request of Redjparasite and backed up by emulegs, added RandomSpawnOnDeath config parameter. Setting this to true will cause you to randomly respawn whenever you die. Enjoy the added difficulty you masochists. 1.5 Reissue 1.4 (Nexus code wasn't updated) 1.4 Calling SetHomePoint after initial spawn point is identified Calling GetHomePoint death after game is reloaded. This combo should ensure no random relocations after death. Odin was not pleased with 1.3 and prior 1.3 Added BiomeArea type. Supported values are Median, Edge, Everything With the extension of supporting other biomes and biomearea types, there's a chance we won't find anything So added loop check. If we iterate through more than MaxSpawnPointChecks without finding a suitable place, default to the original behavior. This gets reset with each new start
1.2 Fixed a random range bug I introduced so on 1.1 all locations were south west of 0,0 1.1 Added minimum ranges, renamed XDistance and ZDistance to MaxXDistance and MaxZDistance 1.0 Initial Release
:: CREDITS Template:: ? https://www.youtube.com/watch?v=p_gsFASlvRw ? https://harmony.pardeike.net/ - Harmony Documentation ? https://github.com/Valheim-Modding/Wiki/wiki - Valheim modding
Sample Settings:
Settings file was created by plugin MMRandomStartPosition v1.6
Plugin GUID: MofoMojo.MMRandomStartPosition
[LoggingLevel]
Supported values are None, Normal, Verbose
Setting type: LoggingLevel
Default value: None
Acceptable values: None, Normal, Verbose
PluginLoggingLevel = Verbose
[MMRandomStartPosition]
Enables MMRandomStartPosition mod
Setting type: Boolean
Default value: true
MMRandomStartPositionEnabled = true
Disables the ride in on the Valkyrie
Setting type: Boolean
Default value: false
DisableValkryieRide = true
Constrain X axis search from center of map. This is clamped between 0 and 10000
Setting type: Single
Default value: 5000
MaxXDistance = 5000
Constrain Z axis search from center of map. This is clamped between 0 and 10000
Setting type: Single
Default value: 5000
MaxZDistance = 5000
Constrain X axis search from center of map. This is the minimum distance you wish to be away from center X/0 position
Setting type: Single
Default value: 500
MinXDistance = 500
Constrain Z axis search from center of map. This is the minimum distance you wish to be away from center z/0 position
Setting type: Single
Default value: 500
MinZDistance = 500
Attempts to spawns you into this type of Biome
Setting type: Biome
Default value: Meadows
Acceptable values: None, Meadows, Swamp, Mountain, BlackForest, Plains, AshLands, DeepNorth, Ocean, Mistlands, BiomesMax
Biome = Meadows
Attempts to spawn you into this type of BiomeArea
Setting type: BiomeArea
Default value: Median
Acceptable values: Edge, Median, Everything
BiomeAreaType = Median
The maximum number of times mod will search for a good spawnpoint before handing off to normal spawn code
Setting type: Int32
Default value: 1000
MaxSpawnPointChecks = 1000
The mod attempts to set biome search constraints based on values in WorldGenerator. Set this to true to disable these constraints.
Setting type: Boolean
Default value: false
IgnoreWorldGeneratorConstraints = false
If true, You will generate a new respawn point on every death
Setting type: Boolean
Default value: false
RandomSpawnOnDeath = false