Does anyone know exactly how far the player can be from an NPC before an invasion will no longer spawn its specific mobs? Does this correspond in some way to the "safety" bubble generated by NPC's?
Good questions that I'd like to know answers to, too.
I can be about 2 to 2.5 screen widths away
The NPC reduced spawn rate certainly does seem to extend out a good way, yeah. I haven't measured as yet.
higher resolutions (2560x1440/1600 or higher)
Aren't natively possible, you have to mod/hack. You can use Mechmod to zoom out and/or pan too (e.g. to use the ruler to get an exact measure to nearest NPC when checking for the point at which invasion spawns stop.
I think you get closer mob spawns if you run at like 1280x720.
Nope. Fixed distance. Even on console, mobile, far as I know.
with a king statue or a housed NPC, that you could pull an invasion to another part of the world.
You definitely can. DicemanX's surface auto-farm from 1.2.4.1 could be equippedwith a single NPC in order to grind pirate invasions:
http://forums.terraria.org/index.ph...ing-key-mold-and-pirate-map-farming-too.6939/
The surface farm can be used for invasion farming (Goblin Invasion, Pirate Invasion, Frost Legion Invasion). Invasions occur either at the spawn point, or as long as at least 1 NPC is nearby. To farm invasions using this surface autofarm, either an NPC needs to be summoned via the King Statue, or an NPC needs to be assigned to the house below the autofarm. There is a blue switch to the right of the farm that summons an NPC from the statue.
So I'm surprised to hear:
with NPCs present & absent, they only appear at the centre of the map.
Since you'll be on 1.2.4 equivalent there now
@ED209? (Which invasions exactly? Are you sure you hung around for long enough? (Which console again? - Best to state each time it's relevant.)
In the centre i had pirates (counter disappeared whenever i ported back and to), on my cannon arena (a bit further away) i had the eclipse mobs.
So presumably you had no NPC out by your cannon arena? (So pirates wouldn't be able to spawn there anyway.) But solar eclipse isn't an invasion (that can be beaten) and so happens right across the map. I'm a little surprised that you can have pirates at the same time, I'd have thought trigger the eclipse would have canceled it altogether. (Did you go back and forth more than once, to check?) I've never tired such things though.
After that initial wave (like 7-10 mobs?), yeah, it centers on the default world spawn.
The location of the invasion is a single x co-ordinate, as it moves in from the edge of the world the player is either in range or not, full spawn rate, or nothing. But the invasion location passes by so quickly that there will barely be time for many spawns before it moves out of range. However, even if the invasion location passes briefly over you, mobs won't continue to spawn around you, even with an NPC present, until the invasion location has reached the center of the map, at which point it suddenly returns.
I'm primarily basing this on experience with pirates, but I expect the conditions are just the same for goblins and martians. I think I remember talking about this question recently, but don't remember what the answer was/is (would like to know):
- How far does one need to be from an NPC before invasion mobs stop spawning?