Jump to content

(V1) Old West Migration


arramus

Recommended Posts

Old West Migration has been updated to V1.0 and can be download here:

Github https://github.com/arramus/V1-OldWestMigration

(Click on the Green 'Code' icon and select 'Download ZIP')
Nexus https://www.nexusmods.com/7daystodie/mods/4966

(Requires a log in, but useful for custom modpack creation)

The whole mod (V1-OldWestMigration) can be placed in the 'Mods' folder. 7 Days will be able to read and use the Prefabs from directly within the mod.

Ensure that the mod is not nested with other folders. The hierarchy of folders will be 'Mods / V1-OldWestMigration / Config, Prefabs, ModInfo.xml, and Old West Migration Tiling.txt'

If it is something like Mods / V1-OldWestMigration-main / V1-OldWestMigration... it will not load as the ModInfo.xml file must be where the game can see it, at the top level within the first folder.

 

Terms of Use:
- Please ask for permission before using this Mod in an Overhaul or Modpack. This ensures there is only one 'official' release and reduces the possibility of outdated clones being in the community.
- Please do not add this Mod to a Prefab/POI pack.
- This Mod can be distributed within a closed community. Please do not upload it to an alternative location which is publicly accessible.

If you have any doubt, read the official modding policy here:

https://community.7daystodie.com/topic/4189-tfp-official-modding-forum-policy/

 

ABOUT

The Old West Migration Mod is a small mod that overhauls the Old West Town. The backstory builds on the existing story in that remaining survivors migrated away from the cities and out into the Old West to hunker down and attempt to begin again. However.....

 

It overhauls the Old West as follows:

- Increases the size of the Old West Tiling system by increasing the amount of tiles in each town.

- Increases the amount of Old West Town settlements  that can appear in a RWG.

- Adds a Gateway road and chance for a Trader within the town or at the entrance to a town.

- Adds custom Old West POIs that can be quested and are in context with the Old West theme.

- Converts remnant and decorative default Old West POIs to Quest POIs.

- Adds custom Old West Tiles.

- Adds decoration POIs to the desert and forest biomes.

- Adds roaming zombies to the Old West Town streets, just like in the City or other Tiling Systems.

- Removes the V1.0 Old West Town biome restriction from only desert to forest, burnt forest, and snow. Only the wasteland biome will not support an Old West Town to ensure the Dev's biome progression features aren't inhibited.

 

Here are a few images to demonstrate:

This image is using the RWG 'circle' setting with Many Towns on an 8K RWG. This has the chance for 4 Old West Towns to appear, and this shows one in each biome except for the wasteland.

spacer.png

 

This desert biome Old West Town has a Trader Bob in his own custom Old West Trader compound. The town is large and can range from 6 to 16 Old West Town Tiles.

spacer.png

 

We also have forest, burnt forest, and snow variants.

spacer.png

 

A particularly long Old West Street in the burnt forest.

spacer.png

 

This Old West Town in the snow see a Trader Hugh at the Gateway entrance. There will be no Old West Trader Bob on this occasion.

spacer.png

 

Here is a small sample of what custom POIs can be expected.

Liberty Bank is a T3 POI with T4 Infested. It supports all Quest types. It has a chance to see a Police Car appear as in this image. It sits on a 25 x 50 area. These are usually supporting Old West Strip type POIs with 2-3 in a row.

spacer.png

 

This Blacksmith POI is guaranteed to have a Pickup Truck.

spacer.png

 

spacer.png

 

spacer.png

Edited by arramus
Changing V1.0 to V1 for future compliance (see edit history)
Link to comment
Share on other sites

The Devs did a heap of groundwork in A21, and V1.0 was primarily about manually replacing the Beer Coolers with a new Cooler Box in the POIs, which looks really cool. The way things are handled when placing the Old West Towns has changed as well, but it is more efficient and customizable. A nice feature is that we can now choose which biomes we would like to place our custom Towns. The Old West defaults to only the desert biome and is very much a token gesture smaller than even Navezgane. This mod really makes them an integral part of a world, with parity to other country town type locations. The rwgmixer has an area that adds forest, burnt forest, and snow. It is easy to add wasteland, or simply remove that feature so it revers back to being only desert Old West Towns. It'll be integrated into Preppocalypse in time.

Link to comment
Share on other sites

That RWG Filler Mod is loading after the Old West Migration Mod. As such, it is overwriting it with its own subtle changes to the Old West Towns.

Adding Z in front of the Old West Migration Mod will allow it to load after and achieve the following result.

 

spacer.png

 

The RWG Filler Mod may well need a rename to allow it to load before the Old West Migration Mod as this will always be a thing moving forward.

Yes... Here is a renamed version to V1-FillerRWGPOI to ensure the load order will not wipe out any changes that the Old West Migration Mod is attempting to do. The mod will still be called RWG POI Filler, but the updated folder name will give compatibility.

https://www.nexusmods.com/7daystodie/mods/5019?tab=files

 

Link to comment
Share on other sites

The Old West Migration Mod allows Trader Old West Bob to appear in the Old West Town in one of the 42 x 42 areas on a tile, regardless of which biome the Old West Town appears in.

Link to comment
Share on other sites

11 minutes ago, arramus said:

The Old West Migration Mod allows Trader Old West Bob to appear in the Old West Town in one of the 42 x 42 areas on a tile, regardless of which biome the Old West Town appears in.

Oh okay cool, but it'll still send you to the burnt biome once done with 10 of his quests? 

Link to comment
Share on other sites

The Quest code suggests that once you have completed Tier 1, the Tier 2 next trader prompt will be to Jen. It doesn't restrict this prompt to any particular biome, even though Jen is supposed to be in the Burnt. However, Jen is tagged for the Burnt Forest in the RWG Mixer. Based on that, even if the first Trader in the Forest is Old West Bob, the end of tier request should take you to Jen in the Burnt. No next trader prompt should take you to Old West Bob because he isn't hooked up for next tier. Time will tell how it all works out though.

Link to comment
Share on other sites

Thank you for reporting on that. It will require some investigation to find a workaround, or removal for Old West Bob. We shall see how it goes.

This will have some pretty far reaching consequences for some of the overhauls with custom Traders, let alone repurposing existing traders.

Link to comment
Share on other sites

After testing a World repeatedly under the following parameters:

 

1. Start close to an Old West Town in the Pine Forest.

2. Complete starter quests and receive Old West Trader Bob as the first trader.

3. Receive initial special quest for the buried supplies.

4. Start regular quest.

5. Complete all quests to complete the Tier.

 

I can confirm that Old West Trader Bob is unable to give the player the next end of Tier Special Quest for the next Trader 'Jen'.

However, if a player visits their closest Trader Rekt, even if they haven't met him before, and completed zero quests for him, he will still have Special Quests in his list and that will be for Trader Jen.

 

I cannot currently find a workaround for this. The xml has no specific relationship between Rekt and Jen for completing that first Tier. Based on that, it appears there is some hardcoding that is not available to modders without a Harmony Patch. A modder more versed in xml may find a workaround, but that's beyond me based on what is available.

 

As such, Old West Trader Bob will be totally removed.

 

Here is what will happen now.

 

1. A player will start in a World in Pine Forest.

2. Since there is no Old West Trader Bob, he can never be the first Trader if the Old West Town is next to a player.

3. The Old West Town is hooked up to receive a Gateway Trader on its entry way and since it is the Pine Forest, that will be Trader Rekt.

 

It is unfortunate, but necessary to maintain progression. It is good timing that b312 experimental has just launched since it has a fair few POI and Tile updates which warrants a new World anyway. I can confirm existing Worlds on b309 are still functional when the server and client is updated to b312. I shall be testing from b312 from hereon though without Old West Trader Bob.

Link to comment
Share on other sites

Here is an update for the Old West Migration mod for V1.0.

 

- Old West Trader Bob has been removed from appearing in the Old West Town. This is because he does not allow for Next Trader Progression once all 10 quests are complete in the instance he is the first trader we see in the Pine Forest. If we completed all 10 quests, he would only show regular quests and not the special quest.

However, visiting Rekt would show that special quest even if we had never seen him at all since joining the world. It looks like some hardcoding that is not accessible to the type of modding for this mod.

 

Since we have just received the next experimental b312, which has a fair amount of POI and Tile related updates, a new World is pretty much beneficial. I did test on an old World when updating from b309 to b312 on a dedicated server and it remains compatible without any warnings, but POI updates in that abundance...

 

Farewell, for now....

spacer.png

Link to comment
Share on other sites

Posted (edited)
4 hours ago, arramus said:

Here is an update for the Old West Migration mod for V1.0.

 

- Old West Trader Bob has been removed from appearing in the Old West Town. This is because he does not allow for Next Trader Progression once all 10 quests are complete in the instance he is the first trader we see in the Pine Forest. If we completed all 10 quests, he would only show regular quests and not the special quest.

However, visiting Rekt would show that special quest even if we had never seen him at all since joining the world. It looks like some hardcoding that is not accessible to the type of modding for this mod.

 

Since we have just received the next experimental b312, which has a fair amount of POI and Tile related updates, a new World is pretty much beneficial. I did test on an old World when updating from b309 to b312 on a dedicated server and it remains compatible without any warnings, but POI updates in that abundance...

 

Farewell, for now....

 

Just an fyi, I think the Nexus site has the wrong file uploaded for the update. I could be wrong, but wanted to check here.
https://www.nexusmods.com/7daystodie/mods/4966/?tab=files
 

The file is an A21 file with most of the assets from Jan 2024 with a few newer... vs the last v1.0 you uploaded which had assets from June+ 2024.


Most recent upload modinfo.xml:
    <Name value="A21-OldWestMigration" />
    <DisplayName value="A21 Old West Migration" />
    <Description value="Increases the size and town frequency of the Old West. Adds custom POIs and a gateway Trader." />
    <Author value="arramus" />
    <Version value="21.2.1.0" />
    <Website value="https://community.7daystodie.com/topic/30000-a21-old-west-migration/" />

 

Last v1.0 modinfo.xlm:
<Name value="V1_OldWestMigration" />
    <DisplayName value="V1.0 Old West Migration" />
    <Description value="Increases the size and town frequency of the Old West. Adds custom POIs and a gateway Trader." />
    <Author value="arramus" />
    <Version value="1.1.0.0" />
    <Website value="https://community.7daystodie.com/topic/35749-v10-old-west-migration/" />

 

 

Edited by Brugas (see edit history)
Link to comment
Share on other sites

That should do it. There were 3 copies of V1.0 OldWestMigration in Nexus' holding area along with an A21 version and it's a little testy in there for the past few days. Their success is making things a little unstable at the moment. Roll on their hosting upgrades.

Link to comment
Share on other sites

Posted (edited)

Just testing how it looks without Old West Trader Bob placed directly inside an Old West Town.

 

This load out was an 8K RWG with more towns and wilderness POIs. It placed 4 Old West Towns with one in each biome except the Wasteland. This is as expected.

 

The Desert placed a Trader Bob as a Gateway Trader leading into town. He'll either be pretty close by or directly on the road leading in and that guarantees a desert Bob.

spacer.png

 

The Snow didn't place a Trader in a Gateway tile leading into town. In fact the closest one away is about 800 - 1000 blocks away. The reason is that there are two towns in the Snow as well as the Old West Town. Those other two towns received a Trader Hugh each. This Old West Town will be a Trader Ghost Town... but that'll happen at times, and the POIs will still show up in the quest list from time to time.

spacer.png

 

In Burnt, Jen was placed along a main road in one of the rest areas. The Old West Town can be seen in the distance. This type of Trader placement can be rather redundant at the best of times... About 700 blocks away to the Old West Town along that long road.

spacer.png

 

And Trader Rekt is also directly on the Gateway Tile leading into an Old West Town in the Pine Forest... much to everyone's delight, I'm sure.

spacer.png

 

Overall, 2 of the Old West Towns had their own Trader, and the other 2 require a bit of a journey. Different seeds will bring different results and the World Editor can always place an appropriate biome Trader closer by for those wanting to customize. The compromise had to happen if players aren't able to receive their 10 Tier next trader prompt. Thanks for the recent reports on all of these things. Let's hope things settle down for b312.

Edited by arramus (see edit history)
Link to comment
Share on other sites

  • 1 month later...

Hi arramus,

 

First of all thanks for the refresh of the old west!

 

Unfortunately this mod gives me errors, see https://pastebin.com/RxRCziDd

A previous version worked on A21 somewhat but experienced errors while playing, didn't look at errors before.

 

024-08-03T11:48:25 50.662 ERR Skipping loading of active block data for oldwest_spectabcem_01_arramus because of the following exception:
2024-08-03T11:48:25 50.665 EXC Object reference not set to an instance of an object
  at TileEntitySign.SetText (System.String _text, System.Boolean _syncData, PlatformUserIdentifierAbs _signingPlayer) [0x00014] in <7fbbb54822a244e492f4ce68cb0e6695>:0 
  at TileEntitySign.SetText (AuthoredText _authoredText, System.Boolean _syncData) [0x0001a] in <7fbbb54822a244e492f4ce68cb0e6695>:0 
  at TileEntitySign.read (PooledBinaryReader _br, TileEntity+StreamModeRead _eStreamMode) [0x00034] in <7fbbb54822a244e492f4ce68cb0e6695>:0 
  at Prefab.readTileEntities (PooledBinaryReader _br) [0x0006c] in <7fbbb54822a244e492f4ce68cb0e6695>:0 
UnityEngine.StackTraceUtility:ExtractStringFromException(Object)
Log:Exception(Exception)
Prefab:readTileEntities(PooledBinaryReader)
Prefab:loadBlockData(AbstractedLocation, Boolean, Boolean, Boolean, Boolean)
Prefab:Load(AbstractedLocation, Boolean, Boolean, Boolean, Boolean)
Prefab:Load(String, Boolean, Boolean, Boolean, Boolean)
DynamicPrefabDecorator:GetPrefab(String, Boolean, Boolean, Boolean)
DynamicPrefabDecorator:GetPrefabRotated(String, Int32, Boolean, Boolean, Boolean)
<Load>d__22:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

 

Running on Linux and these are my mods:

2 Skill Points Per Level
AutoRead
donovan-bigbackpack
donovan-longerlootbags
GNS_WarmWeather
HybridLearnByUse
Improved_RWG
ImprovedHordes
KHV1-FoodWater
KHV1-HPBars
khzmusik_Zombies
lesswastelandRubble
RWGPatch-main
TokimekisuMod_no_change_Rubble
Voltralux's POI Pack 1.0 (1.2)
Zombie Hunter By Murlu
ZZTong-Prefabs
ZZZ_V1-OldWestMigration

 

Link to comment
Share on other sites

This is a game bug related to the signs outside some of the POIs. For example, above the School in the School Fix POI there will be no text and will look blank.

It was reported recently and confirmed. It doesn't appear to cause any performance issues after using these POIs in a lengthy play through on a dedicated server.

 

 

Link to comment
Share on other sites

  • 3 weeks later...

Here is a small update for the Old West Migration Mod:

 

1. A number of POIs had misaligned lights that were rotated 180 degrees. This automatically occurs with updates and they require manual replacement. A few other blocks, such as the fake sheet, required replacement or a texture. There will be more in the future as they are found. It's a never ending story on those...

 

2. Here is a new POI

Cran5000 Soda

This is a T3 Quest POI hooked up to all quest types. As such, it'll be a T4 Infested. There are not so many chances to find leather type seats or the challenge 'diner' seating. This POI will address that issue for the Old West Town. It is a 25 x 25 size and will further mix up the variety to reduce repetition. It reflects a streamer called Cran5000 (Cranberry 5000) which is based on a cranberry fruit placed on a robot's body. It makes for a fun theme for a soda store.

spacer.png

Link to comment
Share on other sites

Hi, Im making a Mod for my Server at the moment for better rwg generation.

I took inspiration from your better wild west citys mod. I changed a few lines from myself. But its still your code essentially so i would credit you on the Modpage of course.

Im very new to modding (just started a few days ago) and im new to whats ok and what not in terms of code because essentially the xml edits stay the same and i would not now how to use other code for example instead of <setattribute xxxxx/>  to acomplish that.

But of course the Pois and the rest Belongs only to you.

Im totally fine and understand if you dont want that, just thought it might be cool for others.

I also added a RWG filler to have all Poi's and i asked this creator aswell if its ok.

 

Thanks for your great mods, I appreciate them very much and couldnt play without them.

Link to comment
Share on other sites

I have shared the following mods with the community:

 

- Old West Migration Mod

- RWG POI Filler

 

Permission is not given to repackage these mods into the public domain as part of a Modpack or repackaged with minimal custom edits as per TFP's Terms of Use.
https://community.7daystodie.com/topic/4189-tfp-official-modding-forum-policy/

 

If you are making your own mod which is referring to the code for inspiration, it's part of the learning process and understood.

If the code is being repackaged and uploaded with minimal changes, permission is not granted.

 

It seems the end goal is purely for better RWG generation. If that's the case, make a post in the https://community.7daystodie.com/forum/40-discussion-and-requests/

area to describe what the aim is, and the community will be very open to assist with your aims.

Link to comment
Share on other sites

A game bug we see in b336 Stable, where player made signs with text that are added to custom POIs bring up a warning, is patched in V1.1 b4 Experimental. Once this becomes the new Stable as is, or after a further experimental, the issue no longer presents itself and the signs all show their text again.

Link to comment
Share on other sites

Here's a small update for the Old West Migration Mod:

 

- Adding Jean's Steakhouse POI

This is a T4 POI supporting all quest types, including infested. It's a burnt zombie POI to reflect the name, and offer more variety on top of the default Old West zombies group. It sits on a 25 x 50 Old West POI strip and brings some additional variety to other strip type POIs such as Liberty Bank, the Picture House, and 2-3 strip joined POIs.

spacer.png

 

- Readding Homegrown Hydroponics. This POI didn't make the transition to V1.0 from A21, but has also been brought back into play.

Link to comment
Share on other sites

Here is an update for the Old West Migration Mod:

 

- Added 10 repurposed default POIs with an Old West theme and sizing.

The following have been added to the Old West Migration Mod. Many of the names will be recognisable as quest or non quest POIs.
They have been resized to 25 x 25 to match the requirements of Old West Town placement. They are either T1 or T2 and given as many quest hook ups as possible. They will all have clear, fetch, and infested, with the T2's also support power restore.

 

The majority of these POIs have been set to reduce repetition by adding a value that stops them from repeating unless they are at least 500 blocks apart. That will allow them to remain more unique and help to keep Book, Vehicle/Gas, and Food specific POIs less of a given. It also helps to break up existing POIs in this pack which are allowed to repeat based on the RWG algorithm. The Old West Migration Mod didn't really cater for T1 POIs since that is handled by default versions. This update addresses that, and reduces yet another trip to the same T1.

 

The Gas Stations for Old West Pass-N-Gas Store #07 and #08

spacer.png

 

spacer.png

 

The Civic buildings of Old West Mercy Point Camp and Old West Ranger Station Beta

spacer.png

 

spacer.png

 

The Food and Grocery type POIs for Old West Moe's Grocery, Old West Boe's Market, Old West Joe's USA, and Old West Buddies Grain

spacer.png

 

spacer.png

 

spacer.png

 

spacer.png

 

And the Book Stores for The Old West Book Barn and Abbey's Crack-a-Book.

spacer.png

 

spacer.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...