cropek
1st July 2014, 22:57
Hello all.
It is your pal, happy polak, cropek :)
I continue making my in-game rcontool for CoD2 v1.3.
Another thing I'd like to include in it is a rcon password entry in ingame menu.
I decided the easier way was just to create/copy a popmenu from password.menu.
The most important part of this is:
itemDef {
name passwordEntry
group grpControls
TYPE 4
text " "
dvar "password"
rect 30 75 179 12
maxchars 12
maxpaintchars 12
textalign ITEM_ALIGN_RIGHT
textalignx 0
textaligny 10
textfont UI_FONT_NORMAL
textscale .25
forecolor OPTIONS_CONTROL_FORECOLOR
style WINDOW_STYLE_FILLED
backcolor 1 1 1 .3
visible 1
mouseenter { show keyBindStatus; play "mouse_over"; }
mouseexit { hide keyBindStatus }
}
Am I supposed to make a new dvar? How to do this?
It is your pal, happy polak, cropek :)
I continue making my in-game rcontool for CoD2 v1.3.
Another thing I'd like to include in it is a rcon password entry in ingame menu.
I decided the easier way was just to create/copy a popmenu from password.menu.
The most important part of this is:
itemDef {
name passwordEntry
group grpControls
TYPE 4
text " "
dvar "password"
rect 30 75 179 12
maxchars 12
maxpaintchars 12
textalign ITEM_ALIGN_RIGHT
textalignx 0
textaligny 10
textfont UI_FONT_NORMAL
textscale .25
forecolor OPTIONS_CONTROL_FORECOLOR
style WINDOW_STYLE_FILLED
backcolor 1 1 1 .3
visible 1
mouseenter { show keyBindStatus; play "mouse_over"; }
mouseexit { hide keyBindStatus }
}
Am I supposed to make a new dvar? How to do this?