The forum has been set to read-only mode. For community discussion and questions, head over to our Discord: https://discord.gg/taleoftwowastelands

Making a mod, Weird mob spawns after reload of save.

General modding guides and authoring tutorials.
Post Reply
Noxus
Posts: 14
Joined: Sat Mar 07, 2020 5:07 pm

Making a mod, Weird mob spawns after reload of save.

Post by Noxus » Mon Sep 12, 2022 6:06 am

So i am building some locations in the GECK and it has been going well. But now i have a really strange bug that I hope the veterans here can help me with.
I have built a level of relatively large size, but not really larger than some vanilla areas.
I run in to test it and it works fine, mobs spawn where they should and keys drop and terminals work. All good. Then i reload the same save before entering the area, runs in and all of a sudden ALL of the mobs have spawned in a room and are basically just standing there. And the companion i bring with me also spawns in that room and starts combat.

If i close the game, and relaunch it works fine. Until i reload the save without quitting the game completely and restarting. I cannot fathom what issue creates this bug. I have not had it happen in the other areas i am making and it is just mysterious.

Any tip or suggestion will be apreciated.

User avatar
Laclongquan
Posts: 625
Joined: Mon May 03, 2021 4:19 am

Re: Making a mod, Weird mob spawns after reload of save.

Post by Laclongquan » Mon Sep 12, 2022 6:57 am

Did you use larger spawn mod or anything that has a script that spawn new ones. Like raider overlord etc...

Without load order list we can only guess

Noxus
Posts: 14
Joined: Sat Mar 07, 2020 5:07 pm

Re: Making a mod, Weird mob spawns after reload of save.

Post by Noxus » Mon Sep 12, 2022 7:19 am

The only mod i have installed when testing is the TTW and the NVSE/JIP and tick fix.

Edit - maybe it is because of some stuff "left over" in some INI file or something from my NV playthrough? Like some spawn setting or something changed. I didn't use any such thing really, i did use the mojave raiders mod and the wastelanders mod that added some NPCs but i don't know if that could leave some crap behind. Guess i will generate vanilla ini files and see if it matters.

User avatar
Laclongquan
Posts: 625
Joined: Mon May 03, 2021 4:19 am

Re: Making a mod, Weird mob spawns after reload of save.

Post by Laclongquan » Mon Sep 12, 2022 9:40 am

There might be mods that create spawns then its save-baked. Which mojave raiders might be one. But your deaxription doesnt quite fit.

One other possible cause is maximum number of spawns in a cell.

If you set too many beyond the cap, they wont appear until the engine delete the corpses. That might be the case. I did meet that before.

Reduce active spawns. Or cut the cell into two. Thats my solution.

Noxus
Posts: 14
Joined: Sat Mar 07, 2020 5:07 pm

Re: Making a mod, Weird mob spawns after reload of save.

Post by Noxus » Mon Sep 12, 2022 3:56 pm

I will try it and see what happens, i will also totally wipe all old stuff and re-install to make sure nothing remains, and make a totally clean save.
And thank you for taking the time to answer!

User avatar
Laclongquan
Posts: 625
Joined: Mon May 03, 2021 4:19 am

Re: Making a mod, Weird mob spawns after reload of save.

Post by Laclongquan » Mon Sep 12, 2022 4:56 pm

The 2nd cause, i met in many situation since i use spawn mod. Sometimes target of a kill quest cant spawn because too many active in the area. So after i go elsewhere then return some corpses get delete and they can spawn.

Dont overestimate fnv engine. Its 15 yo, since the day of f3.

Noxus
Posts: 14
Joined: Sat Mar 07, 2020 5:07 pm

Re: Making a mod, Weird mob spawns after reload of save.

Post by Noxus » Mon Sep 12, 2022 6:35 pm

Ah, i see, i didn't know that it worked like that. Really good to know, and it also answers some bugs i experienced when i was playing NV! Thanks again!

User avatar
RoyBatty
Gary
Posts: 7742
Joined: Sun Apr 27, 2014 10:26 am
Location: Vault 108

Re: Making a mod, Weird mob spawns after reload of save.

Post by RoyBatty » Mon Sep 12, 2022 11:40 pm

The problem is your mod is an ESP, navmeshes break when reloading so everything will tend to teleport to one location. Things with navmesh (worldspace/cell) need to be in an ESM.

You also need to make sure all your placed NPCs and Creatures are persistent.
Image

Noxus
Posts: 14
Joined: Sat Mar 07, 2020 5:07 pm

Re: Making a mod, Weird mob spawns after reload of save.

Post by Noxus » Tue Sep 13, 2022 5:53 am

Dude, thank you so much. I had no idea that was how it worked.

Post Reply