Author Topic: Reclaiming a City - Is it Possible?  (Read 968 times)

Offline Umbra Vorago

  • Zombie Food
  • *
  • Posts: 79
    • View Profile
Reclaiming a City - Is it Possible?
« on: August 01, 2017, 01:07:32 PM »
My goal: Clear out an entire city, wall it off, fill it with turrets and NPC survivors. That is my dream, however, I need a little help and advice on how to do this.

I understand how Static spawn works regarding zombies, I enjoy being able to clear out an area then not have to worry about zombies appearing out of thin air. My issue is, a long time ago when I did attempt this project, certain hostile animals still seemed to spawn within the town after having cleared it out.

From what I can gather hostile animals, such as Zombears or Wolves, do not fall under the Static Spawn system, but are generated over time. This is to keep hunting a viable option, but is there some way to prevent them from spawning in a certain area?

I mean I don't want to make it so nothing ever spawns in the game for good, just make it so things down spawn inside my own little "safe zone", aka a completely walled off chunk of a city.

To one day have a fully fortified city, filled with turrets and NPC's, surrounded by mines, then have a wandering horde come try take the city over... Does that not sound glorious?

Anyway, any help would be greatly appreciated!

Offline leebash

  • Zombie Food
  • *
  • Posts: 78
    • View Profile
Re: Reclaiming a City - Is it Possible?
« Reply #1 on: August 01, 2017, 01:10:19 PM »
Not it is not possible.

Either you have wander spawn enabled, so zombies can spawn in your safe area, or have it off, so nothing will spawn at all.

Offline §k

  • Survivor
  • ***
  • Posts: 478
    • View Profile
Re: Reclaiming a City - Is it Possible?
« Reply #2 on: August 01, 2017, 01:11:21 PM »
A town where every walkable tile is pit.

Offline Arek_PL

  • Survivor
  • ***
  • Posts: 1886
  • NEVER ENOUGHT VOLUME IN INVENTORY!
    • View Profile
Re: Reclaiming a City - Is it Possible?
« Reply #3 on: August 01, 2017, 03:15:49 PM »
with enought sentry guns random zombified animals would just turn into street junk what needs to be cleared, for sentry guns i suggest making solar powered pseudo cars with automatic laser turrerts on them

Offline DeWolf

  • Survivor
  • ***
  • Posts: 964
  • STAY AWAY FROM MY PRETZELS
    • View Profile
Re: Reclaiming a City - Is it Possible?
« Reply #4 on: August 01, 2017, 03:24:40 PM »
with enought sentry guns random zombified animals would just turn into street junk what needs to be cleared, for sentry guns i suggest making solar powered pseudo cars with automatic laser turrerts on them
Well... solar powered or they are all connected to a generator of some kind via jumper/heavy duty cables.

Offline TheKobold

  • Survivor
  • ***
  • Posts: 552
  • A mischievous little draconic bastard
    • View Profile
Re: Reclaiming a City - Is it Possible?
« Reply #5 on: August 01, 2017, 08:35:40 PM »
Try a small town, just one of those on an road intersection with 4-10 buildings, it should be small enough that nothing spawn inside while you are around. Try and keep the noise down too, that's the main attractant for wander spawns.

Offline DeWolf

  • Survivor
  • ***
  • Posts: 964
  • STAY AWAY FROM MY PRETZELS
    • View Profile
Re: Reclaiming a City - Is it Possible?
« Reply #6 on: August 01, 2017, 09:09:48 PM »
If you can't do laser turrets I think pneumatic or bolter turrets will do well.

Offline Kevin Granade

  • Administrator
  • Survivor
  • *****
  • Posts: 5561
  • I code dead people.
    • View Profile
Re: Reclaiming a City - Is it Possible?
« Reply #7 on: August 01, 2017, 11:31:18 PM »
Unfortunately the game engine isn't up to this, we would have to somehow pin every "claimed" map area into memory and periodically run the game code over the whole area periodically, which would require a lot of code changes, require a lot of processing time in the game, consume a lot of memory and be extremely difficult to debug.

As long as the area is not under attack it would be fine, but if a horde attacked while the player was elsewhere it might make your game slow to a crawl.
Its like a fun family cookout, except your family is burning in flames while trying to eat you. -secretfire
I'm more excited than a survivor on meth and toast'ems. -Nighthawk
The the giant wasp is slammed through the zombie brute!

Offline tarburst98

  • NPC
  • **
  • Posts: 213
    • View Profile
Re: Reclaiming a City - Is it Possible?
« Reply #8 on: August 02, 2017, 02:36:38 AM »
thing is, why WOULD a horde attack while the player is away? i would think making a "no spawn zone" would be easier then doing all that. so if a horde is on top of it nothing happens since spawn is disabled, instead when the player is close enough the zombies in that wander group would spawn in the nearest "unclaimed" zone. if you set up your walls right that would make all zombies spawn outside your areas and would attempt to beat the walls down.

this would attach to the "faction" system in a way, as in, to claim an area you need to assign NPCs to guard that area, 2 NPCs on patrol/guard duty can maintain a 2x2 tiles of non spawn area. BUT to prevent someone from getting a million NPCs to guard a massive area, you need support infrastructure in place to ALLOW them to guard the area.  so an area that can be guarded needs like "5x5 tiles roof area with 6 beds, 20 farm plots, a farmer, a crafter, and a doctor". sort of like a private version of the NPC run farm. so once you have the support infrastructure you can have the guards protect the contained assets.  this set up also means that while it is "safe" when the player isn't there, when they approach the outer walls could have a swarm of zombies you have to fight through to get inside their own base if you don't make sure to keep hordes away from it.

Offline Umbra Vorago

  • Zombie Food
  • *
  • Posts: 79
    • View Profile
Re: Reclaiming a City - Is it Possible?
« Reply #9 on: August 02, 2017, 08:24:14 PM »
I don't understand all the technical stuff, so if that's what Kevin says oh well, can't be helped!

I suppose I'll just reclaim a large tower, there shouldn't be anything constantly spawning inside those with Static Spawn on, right? Or should I just give up on my dream of having a little community and return to a life of just hiding in a basement?

In any case, thank you for your help! I'm full of questions, thinking of a new dream to have for the game, so I'll be sure to post a new thread soon asking a new question if I can't find the answers myself!

Offline Kevin Granade

  • Administrator
  • Survivor
  • *****
  • Posts: 5561
  • I code dead people.
    • View Profile
Re: Reclaiming a City - Is it Possible?
« Reply #10 on: August 03, 2017, 04:51:31 AM »
thing is, why WOULD a horde attack while the player is away? i would think making a "no spawn zone" would be easier then doing all that. so if a horde is on top of it nothing happens since spawn is disabled, instead when the player is close enough the zombies in that wander group would spawn in the nearest "unclaimed" zone. if you set up your walls right that would make all zombies spawn outside your areas and would attempt to beat the walls down.
A horde would attack a NPC stronghold for the same reason they'd attack the player, because they're alive.  A no spawn zone as you suggest would just be the first step, it doesn't make sense for the zombies to wait for the player to show up before attacking.
Its like a fun family cookout, except your family is burning in flames while trying to eat you. -secretfire
I'm more excited than a survivor on meth and toast'ems. -Nighthawk
The the giant wasp is slammed through the zombie brute!

Offline tarburst98

  • NPC
  • **
  • Posts: 213
    • View Profile
Re: Reclaiming a City - Is it Possible?
« Reply #11 on: August 03, 2017, 06:48:06 AM »
well, with a wall you can say that the zombies are just wandering around the fort and not actually attacking it because they can't SEE any humans. and without a wall, all the zombies spawning at once when you get near would kill your NPCs faster then if it ran calculations while you are away. a few dozen zombies just swarming can kill easily anything besides your survivor, and if the guards die then the area loses it's no spawn protection.

Offline Nickal

  • NPC
  • **
  • Posts: 151
    • View Profile
Re: Reclaiming a City - Is it Possible?
« Reply #12 on: August 03, 2017, 08:08:56 AM »
Tarburst. Do you want Preston Garvey? Because this is how you get Preston Garvey.
"When you poop in your dreams, you poop for real."
The furious ferret furry flew into a fury as it flung a fury of flurries at a fabulous flamingo furry forfeiting fame into a fire.

Offline Ruttiger

  • Zombie Food
  • *
  • Posts: 14
    • View Profile
Re: Reclaiming a City - Is it Possible?
« Reply #13 on: August 03, 2017, 05:03:37 PM »
I don't know what these guys are on about, as I've cleared many cities of hostiles many times.  It's very simple, use a bow and or a melee weapon for silent kills, and make sure while you are slaughtering zombies they don't start making noise, as it attracts more.  If you clear the town of all enemies, no more will come, wander spawns or no. 

I've cleared a large city, and then made a camp in an intersection, blocking access with cars, trucks, and busses, and then left sentries (once I've grilled them for useful skills) at the entrances.  No more zombies ever showed up there, or at least I couldn't notice them thanks to my sentries.  Last time I did this was in an experimental version 8-9 months ago, so things may have changed since of course. 

Offline DeWolf

  • Survivor
  • ***
  • Posts: 964
  • STAY AWAY FROM MY PRETZELS
    • View Profile
Re: Reclaiming a City - Is it Possible?
« Reply #14 on: August 03, 2017, 05:58:40 PM »
I don't know what these guys are on about, as I've cleared many cities of hostiles many times.  It's very simple, use a bow and or a melee weapon for silent kills, and make sure while you are slaughtering zombies they don't start making noise, as it attracts more.  If you clear the town of all enemies, no more will come, wander spawns or no. 

I've cleared a large city, and then made a camp in an intersection, blocking access with cars, trucks, and busses, and then left sentries (once I've grilled them for useful skills) at the entrances.  No more zombies ever showed up there, or at least I couldn't notice them thanks to my sentries.  Last time I did this was in an experimental version 8-9 months ago, so things may have changed since of course.
I think he means doing it with wander spawns on.