forked from BEEmod/BEE2.4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbee2.fgd
202 lines (175 loc) · 7.75 KB
/
bee2.fgd
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
// Definitions for BEE2-specific entities
@include "portal2.fgd"
@BaseClass = TemplateEnt
[
template_id(string): "Template ID" : "" : "The unique ID this template has (in the combined file)."
visgroup(string): "Visgroup" : "" : "The visgroup this brush/overlay was contained in (in the combined file)."
]
@SolidClass base(TemplateEnt) = bee2_template_world: "A set of world brushes which will be templated into a map."
[
]
@SolidClass base(TemplateEnt) = bee2_template_detail: "A set of detail brushes which will be templated into a map."
[
]
@PointClass base(TemplateEnt, info_overlay)
size(-1 -1 0, 1 1 1)
color(80 150 225)
studio("models/editor/overlay_helper.mdl")
iconsprite("BEE2/editor/bee2_icon.vmt")
sphere(fademindist)
sphere(fademaxdist)
overlay()
= bee2_template_overlay :
"An overlay which will be templated into a map."
[
]
@PointClass base(TemplateEnt) iconsprite("BEE2/editor/bee2_icon.vmt") = bee2_template_scaling:
"Used to store the values for a scaling template."
[
up_tex(material): "Up Texture" : "" : "Texture for the upward-pointing face."
up_uaxis(string): "Up (U)" : "" : "Uaxis data for the upward-pointing face."
up_vaxis(string): "Up (V)" : "" : "Vaxis data for the upward-pointing face."
up_rotation(float): "Up Rotation" : 0 : "Rotation value fo the upward-pointing face."
// Divider in the Hammer display, doesn't do anything.
_sep1(string) readonly: "---------" : ""
dn_tex(material): "Down Texture" : "" : "Texture for the downward-pointing face."
dn_uaxis(string): "Down (U)" : "" : "Uaxis data for the downward-pointing face."
dn_vaxis(string): "Down (V)" : "" : "Vaxis data for the downward-pointing face."
dn_rotation(float): "Up Rotation" : 0 : "Rotation value for the downward-pointing face."
_sep2(string) readonly: "---------" : ""
n_tex(material): "North Texture" : "" : "Texture for the north-pointing face."
n_uaxis(string): "North (U)" : "" : "Uaxis data for the north-pointing face."
n_vaxis(string): "North (V)" : "" : "Vaxis data for the north-pointing face."
n_rotation(float): "North Rotation" : 0 : "Rotation value for the north-pointing face."
_sep3(string) readonly: "---------" : ""
s_tex(material): "South Texture" : "" : "Texture for the south-pointing face."
s_uaxis(string): "South (U)" : "" : "Uaxis data for the south-pointing face."
s_vaxis(string): "South (V)" : "" : "Vaxis data for the south-pointing face."
s_rotation(float): "South Rotation" : 0 : "Rotation value for the south-pointing face."
_sep3(string) readonly: "---------" : ""
e_tex(material): "East Texture" : "" : "Texture for the east-pointing face."
e_uaxis(string): "East (U)" : "" : "Uaxis data for the east-pointing face."
e_vaxis(string): "East (V)" : "" : "Vaxis data for the east-pointing face."
e_rotation(float): "East Rotation" : 0 : "Rotation value for the north-pointing face."
_sep4(string) readonly: "---------" : ""
w_tex(material): "West Texture" : "" : "Texture for the west-pointing face."
w_uaxis(string): "West (U)" : "" : "Uaxis data for the west-pointing face."
w_vaxis(string): "West (V)" : "" : "Vaxis data for the west-pointing face."
w_rotation(float): "West Rotation" : 0 : "Rotation value for the north-pointing face."
]
@PointClass
iconsprite("BEE2/editor/bee2_icon.vmt")
sidelist(realign_faces)
= bee2_template_conf:
"Defines configuration options for a template."
[
template_id(string): "Template ID" : "" : "The ID given to this template. If set this will be loaded automatically."
realign_faces(sidelist): "Realign Faces" : : "Rotate and realign these faces to world." +
"This should be used on axis-aligned tile surfaces, to make texturing match in different templates. " +
"The faces must be axis-aligned."
vertical_faces(sidelist): "Rotate Faces to Vertical" : : "Rotate these faces in 90 degree increments until they point upwards."
skip_faces(sidelist): "Don't Retexture these faces" : : "Do not change textures on these faces."
overlay_faces(sidelist): "Overlay Transfer Faces" : : "Apply overlays on the base surface to this, when using ReplaceBrush."
temp_type(choices): "Template Type" : "default" : "Convert brushes to this type of entity." =
[
"default" : "Original Type"
"world" : "World Brush"
"detail" : "func_detail"
]
is_scaling(boolean): "Save as Scaling Template" : 0 : "Scaling templates are a world-aligned cube for texturing brush sides in specific orientations. " +
"Set this to discard excess data."
discard_brushes(boolean): "Discard Brushes" : 0 : "Don't keep brushes, for templates used to position overlays only."
detail_auto_visgroup(boolean): "Group Detail Entities" : 0 : "If True, each func_detail entity will be put into a auto_xx visgroup. Otherwise, all func_detail will be ungrouped. World brushes stay ungrouped regardless."
]
@PointClass
base(Angles)
iconsprite("BEE2/editor/bee2_icon.vmt")
studioprop("models/editor/angle_helper.mdl")
sidelist(faces)
= bee2_template_colorpicker:
"Applies the color of a surface at a position to template faces. The arrow should point out of the surface."
[
template_id(string): "Template ID" : "" : "The unique ID this template has (in the combined file)."
faces(sidelist): "Faces" : : "The faces this position is applied to."
priority(integer): "Priority" : 0 : "Set this higher to make it apply in preference to other pickers. This allows using fallback positions for surfaces."
grid_snap(boolean): "Snap To Grid" : 0 : "For items like fizzlers, snap to the closest grid position in side directions."
remove_brush(boolean): "Remove Brush" : 0 : "After grabbing the surface, remove the brush. Should only be done when you know the brush isn't shared with other faces."
]
// --------
// Entities used with editoritems_gen.py to make editoritems configs.
// These should not appear in any maps.
@PointClass
base(Angles)
studioprop("models/BEE2/editor/connection_point.mdl")
= bee2_editor_connectionpoint: "Defines a connection point for antlines."
[
skin(choices) : "Orientation" : 1 : "The position of the antline relative to the signage." =
[
// 0 = useless, needed to distinguish materials in the model.
1: "Close Left"
2: "Close Right"
3: "Far Left"
4: "Far Right"
]
priority(integer) : "Priority" : 0 : "Defines which connection points are used first."
group_id(string) : "Group ID" : "" : "?"
]
@PointClass wirebox(min, max) = bee2_editor_embeddedvoxel: "Defines an EmbeddedVoxel section of an item. The shape is aligned to the 128-grid."
[
min(vecline) : "Minimum Position" : "-64 -64 0" : "The minimum position of the hollowed area."
min(vecline) : "Maximum Position" : "64 64 0" : "The maximum position of the hollowed area."
]
@PointClass wirebox(min, max)= bee2_editor_embedface: "Defines a EmbedFace section for an item."
[
min(vecline) : "Minimum Position" : "-64 -64 0" : "The minimum position of the brush section. Vertical position is ignored."
min(vecline) : "Maximum Position" : "64 64 0" : "The minimum position of the brush section. Vertical position is ignored."
tile_type(choices) : "Tile Size" : "4x4" : "The size of tile to generate." =
[
"4x4_checkered" : "4x4 Checkered Tiles"
"4x4" : "4x4 Tiles"
"2x2" : "2x2 Tiles"
"1x1" : "1x1 Tiles"
"Grid_Default" : "Normal Wall"
]
]
@AutoVisGroup = "BEE2"
[
"Templates"
[
"bee2_template_world"
"bee2_template_detail"
"bee2_template_overlay"
"bee2_template_scaling"
"bee2_template_conf"
]
"Editoritems"
[
"bee2_editor_connectionpoint"
"bee2_editor_embeddedvoxel"
"bee2_editor_embedface"
]
]
@AutoVisGroup = "Templates"
[
"World"
[
"bee2_template_world"
]
"Detail"
[
"bee2_template_detail"
]
"Overlay"
[
"bee2_template_overlay"
]
"Scaling Temp"
[
"bee2_template_scaling"
]
"Configuration"
[
"bee2_template_conf"
"bee2_template_colorpicker"
]
]