| Amiga - more personal than computer.mosfet from ppa.pl | |
|
|
| Guests Online: 1
No Members Online
Registered Members: 25
Unactivated Members: 10
Newest Member: mat3
| |
|
|
|
| Here's some scripts for quake3, scripts are powerfull tools to force quake to do some thing for us :). But first you need to know how to write them, so you need to know few commands:
/bind - binds a function to a key
/vstr - executes a variable defined by user
/seta - sets value to a variable and writes it in cfg
/set - sets value to a variable temporarym only for current sesion
Less needed commands:
echo - prints on screen/in console a text (it's "echo", only we can see it, it's not a public message)
exec file.cfg - executes commands witch are placed in defined cfg file
The scheme:
bind klawisz "vstr variable_name"
seta variable_name "vstr instruction1"
seta instruction1 "komenda; komenda; set variable_name vstr instruction2"
seta instruction2 "komenda; komenda; set variable_name vstr instruction1"
where:
variable_name - name of main executeing script
instruction1 - basic value, set of instruction a script will execute first
komenda - any console commad
It will work in following way:
After pressing a binded key it will be executed set of instruction declared in instruction1, on the nect press, it will be executed set of instruction declared in instruction2, of course we can define custum amout of instruction sets
-SCRIPTS-
Rocket jump (please DO NOT use it, it's lame)
bind SPACE "vstr rjump"
seta rjump "centerview; cl_pitchspeed 9999000; +lookdown; +attack; +moveup; wait 3; -lookdown; -attack; -moveup; wait 6; centerview; cl_pitchspeed 0"
Turns on/off gibs
bind 4 "vstr gibsy"
seta gibsy "vstr bloodOn"
seta bloodOn "cg_gibs 1; echo ^3GIBSY ^2WLACZONE; set gibsy vstr bloodOff"
seta bloodOff "cg_gibs 0; echo ^3GIBSY ^1WYLACZONE; set gibsy vstr bloodOn"
Changes fov - field of view
bind KP_PLUS "vstr scr"
seta scr "vstr scr2"
seta scr6 "cg_fov 145; echo ^3FOV ^2145; set scr vstr scr1"
seta scr5 "cg_fov 135; echo ^3FOV ^2135; set scr vstr scr6"
seta scr4 "cg_fov 125; echo ^3FOV ^2125; set scr vstr scr5"
seta scr3 "cg_fov 115; echo ^3FOV ^2115; set scr vstr scr4"
seta scr2 "cg_fov 110; echo ^3FOV ^2110; set scr vstr scr3"
seta scr1 "cg_fov 105; echo ^3FOV ^2105; set scr vstr scr2"
Changes color of enemy models in nemesis (you have to set enemy model first /cg_enemymodel keel/nms
bind KP_INS "vstr enemy"
seta enemy "vstr enemy2"
seta enemy1 "cg_enemyColor 0x33FF00; set enemy vstr enemy2; echo ^3EnemyModel ^2GREEN"
seta enemy2 "cg_enemyColor 0xFFFF00; set enemy vstr enemy3; echo ^3EnemyModel ^3YELLOW"
seta enemy3 "cg_enemyColor 0xFF0033; set enemy vstr enemy4; echo ^3EnemyModel ^1RED"
seta enemy4 "cg_enemyColor 0xFFFFFF; set enemy vstr enemy1; echo ^3EnemyModel ^7WHITE"
Turns on/off demo recording
bind F3 "vstr demrec"
seta demrec "vstr on"
seta off "stoprecord; g_syncronousclients 0; set demrec vstr on"
seta on "g_syncronousclients 1; record demko; set demrec vstr off"
Rewinds demos forward/fastworwad OR slows it down
bind DOWNARROW "timescale 1"
bind LEFTARROW "vstr lowmotion"
bind RIGHTARROW "vstr fastmotion"
seta lowmotion "vstr sslow"
seta slow "timescale 0.5; echo ^2SLOW; set lowmotion vstr sslow"
seta sslow "timescale 0.001; echo ^2SUPER ^2SLOW; set lowmotion vstr slow"
seta fastmotion "vstr fast"
seta fast "timescale 2; echo ^2FAST ^2FORWARD; set fastmotion vstr sfast"
seta sfast "timescale 5; echo ^2SUPER ^2FAST; set fastmotion vstr ufast"
seta ufast "timescale 10; echo ^2ULTRA ^2FAST; set fastmotion vstr fast"
turns on/off sound
bind KP_RIGHTARROW "vstr volume"
seta vol1 "s_volume 0.5; echo ^2 VOLUME ^2ON; set volume vstr vol0"
seta vol0 "s_volume 0; echo ^2 VOLUME ^2OFF; set volume vstr vol1"
seta volume "vstr vol0"
| |
|
|
|
|
Not a member yet? Click here to register.
Forgotten your password? Request a new one here.
| |
|
|
|