r_ambient 0 again; added menu option for it
[divverent/nexuiz.git] / data / menu / options / player.menu
1 // Property of Alientrap/AK
2 // options/player.menu
3 Item Window Player
4 {
5         Item Window Avatar
6         {
7                 size    '300 600'
8                 pos     '156 45'
9                 flag    [FlagEmbedded]
10
11                 Derive Picture Table7
12                 {
13                         picture "gfx/options_playerpic_border"
14                         size    '320 420'
15                         pos     '-10 5'
16                 }
17                 Derive Picture Picture
18                 {
19                         size    '263 360'
20                         picture "gfx/m_white"
21                         pos     '19 36'
22                 }
23                 Derive MultiLabel Description
24                 {
25                         size    '300 200'
26                         pos     '10 415'
27                         wrap    27
28                         fontSize '11 11 0'
29                 }
30                 Derive Picture PrevPicture
31                 {
32                         size    '30 18'
33                         picture "gfx/options_playerpic_nav"
34                         pos     '0 0'
35                 }
36                 Derive TextButton Prev
37                 {
38                         pos     '3 3'
39                         normal  "<<"
40
41                         action  Nex_Action_Avatar_Prev
42                 }
43                 Derive Picture NamePicture
44                 {
45                         size    '240 18'
46                         picture "gfx/options_playerpic_nav_background"
47                         pos     '30 0'
48                 }
49                 Derive Label Name
50                 {
51                         pos             '30 4'
52                         color           "1 1 1"
53                         size            '270 12'
54                         alignment       [AlignCenter]
55                 }
56                 Derive Picture NextPicture
57                 {
58                         size    '30 18'
59                         picture "gfx/options_playerpic_nav"
60                         pos     '270 0'
61                 }
62                 Derive TextButton Next
63                 {
64                         pos     '275 3'
65                         normal  ">>"
66
67                         action  Nex_Action_Avatar_Next
68                 }
69                 Item Task_Job Job
70                 {
71                         init    Nex_Automation_UpdateAvatar
72                 }
73         }
74         Item Layout Settings
75         {
76                 pos             '460 50'
77                 size            '445 600'
78                 origin          '185 0'
79                 flag            [FlagEmbedded]
80                 alignment       [AlignFirst]
81                 direction       [Nex_DefaultVertDirection]
82
83                 Derive Nex_Composition Name
84                 {
85                         Derive TextButton Description
86                         {
87                                 normal  "Player name"
88                                 link    "EditBox"
89                         }
90                         Derive EditBox EditBox
91                         {
92                                 size    '182 20'
93                                 target  "Data::Player::Name::Text"
94                         }
95                 }
96                 Derive Nex_Composition ShirtColor
97                 {
98                         text    "Shirt color"
99                         target  "::Data::Player::Color::ShirtColor::TextSwitch"
100
101                         Derive Nex_Automation_Option_Slider Automation
102                         {}
103                         Derive TextButton Description
104                         {}
105                         Derive Slider Slider
106                         {
107                                 action  Nex_Action_TestOnChange
108                         }
109                         Derive PictureValueButton Value
110                         {
111                                 fontSize        [DefaultFontSize]
112
113                                 color           "1.0 1.0 1.0"
114                                 colorPressed    "1.0 1.0 1.0"
115                                 colorSelected   "1.0 1.0 1.0"
116                         }
117                 }
118                 Derive Nex_Composition TeamColor
119                 {
120                         text    "Pants color"
121                         target  "::Data::Player::Color::TeamColor::TextSwitch"
122
123                         Derive Nex_Automation_Option_Slider Automation
124                         {}
125                         Derive TextButton Description
126                         {}
127                         Derive Slider Slider
128                         {
129                                 action  Nex_Action_TestOnChange
130                         }
131                         Derive PictureValueButton Value
132                         {
133                                 fontSize        [DefaultFontSize]
134
135                                 color           "1.0 1.0 1.0"
136                                 colorPressed    "1.0 1.0 1.0"
137                                 colorSelected   "1.0 1.0 1.0"
138                         }
139                 }
140                 Derive Nex_Option_Slider FOV
141                 {
142                         text    "Field of View"
143                         target  "::Data::Player::FOV::Value"
144                 }
145                 Derive Nex_Option_Slider ZoomFactor
146                 {
147                         text    "Zoom factor"
148                         target  "::Data::Player::ZoomFactor::Value"
149                 }
150                 Derive Nex_Option_Slider ViewSize
151                 {
152                         text    "View Size"
153                         target  "::Data::Player::ViewSize::Value"
154                 }
155                 Derive Nex_Option_Slider CrosshairType
156                 {
157                         text    "Crosshair Type"
158                         target  "::Data::Player::Crosshair::Type::Switch"
159                 }
160                 Derive Nex_Option_Slider CrosshairColorRed
161                 {
162                         text    "Crosshair Red"
163                         target  "::Data::Player::Crosshair::Color::Red::Value"
164                 }
165                 Derive Nex_Option_Slider CrosshairColorGreen
166                 {
167                         text    "Crosshair Green"
168                         target  "::Data::Player::Crosshair::Color::Green::Value"
169                 }
170                 Derive Nex_Option_Slider CrosshairColorBlue
171                 {
172                         text    "Crosshair Blue"
173                         target  "::Data::Player::Crosshair::Color::Blue::Value"
174                 }
175                 Derive Nex_Option_Slider CrosshairSize
176                 {
177                         text    "Crosshair Size"
178                         target  "::Data::Player::Crosshair::Size::Value"
179                 }
180                 Derive Nex_Option_Slider CrosshairAlpha
181                 {
182                         text    "Crosshair Alpha"
183                         target  "::Data::Player::Crosshair::Alpha::Value"
184                 }
185                 Derive Nex_Option_Switch WeaponAutoswitch
186                 {
187                         text    "Weapon autoswitch"
188                         target  "::Data::Player::WeaponAutoswitch::Switch"
189                 }
190                 Derive Nex_Option_Switch NoGibs
191                 {
192                         text    "Disable gibs"
193                         target  "::Data::Player::NoGibs::Switch"
194                 }
195                 Derive Nex_Option_Switch ShowNames
196                 {
197                         text    "Show player names"
198                         target  "::Data::Player::PlayerShowNames::Switch"
199                 }               
200                 Derive Nex_Option_Switch ShowWaypoints
201                 {
202                         text    "Map waypoints"
203                         target  "::Data::Player::ShowWaypoints::Switch"
204                 }               
205                 Derive Nex_Option_Slider MapDLSpeed
206                 {
207                         text    "Download Speed"
208                         target  "::Data::Player::MapDLSpeed::Value"
209                 }
210                 Derive PictureButton Apply
211                 {
212                         normal          "$gfx/options_b_apply"
213
214                         action  Nex_Action_Player_Apply
215                 }
216                 Derive TextButton Reset
217                 {
218                         alignment [AlignRight]
219                         normal  "Reset"
220                         init    Nex_Action_ResetData
221                         target  "::Data::Player"
222                 }
223         }
224 }