User panel stuff on forum
  11 posts on 1 page  1
Advanced Configuration
2006-05-20, 12:57
Member
163 posts

Registered:
Jan 2006
alias bindvol+ "if $vol_x.x > 0.9 then .vol_1 else inc vol_x.x 0.1;.vol_$vol_x.x"
alias bindvol- "if $vol_x.x < 0.1 then .vol_0 else inc vol_x.x -0.1;.vol_$vol_x.x"

alias bindmp3vol+ "if $mp3_vol_x.x > 0.9 then .mp3_vol_1 else inc mp3_vol_x.x 0.1;.mp3_vol_$mp3_vol_x.x"
alias bindmp3vol- "if $mp3_vol_x.x < 0.1 then .mp3_vol_0 else inc mp3_vol_x.x -0.1;.mp3_vol_$mp3_vol_x.x"

set vol_x.x $volume
set mp3_vol_x.x $mp3_volume

alias .vol_1 "volume 1.0;echo öïìõíåº 1.0"
alias .vol_0.9 "volume 0.9;echo öïìõíåº 0.9"
alias .vol_0.8 "volume 0.8;echo öïìõíåº 0.8"
alias .vol_0.7 "volume 0.7;echo öïìõíåº 0.7"
alias .vol_0.6 "volume 0.6;echo öïìõíåº 0.6"
alias .vol_0.5 "volume 0.5;echo öïìõíåº 0.5"
alias .vol_0.4 "volume 0.4;echo öïìõíåº 0.4"
alias .vol_0.3 "volume 0.3;echo öïìõíåº 0.3"
alias .vol_0.2 "volume 0.2;echo öïìõíåº 0.2"
alias .vol_0.1 "volume 0.1;echo öïìõíåº 0.1"
alias .vol_0 "volume 0.0;echo öïìõíåº 0.0"

alias .mp3_vol_1 "mp3_volume 1.0;echo íð³ öïìõíåº 1.0"
alias .mp3_vol_0.9 "mp3_volume 0.9;echo íð³ öïìõíåº 0.9"
alias .mp3_vol_0.8 "mp3_volume 0.8;echo íð³ öïìõíåº 0.8"
alias .mp3_vol_0.7 "mp3_volume 0.7;echo íð³ öïìõíåº 0.7"
alias .mp3_vol_0.6 "mp3_volume 0.6;echo íð³ öïìõíåº 0.6"
alias .mp3_vol_0.5 "mp3_volume 0.5;echo íð³ öïìõíåº 0.5"
alias .mp3_vol_0.4 "mp3_volume 0.4;echo íð³ öïìõíåº 0.4"
alias .mp3_vol_0.3 "mp3_volume 0.3;echo íð³ öïìõíåº 0.3"
alias .mp3_vol_0.2 "mp3_volume 0.2;echo íð³ öïìõíåº 0.2"
alias .mp3_vol_0.1 "mp3_volume 0.1;echo íð³ öïìõíåº 0.1"
alias .mp3_vol_0 "mp3_volume 0.0;echo íð³ öïìõíåº 0.0"

alias +alt "bind kp_plus bindmp3vol+;bind kp_minus bindmp3vol-"
alias -alt "bind kp_plus bindvol+;bind kp_minus bindvol-"

bind x +alt

volume_script.cfg
http://www.aimbot.se/pic/dopefish_anim.gif
2006-05-20, 13:08
Administrator
2058 posts

Registered:
Jan 2006
alias vol+ "if $volume > 0.9 then volume 1 else inc volume 0.1;echo öïìõíå $volume"
alias vol- "if $volume < 0.1 then volume 0 else inc volume -0.1;echo öïìõíå $volume"

alias mp3vol+ "if $mp3_volume > 0.9 then mp3_volume 1 else inc mp3_volume 0.1;echo íð öïìõíå $mp3_volume"
alias mp3vol- "if $mp3_volume < 0.1 then mp3_volume 0 else inc mp3_volume -0.1;echo íð öïìõíå $mp3_volume"

alias +alt "bind kp_plus mp3vol+;bind kp_minus mp3vol-"
alias -alt "bind kp_plus vol+;bind kp_minus vol-"

bind x +alt
2006-05-20, 13:40
Member
163 posts

Registered:
Jan 2006
Empezar wrote:
alias vol+ "if $volume > 0.9 then volume 1 else inc volume 0.1;echo öïìõíå $volume"
alias vol- "if $volume < 0.1 then volume 0 else inc volume -0.1;echo öïìõíå $volume"

alias mp3vol+ "if $mp3_volume > 0.9 then mp3_volume 1 else inc mp3_volume 0.1;echo íð öïìõíå $mp3_volume"
alias mp3vol- "if $mp3_volume < 0.1 then mp3_volume 0 else inc mp3_volume -0.1;echo íð öïìõíå $mp3_volume"

alias +alt "bind kp_plus mp3vol+;bind kp_minus mp3vol-"
alias -alt "bind kp_plus vol+;bind kp_minus vol-"

bind x +alt


thx emp, looks alot better
http://www.aimbot.se/pic/dopefish_anim.gif
2006-05-29, 23:48
Member
68 posts

Registered:
May 2006
got a pretty good mp3 setup, with graphical volume indicators image link below

http://img119.imageshack.us/my.php?image=ezquake0002hb.png


mp3_volume 0.5
mp3_shuffle off

bind UPARROW "inc mp3_volume +0.1;wait; if $mp3_volume > 1 then mp3_volume 1;vol_ind"
bind DOWNARROW "inc mp3_volume -0.1;wait; if $mp3_volume < 0 then mp3_volume 0;vol_ind"

bind RIGHTARROW "mp3_next;wait;echo Îï÷ Ðìáùéîçº $mp3info"
bind LEFTARROW "mp3_prev;wait;echo Îï÷ Ðìáùéîçº $mp3info"

bind END "say $\nick mp3: $mp3info"


// Graphical Volume Indicator

set char0 ƒ
set char1
set linebegin "€"
set lineend "‚"

set loopmin 0
set loopmax 1
set loopstep 0.05

alias vol_ind "set t0 $loopmin; set line $linebegin; writelineloop; echo Íг Öïìõíåº $line$lineend $mp3_volume"
alias writelineloop "if $t0 <= $loopmax then writelinechar"

alias writelinechar "set t1 $t0; inc t1 -$mp3_volume; if $t1 = 0 then set line $line$char0 else set line $line$char1; inc t0 $loopstep; writelineloop"

hint: u can decrease/increase the volume bar size simply messing up with the loopstep var =) lesser the value, bigger the bar

thx jonny_cz which helped me coding the loop sequence some time ago
2006-05-30, 01:47
News Writer
2260 posts

Registered:
Jan 2006
wow that rox OrGg!!!
2006-06-07, 12:30
Member
36 posts

Registered:
Mar 2006
Woo this is great

http://ninjarobots.net/quake/ezquake037.jpg


For us oldies with default charset, use:

set char0 "$a"
set char1 "$="
set linebegin "€"
set lineend "‚"
2007-01-19, 05:28
News Writer
2260 posts

Registered:
Jan 2006
none of this scripts works for me in ezQuake!!!
I just cant get them to work, even if I try to haxx, but my haxxing skillz0rz aren't that good

I get "unknown variable mp3_volume"
2007-01-19, 05:45
News Writer
2260 posts

Registered:
Jan 2006
couldn't wait for you guys to respond so I made my own n00b config ) don't complain just try to help

alias vol_ner00 "$mp3_volume 0.0; wait; bind MWHEELDOWN vol_ner00; wait; bind MWHEELUP vol_up01"
alias vol_ner01 "$mp3_volume 0.1; wait; bind MWHEELDOWN vol_ner00; wait; bind MWHEELUP vol_up02"
alias vol_ner02 "$mp3_volume 0.2; wait; bind MWHEELDOWN vol_ner01; wait; bind MWHEELUP vol_up03"
alias vol_ner03 "$mp3_volume 0.3; wait; bind MWHEELDOWN vol_ner02; wait; bind MWHEELUP vol_up04"
alias vol_ner04 "$mp3_volume 0.4; wait; bind MWHEELDOWN vol_ner03; wait; bind MWHEELUP vol_up05"
alias vol_ner05 "$mp3_volume 0.5; wait; bind MWHEELDOWN vol_ner04; wait; bind MWHEELUP vol_up06"
alias vol_ner06 "$mp3_volume 0.6; wait; bind MWHEELDOWN vol_ner05; wait; bind MWHEELUP vol_up07"
alias vol_ner07 "$mp3_volume 0.7; wait; bind MWHEELDOWN vol_ner06; wait; bind MWHEELUP vol_up08"
alias vol_ner08 "$mp3_volume 0.8; wait; bind MWHEELDOWN vol_ner07; wait; bind MWHEELUP vol_up09"
alias vol_ner09 "$mp3_volume 0.9; wait; bind MWHEELDOWN vol_ner08; wait; bind MWHEELUP vol_up10"

alias vol_up01 "$mp3_volume 0.1; wait; bind MWHEELDOWN vol_ner00; wait; bind MWHEELUP vol_up02"
alias vol_up02 "$mp3_volume 0.2; wait; bind MWHEELDOWN vol_ner01; wait; bind MWHEELUP vol_up03"
alias vol_up03 "$mp3_volume 0.3; wait; bind MWHEELDOWN vol_ner02; wait; bind MWHEELUP vol_up04"
alias vol_up04 "$mp3_volume 0.4; wait; bind MWHEELDOWN vol_ner03; wait; bind MWHEELUP vol_up05"
alias vol_up05 "$mp3_volume 0.5; wait; bind MWHEELDOWN vol_ner04; wait; bind MWHEELUP vol_up06"
alias vol_up06 "$mp3_volume 0.6; wait; bind MWHEELDOWN vol_ner05; wait; bind MWHEELUP vol_up07"
alias vol_up07 "$mp3_volume 0.7; wait; bind MWHEELDOWN vol_ner06; wait; bind MWHEELUP vol_up08"
alias vol_up08 "$mp3_volume 0.8; wait; bind MWHEELDOWN vol_ner07; wait; bind MWHEELUP vol_up09"
alias vol_up09 "$mp3_volume 0.9; wait; bind MWHEELDOWN vol_ner08; wait; bind MWHEELUP vol_up10"
alias vol_up10 "$mp3_volume 1.0; wait; bind MWHEELDOWN vol_ner09; wait; bind MWHEELUP vol_up10"

ps. it didn't work
2007-01-19, 07:21
Member
1026 posts

Registered:
Feb 2006
ah.. $mp3_volume doesn't work
EZQuake bug

Sassa: remove all $ before mp3_volume and should work fine
$ is used only when calling a variable value inside a script.
in your alias you assign a value so that's why it doesn't work..
god damn hippies >_<
2007-01-20, 14:23
Member
113 posts

Registered:
Apr 2006
sassa wrote:
couldn't wait for you guys to respond so I made my own n00b config ) don't complain just try to help

alias vol_ner00 "$mp3_volume 0.0; wait; bind MWHEELDOWN vol_ner00; wait; bind MWHEELUP vol_up01"
[...snip]
alias vol_ner09 "$mp3_volume 0.9; wait; bind MWHEELDOWN vol_ner08; wait; bind MWHEELUP vol_up10"

alias vol_up01 "$mp3_volume 0.1; wait; bind MWHEELDOWN vol_ner00; wait; bind MWHEELUP vol_up02"
[...snip]
alias vol_up10 "$mp3_volume 1.0; wait; bind MWHEELDOWN vol_ner09; wait; bind MWHEELUP vol_up10"

ps. it didn't work

I think
bind MWHEELDOWN "mp3_volume -0.1"
bind MWHEELUP "mp3_volume +0.1"

is a bit cleaner =) doesn't require any bounds checking either (<0 and >1) since it seems to take care of that itself.
biomass
2007-01-25, 21:13
Member
43 posts

Registered:
Jan 2007
volume E [0.1; 0.9)
con_notifylines > 1

set_calc _fVol $volume * 10
set_calc _iVol int $_fVol
inc _iVol 1
alias _volup _vol$_iVol
inc _iVol -2
alias _voldn _vol$_iVol
alias _Count-2Echos "if $_linesCount > 2 echo;inc _linesCount -1;if $_linesCount > 2 _Count-2Echos"
alias _vol0 "set _linesCount $con_notifylines;volume 0.0;echo;echo &c2f0snd&r $($a$=$=$=$=$=$=$=$=$=$);_Count-2Echos;alias _volup _vol1;alias _voldn _vol0"
alias _vol1 "set _linesCount $con_notifylines;volume 0.1;echo;echo &c2f0snd&r $($=$a$=$=$=$=$=$=$=$=$);_Count-2Echos;alias _volup _vol2;alias _voldn _vol0"
alias _vol2 "set _linesCount $con_notifylines;volume 0.2;echo;echo &c2f0snd&r $($=$=$a$=$=$=$=$=$=$=$);_Count-2Echos;alias _volup _vol3;alias _voldn _vol1"
alias _vol3 "set _linesCount $con_notifylines;volume 0.3;echo;echo &c2f0snd&r $($=$=$=$a$=$=$=$=$=$=$);_Count-2Echos;alias _volup _vol4;alias _voldn _vol2"
alias _vol4 "set _linesCount $con_notifylines;volume 0.4;echo;echo &c2f0snd&r $($=$=$=$=$a$=$=$=$=$=$);_Count-2Echos;alias _volup _vol5;alias _voldn _vol3"
alias _vol5 "set _linesCount $con_notifylines;volume 0.5;echo;echo &c2f0snd&r $($=$=$=$=$=$a$=$=$=$=$);_Count-2Echos;alias _volup _vol6;alias _voldn _vol4"
alias _vol6 "set _linesCount $con_notifylines;volume 0.6;echo;echo &c2f0snd&r $($=$=$=$=$=$=$a$=$=$=$);_Count-2Echos;alias _volup _vol7;alias _voldn _vol5"
alias _vol7 "set _linesCount $con_notifylines;volume 0.7;echo;echo &c2f0snd&r $($=$=$=$=$=$=$=$a$=$=$);_Count-2Echos;alias _volup _vol8;alias _voldn _vol6"
alias _vol8 "set _linesCount $con_notifylines;volume 0.8;echo;echo &c2f0snd&r $($=$=$=$=$=$=$=$=$a$=$);_Count-2Echos;alias _volup _vol9;alias _voldn _vol7"
alias _vol9 "set _linesCount $con_notifylines;volume 0.9;echo;echo &c2f0snd&r $($=$=$=$=$=$=$=$=$=$a$);_Count-2Echos;alias _volup _vol9;alias _voldn _vol8"

bind KP_MINUS "_voldn"
bind KP_PLUS "_volup"
  11 posts on 1 page  1