1 // Property of Alientrap
\r
5 //////////////////////////////////////////////////////////////////////////////////
\r
6 // Basic default templates (setting default properties)
\r
7 //////////////////////////////////////////////////////////////////////////////////
\r
10 size [InfiniteVector]
\r
12 drawFlag [DrawFlagNormal]
\r
15 Template Label Label
\r
17 color [DefaultTextColor]
\r
18 alpha [DefaultTextAlpha]
\r
19 drawFlag [DefaultTextDrawFlag]
\r
20 fontSize [DefaultFontSize]
\r
22 Template Picture Picture
\r
24 color [DefaultPicColor]
\r
25 alpha [DefaultPicAlpha]
\r
26 drawFlag [DefaultPicDrawFlag]
\r
28 Template Button TextButton
\r
30 fontSize [DefaultFontSize]
\r
31 color [DefaultTextColor]
\r
32 colorSelected [DefaultSelTextColor]
\r
33 colorPressed [DefaultPreTextColor]
\r
34 alphas_x [DefaultTextAlpha]
\r
35 alphas_y [DefaultSelTextAlpha]
\r
36 alphas_z [DefaultPreTextAlpha]
\r
37 drawFlags_x [DefaultTextDrawFlag]
\r
38 drawFlags_y [DefaultSelTextDrawFlag]
\r
39 drawFlags_z [DefaultPreTextDrawFlag]
\r
40 soundSelected [DefaultSelectSound]
\r
41 soundPressed [DefaultPressSound]
\r
43 Template Button PictureButton
\r
45 color [DefaultPicColor]
\r
46 colorSelected [DefaultSelPicColor]
\r
47 colorPressed [DefaultPrePicColor]
\r
48 alphas_x [DefaultPicAlpha]
\r
49 alphas_y [DefaultSelPicAlpha]
\r
50 alphas_z [DefaultPrePicAlpha]
\r
51 drawFlags_x [DefaultPicDrawFlag]
\r
52 drawFlags_y [DefaultSelPicDrawFlag]
\r
53 drawFlags_z [DefaultPrePicDrawFlag]
\r
54 soundSelected [DefaultSelectSound]
\r
55 soundPressed [DefaultPressSound]
\r
57 Template Slider Slider
\r
59 color [DefaultPicColor]
\r
60 //colorSelected [DefaultSelPicColor]
\r
61 colorSelected "0.9 0.9 1.0"
\r
62 alphas_x [DefaultPicAlpha]
\r
63 alphas_y [DefaultSelPicAlpha]
\r
64 drawFlags_x [DefaultPicDrawFlag]
\r
65 drawFlags_y [DefaultSelPicDrawFlag]
\r
66 soundSelected [DefaultSelectSound]
\r
67 soundIncrease [DefaultIncreaseSound]
\r
68 soundDecrease [DefaultDecreaseSound]
\r
69 picture [DefaultSliderBar]
\r
70 pictureSlider [DefaultSlider]
\r
71 proportions [DefaultProportions]
\r
72 direction [DefaultDirection]
\r
73 size [DefaultSliderBarSize]
\r
74 sizeSlider [DefaultSliderSize]
\r
76 Template EditBox EditBox
\r
78 fontSize [DefaultFontSize]
\r
79 color [DefaultTextColor]
\r
80 colorSelected [DefaultTextColor]
\r
81 colorPressed [DefaultPreTextColor]
\r
82 alphas_x [DefaultTextAlpha]
\r
83 alphas_y [DefaultSelTextAlpha]
\r
84 alphas_z [DefaultPreTextAlpha]
\r
85 drawFlags_x [DefaultTextDrawFlag]
\r
86 drawFlags_y [DefaultSelTextDrawFlag]
\r
87 drawFlags_z [DefaultPreTextDrawFlag]
\r
88 colorCursor [DefaultCursorColor]
\r
89 colorCursorFlash [DefaultCursorFlashColor]
\r
90 alphasCursor_x [DefaultTextAlpha]
\r
91 alphasCursor_y [DefaultSelTextAlpha]
\r
92 drawFlagsCursor_x [DefaultTextDrawFlag]
\r
93 drawFlagsCursor_y [DefaultSelTextDrawFlag]
\r
94 sizeCursor [DefaultCursorSize]
\r
95 sizeCursorFlash [DefaultCursorFlashSize]
\r
96 soundSelected [DefaultSelectSound]
\r
97 soundMove [DefaultIncreaseSound]
\r
98 soundKey [DefaultDecreaseSound]
\r
102 fontSize [DefaultFontSize]
\r
103 color [DefaultTextColor]
\r
104 colorSelected [DefaultSelTextColor]
\r
105 colorPressed [DefaultPreTextColor]
\r
106 colorInactive [DefaultInaTextColor]
\r
107 alphas_x [DefaultTextAlpha]
\r
108 alphas_y [DefaultSelTextAlpha]
\r
109 alphas_z [DefaultPreTextAlpha]
\r
110 alphaInactive [DefaultInaTextAlpha]
\r
111 drawFlags_x [DefaultTextDrawFlag]
\r
112 drawFlags_y [DefaultSelTextDrawFlag]
\r
113 drawFlags_z [DefaultPreTextDrawFlag]
\r
114 drawFlagInactive [DefaultInaTextDrawFlag]
\r
115 soundSelected [DefaultSelectSound]
\r
116 soundPressed [DefaultPressSound]
\r
118 DeriveTemplate TextButton ValueButton
\r
120 type "Item_ValueButton"
\r
122 DeriveTemplate PictureButton PictureValueButton
\r
124 type "Item_ValueButton"
\r
126 DeriveTemplate Label MultiLabel
\r
128 type "Item_MultiLabel"
\r
130 DeriveTemplate TextButton SwitchButton
\r
132 type "Item_SwitchButton"
\r
134 //////////////////////////////////////////////////////////////////////////////////
\r
136 //////////////////////////////////////////////////////////////////////////////////
\r
137 Template Arrangement Composition
\r
139 flag [FlagEmbedded]
\r
141 //////////////////////////////////////////////////////////////////////////////////
\r
142 // Specialized items
\r
143 //////////////////////////////////////////////////////////////////////////////////
\r
144 Template DataLink_ValueSwitch DataLink_OnOffSwitch
\r
148 descList "'Off' 'On'"
\r
151 Template DataLink_Value DataLink_ZeroOneValue
\r
158 Template DataLink_Value DataLink_SettingValue
\r
165 Template DataLink_Text DataLink_SettingText
\r
170 Template DataLink_TextValue DataLink_TextValue
\r
175 //////////////////////////////////////////////////////////////////////////////////
\r
176 // Nexuiz specialized items
\r
177 //////////////////////////////////////////////////////////////////////////////////
\r
178 #define Nex_DefaultHorzDirection '20 0 0'
\r
179 #define Nex_DefaultVertDirection '0 10 0'
\r
180 Template Automation_Job Nex_Automation_Option_Slider
\r
182 action Nex_Automation_Option_Slider
\r
184 Template Automation_Job Nex_Automation_Option_EditBox
\r
186 action Nex_Automation_Option_EditBox
\r
188 Template Automation_Job Nex_Automation_Option_Switch
\r
190 action Nex_Automation_Option_Switch
\r
192 DeriveTemplate Composition Nex_Composition
\r
194 direction [Nex_DefaultHorzDirection]
\r
196 DeriveTemplate Picture Nex_Line
\r
198 picture "gfx/m_dot"
\r
201 Item Custom Nex_Void
\r
204 flag [FlagNoSelect]
\r
207 DeriveTemplate TextButton Nex_KeyButton
\r
209 type "Item_Nex_KeyButton"
\r
211 DeriveTemplate MultiLabel Nex_Credits
\r
213 type "Item_Nex_Credits"
\r
215 DeriveTemplate Label Nex_HostCache_StringField
\r
217 type "Item_Nex_HostCache_StringField"
\r
219 DeriveTemplate Label Nex_HostCache_ValueField
\r
221 type "Item_Nex_HostCache_ValueField"
\r
223 DeriveTemplate Label Nex_HostCache_Players
\r
225 type "Item_Nex_HostCache_Players"
\r
227 DeriveTemplate PictureButton Nex_HostCache_Entry
\r
229 normal "$gfx/white"
\r
230 drawFlags [DrawFlagModulate]
\r
231 type "Item_Nex_HostCache_Entry"
\r
233 DeriveTemplate Nex_Composition Nex_Option_Slider
\r
235 DeriveTemplate Nex_Automation_Option_Slider Automation
\r
237 DeriveTemplate TextButton Description
\r
239 DeriveTemplate Slider Slider
\r
241 action Nex_Action_TestOnChange
\r
243 DeriveTemplate ValueButton Value
\r
246 DeriveTemplate Nex_Composition Nex_Option_Switch
\r
248 DeriveTemplate Nex_Automation_Option_Switch Automation
\r
250 DeriveTemplate TextButton Description
\r
252 DeriveTemplate SwitchButton Switch
\r
254 action Nex_Action_TestOnChange
\r