Precinct Z json building

I’ve mapped out and json’d a structure using multiple overmap tiles, upon testing I found that the game cannot generate the structure.

I did a search and would like to know if this statement is still true.

[spoiler]

I’m afraid we don’t have support for this in JSON yet, you have to manipulate some stuff in the mapgen code to make it happen at the moment. Specifically overmap.cpp generate()

http://smf.cataclysmdda.com/index.php?topic=5345.0[/spoiler]

If it is true, would someone be willing to write the building to overmap.cpp

Edit: Pictures of the structure

First floor

Second floor

Third floor

[s]All it needs now is some fine tuning of the balance and a last sweep for critical bugs. The monster spawn rate is varying wildly for each generation of the structure. Here are the files if anyone wishes to try it out.

I’m done for the day. Gnight[/s]

Edit #3: Now located on github.

That was in february 2014, a lot has changed since then.
For one, neither mansion nor evac are mentioned in overmap.cpp.

Pretty sure it could be done now with jsons alone. Evac center could be used as an example of a multi-tile building - it has a 5x5 footprint (3x3 building and a border of roads).

Sweet, now i’ll just work through my typos and errors and get it finished up.

It looks amazing!

Awesome cant wait for more z level stuff :slight_smile:

overmap_specials.json would be where you would add the spawning of it. Very good looking building there!

I’m curious, has anyone noticed what map this building is designed from?

I based it off of the police station in Resident Evil 2.

I tried starting inside with a swat officer and met a misplaced turret during this run (fixed) but, would a police station require automated defenses and robots?

Memorial file, teleported from police station to precinct.

[spoiler]Cataclysm - Dark Days Ahead version 93c35bb memorial file

In memory of: Tyron Atkinson
"Wandering Turrets?"

He was a SWAT Officer when the apocalypse began.
He died on Spring of year 1, day 1, at 09:37:36.
He was killed in a Precinct on the outskirts of Denmark.

Cash on hand: $0

Final HP:
Head: 79/87
Torso: 0/87
L Arm: 54/87
R Arm: 36/87
L Leg: 83/87
R Leg: 85/87

Final Stats:
Str 9 Dex 13 Int 8 Per 8
Base Stats:
Str 9 Dex 13 Int 8 Per 8

Final Messages:
09:12:54 Moving past this frame is slow!1
09:13:30 Moving past this frame is slow!1
09:17:36 From the northwest you hear "It’s heading right for us!"1
09:20:30 The turret fires its smg!1
09:20:30 Your |\ shoulder holster with USP 9mm (fits) is sliced!1
09:20:30 You were hit in the torso for 26 damage.1
09:20:30 The shot reflects off your armor!1
09:20:30 You were hit in the right arm for 14 damage.1
09:20:30 You were hit in the right arm for 25 damage.1
09:20:30 Your |. shoulder holster with USP 9mm (fits) is sliced!1
09:20:30 You were hit in the torso for 18 damage.1
09:20:30 You were hit in the torso for 25 damage.1
09:20:30 You were hit in the right arm for 12 damage.1
09:20:30 You were hit in the left arm for 23 damage.1
09:20:36 From the north you hear P-p-p-pow!2
09:20:36 Your ears ring!1
09:20:36 Your eardrums suddenly ache!1
09:20:36 The turret fires its smg!1
09:20:36 You were hit in the torso for 16 damage.1

Kills:
d - 1 Z-9
d - 1 rot-weiler
Z - 1 zombie
Z - 5 zombie cops
Z - 1 feral runner
Z - 1 tough zombie
Total kills: 10

Skills:
bartering: 0 (0%)
computers: 0 (22%)
construction: 0 (0%)
cooking: 0 (0%)
driving: 0 (0%)
electronics: 0 (0%)
fabrication: 0 (0%)
first aid: 0 (0%)
mechanics: 0 (0%)
speaking: 0 (0%)
survival: 0 (0%)
swimming: 0 (0%)
tailoring: 0 (0%)
trapping: 0 (0%)
archery: 0 (0%)
bashing weapons: 0 (7%)
cutting weapons: 0 (0%)
dodging: 0 (41%)
marksmanship: 3 (12%)
launchers: 0 (0%)
melee: 0 (7%)
piercing weapons: 0 (0%)
throwing: 0 (0%)
unarmed combat: 0 (0%)
handguns: 3 (0%)
rifles: 0 (0%)
shotguns: 0 (0%)
submachine guns: 3 (14%)

Traits:
SWAT Officer
Wool Allergy
Addictive Personality
(None)

Ongoing Effects:
(None)

Bionics:
No bionics were installed.
Power: 0/0

Weapon:
j - H&K MP5

Equipment:
a - boxer shorts (fits)
s - Kevlar vest
c - SWAT armor (fits)
e - tactical full helmet (fits)
f - pair of combat boots (fits)
g - pair of tactical gloves (fits)
h - SWAT ID
k - shoulder strap
d - shoulder holster with USP 9mm (fits) (15)
u - holster (fits)
b - pair of socks (fits)

Inventory:
t - 40mm smoke cover (8)
l - 9mm (12)
m - 9mm FMJ (50)
x - shotgun slug (25)
n - flashbang
v - pair of bolt cutters
w - cash card (5018)
z - cash card (10058)
D - cash card (10371)
q - crowbar
i - locksmith kit
r - first aid kit (6)
p - vitamin (20)
A - 9mm casing (1)
C - 9mm casing (1)
B - 9mm casing (3)
o - 9mm casing (35)
y - battery (100)

Lifetime Stats
Distance walked: 0 squares
Damage taken: 0 damage
Damage healed: 0 damage
Headshots: 0

Game History
| Year 1, Spring 1, 08:00:00 | police station | Tyron Atkinson began their journey into the Cataclysm.
| Year 1, Spring 1, 09:37:36 | Precinct | Tyron Atkinson was killed.
| Year 1, Spring 1, 09:37:36 | Precinct | Last words: Last words: %s
[/spoiler]