mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-30 16:00:55 +00:00
no message
This commit is contained in:
parent
5c48ccb803
commit
46db3bfb39
2 changed files with 140 additions and 81 deletions
|
@ -632,91 +632,10 @@
|
|||
//type ITEM_TYPE_MODEL
|
||||
ownerdraw UI_RQ3_REPLACEMENTMODEL
|
||||
rect 103 63 96 96
|
||||
/*
|
||||
model_origin 28 0 0
|
||||
model_fovx 60
|
||||
model_fovy 60
|
||||
//textscale .75
|
||||
model_rotation 10
|
||||
model_angles 270 0 90
|
||||
*/
|
||||
decoration
|
||||
visible 1
|
||||
}
|
||||
|
||||
// Text
|
||||
|
||||
//Name
|
||||
itemDef {
|
||||
name page3
|
||||
group grpGame
|
||||
style 1
|
||||
//text "Gold akimbo"
|
||||
ownerdraw UI_RQ3_REPLACEMENTNAME
|
||||
rect 103 158 96 16
|
||||
textalign ITEM_ALIGN_LEFT
|
||||
textalignx 5
|
||||
textaligny 12
|
||||
textscale .18
|
||||
forecolor .75 .75 .75 1
|
||||
border 1
|
||||
bordersize 1
|
||||
bordercolor Ig_Window_BorderColor
|
||||
visible 0
|
||||
decoration
|
||||
}
|
||||
|
||||
//Type
|
||||
itemDef {
|
||||
name page3
|
||||
group grpGame
|
||||
style 1
|
||||
text "Replace:"
|
||||
ownerdraw UI_RQ3_REPLACEMENTTYPE
|
||||
rect 103 178 96 16
|
||||
textalign ITEM_ALIGN_LEFT
|
||||
textalignx 4
|
||||
textaligny 14
|
||||
textscale .2
|
||||
forecolor Ig_Sub_TextColor
|
||||
visible 0
|
||||
action { play "sound/misc/menu1.wav" }
|
||||
}
|
||||
|
||||
//Sub-Type
|
||||
itemDef {
|
||||
name page3
|
||||
group grpGame
|
||||
style 1
|
||||
text "Type:"
|
||||
ownerdraw UI_RQ3_REPLACEMENTSUBTYPE
|
||||
rect 103 194 96 16
|
||||
textalign ITEM_ALIGN_LEFT
|
||||
textalignx 4
|
||||
textaligny 14
|
||||
textscale .2
|
||||
forecolor Ig_Sub_TextColor
|
||||
visible 0
|
||||
action { play "sound/misc/menu1.wav" }
|
||||
}
|
||||
|
||||
//Description
|
||||
itemDef {
|
||||
name page3
|
||||
group grpGame
|
||||
style 1
|
||||
//text "Text goes here"
|
||||
ownerdraw UI_RQ3_REPLACEMENTINFO
|
||||
rect 208 64 156 96
|
||||
textalign ITEM_ALIGN_LEFT
|
||||
textalignx 0
|
||||
textaligny 14
|
||||
textscale .225
|
||||
forecolor Ig_Sub_TextColor
|
||||
visible 0
|
||||
decoration
|
||||
}
|
||||
|
||||
//Prev model
|
||||
itemDef {
|
||||
name page3
|
||||
|
@ -747,6 +666,103 @@
|
|||
action { play "sound/misc/menu1.wav" ; uiScript nextReplacement "1" }
|
||||
}
|
||||
|
||||
// Text
|
||||
|
||||
//Name
|
||||
itemDef {
|
||||
name page3
|
||||
group grpGame
|
||||
style 1
|
||||
ownerdraw UI_RQ3_REPLACEMENTNAME
|
||||
rect 103 158 96 16
|
||||
textalign ITEM_ALIGN_LEFT
|
||||
textalignx 5
|
||||
textaligny 12
|
||||
textscale .18
|
||||
forecolor .75 .75 .75 1
|
||||
border 1
|
||||
bordersize 1
|
||||
bordercolor Ig_Window_BorderColor
|
||||
visible 0
|
||||
decoration
|
||||
}
|
||||
|
||||
//Select button
|
||||
|
||||
itemDef {
|
||||
name page3
|
||||
group grpGame
|
||||
text "Select"
|
||||
type ITEM_TYPE_BUTTON
|
||||
textscale .225
|
||||
style WINDOW_STYLE_FILLED
|
||||
rect 103 174 96 16
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
textalignx 48
|
||||
textaligny 12
|
||||
border 1
|
||||
bordersize 1
|
||||
backcolor Ig_Sub_Color1
|
||||
forecolor Ig_Sub_TextColor
|
||||
bordercolor Ig_Sub_BorderColor1
|
||||
visible 0
|
||||
action { play "sound/misc/menu1.wav" ; uiScript "selectReplacement" }
|
||||
onFocus { setcolor backcolor Ig_Sub_Color2 ; setcolor bordercolor Ig_Sub_BorderColor2 }
|
||||
leaveFocus { setcolor backcolor Ig_Sub_Color1 ; setcolor bordercolor Ig_Sub_BorderColor1 }
|
||||
}
|
||||
|
||||
//Type
|
||||
|
||||
itemDef {
|
||||
name page3
|
||||
group grpGame
|
||||
style 1
|
||||
text "Replace:"
|
||||
ownerdraw UI_RQ3_REPLACEMENTTYPE
|
||||
rect 103 194 96 16
|
||||
textalign ITEM_ALIGN_LEFT
|
||||
textalignx 4
|
||||
textaligny 14
|
||||
textscale .2
|
||||
forecolor Ig_Sub_TextColor
|
||||
visible 0
|
||||
action { play "sound/misc/menu1.wav" }
|
||||
}
|
||||
|
||||
//Sub-Type
|
||||
itemDef {
|
||||
name page3
|
||||
group grpGame
|
||||
style 1
|
||||
text "Type:"
|
||||
ownerdraw UI_RQ3_REPLACEMENTSUBTYPE
|
||||
rect 103 210 96 16
|
||||
textalign ITEM_ALIGN_LEFT
|
||||
textalignx 4
|
||||
textaligny 14
|
||||
textscale .2
|
||||
forecolor Ig_Sub_TextColor
|
||||
visible 0
|
||||
action { play "sound/misc/menu1.wav" }
|
||||
}
|
||||
|
||||
//Description
|
||||
itemDef {
|
||||
name page3
|
||||
group grpGame
|
||||
style 1
|
||||
//text "Text goes here"
|
||||
ownerdraw UI_RQ3_REPLACEMENTINFO
|
||||
rect 208 64 156 96
|
||||
textalign ITEM_ALIGN_LEFT
|
||||
textalignx 0
|
||||
textaligny 14
|
||||
textscale .225
|
||||
forecolor Ig_Sub_TextColor
|
||||
visible 0
|
||||
decoration
|
||||
}
|
||||
|
||||
//Note
|
||||
|
||||
itemDef {
|
||||
|
|
|
@ -276,6 +276,49 @@
|
|||
decoration
|
||||
}
|
||||
|
||||
/*
|
||||
//Replacements
|
||||
|
||||
itemdef {
|
||||
name btn_replacements
|
||||
group "topmenu"
|
||||
type 1
|
||||
background "menu/art/rq3-setup-replacements"
|
||||
rect 528 12 32 32
|
||||
style WINDOW_STYLE_SHADER
|
||||
visible 1
|
||||
onFocus { show replacements_focus ; timefade replacements_focus forecolor 1 1 1 1 0 250 ;
|
||||
show replacements_hint ; timeFade replacements_hint forecolor .9 .9 .9 1 0 250 }
|
||||
leaveFocus { timefade replacements_focus forecolor 1 1 1 0 0 250 ; timeFade replacements_hint forecolor .9 .9 .9 0 0 250 }
|
||||
//action { close setup_menu ; open replacements_menu }
|
||||
}
|
||||
|
||||
itemdef {
|
||||
name replacements_focus
|
||||
background "menu/art/rq3-menu-focus"
|
||||
forecolor 1 1 1 0
|
||||
rect 528 12 32 32
|
||||
style WINDOW_STYLE_SHADER
|
||||
visible 0
|
||||
decoration
|
||||
}
|
||||
|
||||
itemdef {
|
||||
name replacements_hint
|
||||
text "Change weapon, item and ammo models/skins"
|
||||
forecolor RQ3_MAIN_HINT_COLOR
|
||||
textalign 1
|
||||
textalignx 240
|
||||
textaligny 20
|
||||
textscale RQ3_MAIN_TEXTSIZE
|
||||
rect 80 420 480 40
|
||||
type 0
|
||||
style 0
|
||||
visible 0
|
||||
decoration
|
||||
}
|
||||
*/
|
||||
|
||||
//Reset to defaults
|
||||
|
||||
itemdef {
|
||||
|
|
Loading…
Reference in a new issue