Creating maps for Legal Crime

 

General

The maps consist of blocks, which have a standard outlook and size. They have certain dimensions and are used in certain parts of the city (slum, middle class and center). The blocks have predefined starting points, but all of them do not have to be used.

Size

The size of a map must be between 32x32 and 200x200. It is always a square and its width and height must be divisible by four. This means that valid map sizes are 32x32, 36x36, 40x40, 44x44 etc. up to 200x200.

Format

The format for the maps for Legal Crime is:

VER<version number>

XDIM <x-dimension of the map>
YDIM <y-dimension of the map>

<x-coordinate> <y-coordinate> <block number>
<x-coordinate> <y-coordinate> <block number>
<x-coordinate> <y-coordinate> <block number>
etc...
-1 -1 -1

STARTPOINTS
<x-coordinate> <y-coordinate>
<x-coordinate> <y-coordinate>
<x-coordinate> <y-coordinate>
etc...
-1 -1

The coordinates are always in "large city scale" and the topmost corner of the city is 0,0. The x-dimension is the northwest-southeast and the y-dimension southwest-northeast dimension of the map.

Starting points

Valid starting points within blocks can be found in the table on this page. So valid starting points in the scale of the whole city can be determined by adding the coordinates within the block to the topmost corner of the block. Note that all the starting points on a map do not have to be used.

Valid maps

Example map

Here is the map Small Town from Legal Crime...

VER01

XDIM 48
YDIM 48

BLOCKS
0 0 15
8 0 1
20 0 14
28 0 15
36 0 0
0 12 2
12 12 7
24 12 8
36 12 4
0 24 12
12 24 5
24 24 6
36 24 0
0 32 13
0 40 12
12 36 14
20 36 17
32 36 15
40 36 14
-1 -1 -1

STARTPOINTS
17 4
45 6
9 18
45 30
29 45
-1 -1

Please let us know (support@byteenchanters.com) when you make your own maps, we would like to list them at our website or include them in the game.


Resources...


Table: the blocks in legal crime
Block number Picture City area Dimension (X) Dimension (Y) Valid starting points

0

Middle Class

12

12

(9,6)

1

Middle Class

12

12

(9,4)
(4,9)
(9,9)

2

Middle Class

12

12

(9,6)

3

Center

12

12
 

4

Middle Class

12

12

(9,9)

5

Center

12

12
 

6

Center

12

12
 

7

Center

12

12

(9,3)

8

Center

12

12
 

9

Middle Class

12

12
 

10

Middle Class

12

12
 

11

Middle Class

12

12
 

12

Slum

12

8

(5,5)
(8,5)

13

Slum

12

8

(5,5)
(8,5)

14

Slum

8

12

(5,5)
(8,5)

15

Slum

8

12

(3,9)
(5,7)

16

Middle Class

12

12
 

17

Middle Class

12

12

(9,4)
(4,9)
(9,9)

18
 

Slum

4

4

(2,2)

19
 

Slum

4

4

(2,1)

20
 

Middle Class

8

8

(1,6)
(6,2)
(6,6)

21
 

Middle Class

8

8

(1,1)
(6,1)
(1,6)

22
 

Middle Class

8

8

(1,1)
(1,6)
(6,6)

23
 

Middle Class

8

8

(1,1)
(6,1)
(6,6)

24
 

Middle Class

5

5
 

25
 

Middle Class

5

5
 

26
 

Middle Class

3

4

(1,1)

27
 

Slum

3

3

(1,1)

28
 

Slum

3

3

(1,1)

29
 

Middle Class

4

4

(2,1)

30
 

Slum

3

3

(1,1)

31
 

Middle Class

4

3

(2,1)

32
 

Middle Class

5

5
 

33
 

Middle Class

12

12
 

34
 

Middle Class

1

1
 

35
 

Slum

4

4
 

36
 

Slum

4

4
 

37
 

Slum

4

4