Clown gun in Quake4?
Clown gun in Quake4?
I noticed in rgoer's cfg in pak001 it says the following.
seta ui_hitscanTint "9 4 2" // CLOWN GUN (this is probably gone by the time we ship)
// clown gun 2.0
set ua_clownGun "ui_hitscanTint 0 0.9 1; wait 10; ui_hitscanTint 30 0.9 1; wait 10; ui_hitscanTint 60 0.9 1; wait 10; ui_hitscanTint 90 0.9 1; wait 10; ui_hitscanTint 120 0.9 1; wait 10; ui_hitscanTint 150 0.9 1; wait 10; ui_hitscanTint 180 0.9 1; wait 10; ui_hitscanTint 210 0.9 1; wait 10; ui_hitscanTint 240 0.9 1; wait 10; ui_hitscanTint 270 0.9 1; wait 10; ui_hitscanTint 300 0.9 1; wait 10; ui_hitscanTint 330 0.9 1; wait 10; vstr ua_fancyRails"
set ua_clownOff "ui_hitscanTint 9 4 2; vstr ua_fancyRails"
bind "KP_MINUS" "set ua_fancyRails 'vstr ua_clownGun'; vstr ua_fancyRails"
bind "KP_PLUS" "set ua_fancyRails 'vstr ua_clownOff'; vstr ua_fancyRails"
What the hell is the Clown gun? It used rails? Is it removed? If so can we see a screenshot?
seta ui_hitscanTint "9 4 2" // CLOWN GUN (this is probably gone by the time we ship)
// clown gun 2.0
set ua_clownGun "ui_hitscanTint 0 0.9 1; wait 10; ui_hitscanTint 30 0.9 1; wait 10; ui_hitscanTint 60 0.9 1; wait 10; ui_hitscanTint 90 0.9 1; wait 10; ui_hitscanTint 120 0.9 1; wait 10; ui_hitscanTint 150 0.9 1; wait 10; ui_hitscanTint 180 0.9 1; wait 10; ui_hitscanTint 210 0.9 1; wait 10; ui_hitscanTint 240 0.9 1; wait 10; ui_hitscanTint 270 0.9 1; wait 10; ui_hitscanTint 300 0.9 1; wait 10; ui_hitscanTint 330 0.9 1; wait 10; vstr ua_fancyRails"
set ua_clownOff "ui_hitscanTint 9 4 2; vstr ua_fancyRails"
bind "KP_MINUS" "set ua_fancyRails 'vstr ua_clownGun'; vstr ua_fancyRails"
bind "KP_PLUS" "set ua_fancyRails 'vstr ua_clownOff'; vstr ua_fancyRails"
What the hell is the Clown gun? It used rails? Is it removed? If so can we see a screenshot?
-
- Posts: 506
- Joined: Fri Nov 29, 2002 8:00 am
-
- Posts: 6926
- Joined: Thu Feb 10, 2000 8:00 am
the original clowngun (the one that was gone by the time we shipped) worked because ui_hitscanTint was in RGB (instead of HSV) space. It was normalized RGB between 0 and 1. There was a problem, though... ui_hitscanTint 0 0 0 gave a player invisible rail trails, which was totally unfair. Stealth rails bwahaha.
Anyway, we thought maybe just clamping the RGB values to something like 0.5 minimum would work. But then on a whim I tried setting my shit to 9 4 2... overloading the cvar caused all manner of wackiness to ensue. The rail trail effect cycled rapidly through a rainbow of awesome colors--it looked like I shot a fucking clown out of my gun. It was awesome.
However, upon further experimentation, it turned out that overloading the cvar can result in rails that flicker in and out of view, and I'm sure that given enough time somebody would have figured out how to overload it and get invisible rails again. So we ended up just changing how the cvar worked alltogether.
Now, my new clowngun just changes colors of the trail constantly, so every rail you shoot has the chance of being a different color. It's not nearly as cool as having a rail trail that cycles like crazy right before your eyes, but oh well.
Anyway, we thought maybe just clamping the RGB values to something like 0.5 minimum would work. But then on a whim I tried setting my shit to 9 4 2... overloading the cvar caused all manner of wackiness to ensue. The rail trail effect cycled rapidly through a rainbow of awesome colors--it looked like I shot a fucking clown out of my gun. It was awesome.
However, upon further experimentation, it turned out that overloading the cvar can result in rails that flicker in and out of view, and I'm sure that given enough time somebody would have figured out how to overload it and get invisible rails again. So we ended up just changing how the cvar worked alltogether.
Now, my new clowngun just changes colors of the trail constantly, so every rail you shoot has the chance of being a different color. It's not nearly as cool as having a rail trail that cycles like crazy right before your eyes, but oh well.
Last edited by rgoer on Thu Oct 27, 2005 9:24 pm, edited 1 time in total.
i'm trying to find the exact part of the script to add to my file that changes the color of the rail however i am unable to locate your cfg so i can borrow it outta there,.
please post rail gun change script i tried this but it would not work .
set ua_clownGun "ui_hitscanTint 0 0.9 1; wait 10; ui_hitscanTint 30 0.9 1; wait 10; ui_hitscanTint 60 0.9 1; wait 10; ui_hitscanTint 90 0.9 1; wait 10; ui_hitscanTint 120 0.9 1; wait 10; ui_hitscanTint 150 0.9 1; wait 10; ui_hitscanTint 180 0.9 1; wait 10; ui_hitscanTint 210 0.9 1; wait 10; ui_hitscanTint 240 0.9 1; wait 10; ui_hitscanTint 270 0.9 1; wait 10; ui_hitscanTint 300 0.9 1; wait 10; ui_hitscanTint 330 0.9 1; wait 10; vstr ua_fancyRails"
set ua_clownOff "ui_hitscanTint 9 4 2; vstr ua_fancyRails"
bind "KP_MINUS" "set ua_fancyRails 'vstr ua_clownGun'; vstr ua_fancyRails"
bind "KP_PLUS" "set ua_fancyRails 'vstr ua_clownOff'; vstr ua_fancyRails"
please post rail gun change script i tried this but it would not work .
set ua_clownGun "ui_hitscanTint 0 0.9 1; wait 10; ui_hitscanTint 30 0.9 1; wait 10; ui_hitscanTint 60 0.9 1; wait 10; ui_hitscanTint 90 0.9 1; wait 10; ui_hitscanTint 120 0.9 1; wait 10; ui_hitscanTint 150 0.9 1; wait 10; ui_hitscanTint 180 0.9 1; wait 10; ui_hitscanTint 210 0.9 1; wait 10; ui_hitscanTint 240 0.9 1; wait 10; ui_hitscanTint 270 0.9 1; wait 10; ui_hitscanTint 300 0.9 1; wait 10; ui_hitscanTint 330 0.9 1; wait 10; vstr ua_fancyRails"
set ua_clownOff "ui_hitscanTint 9 4 2; vstr ua_fancyRails"
bind "KP_MINUS" "set ua_fancyRails 'vstr ua_clownGun'; vstr ua_fancyRails"
bind "KP_PLUS" "set ua_fancyRails 'vstr ua_clownOff'; vstr ua_fancyRails"
"ui_hitscanTint 0 0.9 1" every time ui_hitscanTint is called along with its values, it will change the railguns color.
Oh and that looks like the code out of rgoer's config.
You can try my revision of his code...just different in the way its written...nothing else.
Its buried in the config thread posted at the top of this forum.
Oh and that looks like the code out of rgoer's config.
You can try my revision of his code...just different in the way its written...nothing else.
Its buried in the config thread posted at the top of this forum.
so if i add this exactlly to my autoexec it should work fine ?
set ua_cga_01 "ui_hitscanTint 0 0.9 1; wait 10; ui_hitscanTint 30 0.9 1; wait 10; vstr ua_cga_02"
set ua_cga_02 "ui_hitscanTint 60 0.9 1; wait 10; ui_hitscanTint 90 0.9 1; wait 10; vstr ua_cga_03"
set ua_cga_03 "ui_hitscanTint 120 0.9 1; wait 10; ui_hitscanTint 150 0.9 1; wait 10; vstr ua_cga_04"
set ua_cga_04 "ui_hitscanTint 180 0.9 1; wait 10; ui_hitscanTint 210 0.9 1; wait 10; vstr ua_cga_05"
set ua_cga_05 "ui_hitscanTint 240 0.9 1; wait 10; ui_hitscanTint 270 0.9 1; wait 10; vstr ua_cga_06"
set ua_cga_06 "ui_hitscanTint 300 0.9 1; wait 10; ui_hitscanTint 330 0.9 1; wait 10; vstr ua_cg_a"
set ua_cg_01 "set ua_cg_f vstr ua_cg_02; set ua_cg_old $ui_hitscanTint; set ua_cg_a vstr ua_cga_01; vstr ua_cg_a"
set ua_cg_02 "set ua_cg_f vstr ua_cg_01; set ua_cg_a; ui_hitscanTint $ua_cg_old; vstr ua_cg_a"
set ua_cg_f "vstr ua_cg_01" // Default
bind MOUSE5 "vstr ua_cg_f" // Clown Gun
set ua_cga_01 "ui_hitscanTint 0 0.9 1; wait 10; ui_hitscanTint 30 0.9 1; wait 10; vstr ua_cga_02"
set ua_cga_02 "ui_hitscanTint 60 0.9 1; wait 10; ui_hitscanTint 90 0.9 1; wait 10; vstr ua_cga_03"
set ua_cga_03 "ui_hitscanTint 120 0.9 1; wait 10; ui_hitscanTint 150 0.9 1; wait 10; vstr ua_cga_04"
set ua_cga_04 "ui_hitscanTint 180 0.9 1; wait 10; ui_hitscanTint 210 0.9 1; wait 10; vstr ua_cga_05"
set ua_cga_05 "ui_hitscanTint 240 0.9 1; wait 10; ui_hitscanTint 270 0.9 1; wait 10; vstr ua_cga_06"
set ua_cga_06 "ui_hitscanTint 300 0.9 1; wait 10; ui_hitscanTint 330 0.9 1; wait 10; vstr ua_cg_a"
set ua_cg_01 "set ua_cg_f vstr ua_cg_02; set ua_cg_old $ui_hitscanTint; set ua_cg_a vstr ua_cga_01; vstr ua_cg_a"
set ua_cg_02 "set ua_cg_f vstr ua_cg_01; set ua_cg_a; ui_hitscanTint $ua_cg_old; vstr ua_cg_a"
set ua_cg_f "vstr ua_cg_01" // Default
bind MOUSE5 "vstr ua_cg_f" // Clown Gun
on a side not i ahve this script , but i have to hit the home button every time to enable it , what exactlly do i change to make it auto load and work with no key binding , i have tried about 30 times now and can't seem to get it to work..
bind "HOME" "ui_clan '^2*^c909BFG^2*' ; set ua_nameAnimator 'vstr ua_rainbowAnimator'; vstr ua_nameAnimator"
set ua_rainbowAnimator "ui_name '^c910**Extreme**^0'; wait 10; ui_name '^c950**Extreme**^0'; wait 10; ui_name '^c990**Extreme**^0'; wait 10; ui_name '^c091**Extreme**^0'; wait 10; ui_name '^c095**Extreme**^0'; wait 10; ui_name '^c099Extreme^0'; wait 10; ui_name '^c109Extreme^0'; wait 10; ui_name '^c509Extreme^0'; wait 10; ui_name '^c909Extreme^0'; wait 10; vstr ua_nameAnimator"
bind "HOME" "ui_clan '^2*^c909BFG^2*' ; set ua_nameAnimator 'vstr ua_rainbowAnimator'; vstr ua_nameAnimator"
set ua_rainbowAnimator "ui_name '^c910**Extreme**^0'; wait 10; ui_name '^c950**Extreme**^0'; wait 10; ui_name '^c990**Extreme**^0'; wait 10; ui_name '^c091**Extreme**^0'; wait 10; ui_name '^c095**Extreme**^0'; wait 10; ui_name '^c099Extreme^0'; wait 10; ui_name '^c109Extreme^0'; wait 10; ui_name '^c509Extreme^0'; wait 10; ui_name '^c909Extreme^0'; wait 10; vstr ua_nameAnimator"
set ua_rainbowAnimator "ui_name '^c910**Extreme**^0'; wait 10; ui_name '^c950**Extreme**^0'; wait 10; ui_name '^c990**Extreme**^0'; wait 10; ui_name '^c091**Extreme**^0'; wait 10; ui_name '^c095**Extreme**^0'; wait 10; ui_name '^c099Extreme^0'; wait 10; ui_name '^c109Extreme^0'; wait 10; ui_name '^c509Extreme^0'; wait 10; ui_name '^c909Extreme^0'; wait 10; vstr ua_rainbowAnimator"
vstr ua_rainbowAnimator
vstr ua_rainbowAnimator
Well using ether rgoer's or my code it should work...just press the script key...and after that pick up the railgun and fire it like normal. Each shot 'should' be different.
Also I wouldn't suggest running more than one of these on a pub, and as rgoer has suggested...don't run any of them for match's as you will find your self lagged.
Also I wouldn't suggest running more than one of these on a pub, and as rgoer has suggested...don't run any of them for match's as you will find your self lagged.
YES I AGREE THIS IS JUST FOR TESTING TRYING TO LEARN THE CMNDS ECT..
i have the following and i am not ssure what i am doing wrong again i am trying to set this on by default so i dont ahve to endable it ,, what am i missing to make it on all the time by default ?
// clown gun 2.0
set ua_clownGun "ui_hitscanTint 0 0.9 1; wait 10; ui_hitscanTint 30 0.9 1; wait 10; ui_hitscanTint 60 0.9 1; wait 10; ui_hitscanTint 90 0.9 1; wait 10; ui_hitscanTint 120 0.9 1; wait 10; ui_hitscanTint 150 0.9 1; wait 10; ui_hitscanTint 180 0.9 1; wait 10; ui_hitscanTint 210 0.9 1; wait 10; ui_hitscanTint 240 0.9 1; wait 10; ui_hitscanTint 270 0.9 1; wait 10; ui_hitscanTint 300 0.9 1; wait 10; ui_hitscanTint 330 0.9 1; wait 10; vstr ua_fancyRails"
set ua_clownOff "ui_hitscanTint 9 4 2; vstr ua_fancyRails"
bind "KP_MINUS" "set ua_fancyRails 'vstr ua_clownGun'; vstr ua_fancyRails"
bind "KP_PLUS" "set ua_fancyRails 'vstr ua_clownOff'; vstr ua_fancyRails"
i have the following and i am not ssure what i am doing wrong again i am trying to set this on by default so i dont ahve to endable it ,, what am i missing to make it on all the time by default ?
// clown gun 2.0
set ua_clownGun "ui_hitscanTint 0 0.9 1; wait 10; ui_hitscanTint 30 0.9 1; wait 10; ui_hitscanTint 60 0.9 1; wait 10; ui_hitscanTint 90 0.9 1; wait 10; ui_hitscanTint 120 0.9 1; wait 10; ui_hitscanTint 150 0.9 1; wait 10; ui_hitscanTint 180 0.9 1; wait 10; ui_hitscanTint 210 0.9 1; wait 10; ui_hitscanTint 240 0.9 1; wait 10; ui_hitscanTint 270 0.9 1; wait 10; ui_hitscanTint 300 0.9 1; wait 10; ui_hitscanTint 330 0.9 1; wait 10; vstr ua_fancyRails"
set ua_clownOff "ui_hitscanTint 9 4 2; vstr ua_fancyRails"
bind "KP_MINUS" "set ua_fancyRails 'vstr ua_clownGun'; vstr ua_fancyRails"
bind "KP_PLUS" "set ua_fancyRails 'vstr ua_clownOff'; vstr ua_fancyRails"
hmmm please lay off the caps.
next did you pay any attention as to what I changed in the last script to make it auto-execute?
As is your not learning...your just having people code for you, since copy\paste is not learning.
Any ways last time...please review changes.
set ua_clownGun "ui_hitscanTint 0 0.9 1; wait 10; ui_hitscanTint 30 0.9 1; wait 10; ui_hitscanTint 60 0.9 1; wait 10; ui_hitscanTint 90 0.9 1; wait 10; ui_hitscanTint 120 0.9 1; wait 10; ui_hitscanTint 150 0.9 1; wait 10; ui_hitscanTint 180 0.9 1; wait 10; ui_hitscanTint 210 0.9 1; wait 10; ui_hitscanTint 240 0.9 1; wait 10; ui_hitscanTint 270 0.9 1; wait 10; ui_hitscanTint 300 0.9 1; wait 10; ui_hitscanTint 330 0.9 1; wait 10; vstr ua_clownGun"
vstr ua_clownGun
next did you pay any attention as to what I changed in the last script to make it auto-execute?
As is your not learning...your just having people code for you, since copy\paste is not learning.
Any ways last time...please review changes.
set ua_clownGun "ui_hitscanTint 0 0.9 1; wait 10; ui_hitscanTint 30 0.9 1; wait 10; ui_hitscanTint 60 0.9 1; wait 10; ui_hitscanTint 90 0.9 1; wait 10; ui_hitscanTint 120 0.9 1; wait 10; ui_hitscanTint 150 0.9 1; wait 10; ui_hitscanTint 180 0.9 1; wait 10; ui_hitscanTint 210 0.9 1; wait 10; ui_hitscanTint 240 0.9 1; wait 10; ui_hitscanTint 270 0.9 1; wait 10; ui_hitscanTint 300 0.9 1; wait 10; ui_hitscanTint 330 0.9 1; wait 10; vstr ua_clownGun"
vstr ua_clownGun