Skip to content

Commit

Permalink
Improvements to classic player building models
Browse files Browse the repository at this point in the history
- Created new atlas texture based on page-13 with edge padding
- Fixed transparency issues for HQs, command center, laser site, tank traps, destroyed cyber factory
- Redesigned cyber factory to fix improper texture mapping
- Changed roof texture of vtol factory, added fans and steam effects
- Improved geometry of power gen and research lab
- Fixed texture mapping for features that use page-13
- Added more parts to team color
- Fixed models to work properly with shadow mapping

Co-Authored-By: MaNGusT- <bart2@bk.ru>
  • Loading branch information
2 people authored and pull[bot] committed Jun 8, 2024
1 parent 9fabc3f commit 1068229
Show file tree
Hide file tree
Showing 33 changed files with 10,739 additions and 3,461 deletions.
932 changes: 799 additions & 133 deletions data/base/features/blfactrd.pie

Large diffs are not rendered by default.

144 changes: 68 additions & 76 deletions data/base/features/blware1.pie
Original file line number Diff line number Diff line change
@@ -1,79 +1,71 @@
PIE 2
PIE 3
TYPE 200
TEXTURE 0 page-13-player-buildings.png 256 256
TEXTURE 0 page-34-buildings.png 0 0
LEVELS 1
LEVEL 1
POINTS 28
105 72 -61
105 2 42
105 2 -61
105 72 42
52 72 -61
78 93 42
78 93 -61
52 72 42
-105 72 -61
-79 93 42
-79 93 -61
-105 72 42
-53 72 42
-53 72 -61
26 93 -61
26 93 42
0 72 -61
0 72 42
-26 93 42
-26 93 -61
52 2 -61
0 2 -61
-53 2 -61
-105 2 -61
-53 2 42
-105 2 42
0 2 42
52 2 42
POLYGONS 44
200 3 0 1 2 253 190 220 231 254 231
200 3 0 3 1 253 190 220 190 220 231
200 3 4 5 6 218 206 201 174 201 207
200 3 4 7 5 218 206 218 174 201 174
200 3 8 9 10 218 206 201 174 201 207
200 3 8 11 9 218 206 218 174 201 174
200 3 10 12 13 200 206 183 174 183 207
200 3 10 9 12 200 206 200 174 183 174
200 3 14 7 4 200 206 183 174 183 207
200 3 14 15 7 200 206 200 174 183 174
200 3 16 15 14 218 206 201 174 201 207
200 3 16 17 15 218 206 218 174 201 174
200 3 13 18 19 218 206 201 174 201 207
200 3 13 12 18 218 206 218 174 201 174
200 3 19 17 16 200 206 183 174 183 207
200 3 19 18 17 200 206 200 174 183 174
200 3 4 2 20 140 197 94 227 141 227
200 3 4 0 2 140 197 94 197 94 227
200 3 4 6 0 140 196 116 188 94 197
200 3 16 20 21 140 197 94 227 141 227
200 3 16 4 20 140 197 94 197 94 227
200 3 16 14 4 140 196 116 188 94 197
200 3 13 21 22 140 197 94 227 141 227
200 3 13 16 21 140 197 94 197 94 227
200 3 13 19 16 140 196 116 188 94 197
200 3 8 22 23 140 197 94 227 141 227
200 3 8 13 22 140 197 94 197 94 227
200 3 8 10 13 140 196 116 188 94 197
200 3 12 9 11 94 196 117 188 140 197
200 3 24 11 25 94 227 140 197 140 228
200 3 24 12 11 94 227 94 197 140 197
200 3 17 18 12 94 196 117 188 140 197
200 3 26 12 24 94 227 140 197 140 228
200 3 26 17 12 94 227 94 197 140 197
200 3 7 15 17 94 196 117 188 140 197
200 3 27 17 26 94 227 140 197 140 228
200 3 27 7 17 94 227 94 197 140 197
200 3 3 5 7 94 196 117 188 140 197
200 3 1 7 27 94 227 140 197 140 228
200 3 1 3 7 94 227 94 197 140 197
200 3 23 11 8 140 228 95 189 141 189
200 3 11 23 25 95 189 140 228 95 228
200 3 6 3 0 200 206 183 174 183 207
200 3 6 5 3 200 206 200 174 183 174
POINTS 24
104 70 -51.5
78 91 51.5
104 70 51.5
78 91 -51.5
52 70 51.5
52 70 -51.5
104 0 -51.5
104 0 51.5
26 91 51.5
26 91 -51.5
0 70 51.5
0 70 -51.5
-104 0 -51.5
0 0 -51.5
-104 70 -51.5
-26 91 51.5
-26 91 -51.5
-52 70 51.5
-52 70 -51.5
-104 70 51.5
0 0 51.5
-104 0 51.5
-78 91 51.5
-78 91 -51.5
POLYGONS 40
200 3 0 1 2 0.192602 0.505387 0.218604 0.440033 0.192602 0.440033
200 3 1 0 3 0.218604 0.440033 0.192602 0.505387 0.218604 0.505387
200 3 3 4 1 0.218604 0.505387 0.244606 0.440033 0.218604 0.440033
200 3 4 3 5 0.244606 0.440033 0.218604 0.505387 0.244606 0.505387
200 3 0 5 3 0.462391 0.004722 0.506086 0.004722 0.484239 0.022365
200 3 4 2 1 0.50292 0.235405 0.546436 0.235405 0.524678 0.253188
200 3 6 2 7 0.456994 0.209824 0.554657 0.131566 0.554657 0.209824
200 3 2 6 0 0.554657 0.131566 0.456994 0.209824 0.456994 0.131566
200 3 5 8 4 0.244606 0.505387 0.218604 0.440033 0.244606 0.440033
200 3 8 5 9 0.218604 0.440033 0.244606 0.505387 0.218604 0.505387
200 3 9 10 8 0.218604 0.505387 0.192603 0.440033 0.218604 0.440033
200 3 10 9 11 0.192603 0.440033 0.218604 0.505387 0.192603 0.505387
200 3 12 11 13 0.462391 0.082928 0.549782 0.004722 0.549782 0.082928
200 3 11 12 14 0.549782 0.004722 0.462391 0.082928 0.462391 0.004722
200 3 5 11 9 0.506086 0.004722 0.549782 0.004722 0.527934 0.022365
200 3 10 4 8 0.459405 0.235405 0.50292 0.235405 0.481162 0.253188
200 3 11 15 10 0.192603 0.505387 0.218604 0.440033 0.192603 0.440033
200 3 15 11 16 0.218604 0.440033 0.192603 0.505387 0.218604 0.505387
200 3 16 17 15 0.218604 0.505387 0.244607 0.440033 0.218604 0.440033
200 3 17 16 18 0.244607 0.440033 0.218604 0.505387 0.244607 0.505387
200 3 11 18 16 0.549782 0.004722 0.506086 0.004722 0.527934 0.022365
200 3 17 10 15 0.50292 0.235405 0.459405 0.235405 0.481162 0.253188
200 3 19 20 10 0.546436 0.235405 0.459405 0.31346 0.459405 0.235405
200 3 20 19 21 0.459405 0.31346 0.546436 0.235405 0.546436 0.31346
200 3 18 22 17 0.244607 0.505387 0.218604 0.440033 0.244607 0.440033
200 3 22 18 23 0.218604 0.440033 0.244607 0.505387 0.218604 0.505387
200 3 23 19 22 0.218604 0.505387 0.192603 0.440033 0.218604 0.440033
200 3 19 23 14 0.192603 0.440033 0.218604 0.505387 0.192603 0.505387
200 3 18 14 23 0.506086 0.004722 0.462391 0.004722 0.484239 0.022365
200 3 19 17 22 0.546436 0.235405 0.50292 0.235405 0.524678 0.253188
200 3 21 14 12 0.772483 0.397574 0.91118 0.311543 0.91118 0.397574
200 3 14 21 19 0.91118 0.311543 0.772483 0.397574 0.772483 0.311543
200 3 6 11 0 0.462391 0.082928 0.549782 0.004722 0.462391 0.004722
200 3 11 6 13 0.549782 0.004722 0.462391 0.082928 0.549782 0.082928
200 3 2 20 7 0.546436 0.235405 0.459405 0.31346 0.546436 0.31346
200 3 20 2 10 0.459405 0.31346 0.546436 0.235405 0.459405 0.235405
200 3 13 7 20 0.549782 0.082928 0.546436 0.31346 0.459405 0.31346
200 3 7 13 6 0.546436 0.31346 0.549782 0.082928 0.456994 0.209824
200 3 12 20 21 0.462391 0.082928 0.459405 0.31346 0.772483 0.397574
200 3 20 12 13 0.459405 0.31346 0.462391 0.082928 0.549782 0.082928
88 changes: 47 additions & 41 deletions data/base/features/mioiltow.pie
Original file line number Diff line number Diff line change
@@ -1,48 +1,54 @@
PIE 2
PIE 3
TYPE 200
TEXTURE 0 page-13-player-buildings.png 256 256
TEXTURE 0 page-34-buildings.png 0 0
LEVELS 1
LEVEL 1
POINTS 17
-30 111 31
0 111 43
0 131 3
-43 111 0
-30 111 -29
0 111 -42
30 111 -29
42 111 0
0 131 -0
-43 111 -0
-31 111 -30
0 111 -43
31 111 -30
43 111 -0
30 111 31
0 2 -42
-30 2 -29
-43 2 0
-30 2 31
0 2 43
30 2 31
42 2 0
30 2 -29
POLYGONS 24
200 3 0 1 2 247 103 254 86 232 86
200 3 2 3 0 232 86 232 109 247 103
200 3 4 3 2 216 103 232 109 232 86
200 3 5 4 2 210 86 216 103 232 86
200 3 6 5 2 216 70 210 86 232 86
200 3 7 6 2 232 63 216 70 232 86
200 3 8 7 2 247 70 232 63 232 86
200 3 1 8 2 254 86 247 70 232 86
200 3 4 5 9 94 138 118 138 118 186
200 3 4 9 10 94 138 118 186 94 186
200 3 3 4 10 139 138 163 138 163 186
200 3 3 10 11 139 138 163 186 139 186
200 3 0 3 11 140 84 164 84 164 132
200 3 0 11 12 140 84 164 132 140 132
200 3 12 1 0 163 186 139 138 163 138
200 3 1 12 13 139 138 163 186 139 186
200 3 8 1 13 140 85 115 85 115 133
200 3 8 13 14 140 85 115 133 140 133
200 3 7 8 14 140 138 115 138 115 186
200 3 7 14 15 140 138 115 186 140 186
200 3 5 6 16 115 138 140 138 140 186
200 3 5 16 9 115 138 140 186 115 186
200 3 6 7 15 118 138 94 138 94 186
200 3 6 15 16 118 138 94 186 118 186
0 0 -43
-31 0 -30
-43 0 -5.9605e-08
-30 1.19209e-07 31
0 0 43
30 1.19209e-07 31
43 0 -5.9605e-08
31 0 -30
POLYGONS 30
200 3 0 1 2 0.698347 0.326313 0.726562 0.315027 0.726562 0.355469
200 3 3 0 2 0.68612 0.355469 0.698347 0.326313 0.726562 0.355469
200 3 4 3 2 0.697406 0.383685 0.68612 0.355469 0.726562 0.355469
200 3 5 4 2 0.726562 0.395911 0.697406 0.383685 0.726562 0.355469
200 3 6 5 2 0.755719 0.383685 0.726562 0.395911 0.726562 0.355469
200 3 7 6 2 0.767005 0.355469 0.755719 0.383685 0.726562 0.355469
200 3 8 7 2 0.754778 0.326313 0.767005 0.355469 0.726562 0.355469
200 3 1 8 2 0.726562 0.315027 0.754778 0.326313 0.726562 0.355469
200 3 4 9 10 0.462873 0.11036 0.504932 0.210078 0.462873 0.210078
200 3 9 4 5 0.504932 0.210078 0.462873 0.11036 0.504932 0.11036
200 3 3 10 11 0.54693 0.11036 0.592892 0.210078 0.54693 0.210078
200 3 10 3 4 0.592892 0.210078 0.54693 0.11036 0.592892 0.11036
200 3 0 11 12 0.549847 0.00486898 0.593779 0.104491 0.549847 0.104491
200 3 11 0 3 0.593779 0.104491 0.549847 0.00486898 0.593779 0.00486898
200 3 1 12 13 0.546929 0.11036 0.592892 0.210078 0.546929 0.210078
200 3 12 1 0 0.592892 0.210078 0.546929 0.11036 0.592892 0.11036
200 3 8 13 14 0.549847 0.00486898 0.503949 0.104491 0.549847 0.104491
200 3 13 8 1 0.503949 0.104491 0.549847 0.00486898 0.503949 0.00486898
200 3 7 14 15 0.504932 0.11036 0.546931 0.210078 0.504932 0.210078
200 3 14 7 8 0.546931 0.210078 0.504932 0.11036 0.546931 0.11036
200 3 5 16 9 0.504932 0.11036 0.546931 0.210078 0.504932 0.210078
200 3 16 5 6 0.546931 0.210078 0.504932 0.11036 0.546931 0.11036
200 3 6 15 16 0.462873 0.11036 0.504932 0.210078 0.462873 0.210078
200 3 15 6 7 0.504932 0.210078 0.462873 0.11036 0.504932 0.11036
200 3 11 13 12 0.54693 0.210078 0.546929 0.210078 0.549847 0.104491
200 3 13 15 14 0.546929 0.210078 0.504932 0.210078 0.549847 0.104491
200 3 15 9 16 0.504932 0.210078 0.504932 0.210078 0.462873 0.210078
200 3 13 9 15 0.546929 0.210078 0.504932 0.210078 0.504932 0.210078
200 3 11 9 13 0.54693 0.210078 0.504932 0.210078 0.546929 0.210078
200 3 10 9 11 0.462873 0.210078 0.504932 0.210078 0.54693 0.210078
18 changes: 9 additions & 9 deletions data/base/structs/blbcfact.pie
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
PIE 2
PIE 3
TYPE 200
TEXTURE 0 page-9-player-buildings-bases.png 256 256
TEXTURE 0 page-9-player-buildings-bases.png 0 0
LEVELS 1
LEVEL 1
POINTS 4
-67 0 -130
67 0 -130
67 0 132
-67 0 132
POINTS 4
-64 0 128
64 0 128
64 0 -128
-64 0 -128
POLYGONS 2
200 3 3 2 1 193 62 256 62 256 192
200 3 3 1 0 193 62 256 192 193 192
200 3 0 1 2 0.75 0.25 0.996094 0.250032 0.996094 0.75
200 3 0 2 3 0.75 0.25 0.996094 0.75 0.75 0.749968
22 changes: 10 additions & 12 deletions data/base/structs/blbdrdcm.pie
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
PIE 2
PIE 3
TYPE 200
TEXTURE 0 page-8-player-buildings-bases.png 256 256
TEXTURE 0 page-8-player-buildings-bases.png 0 0
LEVELS 1
LEVEL 1
POINTS 4
-131 0 -130
131 0 -130
131 0 131
-131 0 131
POLYGONS 4
200 3 0 1 2 130 256 256 256 256 128
200 3 0 2 3 130 256 256 128 130 128
200 3 3 2 1 130 128 256 128 256 256
200 3 3 1 0 130 128 256 256 130 256
POINTS 4
-128 0 128
128 0 128
128 0 -128
-128 0 -128
POLYGONS 2
200 3 0 1 2 0.507812 0.503906 0.992188 0.503906 0.992188 0.992188
200 3 0 2 3 0.507812 0.503906 0.992188 0.992188 0.507812 0.992188
18 changes: 9 additions & 9 deletions data/base/structs/blbfact.pie
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
PIE 2
PIE 3
TYPE 200
TEXTURE 0 page-9-player-buildings-bases.png 256 256
TEXTURE 0 page-9-player-buildings-bases.png 0 0
LEVELS 1
LEVEL 1
POINTS 4
-195 0 -195
195 0 -195
195 0 195
-195 0 195
POINTS 4
-192 0 192
192 0 192
192 0 -192
-192 0 -192
POLYGONS 2
200 3 3 2 1 0 0 193 0 193 192
200 3 3 1 0 0 0 193 192 0 192
200 3 0 1 2 0.0078125 0.00390625 0.746094 0.00390625 0.746094 0.742188
200 3 0 2 3 0.0078125 0.00390625 0.746094 0.742188 0.0078125 0.742188
18 changes: 9 additions & 9 deletions data/base/structs/blbhq.pie
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
PIE 2
PIE 3
TYPE 200
TEXTURE 0 page-8-player-buildings-bases.png 256 256
TEXTURE 0 page-8-player-buildings-bases.png 0 0
LEVELS 1
LEVEL 1
POINTS 4
-131 0 -131
131 0 -131
131 0 131
-131 0 131
POINTS 4
-128 0 128
128 0 128
128 0 -128
-128 0 -128
POLYGONS 2
200 3 3 2 1 130 0 256 0 256 129
200 3 3 1 0 130 0 256 129 130 129
200 3 0 1 2 0.507813 0.00390625 0.996094 0.00390625 0.996094 0.492187
200 3 0 2 3 0.507813 0.00390625 0.996094 0.492187 0.507813 0.492187
18 changes: 9 additions & 9 deletions data/base/structs/blbpower.pie
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
PIE 2
PIE 3
TYPE 200
TEXTURE 0 page-8-player-buildings-bases.png 256 256
TEXTURE 0 page-8-player-buildings-bases.png 0 0
LEVELS 1
LEVEL 1
POINTS 4
-131 0 -131
131 0 -131
131 0 131
-131 0 131
POINTS 4
-128 0 128
128 0 128
128 0 -128
-128 0 -128
POLYGONS 2
200 3 3 2 1 0 0 129 0 129 129
200 3 3 1 0 0 0 129 129 0 129
200 3 0 1 2 0.00781251 0.00390625 0.496094 0.00390625 0.496094 0.492188
200 3 0 2 3 0.00781251 0.00390625 0.496094 0.492188 0.00781251 0.492188
18 changes: 9 additions & 9 deletions data/base/structs/blbresch.pie
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
PIE 2
PIE 3
TYPE 200
TEXTURE 0 page-8-player-buildings-bases.png 256 256
TEXTURE 0 page-8-player-buildings-bases.png 0 0
LEVELS 1
LEVEL 1
POINTS 4
-131 0 -131
131 0 -131
131 0 131
-131 0 131
POINTS 4
-128 0 128
128 0 128
128 0 -128
-128 0 -128
POLYGONS 2
200 3 3 2 1 0 128 128 128 128 255
200 3 3 1 0 0 128 128 255 0 255
200 3 0 1 2 0.00781251 0.507812 0.496094 0.507812 0.496094 0.992188
200 3 0 2 3 0.00781251 0.507812 0.496094 0.992188 0.00781251 0.992188
Loading

0 comments on commit 1068229

Please sign in to comment.