There are currently 78 players online.
 
Warsow

 
 

backSome useful scripts and binds!

Forum index
Community Blogs
Some useful scripts and binds!
Posted by
Post Scroll to bottom
Kimza

Developer
(438 posts)

Hey, I just wanted to share some of the stuff from my config that I think some of you guys might find useful.

1. Here's a script I made because I wanted a fov higher than 60 while using zoom
(not possible with the normal zoomfov, which is capped at 60).
I also play with mouse acceleration, but I don't like to have it while zooming,
and this script allows you to have totally different acceleration values on your unzoomed and zoomed fov.

Yet another useful thing with the zoomscript is that it goes from unzoomed to zoomed fov in just one frame. Rather than the normal "+zoom" which frame by frame lowers the fov from unzoomed to zoomed.

aliasa "+zoomi" "fov 70;sensitivity 1.145;m_accel 0"
aliasa "-zoomi" "fov 112;sensitivity 2.025;m_accel 0.0125"

bind KEY "+zoomi"

2. These are some binds for Bomb, that lets you choose all the different weapon combinations.
I used the "echo" command here, to write the weapon combination you just selected (only shows on your screen). The names of the weapons have their fitting colors aswell, for extra easiness to see.

The different combinations with Rocket Launcher and Electrobolt as main weapons:

bind KEY "weapselect rl;weapselect eb;weapselect gb;echo ^1Rocket Launcher^0, ^5Electrobolt ^0& ^9Gunblade^0!"

bind KEY "weapselect rl;weapselect eb;weapselect mg;echo ^1Rocket Launcher^0, ^5Electrobolt ^0& ^9Machinegun^0!"

bind KEY "weapselect rl;weapselect eb;weapselect rg;echo ^1Rocket Launcher^0, ^5Electrobolt ^0& ^8Riotgun^0!"

bind KEY "weapselect rl;weapselect eb;weapselect gl;echo ^1Rocket Launcher^0, ^5Electrobolt ^0& ^4Grenade Launcher^0!"

bind KEY "weapselect rl;weapselect eb;weapselect pg;echo ^1Rocket Launcher^0, ^5Electrobolt ^0& ^2Plasmagun^0!"

With Rocket Launcher and Lasergun as main weapons:

bind KEY "weapselect rl;weapselect lg;weapselect gb;echo ^1Rocket Launcher^0, ^3Lasergun ^0& ^9Gunblade^0!"

bind KEY "weapselect rl;weapselect lg;weapselect mg;echo ^1Rocket Launcher^0, ^3Lasergun ^0& ^9Machinegun^0!"

bind KEY "weapselect rl;weapselect lg;weapselect rg;echo ^1Rocket Launcher^0, ^3Lasergun ^0& ^8Riotgun^0!"

bind KEY "weapselect rl;weapselect lg;weapselect gl;echo ^1Rocket Launcher^0, ^3Lasergun ^0& ^4Grenade Launcher^0!"

bind KEY "weapselect rl;weapselect lg;weapselect pg;echo ^1Rocket Launcher^0, ^3Lasergun ^0& ^2Plasmagun^0!"

With Lasergun and Electrobolt as main weapons:

bind KEY "weapselect lg;weapselect eb;weapselect gb;echo ^3Lasergun^0, ^5Electrobolt ^0& ^9Gunblade^0!"

bind KEY "weapselect lg;weapselect eb;weapselect mg;echo ^3Lasergun^0, ^5Electrobolt ^0& ^9Machinegun^0!"

bind KEY "weapselect lg;weapselect eb;weapselect rg;echo ^3Lasergun^0, ^5Electrobolt ^0& ^8Riotgun^0!"

bind KEY "weapselect lg;weapselect eb;weapselect gl;echo ^3Lasergun^0, ^5Electrobolt ^0& ^4Grenade Launcher^0!"

bind KEY "weapselect lg;weapselect eb;weapselect pg;echo ^3Lasergun^0, ^5Electrobolt ^0& ^2Plasmagun^0!"

3. This is just a simple script for toggling the minimap on/off with a single button

aliasa "minimap" "minimap1"
aliasa "minimap1" "cg_showminimap 1;aliasa minimap minimap2"
aliasa "minimap2" "cg_showminimap 0;aliasa minimap minimap1"

bind KEY "minimap"

4. Just a simple script for toggling volume on/off

aliasa "volume" "volume1"
aliasa "volume1" "s_volume 0;aliasa volume2"
aliasa "volume2" "s_volume 0.25;aliasa volume1"

bind KEY "volume"

5. Some simple binds for giving your teammates information in Bomb

bind KEY "drop bomb;say_team ^5> ^8DROPPED BOMB ^5<"
bind KEY "say_team ^5> ^1BBB ^5<"
bind KEY "say_team ^5> ^2AAA ^5<"
bind KEY "say_team ^5> ^4MID ^5<"
bind KEY "say_team ^5> ^4SPLIT ^5<"
bind KEY "say_team ^5> ^3RUSH ^5<"
bind KEY "say_team ^5> ^8SLOW ^5<"
bind KEY "say_team ^5> ^8DEFUSING^7/^8PLANTING ^5<"

I hope this is useful for some of you!
(updated 2012-03-20 12:35:11)

byce
Member
(112 posts)

For the minimap one, you could just do:

bind KEY "toggle cg_showminimap"

Kimza

Developer
(438 posts)

Oh nice, didn't think about that!
(updated 2012-03-20 15:17:30)

Mef!sto

Member
(658 posts)

well toggle ... toggles.... :D

Kimza

Developer
(438 posts)

Ye but it isn't a command that you think about that much, since it's only used on commands that can have either 1 or 0 as a value.

Mef!sto

Member
(658 posts)

cg_gun
cg_showfps
cg_showpressedkeys
cg_showhud
r_fastsky
r_lightmap
.
.
.

Vic

Member
(5214 posts)

cg_showfps


cg_showfps can have 3 values: 0, 1 (interpolation off) or 2 (interpolated)

Mef!sto

Member
(658 posts)

kewl put this in wiki :)

Huksi`

Hat Matter
(3378 posts)

I don't see why people would need to use binds to select weaponsets since selecting is so fast anyway.. but the rest were good.

tongue

tonk
(346 posts)

Huksi` wrote:
I don't see why people would need to use binds to select weaponsets since selecting is so fast anyway.. but the rest were good.


They're actually quite handy when you got different tactics that require different weaponssets. Then you can call the tactics just as the countdown starts and you can select the weaponset.

hugteddy

Member
(140 posts)

tongue wrote:
Huksi` wrote:
I don't see why people would need to use binds to select weaponsets since selecting is so fast anyway.. but the rest were good.


They're actually quite handy when you got different tactics that require different weaponssets. Then you can call the tactics just as the countdown starts and you can select the weaponset.



+1 swap from lg+rl eb+lg, depending on route on attack. Use it all the time. And swap nade/pg
(updated 2012-03-21 00:50:52)

clownfart

aka simon
(1103 posts)

I have some scripts too, some are far too complicated for me to explain:

LG fire script
This script is so fucked up, I don't even remember how it works. I do not use this. I did at one point, like the GL one below, but they're a handicap.

The script is meant to switch to lg, and shoot it as I press and hold the button.
aliasa "LG" "use Lasergun;cg_crosshair 1"
aliasa +LGhack "alias -LGfire none"
aliasa -LGhack "-attack;fire"
aliasa +LGfire "LG;alias -LGfire -attack;bind MOUSE1 +LGhack;+attack"
aliasa -LGfire "-attack"
aliasa fire "bind MOUSE1 +attack"
aliasa none ""
bind x +LGfire

Quake World style Grenade launcher
aliasa +GLfire "GL;+attack"
aliasa -GLfire "-attack;weaplast"
bind x +GLfire

My smiley script
alias smile0 "say ^6:^8]; alias smile smile1"
alias smile1 "say ^8[^6:; alias smile smile2"
alias smile2 "say ^6:^8]; alias smile smile3"
alias smile3 "say ^8[^6:; alias smile smile0"
alias smile "smile0"

HUD reload key
Useful for reloading your HUD without leaving the game to see changes quickly.
alias +hud "cg_clientHUD clownHUD"
alias -hud "cg_clientHUD lohud"
bind x +hud

Enemy color toggle
This script works by executing a file, it will not work properly otherwise. Maybe if the devs would use a hex value instead of 255 rgb, like Quake Live.
alias megnme "exec configs/megnme;alias colnme grenme"
alias grenme "exec configs/grenme;alias colnme megnme"
alias colnme grenme

configs/megnme.cfg
set cg_teamBETAcolor "255 0 255"

configs/grenme.cfg
set cg_teamBETAcolor "80 180 0"

And if you want to peak at my config and HUD, it's available on GitHub.
(updated 2012-03-21 17:45:38)

jal

master of the universe
(10625 posts)

HUD reload key
Useful for reloading your HUD without leaving the game to see changes quickly.
alias +gay "cg_clientHUD clownHUD"
alias -gay "cg_clientHUD lohud"
bind x +GLfire


BUG SPOTTED!

Comics

Member
(18 posts)

For LG fire script works fine:

bind mouse5 +lghold
alias +lghold "use lasergun; +attack"
alias -lghold "-attack; weaplast"

clownfart

aka simon
(1103 posts)

Comics wrote:
For LG fire script works fine:

bind mouse5 +lghold
alias +lghold "use lasergun; +attack"
alias -lghold "-attack; weaplast"


Trust me, it doesn't.

Huksi`

Hat Matter
(3378 posts)

hugteddy wrote:
tongue wrote:
Huksi` wrote:
I don't see why people would need to use binds to select weaponsets since selecting is so fast anyway.. but the rest were good.


They're actually quite handy when you got different tactics that require different weaponssets. Then you can call the tactics just as the countdown starts and you can select the weaponset.



+1 swap from lg+rl eb+lg, depending on route on attack. Use it all the time. And swap nade/pg


But there's enough time to do it by just selecting from menu, too.

Huksi`

Hat Matter
(3378 posts)

clownfart wrote:
Comics wrote:
For LG fire script works fine:

bind mouse5 +lghold
alias +lghold "use lasergun; +attack"
alias -lghold "-attack; weaplast"


Trust me, it doesn't.


Worked for me when I put wait between those commands!

adem

Группа ВКонтакте vk.com/wsw_ru
(1828 posts)

// volume script
bind PGUP "volup"
bind PGDN "voldn"

seta s_volume "0.3"

alias volup vol07
alias voldn vol05

aliasa vol12 "seta s_volume 0.60; aliasa voldn vol11; aliasa volup vol12; echo Volume ^4<^2============^4> ^760 % Max"
aliasa vol11 "seta s_volume 0.55; aliasa voldn vol10; aliasa volup vol12; echo Volume ^4<^2===========^7=^4> ^755 %"
aliasa vol10 "seta s_volume 0.50; aliasa voldn vol09; aliasa volup vol11; echo Volume ^4<^2==========^7==^4> ^750 %"
aliasa vol09 "seta s_volume 0.45; aliasa voldn vol08; aliasa volup vol10; echo Volume ^4<^2=========^7===^4> ^745 %"
aliasa vol08 "seta s_volume 0.40; aliasa voldn vol07; aliasa volup vol09; echo Volume ^4<^2========^7====^4> ^740 %"
aliasa vol07 "seta s_volume 0.35; aliasa voldn vol06; aliasa volup vol08; echo Volume ^4<^2=======^7=====^4> ^735 %"
aliasa vol06 "seta s_volume 0.30; aliasa voldn vol05; aliasa volup vol07; echo Volume ^4<^2======^7======^4> ^730 %"
aliasa vol05 "seta s_volume 0.25; aliasa voldn vol04; aliasa volup vol06; echo Volume ^4<^2=====^7=======^4> ^725 %"
aliasa vol04 "seta s_volume 0.20; aliasa voldn vol03; aliasa volup vol05; echo Volume ^4<^2====^7========^4> ^720 %"
aliasa vol03 "seta s_volume 0.15; aliasa voldn vol02; aliasa volup vol04; echo Volume ^4<^2===^7=========^4> ^715 %"
aliasa vol02 "seta s_volume 0.10; aliasa voldn vol01; aliasa volup vol03; echo Volume ^4<^2==^7==========^4> ^710 %"
aliasa vol01 "seta s_volume 0.05; aliasa voldn vol00; aliasa volup vol02; echo Volume ^4<^2=^7===========^4> ^75 %"
aliasa vol00 "seta s_volume 0.00; aliasa voldn vol00; aliasa volup vol01; echo Volume ^4<^7============^4> ^70 % Off"

// third person range/angle script
//needs /devmap <map> and /cg_thirdperson "1"
bind END "toggle cg_thirdPerson; toggle cg_showHud"

bind UPARROW "rangep"
bind DOWNARROW "rangem"
seta cg_thirdpersonrange "90"
alias rangep range07
alias rangem range05

aliasa range12 "seta cg_thirdpersonrange 40; aliasa rangem range11; aliasa rangep range12; echo ^2Third Person Range = ^740 ^4Min"
aliasa range11 "seta cg_thirdpersonrange 50; aliasa rangem range10; aliasa rangep range12; echo ^2Third Person Range = ^750"
aliasa range10 "seta cg_thirdpersonrange 60; aliasa rangem range09; aliasa rangep range11; echo ^2Third Person Range = ^760"
aliasa range09 "seta cg_thirdpersonrange 70; aliasa rangem range08; aliasa rangep range10; echo ^2Third Person Range = ^770"
aliasa range08 "seta cg_thirdpersonrange 80; aliasa rangem range07; aliasa rangep range09; echo ^2Third Person Range = ^780"
aliasa range07 "seta cg_thirdpersonrange 90; aliasa rangem range06; aliasa rangep range08; echo ^2Third Person Range = ^790 ^4Default"
aliasa range06 "seta cg_thirdpersonrange 100; aliasa rangem range05; aliasa rangep range07; echo ^2Third Person Range = ^7100"
aliasa range05 "seta cg_thirdpersonrange 110; aliasa rangem range04; aliasa rangep range06; echo ^2Third Person Range = ^7110"
aliasa range04 "seta cg_thirdpersonrange 120; aliasa rangem range03; aliasa rangep range05; echo ^2Third Person Range = ^7120"
aliasa range03 "seta cg_thirdpersonrange 130; aliasa rangem range02; aliasa rangep range04; echo ^2Third Person Range = ^7130"
aliasa range02 "seta cg_thirdpersonrange 140; aliasa rangem range01; aliasa rangep range03; echo ^2Third Person Range = ^7140"
aliasa range01 "seta cg_thirdpersonrange 150; aliasa rangem range00; aliasa rangep range02; echo ^2Third Person Range = ^7150"
aliasa range00 "seta cg_thirdpersonrange 160; aliasa rangem range00; aliasa rangep range01; echo ^2Third Person Range = ^7160 ^4Max"

bind LEFTARROW "Anglep"
bind RIGHTARROW "Anglem"
seta cg_thirdpersonangle "0"
alias Anglep Angle05
alias Anglem Angle03

aliasa Angle08 "seta cg_thirdpersonangle 180; aliasa Anglem Angle07; aliasa Anglep Angle01; echo ^2Third Person Angle = ^7180"
aliasa Angle07 "seta cg_thirdpersonangle 135; aliasa Anglem Angle06; aliasa Anglep Angle08; echo ^2Third Person Angle = ^7135"
aliasa Angle06 "seta cg_thirdpersonangle 90; aliasa Anglem Angle05; aliasa Anglep Angle07; echo ^2Third Person Angle = ^790"
aliasa Angle05 "seta cg_thirdpersonangle 45; aliasa Anglem Angle04; aliasa Anglep Angle06; echo ^2Third Person Angle = ^745"
aliasa Angle04 "seta cg_thirdpersonangle 0; aliasa Anglem Angle03; aliasa Anglep Angle05; echo ^2Third Person Angle = ^70 ^4Default"
aliasa Angle03 "seta cg_thirdpersonangle -45; aliasa Anglem Angle02; aliasa Anglep Angle04; echo ^2Third Person Angle = ^7315"
aliasa Angle02 "seta cg_thirdpersonangle -90; aliasa Anglem Angle01; aliasa Anglep Angle03; echo ^2Third Person Angle = ^7270"
aliasa Angle01 "seta cg_thirdpersonangle -135; aliasa Anglem Angle08; aliasa Anglep Angle02; echo ^2Third Person Angle = ^7225"
(updated 2012-12-24 06:41:21)


Scroll to top



RSSRSSRSSRSS

Copyright © 2014 Chasseur De Bots

Warsow in social media



Warsow is an indie game developed by group of hobbyists. Please consider giving us a small donation: