1 // Property of Alientrap
5 //////////////////////////////////////////////////////////////////////////////////
6 // Basic default templates (setting default properties)
7 //////////////////////////////////////////////////////////////////////////////////
12 drawFlag [DrawFlagNormal]
17 color [DefaultTextColor]
18 alpha [DefaultTextAlpha]
19 drawFlag [DefaultTextDrawFlag]
20 fontSize [DefaultFontSize]
22 Template Picture Picture
24 color [DefaultPicColor]
25 alpha [DefaultPicAlpha]
26 drawFlag [DefaultPicDrawFlag]
28 Template Button TextButton
30 fontSize [DefaultFontSize]
31 color [DefaultTextColor]
32 colorSelected [DefaultSelTextColor]
33 colorPressed [DefaultPreTextColor]
34 alphas_x [DefaultTextAlpha]
35 alphas_y [DefaultSelTextAlpha]
36 alphas_z [DefaultPreTextAlpha]
37 drawFlags_x [DefaultTextDrawFlag]
38 drawFlags_y [DefaultSelTextDrawFlag]
39 drawFlags_z [DefaultPreTextDrawFlag]
40 soundSelected [DefaultSelectSound]
41 soundPressed [DefaultPressSound]
43 Template Button PictureButton
45 color [DefaultPicColor]
46 colorSelected [DefaultSelPicColor]
47 colorPressed [DefaultPrePicColor]
48 alphas_x [DefaultPicAlpha]
49 alphas_y [DefaultSelPicAlpha]
50 alphas_z [DefaultPrePicAlpha]
51 drawFlags_x [DefaultPicDrawFlag]
52 drawFlags_y [DefaultSelPicDrawFlag]
53 drawFlags_z [DefaultPrePicDrawFlag]
54 soundSelected [DefaultSelectSound]
55 soundPressed [DefaultPressSound]
57 Template Slider Slider
59 color [DefaultPicColor]
60 //colorSelected [DefaultSelPicColor]
61 colorSelected "0.9 0.9 1.0"
62 alphas_x [DefaultPicAlpha]
63 alphas_y [DefaultSelPicAlpha]
64 drawFlags_x [DefaultPicDrawFlag]
65 drawFlags_y [DefaultSelPicDrawFlag]
66 soundSelected [DefaultSelectSound]
67 soundIncrease [DefaultIncreaseSound]
68 soundDecrease [DefaultDecreaseSound]
69 picture [DefaultSliderBar]
70 pictureSlider [DefaultSlider]
71 proportions [DefaultProportions]
72 direction [DefaultDirection]
76 Template EditBox EditBox
78 fontSize [DefaultFontSize]
79 color [DefaultTextColor]
80 colorSelected [DefaultTextColor]
81 colorPressed [DefaultPreTextColor]
82 alphas_x [DefaultTextAlpha]
83 alphas_y [DefaultSelTextAlpha]
84 alphas_z [DefaultPreTextAlpha]
85 drawFlags_x [DefaultTextDrawFlag]
86 drawFlags_y [DefaultSelTextDrawFlag]
87 drawFlags_z [DefaultPreTextDrawFlag]
88 colorCursor [DefaultCursorColor]
89 colorCursorFlash [DefaultCursorFlashColor]
90 alphasCursor_x [DefaultTextAlpha]
91 alphasCursor_y [DefaultSelTextAlpha]
92 drawFlagsCursor_x [DefaultTextDrawFlag]
93 drawFlagsCursor_y [DefaultSelTextDrawFlag]
94 sizeCursor [DefaultCursorSize]
95 sizeCursorFlash [DefaultCursorFlashSize]
96 soundSelected [DefaultSelectSound]
97 soundMove [DefaultIncreaseSound]
98 soundKey [DefaultDecreaseSound]
100 DeriveTemplate TextButton ValueButton
102 type "Item_ValueButton"
104 DeriveTemplate Label MultiLabel
106 type "Item_MultiLabel"
108 DeriveTemplate TextButton SwitchButton
110 type "Item_SwitchButton"
112 //////////////////////////////////////////////////////////////////////////////////
114 //////////////////////////////////////////////////////////////////////////////////
115 Template Arrangement Composition
119 //////////////////////////////////////////////////////////////////////////////////
121 //////////////////////////////////////////////////////////////////////////////////
122 Template DataLink_ValueSwitch DataLink_OnOffSwitch
126 descList "'Off' 'On'"
129 Template DataLink_Value DataLink_ZeroOneValue
136 //////////////////////////////////////////////////////////////////////////////////
137 // Nexuiz specialized items
138 //////////////////////////////////////////////////////////////////////////////////
139 #define Nex_DefaultHorzDirection '10 0 0'
140 #define Nex_DefaultVertDirection '0 10 0'
141 Template Automation_Job Nex_Automation_Option_Slider
143 action Nex_Automation_Option_Slider
145 Template Automation_Job Nex_Automation_Option_EditBox
147 action Nex_Automation_Option_EditBox
149 Template Automation_Job Nex_Automation_Option_Switch
151 action Nex_Automation_Option_Switch
153 DeriveTemplate Composition Nex_Composition
155 direction [Nex_DefaultHorzDirection]
157 DeriveTemplate Picture Nex_Line
168 DeriveTemplate TextButton Nex_KeyButton
170 type "Item_Nex_KeyButton"
173 DeriveTemplate Label Nex_HostCache_StringField
175 type "Item_Nex_HostCache_StringField"
177 DeriveTemplate Label Nex_HostCache_ValueField
179 type "Item_Nex_HostCache_ValueField"
181 DeriveTemplate Label Nex_HostCache_Players
183 type "Item_Nex_HostCache_Players"
185 DeriveTemplate TextButton Nex_HostCache_Entry
188 drawFlags [DrawFlagModulate]
189 type "Item_Nex_HostCache_Entry"
192 DeriveTemplate Nex_Composition Nex_Option_Slider
194 DeriveTemplate Nex_Automation_Option_Slider Automation
196 DeriveTemplate TextButton Description
198 DeriveTemplate Slider Slider
200 action Nex_Action_TestOnChange
202 DeriveTemplate ValueButton Value
205 DeriveTemplate Composition Nex_Option_Switch
207 direction [Nex_DefaultHorzDirection]
209 DeriveTemplate Nex_Automation_Option_Switch Automation
211 DeriveTemplate TextButton Description
213 DeriveTemplate SwitchButton Switch
215 action Nex_Action_TestOnChange