-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvectron.tilespec
333 lines (299 loc) · 8.77 KB
/
vectron.tilespec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
[tilespec]
; Client capabilities supported by this tileset
options = "+Freeciv-tilespec-Devel-2019-Jul-03 +hex_corner"
; A simple name for the tileset specified by this file
name = "Project Vectron"
; Sprite (not) used in the intro screen
main_intro_file = "misc/intro"
; Always try this one first
priority = 0
; We don't have a versioning scheme yet
version = "wip"
; Summary and full description of the tileset
summary = _("Project Vectron tileset")
description = _("\
Project Vectron aims at providing a scalable tileset based on vector\
graphics. For Vectron!")
; This is a generalist tileset, we don't specialize for a specific ruleset
;for_ruleset = ""
; Default zoom level to set when using this tileset
preferred_scale = 33 ; percents
; Tile sizes
; Main terrain sprites
normal_tile_width = 360
normal_tile_height = 120
hex_side = 120
is_hex = TRUE
type = "isometric"
; Small sprites (eg terrain output)
small_tile_width = 20
small_tile_height = 40
; TODO docs
fog_style = "Sprite"
; Use a single sprite for fog
darkness_style = "CardinalSingle"
; Offset for flags and other sprites
activity_offset_x = 210
activity_offset_y = 30
city_flag_offset_x = 120
city_flag_offset_y = 40
city_offset_x = 0
city_offset_y = 0
city_size_offset_x = 0
city_size_offset_y = 0
citybar_offset_y = 90
occupied_offset_x = 0
occupied_offset_y = 0
select_offset_x = 0
select_offset_y = 0
tilelabel_offset_y = 0
unit_default_orientation = "s"
unit_flag_offset_x = 120
unit_flag_offset_y = 30
unit_offset_x = 84
unit_offset_y = 18
unit_upkeep_offset_y = 0
unit_upkeep_small_offset_y = 0
; The map is rendered in "layers", just like any decent image editor
; supports. The setting below allows to change the layer drawing order. The
; first layer in the list will be drawn below the others; the second on top
; of it, and so on. No layer can be omitted from the list, nor can new ones
; be added.
layer_order =
"Background",
"Terrain1",
"Terrain2",
"Darkness",
"Terrain3",
"Water",
"Roads",
"Special1",
"Grid1",
"City1",
"Special2",
"Fog",
"Unit",
"Special3",
"BaseFlags",
"City2",
"Grid2",
"Overlays",
"TileLabel",
"CityBar",
"FocusUnit",
"Goto",
"WorkerTask",
"Editor",
"InfraWork"
; The files where to look for graphics
files =
"misc/overlays.spec",
"misc/citybar.spec",
"misc/small.spec",
"misc/governments.spec",
"misc/specialists.spec",
"misc/events.spec",
"misc/buildings-large.spec",
"misc/wonders-large.spec",
"misc/flags-large.spec",
"misc/shields-large.spec",
"misc/cursors.spec",
"misc/space.spec",
"misc/techs.spec",
"misc/treaty.spec",
"misc/icons.spec",
"misc/editor.spec",
"amplio2/units.spec",
"amplio2/nuke.spec",
"amplio2/explosions.spec",
"hexemplio/activities.spec",
"hexemplio/bases.spec",
"hexemplio/grid.spec",
"hexemplio/forests.spec",
"vectron/terrain/rivers.spec",
"hexemplio/roads.spec",
"hexemplio/roads-rails.spec",
"hexemplio/roads-maglevs.spec",
"hexemplio/tiles.spec",
"hexemplio/unitcost.spec",
"hexemplio/unitextras.spec",
"hexemplio/water1.spec",
"hexemplio/water2.spec",
"hexemplio/water3.spec",
"vectron/infrastructure/cities.spec",
"vectron/infrastructure/roads.spec",
"vectron/overlays/101_hp_bars.spec",
"vectron/overlays/grid.spec",
"vectron/overlays/movement_selection.spec",
"vectron/terrain/forests.spec",
"vectron/terrain/jungles.spec",
"vectron/terrain/hills_mountains.spec",
"vectron/terrain/terrain.spec",
"vectron/terrain/terrain_blending.spec",
"vectron/terrain/tile_addons.spec",
"vectron/terrain/tile_specials.spec",
"vectron/terrain/water.spec",
"vectron/terrain/borders/borders.spec",
"vectron/terrain/edited-borders/borders.spec",
"vectron/units_amplio.spec",
"vectron/units/foot_units.spec"
; Color definitions from the main project
*include "misc/colors.tilespec"
; How terrains are drawn
[layer0]
match_types =
"plains", "grassland", "swamp", "tundra", "water", "mountains", "ice", "desert"
[layer1]
match_types = "floor"
[layer2]
;match_types =
; All terrain types follow
[tile_lake]
tag = "lake"
num_layers = 1
layer0_match_type = "water"
layer0_sprite_type = "hex_corner"
layer0_match_with =
"plains", "grassland", "swamp", "tundra", "water", "mountains", "ice", "desert"
[tile_coast]
tag = "coast"
num_layers = 1
layer0_match_type = "water"
layer0_sprite_type = "hex_corner"
layer0_match_with =
"plains", "grassland", "swamp", "tundra", "water", "mountains", "ice", "desert"
[tile_floor]
tag = "floor"
num_layers = 2
layer0_match_type = "water"
layer0_sprite_type = "hex_corner"
layer0_match_with =
"plains", "grassland", "swamp", "tundra", "water", "mountains", "ice", "desert"
layer1_match_type = "floor"
[tile_inaccessible]
tag = "inaccessible"
num_layers = 1
layer0_match_type = "water"
layer0_sprite_type = "hex_corner"
layer0_match_with =
"plains", "grassland", "swamp", "tundra", "water", "mountains", "ice", "desert"
[tile_arctic]
tag = "arctic"
num_layers = 1
layer0_match_type = "ice"
layer0_sprite_type = "hex_corner"
layer0_match_with =
"plains", "grassland", "swamp", "tundra", "water", "mountains", "ice", "desert"
[tile_desert]
tag = "desert"
num_layers = 1
layer0_match_type = "desert"
layer0_sprite_type = "hex_corner"
layer0_match_with =
"plains", "grassland", "swamp", "tundra", "water", "mountains", "ice", "desert"
[tile_forest]
tag = "forest"
num_layers = 2
layer0_match_type = "grassland"
layer0_sprite_type = "hex_corner"
layer0_match_with =
"plains", "grassland", "swamp", "tundra", "water", "mountains", "ice", "desert"
layer1_is_tall = TRUE
[tile_grassland]
tag = "grassland"
blend_layer = 1
num_layers = 1
layer0_match_type = "grassland"
layer0_sprite_type = "hex_corner"
layer0_match_with =
"plains", "grassland", "swamp", "tundra", "water", "mountains", "ice", "desert"
[tile_hills]
tag = "hills"
num_layers = 2
layer0_match_type = "plains"
layer0_sprite_type = "hex_corner"
layer0_match_with =
"plains", "grassland", "swamp", "tundra", "water", "mountains", "ice", "desert"
layer1_is_tall = TRUE
[tile_jungle]
tag = "jungle"
num_layers = 2
layer0_match_type = "grassland"
layer0_sprite_type = "hex_corner"
layer0_match_with =
"plains", "grassland", "swamp", "tundra", "water", "mountains", "ice", "desert"
layer1_is_tall = TRUE
[tile_mountains]
tag = "mountains"
num_layers = 2
layer0_match_type = "mountains"
layer0_sprite_type = "hex_corner"
layer0_match_with =
"plains", "grassland", "swamp", "tundra", "water", "mountains", "ice", "desert"
layer1_is_tall = TRUE
[tile_plains]
tag = "plains"
num_layers = 1
layer0_match_type = "plains"
layer0_sprite_type = "hex_corner"
layer0_match_with =
"plains", "grassland", "swamp", "tundra", "water", "mountains", "ice", "desert"
[tile_swamp]
tag = "swamp"
num_layers = 1
layer0_match_type = "swamp"
layer0_sprite_type = "hex_corner"
layer0_match_with =
"plains", "grassland", "swamp", "tundra", "water", "mountains", "ice", "desert"
[tile_tundra]
tag = "tundra"
num_layers = 1
layer0_match_type = "tundra"
layer0_sprite_type = "hex_corner"
layer0_match_with =
"plains", "grassland", "swamp", "tundra", "water", "mountains", "ice", "desert"
[extras]
styles =
{ "name", "style"
"base.airstrip", "Single1"
"base.airbase", "Single1"
"base.buoy", "Single1"
"base.fortress", "Single1"
"base.outpost", "Single1"
"extra.ruins", "Single1"
"road.maglev", "Single1"
"road.pave", "Single1"
"road.rail", "Single1"
"road.road", "RoadAllCombined"
"road.river", "River"
"ts.arctic_ivory", "Single1"
"ts.buffalo", "Single1"
"ts.coal", "Single1"
"ts.fish", "Single1"
"ts.fruit", "Single1"
"ts.furs", "Single1"
"ts.gems", "Single1"
"ts.gold", "Single1"
"ts.grassland_resources", "Single1"
"ts.horses", "Single1"
"ts.iron", "Single1"
"ts.oasis", "Single1"
"ts.oil", "Single1"
"ts.peat", "Single1"
"ts.pheasant", "Single1"
"ts.seals", "Single1"
"ts.silk", "Single1"
"ts.spice", "Single1"
"ts.tundra_game", "Single1"
"ts.whales", "Single1"
"ts.wheat", "Single1"
"ts.wine", "Single1"
"tx.irrigation", "Single2"
"tx.fallout", "Single1"
"tx.farmland", "Single1"
"tx.mine", "Single1"
"tx.oil_mine", "Single1"
"tx.oil_rig", "Single1"
"tx.pollution", "Single1"
"tx.village", "Single1"
}