New texture test

Author Mitja Felicijan <mitja.felicijan@gmail.com> 2026-05-09 20:52:35 +0200
Committer Mitja Felicijan <mitja.felicijan@gmail.com> 2026-05-09 20:52:35 +0200
Commit 395689737077ee462e3c71dd0a32aaedcafcddd5 (patch)
-rw-r--r-- README.md 4
-rw-r--r-- maps/deck1.map 39
-rw-r--r-- maps/demo4.map 82
-rw-r--r-- palette.gpl 57
-rw-r--r-- textures/interior/floor_01.ase bin 0 B -> 1.7 KB
-rw-r--r-- textures/interior/floor_01.png bin 0 B -> 810 B
-rw-r--r-- textures/interior/floor_02.ase bin 0 B -> 5.7 KB
-rw-r--r-- textures/interior/floor_02.png bin 0 B -> 6.2 KB
-rw-r--r-- textures/interior/floor_03.ase bin 0 B -> 120.3 KB
-rw-r--r-- textures/interior/floor_03.png bin 0 B -> 83.2 KB
-rw-r--r-- textures/interior/interior_wall.xcf bin 58.9 KB -> 0 B
-rw-r--r-- textures/interior/interior_wall_001.png bin 6.5 KB -> 0 B
-rw-r--r-- textures/interior/interior_wall_002.png bin 8.0 KB -> 0 B
-rw-r--r-- textures/interior/interior_wall_003.png bin 10.4 KB -> 0 B
-rw-r--r-- textures/interior/wall_01.ase bin 0 B -> 26.5 KB
-rw-r--r-- textures/interior/wall_01.png bin 0 B -> 7.5 KB
-rw-r--r-- textures/interior/wall_02.ase bin 0 B -> 3.6 KB
-rw-r--r-- textures/interior/wall_02.png bin 0 B -> 3.3 KB
18 files changed, 146 insertions, 36 deletions
diff --git a/README.md b/README.md
...
8
- Open Trenchbroom and go to `View>Preferences` and check that `Game Path`
8
- Open Trenchbroom and go to `View>Preferences` and check that `Game Path`
9
  points to project root.
9
  points to project root.
10
  
10
  
  
11
## Making materials/textures
  
12
  
  
13
- https://www.youtube.com/watch?v=S6Eu8Cti9nI
  
14
  
11
## Trenchbroom entities
15
## Trenchbroom entities
12
  
16
  
13
- https://developer.valvesoftware.com/wiki/FGD
17
- https://developer.valvesoftware.com/wiki/FGD
diff --git a/maps/deck1.map b/maps/deck1.map
  
1
// Game: Stalag
  
2
// Format: Standard
  
3
// entity 0
  
4
{
  
5
"classname" "worldspawn"
  
6
// brush 0
  
7
{
  
8
( -80 -64 -16 ) ( -80 -63 -16 ) ( -80 -64 -15 ) __TB_empty 0 0 0 1 1
  
9
( -64 -544 -16 ) ( -64 -544 -15 ) ( -63 -544 -16 ) __TB_empty 0 0 0 1 1
  
10
( -64 -64 -16 ) ( -63 -64 -16 ) ( -64 -63 -16 ) __TB_empty 0 0 0 1 1
  
11
( 64 64 0 ) ( 64 65 0 ) ( 65 64 0 ) __TB_empty 0 0 0 1 1
  
12
( 64 704 16 ) ( 65 704 16 ) ( 64 704 17 ) __TB_empty 0 0 0 1 1
  
13
( 80 64 16 ) ( 80 64 17 ) ( 80 65 16 ) __TB_empty 0 0 0 1 1
  
14
}
  
15
// brush 1
  
16
{
  
17
( 80 -544 -16 ) ( 80 -543 -16 ) ( 80 -544 -15 ) __TB_empty 0 -16 0 1 1
  
18
( 80 -544 -16 ) ( 80 -544 -15 ) ( 81 -544 -16 ) __TB_empty 16 -16 0 1 1
  
19
( 80 -544 -16 ) ( 81 -544 -16 ) ( 80 -543 -16 ) __TB_empty 16 0 0 1 1
  
20
( 96 112 128 ) ( 96 113 128 ) ( 97 112 128 ) __TB_empty 16 0 0 1 1
  
21
( 96 528 0 ) ( 97 528 0 ) ( 96 528 1 ) __TB_empty 16 -16 0 1 1
  
22
( 96 112 0 ) ( 96 112 1 ) ( 96 113 0 ) __TB_empty 0 -16 0 1 1
  
23
}
  
24
// brush 2
  
25
{
  
26
( -96 -544 -16 ) ( -96 -543 -16 ) ( -96 -544 -15 ) __TB_empty 0 16 0 1 1
  
27
( -96 -544 -16 ) ( -96 -544 -15 ) ( -95 -544 -16 ) __TB_empty 0 16 0 1 1
  
28
( -96 -544 -16 ) ( -95 -544 -16 ) ( -96 -543 -16 ) __TB_empty 0 0 0 1 1
  
29
( -80 112 128 ) ( -80 113 128 ) ( -79 112 128 ) __TB_empty 0 0 0 1 1
  
30
( -80 528 0 ) ( -79 528 0 ) ( -80 528 1 ) __TB_empty 0 16 0 1 1
  
31
( -80 112 0 ) ( -80 112 1 ) ( -80 113 0 ) __TB_empty 0 16 0 1 1
  
32
}
  
33
}
  
34
// entity 1
  
35
{
  
36
"classname" "info_player_start"
  
37
"origin" "0 -512 16"
  
38
"angle" "90"
  
39
}
diff --git a/maps/demo4.map b/maps/demo4.map
...
5
"classname" "worldspawn"
5
"classname" "worldspawn"
6
// brush 0
6
// brush 0
7
{
7
{
8
( -128 -80 -16 ) ( -128 -79 -16 ) ( -128 -80 -15 ) __TB_empty -16 0 0 1 1
8
( -128 -80 0 ) ( -128 -79 0 ) ( -128 -80 1 ) interior/wall_01 0 0 0 1 1
9
( -64 -80 -16 ) ( -64 -80 -15 ) ( -63 -80 -16 ) __TB_empty 0 0 0 1 1
9
( -128 -80 0 ) ( -128 -80 1 ) ( -127 -80 0 ) interior/wall_01 0 0 0 1 1
10
( -64 -80 -16 ) ( -63 -80 -16 ) ( -64 -79 -16 ) __TB_empty 0 16 0 1 1
10
( -128 -80 0 ) ( -127 -80 0 ) ( -128 -79 0 ) interior/wall_01 0 0 0 1 1
11
( 64 48 0 ) ( 64 49 0 ) ( 65 48 0 ) __TB_empty 0 16 0 1 1
11
( -112 48 112 ) ( -112 49 112 ) ( -111 48 112 ) interior/wall_01 0 0 0 1 1
12
( 64 656 16 ) ( 65 656 16 ) ( 64 656 17 ) __TB_empty 0 0 0 1 1
12
( -112 656 16 ) ( -111 656 16 ) ( -112 656 17 ) interior/wall_01 0 0 0 1 1
13
( 64 48 16 ) ( 64 48 17 ) ( 64 49 16 ) __TB_empty -16 0 0 1 1
13
( -112 48 16 ) ( -112 48 17 ) ( -112 49 16 ) interior/wall_01 0 0 0 1 1
14
}
14
}
15
// brush 1
15
// brush 1
16
{
16
{
17
( -128 -80 0 ) ( -128 -79 0 ) ( -128 -80 1 ) interior/interior_wall_003 0 0 0 1 1
17
( 48 -80 0 ) ( 48 -79 0 ) ( 48 -80 1 ) interior/wall_01 0 0 0 1 1
18
( -128 -80 0 ) ( -128 -80 1 ) ( -127 -80 0 ) interior/interior_wall_003 0 0 0 1 1
18
( 48 -80 0 ) ( 48 -80 1 ) ( 49 -80 0 ) interior/wall_01 0 0 0 1 1
19
( -128 -80 0 ) ( -127 -80 0 ) ( -128 -79 0 ) interior/interior_wall_003 0 0 0 1 1
19
( 48 -80 0 ) ( 49 -80 0 ) ( 48 -79 0 ) interior/wall_01 0 0 0 1 1
20
( -112 48 112 ) ( -112 49 112 ) ( -111 48 112 ) interior/interior_wall_003 0 0 0 1 1
20
( 64 48 112 ) ( 64 49 112 ) ( 65 48 112 ) interior/wall_01 0 0 0 1 1
21
( -112 656 16 ) ( -111 656 16 ) ( -112 656 17 ) interior/interior_wall_003 0 0 0 1 1
21
( 64 656 16 ) ( 65 656 16 ) ( 64 656 17 ) interior/wall_01 0 0 0 1 1
22
( -112 48 16 ) ( -112 48 17 ) ( -112 49 16 ) interior/interior_wall_003 0 0 0 1 1
22
( 64 48 16 ) ( 64 48 17 ) ( 64 49 16 ) interior/wall_01 0 0 0 1 1
23
}
23
}
24
// brush 2
24
// brush 2
25
{
25
{
26
( 48 -80 0 ) ( 48 -79 0 ) ( 48 -80 1 ) interior/interior_wall_003 0 0 0 1 1
26
( 48 480 112 ) ( 48 481 112 ) ( 47 480 113 ) interior/wall_01 0 0 90 1 1
27
( 48 -80 0 ) ( 48 -80 1 ) ( 49 -80 0 ) interior/interior_wall_003 0 0 0 1 1
27
( 48 -80 112 ) ( 47 -80 113 ) ( 49 -80 112 ) interior/wall_01 16 6.4000015 0 1 1.25
28
( 48 -80 0 ) ( 49 -80 0 ) ( 48 -79 0 ) interior/interior_wall_003 0 0 0 1 1
28
( 48 480 112 ) ( 49 480 112 ) ( 48 481 112 ) interior/wall_01 0 0 0 1 1
29
( 64 48 112 ) ( 64 49 112 ) ( 65 48 112 ) interior/interior_wall_003 0 0 0 1 1
29
( 32 656 144 ) ( 32 657 144 ) ( 33 656 144 ) interior/wall_01 0 0 0 1 1
30
( 64 656 16 ) ( 65 656 16 ) ( 64 656 17 ) interior/interior_wall_003 0 0 0 1 1
30
( 48 656 128 ) ( 49 656 128 ) ( 47 656 129 ) interior/wall_01 16 6.4000015 0 1 1.25
31
( 64 48 16 ) ( 64 48 17 ) ( 64 49 16 ) interior/interior_wall_003 0 0 0 1 1
31
( 48 656 128 ) ( 47 656 129 ) ( 48 657 128 ) interior/wall_01 0 -16 90 1 1
32
}
32
}
33
// brush 3
33
// brush 3
34
{
34
{
35
( 48 480 112 ) ( 48 481 112 ) ( 47 480 113 ) interior/interior_wall_001 0 0 90 1 1
35
( -112 480 128 ) ( -111 480 129 ) ( -112 479 128 ) interior/wall_01 -16 -16 270 1 1
36
( 48 480 112 ) ( 47 480 113 ) ( 49 480 112 ) interior/interior_wall_001 16 6.4000015 0 1 1.25
36
( -112 -80 128 ) ( -113 -80 128 ) ( -111 -80 129 ) interior/wall_01 -16 6.4000015 180 1 -1.25
37
( 48 480 112 ) ( 49 480 112 ) ( 48 481 112 ) interior/interior_wall_001 0 0 0 1 1
37
( -112 656 112 ) ( -113 656 112 ) ( -112 655 112 ) interior/wall_01 0 16 180 1 1
38
( 32 656 144 ) ( 32 657 144 ) ( 33 656 144 ) interior/interior_wall_001 0 0 0 1 1
38
( -96 480 144 ) ( -96 479 144 ) ( -97 480 144 ) interior/wall_01 0 16 180 1 1
39
( 48 656 128 ) ( 49 656 128 ) ( 47 656 129 ) interior/interior_wall_001 16 6.4000015 0 1 1.25
39
( -112 656 112 ) ( -111 656 113 ) ( -113 656 112 ) interior/wall_01 -16 6.4000015 180 1 -1.25
40
( 48 656 128 ) ( 47 656 129 ) ( 48 657 128 ) interior/interior_wall_001 0 -16 90 1 1
40
( -112 656 112 ) ( -112 655 112 ) ( -111 656 113 ) interior/wall_01 -16 0 270 1 1
41
}
41
}
42
// brush 4
42
// brush 4
43
{
43
{
44
( -112 480 128 ) ( -111 480 129 ) ( -112 479 128 ) interior/interior_wall_001 -16 -16 270 1 1
44
( -96 480 144 ) ( -96 481 144 ) ( -96 480 145 ) interior/wall_01 0 0 0 1 1
45
( -112 480 128 ) ( -113 480 128 ) ( -111 480 129 ) interior/interior_wall_001 -16 6.4000015 180 1 -1.25
45
( -96 -80 144 ) ( -96 -80 145 ) ( -95 -80 144 ) interior/wall_01 0 0 0 1 1
46
( -112 656 112 ) ( -113 656 112 ) ( -112 655 112 ) interior/interior_wall_001 0 16 180 1 1
46
( -96 480 144 ) ( -95 480 144 ) ( -96 481 144 ) interior/wall_01 0 0 0 1 1
47
( -96 480 144 ) ( -96 479 144 ) ( -97 480 144 ) interior/interior_wall_001 0 16 180 1 1
47
( 32 656 160 ) ( 32 657 160 ) ( 33 656 160 ) interior/wall_01 0 0 0 1 1
48
( -112 656 112 ) ( -111 656 113 ) ( -113 656 112 ) interior/interior_wall_001 -16 6.4000015 180 1 -1.25
48
( 32 656 160 ) ( 33 656 160 ) ( 32 656 161 ) interior/wall_01 0 0 0 1 1
49
( -112 656 112 ) ( -112 655 112 ) ( -111 656 113 ) interior/interior_wall_001 -16 0 270 1 1
49
( 32 656 160 ) ( 32 656 161 ) ( 32 657 160 ) interior/wall_01 0 0 0 1 1
50
}
50
}
51
// brush 5
51
// brush 5
52
{
52
{
53
( -96 480 144 ) ( -96 481 144 ) ( -96 480 145 ) interior/interior_wall_001 0 0 0 1 1
53
( -128 656 -16 ) ( -128 657 -16 ) ( -128 656 -15 ) interior/wall_02 0 0 0 1 1
54
( -96 480 144 ) ( -96 480 145 ) ( -95 480 144 ) interior/interior_wall_001 0 0 0 1 1
54
( -128 656 -16 ) ( -128 656 -15 ) ( -127 656 -16 ) interior/wall_02 0 0 0 1 1
55
( -96 480 144 ) ( -95 480 144 ) ( -96 481 144 ) interior/interior_wall_001 0 0 0 1 1
55
( -128 656 -16 ) ( -127 656 -16 ) ( -128 657 -16 ) interior/wall_02 0 0 0 1 1
56
( 32 656 160 ) ( 32 657 160 ) ( 33 656 160 ) interior/interior_wall_001 0 0 0 1 1
56
( 64 672 160 ) ( 64 673 160 ) ( 65 672 160 ) interior/wall_02 0 0 0 1 1
57
( 32 656 160 ) ( 33 656 160 ) ( 32 656 161 ) interior/interior_wall_001 0 0 0 1 1
57
( 64 672 0 ) ( 65 672 0 ) ( 64 672 1 ) interior/wall_02 0 0 0 1 1
58
( 32 656 160 ) ( 32 656 161 ) ( 32 657 160 ) interior/interior_wall_001 0 0 0 1 1
58
( 64 672 0 ) ( 64 672 1 ) ( 64 673 0 ) interior/wall_02 0 0 0 1 1
  
59
}
  
60
// brush 6
  
61
{
  
62
( -128 -80 -16 ) ( -128 -79 -16 ) ( -128 -80 -15 ) interior/wall_00 -16 0 0 1 1
  
63
( -64 -80 -16 ) ( -64 -80 -15 ) ( -63 -80 -16 ) interior/wall_00 0 0 0 1 1
  
64
( -64 -80 -16 ) ( -63 -80 -16 ) ( -64 -79 -16 ) interior/wall_00 0 16 0 1 1
  
65
( 64 48 0 ) ( 64 49 0 ) ( 65 48 0 ) interior/wall_00 0 16 0 1 1
  
66
( 64 656 16 ) ( 65 656 16 ) ( 64 656 17 ) interior/wall_00 0 0 0 1 1
  
67
( 64 48 16 ) ( 64 48 17 ) ( 64 49 16 ) interior/wall_00 -16 0 0 1 1
59
}
68
}
60
}
69
}
61
// entity 1
70
// entity 1
62
{
71
{
63
"classname" "info_player_start"
72
"classname" "info_player_start"
64
"origin" "-32 624 16"
73
"origin" "-32 624 16"
  
74
"angle" "270"
65
}
75
}
diff --git a/palette.gpl b/palette.gpl
  
1
GIMP Palette
  
2
Name: Palette
  
3
Columns: 8
  
4
  
  
5
236 239 241 Hull Off-White #ECEFF1
  
6
214 217 219 Edge Wear Light #D6D9DB
  
7
199 203 206 Soft Panel #C7CBCE
  
8
173 179 183 Light Panel #ADB3B7
  
9
154 164 171 Panel Mid #9AA4AB
  
10
132 140 147 Mid Desat #848C93
  
11
107 119 128 Main Deck Steel #6B7780
  
12
90 96 102 Scuff Steel #5A6066
  
13
  
  
14
127 139 145 Cool Metal #7F8B91
  
15
166 155 146 Warm Metal #A69B92
  
16
115 111 107 Worn Metal #736F6B
  
17
79 80 84 Dark Metal #4F5054
  
18
58 49 40 Oil Stain #3A3128
  
19
107 95 84 Neutral Dirt #6B5F54
  
20
86 78 73 Brown Grime #564E49
  
21
122 75 46 Rust Tint #7A4B2E
  
22
  
  
23
42 57 70 Dark Slate #2A3946
  
24
30 36 44 Shadow Cool #1E242C
  
25
17 19 24 Grip Rubber #111318
  
26
10 10 10 Shadow Black #0A0A0A
  
27
15 36 51 Dim Screen #0F2433
  
28
46 60 72 Navy Panel #2E3C48
  
29
64 76 86 Steel Blue #404C56
  
30
95 99 104 Gunmetal #5F6368
  
31
  
  
32
95 208 122 Console Green #5FD07A
  
33
68 176 95 Console Green Dark #44B05F
  
34
40 140 80 Console Green Deep #288C50
  
35
79 208 255 Panel Glow Accent #4FD0FF
  
36
30 144 255 Primary Blue #1E90FF
  
37
0 229 255 Cyan Glow #00E5FF
  
38
155 231 255 Phaser Glow #9BE7FF
  
39
120 200 230 Soft Cyan #78C8E6
  
40
  
  
41
255 200 87 Tricorder Amber #FFC857
  
42
255 210 74 Warning Stripe Yellow #FFD24A
  
43
230 180 60 Yellow Warm #E6B43C
  
44
224 138 0 Engineering Orange #E08A00
  
45
200 90 10 Hazard Orange #C85A0A
  
46
214 69 60 Marker Red #D6453C
  
47
180 40 40 Deep Alert Red #B42828
  
48
150 30 30 Warning Deep #961E1E
  
49
  
  
50
160 150 140 Panel Tint #A0968C
  
51
200 195 190 Soft Beige #C8C3BE
  
52
145 135 125 Tan Grime #91877D
  
53
130 120 110 Dust Brown #82786E
  
54
59 122 90 Corrosion Green #3B7A5A
  
55
40 60 50 Moss Tint #283C32
  
56
90 110 100 Olive Grime #5A6E64
  
57
255 255 255 Pure White #FFFFFF
diff --git a/textures/interior/floor_01.ase b/textures/interior/floor_01.ase
diff --git a/textures/interior/floor_01.png b/textures/interior/floor_01.png
diff --git a/textures/interior/floor_02.ase b/textures/interior/floor_02.ase
diff --git a/textures/interior/floor_02.png b/textures/interior/floor_02.png
diff --git a/textures/interior/floor_03.ase b/textures/interior/floor_03.ase
diff --git a/textures/interior/floor_03.png b/textures/interior/floor_03.png
diff --git a/textures/interior/interior_wall.xcf b/textures/interior/interior_wall.xcf
diff --git a/textures/interior/interior_wall_001.png b/textures/interior/interior_wall_001.png
diff --git a/textures/interior/interior_wall_002.png b/textures/interior/interior_wall_002.png
diff --git a/textures/interior/interior_wall_003.png b/textures/interior/interior_wall_003.png
diff --git a/textures/interior/wall_01.ase b/textures/interior/wall_01.ase
diff --git a/textures/interior/wall_01.png b/textures/interior/wall_01.png
diff --git a/textures/interior/wall_02.ase b/textures/interior/wall_02.ase
diff --git a/textures/interior/wall_02.png b/textures/interior/wall_02.png