Title: Open Arena Scripts Post by: Corvette on March 26, 2009, 01:54:39 AM I wrote some open arena scripts if anyone is interested.
________________________________________ filename = Toggles.cfg Quote set toggle vstr dgon set fmtoggle vstr fmon set fmon "cg_forcemodel 1 ; set fmtoggle vstr fmoff ; echo forcemodel 1" set fmoff "cg_forcemodel 0 ; set fmtoggle vstr fmon ; echo forcemodel 0" set DGOFF "cg_drawgun 0; set toggle vstr DGON" SET DGON "cg_drawgun 1; set toggle vstr DGOFF" bind kp_5 vstr toggle bind f4 vstr fmtoggle _________________________________________________ Filename = list1.cfg Quote bind f6 "model smarine/red ; echo smarine red" bind f7 "model smarine/orange ; echo smarine orange" bind f8 "model smarine/blue ; echo smarine blue" bind f9 "model smarine ; echo smarine default" bind f12 "vid_restart" bind shift exec list1.cfg bind ctrl exec list2.cfg exec toggles.cfg exec zoomsen.cfg _________________________________________ filename = list2.cfg Quote bind shift exec list1.cfg bind ctrl exec list2.cfg exec zoomsen2.cfg _________________________________________ filename = zoomsen.cfg Quote vstr z7 vstr s4 bind kp_rightarrow vstr nsen bind kp_leftarrow vstr psen bind kp_uparrow vstr pzoom bind kp_downarrow vstr nzoom set ze "cg_fov 35; cg_zoomfov 1; set nzoom vstr za; set czoom vstr ze; echo fov 35" set za "cg_fov 40; cg_zoomfov 2; set nzoom vstr zb; set pzoom vstr ze; set czoom vstr za; echo fov 40" set zb "cg_fov 45; cg_zoomfov 3; set nzoom vstr z1; set pzoom vstr za; set czoom vstr zb; echo fov 45" set z1 "cg_fov 55; cg_zoomfov 5; set nzoom vstr z2; set pzoom vstr zb; set czoom vstr z1; echo fov 55" set z2 "cg_fov 67.5; cg_zoomfov 7; set nzoom vstr zc; set pzoom vstr z1; set czoom vstr z2; echo fov 67p5" set zc "cg_fov 75; cg_zoomfov 10; set nzoom vstr z3; set pzoom vstr z2; set czoom vstr zc; echo fov 75" set z3 "cg_fov 90; cg_zoomfov 12; set nzoom vstr z4; set pzoom vstr zc; set czoom vstr z3; echo fov 90" set z4 "cg_fov 100; cg_zoomfov 14; set nzoom vstr z5; set pzoom vstr z3; set czoom vstr z4; echo fov 100" set z5 "cg_fov 110; cg_zoomfov 17; set nzoom vstr z6; set pzoom vstr z4; set czoom vstr z5; echo fov 110" set z6 "cg_fov 120; cg_zoomfov 19; set nzoom vstr z7; set pzoom vstr z5; set czoom vstr z6; echo fov 120" set z7 "cg_fov 130; cg_zoomfov 22.5; set nzoom vstr z8; set pzoom vstr z6; set czoom vstr z7; echo fov 130" set z8 "cg_fov 140; cg_zoomfov 25; set nzoom vstr z9; set pzoom vstr z7; set czoom vstr z8; echo fov 140" set z9 "cg_fov 150; cg_zoomfov 28; set nzoom vstr zd; set pzoom vstr Z8; set czoom vstr z9; echo fov 150" set zd "cg_fov 160; cg_zoomfov 31; set nzoom vstr z0; set pzoom vstr z9; set czoom vstr zd; echo fov 160" set z0 "cg_fov 170; cg_zoomfov 35; set nzoom vstr zf; set pzoom vstr Zd; set czoom vstr z0; echo fov 170" set zf "cg_fov 180; cg_zoomfov 40; set pzoom vstr z0; set czoom vstr zf; echo fov 180" bind mwheelup vstr pzoom bind mwheeldown vstr nzoom set s1 "sensitivity 1; set nsen vstr s2; set csen vstr s1; echo sen 1" set s2 "sensitivity 5; set nsen vstr s3; set psen vstr s1; set csen vstr s2; echo sen 5" set s3 "sensitivity 10; set nsen vstr s4; set psen vstr s2; set csen vstr s3; echo sen 10" set s4 "sensitivity 12; set nsen vstr s5; set psen vstr s3; set csen vstr s4; echo sen 12" set s5 "sensitivity 14; set nsen vstr s6; set psen vstr s4; set csen vstr s5; echo sen 14" set s6 "sensitivity 17; set nsen vstr s7; set psen vstr s5; set csen vstr s6; echo sen 17" set s7 "sensitivity 23; set nsen vstr s8; set psen vstr s6; set csen vstr s7; echo sen 23" set s8 "sensitivity 30; set nsen vstr s9; set psen vstr s7; set csen vstr s8; echo sen 30" set s9 "sensitivity 32; set nsen vstr s0; set psen vstr s8; set csen vstr s9; echo sen 32" set s0 "sensitivity 34; set psen vstr s9; set csen vstr s0; echo sen 34" set m3toggle vstr mt2 set mt1 "vstr czoom; set m3toggle vstr mt2; bind mwheelup vstr pzoom; bind mwheeldown vstr nzoom" set mt2 "vstr csen; set m3toggle vstr mt1; bind mwheelup vstr nsen; bind mwheeldown vstr psen" bind mouse3 vstr m3toggle ________________________________ filename = ZoomSen2.cfg Quote vstr z7 vstr s4 vstr f7 bind kp_plus vstr pfz bind kp_minus vstr nfz bind kp_rightarrow vstr nsen bind kp_leftarrow vstr psen bind kp_uparrow vstr pzoom bind kp_downarrow vstr nzoom set ze "cg_fov 35; set nzoom vstr za; set czoom vstr ze; echo fov 35" set za "cg_fov 40; set nzoom vstr zb; set pzoom vstr ze; set czoom vstr za; echo fov 40" set zb "cg_fov 45; set nzoom vstr z1; set pzoom vstr za; set czoom vstr zb; echo fov 45" set z1 "cg_fov 55; set nzoom vstr z2; set pzoom vstr zb; set czoom vstr z1; echo fov 55" set z2 "cg_fov 67.5; set nzoom vstr zc; set pzoom vstr z1; set czoom vstr z2; echo fov 67p5" set zc "cg_fov 75; set nzoom vstr z3; set pzoom vstr z2; set czoom vstr zc; echo fov 75" set z3 "cg_fov 90; set nzoom vstr z4; set pzoom vstr zc; set czoom vstr z3; echo fov 90" set z4 "cg_fov 100; set nzoom vstr z5; set pzoom vstr z3; set czoom vstr z4; echo fov 100" set z5 "cg_fov 110; set nzoom vstr z6; set pzoom vstr z4; set czoom vstr z5; echo fov 110" set z6 "cg_fov 120; set nzoom vstr z7; set pzoom vstr z5; set czoom vstr z6; echo fov 120" set z7 "cg_fov 130; set nzoom vstr z8; set pzoom vstr z6; set czoom vstr z7; echo fov 130" set z8 "cg_fov 140; set nzoom vstr z9; set pzoom vstr z7; set czoom vstr z8; echo fov 140" set z9 "cg_fov 150; set nzoom vstr zd; set pzoom vstr Z8; set czoom vstr z9; echo fov 150" set zd "cg_fov 160; set nzoom vstr z0; set pzoom vstr z9; set czoom vstr zd; echo fov 160" set z0 "cg_fov 170; set nzoom vstr zf; set pzoom vstr Zd; set czoom vstr z0; echo fov 170" set zf "cg_fov 180; set pzoom vstr z0; set czoom vstr zf; echo fov 180" bind mwheelup vstr pzoom bind mwheeldown vstr nzoom set s1 "sensitivity 1; set nsen vstr s2; set csen vstr s1; echo sen 1" set s2 "sensitivity 5; set nsen vstr s3; set psen vstr s1; set csen vstr s2; echo sen 5" set s3 "sensitivity 10; set nsen vstr s4; set psen vstr s2; set csen vstr s3; echo sen 10" set s4 "sensitivity 12; set nsen vstr s5; set psen vstr s3; set csen vstr s4; echo sen 12" set s5 "sensitivity 14; set nsen vstr s6; set psen vstr s4; set csen vstr s5; echo sen 14" set s6 "sensitivity 17; set nsen vstr s7; set psen vstr s5; set csen vstr s6; echo sen 17" set s7 "sensitivity 23; set nsen vstr s8; set psen vstr s6; set csen vstr s7; echo sen 23" set s8 "sensitivity 30; set nsen vstr s9; set psen vstr s7; set csen vstr s8; echo sen 30" set s9 "sensitivity 32; set nsen vstr s0; set psen vstr s8; set csen vstr s9; echo sen 32" set s0 "sensitivity 34; set psen vstr s9; set csen vstr s0; echo sen 34" //set fa //set fb //set fc //set fd //set fe //set ff set fg "cg_zoomfov 1; set nfz vstr fh; ; set cfzoom vstr fg; echo zfov 1" set fh "cg_zoomfov 2; set nfz vstr fi; set pfz vstr fg; set cfzoom vstr fh; echo zfov 2" set fi "cg_zoomfov 3; set nfz vstr f0; set pfz vstr fh; set cfzoom vstr fi; echo zfov 3" set f0 "cg_zoomfov 5; set nfz vstr f1; set pfz vstr fi; set cfzoom vstr f0; echo zfov 5" set f1 "cg_zoomfov 7; set nfz vstr f2; set pfz vstr f0; set cfzoom vstr f1; echo zfov 7" set f2 "cg_zoomfov 10; set nfz vstr f3; set pfz vstr f1; set cfzoom vstr f2; echo zfov 10" set f3 "cg_zoomfov 12; set nfz vstr f4; set pfz vstr f2; set cfzoom vstr f3; echo zfov 12" set f4 "cg_zoomfov 14; set nfz vstr f5; set pfz vstr f3; set cfzoom vstr f4; echo zfov 14" set f5 "cg_zoomfov 17; set nfz vstr f6; set pfz vstr f4; set cfzoom vstr f5; echo zfov 17" set f6 "cg_zoomfov 19; set nfz vstr f7; set pfz vstr f5; set cfzoom vstr f6; echo zfov 19" set f7 "cg_zoomfov 22.5; set nfz vstr f8; set pfz vstr f6; set cfzoom vstr f7; echo zfov 22.5" set f8 "cg_zoomfov 25; set nfz vstr f9; set pfz vstr f7; set cfzoom vstr f8; echo zfov 25" set f9 "cg_zoomfov 28; set nfz vstr f10; set pfz vstr f8; set cfzoom vstr f9; echo zfov 28" set f10 "cg_zoomfov 31; set nfz vstr f11; set pfz vstr f9; set cfzoom vstr f10; echo zfov 31" set f11 "cg_zoomfov 35; set nfz vstr f12; set pfz vstr f10; set cfzoom vstr f11; echo zfov 35" set f12 "cg_zoomfov 40; ; set pfz vstr f11; set cfzoom vstr f12; echo zfov 40" set m3toggle vstr mt2 set mt1 "vstr czoom; set m3toggle vstr mt2; bind mwheelup vstr pzoom; bind mwheeldown vstr nzoom" set mt2 "vstr csen; set m3toggle vstr mt3; bind mwheelup vstr nsen; bind mwheeldown vstr psen" set mt3 "vstr cfzoom; set m3toggle vstr mt1; bind mwheelup vstr pfz ; bind mwheeldown vstr nfz" bind mouse3 vstr m3toggle [changed in edit] removed line exec dg.cfg since dg stood for draw gun and I renamed that to toggles.cfg added line bind f12 "vid_restart" Title: Re: Open Arena Scripts Post by: Corvette on April 21, 2009, 10:28:54 PM The following is my general fastlook.cfg script
Quote bind MOUSE3 "cl_yawspeed 7500; +left; wait 6; -left; cl_yawspeed 140" bind MWHEELUP "cl_yawspeed 5625; +left; wait 2; -left; cl_yawspeed 140" bind MWHEELDOWN "cl_yawspeed 5625; +right; wait 2; -right; cl_yawspeed 140" I am customizing the following specifically for JukeboxHero since I don't want to interfere with his current control configuration. Quote bind MOUSE2 "cl_yawspeed 7500; +left; wait 6; -left; cl_yawspeed 140" Copy this and paste it to a file called fastlook.cfg and save that file to C:\Documents and Settings\Administrator\Application Data\OpenArena\baseoa (or wherever your OA baseoa directory is) then, in open arena, type in /exec fastlook.cfg Title: Re: Open Arena Scripts Post by: aantipop on April 22, 2009, 01:19:01 AM ill add my two favourite scripts:
put the following lines in autoexec.cfg: then you can adjust your volume with the left/right arror keys, and gamma with pageup/pagedown keys, no need to bring down console or enter the menu for a quick adjustment. Code: bind LEFTARROW "vstr vol_down" Title: Re: Open Arena Scripts Post by: fromhell on April 22, 2009, 01:29:54 AM i hope i don't see a ROCKET JUMPAN alias here because those are so dumb lol. a key to rocket jump!!?!
Title: Re: Open Arena Scripts Post by: jukeboxhero on April 22, 2009, 04:20:13 AM Thanks corvette!
Much appreciated! I will look at it and let you know how it works for me! ggs, JukeBoxHero Title: Re: Open Arena Scripts Post by: PopeJo on April 22, 2009, 07:34:44 AM here's a demo replay script (thx to RAZ3R):
you can use the arrows to alter playback Code: // demo replay script here's a "view weapon" toggle script you can just draw the weapon bar instead of the gun, thus gaining more map-visibility without really loosing visual contact to your beloved gun, Code: // weapon hud script btw, I love the gamma script from aanti :) Title: Re: Open Arena Scripts Post by: Corvette on April 23, 2009, 12:35:35 AM Thanks everyone for your scripts.
"i hope i don't see a ROCKET JUMPAN alias here because those are so dumb lol. a key to rocket jump!!?!" (posted by fromhell). Ok, you did ask for it. Quote seta rocketjump "centerview; cl_pitchspeed 99990000; +lookdown; +moveup; +attack; wait 2; -lookdown; -moveup; -attack; cl_pitchspeed 140; centerview" bind f5 vstr rocketjump Unfortunately, this script doesn't do perfect rocket jumps, as I am able to rocket jump slightly higher than this script. Still, it does a pretty decent rocket jump (I got this script from some other forum or website, I didn't write it). Title: Re: Open Arena Scripts Post by: Corvette on June 19, 2009, 12:06:32 AM I still have to write something to control for the fact that your weapon changes every time you get killed. Maybe if I assigned a button that you can press when that happens.
Name of file : spinrj.cfg Quote set togglespin vstr spinleft set spinleft "cl_yawspeed 9999; +left; set togglespin vstr spinoff1" set spinright "cl_yawspeed 9999; +right; set togglespin vstr spinoff2" set spinoff1 "cl_yawspeed 140; -left; -right; set togglespin vstr spinright" set spinoff2 "cl_yawspeed 140; -left; -right; set togglespin vstr spinleft" bind s "vstr togglespin1" set togglespin1 "set togglespin vstr spinleft; vstr togglespin; bind s vstr togglespin" bind i "weapon 1; bind i vstr w1s1; bind h vstr rocketswitch" bind d "weapon 2; bind i vstr w2s2; bind h vstr rocketswitch" bind r "weapon 8; bind i vstr w8s3; bind h vstr rocketswitch" set w1s1 "weapon 1; vstr spinoff1; bind i vstr w1s2; bind d vstr w2s1; bind r vstr w8s1; bind h vstr rocketswitch" set w2s1 "weapon 2; vstr spinoff1; bind d vstr w2s2; bind i vstr w1s1; bind r vstr w8s1; bind h vstr rocketswitch" set w8s1 "weapon 8; vstr spinoff1; bind r vstr w8s2; bind i vstr w1s1; bind d vstr w2s1; bind h vstr rocketswitch" set w1s2 "weapon 1; vstr togglespin; bind h vstr rocketswitch" set w2s2 "weapon 2; vstr togglespin; bind h vstr rocketswitch" set w8s2 "weapon 8; vstr togglespin; bind h vstr rocketswitch" bind u "weapnext; set togglespin vstr spinoff1; bind s vstr togglespin1; bind h vstr rocketswitch" bind t "weapprev; set togglespin vstr spinoff2; bind s vstr togglespin1; bind h vstr rocketswitch" bind v "weapon 3; set togglespin vstr spinoff1; bind s vstr togglespin1; bind h vstr rocketswitch" bind k "weapon 4; set togglespin vstr spinoff1; bind s vstr togglespin1; bind h vstr rocketswitch" bind h "weapon 5; set togglespin vstr spinoff1; bind s vstr togglespin1; vstr rocketswitch" bind m "weapon 6; set togglespin vstr spinoff1; bind s vstr togglespin1; bind h vstr rocketswitch" bind n "weapon 7;; set togglespin vstr spinoff1; bind s vstr togglespin1; bind h vstr rocketswitch" bind l "weapon 9;; set togglespin vstr spinoff1; bind s vstr togglespin1; bind h vstr rocketswitch" bind 0 "weapon 11; set togglespin vstr spinoff1; bind s vstr togglespin1; bind h vstr rocketswitch" bind x "weapon 12; set togglespin vstr spinoff1; bind s vstr togglespin1; bind h vstr rocketswitch" bind c "weapon 13; set togglespin vstr spinoff1; bind s vstr togglespin1; bind h vstr rocketswitch" set rocketswitch "weapon 5; bind h vstr rcktjmp; set togglespin vstr spinoff1; bind s vstr togglespin1" set rcktjmp "exec rjump.cfg" Name of file : rjump.cfg Quote //rocket jumps //http://snipplr.com/view/11241/tweaked-quake-3-arena-autoexeccfg/ seta rocketjump "centerview; cl_pitchspeed 99990000; +lookdown; +moveup; +attack; wait 2; -lookdown; -moveup; -attack; cl_pitchspeed 140; centerview" vstr rocketjump //http://www.NOYOUFILTHYDAMNPIRATE/bg2/modules/smartsection/item.php?itemid=17 //cl_pitchspeed 9999 //set rjump "+lookdown;wait;wait;+attack;+moveup;wait;wait;-attack;-moveup;-lookdown;wait;wait;centerview" //vstr rjump //cl_pitchspeed 140 Title: Re: Open Arena Scripts Post by: jessicaRA on September 07, 2009, 01:33:49 AM the most useful small ones to me so far:
loud/normal toggle bind ctrl "vstr catears" seta catearson "seta s_volume 1.8; seta s_algain 5; seta catears vstr catearsoff; echo nekomimi mode on!" seta catearsoff "seta s_volume 1; seta s_algain 0.8; seta catears vstr catearson; echo nekomimi mode off!" zoom to level in one movement (you may want to swap wheel up and wheel down.. its technically easier that way to stay accurate) bind mwheeldown "cg_fov 112; sensitivity 1.5" bind mwheelup "cg_fov 56; sensitivity 0.75" bind mouse3 "cg_fov 28; sensitivity 0.375" another useful thing is the thin lightning trick(add -zoom to every other weapon bind or use zoom fov to change zoom in/out with +zoom on every weapon, the zoom fov way i find is less disorientating but i don't use the thin lightning any more except in cpma): bind mouse5 "cg_fov 250; cg_zoomfov 56; +zoom; weapon 6" Title: Re: Open Arena Scripts Post by: Corvette on April 05, 2010, 08:39:42 PM Hey, why does OA version .8.5. make it so that my 180 degree turn script no longer works. It doesn't turn 180 degrees and it seems to turn a different amount every time as if on purpose just to prevent me from making a new 180 degree turn script. I hope the OA developers did not ruin my script on purpose :( .
Title: Re: Open Arena Scripts Post by: pulchr on April 05, 2010, 11:21:46 PM i'm not sure about how those commands work but could they be framerate dependent?
i once made a sniperscript for wolfenstein and it worked fine as long as the framerate was consistent - but pretty useless on many maps due to my crappy graphics card back then =) Title: Re: Open Arena Scripts Post by: Cacatoes on April 06, 2010, 07:14:36 AM Hey, why does OA version .8.5. make it so that my 180 degree turn script no longer works. It doesn't turn 180 degrees and it seems to turn a different amount every time as if on purpose just to prevent me from making a new 180 degree turn script. I hope the OA developers did not ruin my script on purpose :( . In this case it wouldn't be OA developpers, but it could be ioq3 related (I didn't record the info but I heard of some changes which prevent some particular scripts from working). Wait for Falkland's clarification on this :DTitle: Re: Open Arena Scripts Post by: Falkland on April 06, 2010, 10:18:03 AM Hey, why does OA version .8.5. make it so that my 180 degree turn script no longer works. It doesn't turn 180 degrees and it seems to turn a different amount every time as if on purpose just to prevent me from making a new 180 degree turn script. I hope the OA developers did not ruin my script on purpose :( . I think that pmove_float 1 has also this effect , because I heard that VQ3 scripts don't work in Pro-MODE of which physics are FPS independent ( and I mean PM2 , not the approximation of PMC - Pro Mode C l a s s i c - implemented in defrag ) so come on back using the mouse ... BTW , I am not responsable of pmove_float but I strongly agree with its introduction because the most popular Q3 derivative games use it ( NoGhost MOD , CPMA and UrT for example ) mDd defrag community has a rule for the use of this kind of script for banning players using them and deleting their records. Any variation of cl_yawspeed and cl_pitchspeed by the default value ( 140 ) is detected and logged. QL dev team has completely blocked all kinds of scripts ( Strafe, CJ , simple RJ , map based RJ , defrag scripts ) by declaring cl_yawspeed and cl_pitchspeed as CHEAT PROTECTED , locking the value to default ( 140 ) and that's a thing that should be done also in OA. Title: Re: Open Arena Scripts Post by: RMF on April 06, 2010, 11:16:11 AM Quote but it could be ioq3 related (...). Wait for Falkland's clarification on this Quote I am not responsable of pmove_float Falkland are you in the ioq3 devteam or something?Title: Re: Open Arena Scripts Post by: 7 on April 09, 2010, 07:55:51 AM I wrote a C++ program that generates zoom.cfg scripts with exponentially decreasing sensitivity for decreasing fov in zoomed and unzoomed modes. It produces scripts like this:
Code: // Generated by ./sensfit 105 21.1 45 18.25 You bind it (in autoexec.cfg or such) like this: Code: exec zoom.cfg This makes you go in and out of zoom mode if you click the middle mouse (wheel) button and you can change both zoomed and unzoomed fovs/sensitivities with the mouse wheel. (Its possible to set different functions for the mouse wheel in zoomed and unzoomed modes too, which is practical for stair climbing jumps, but thats another story.) If someone is interested in the C++ source code that generates these scripts I'll post it, you'll have to compile it yourself. Title: Re: Open Arena Scripts Post by: BlankA. on April 13, 2010, 03:25:12 PM @Corvette I think Pulchr is right about the 180.
Try these: // 180 degree turn script @ 43fps // Key bind x vstr turn // Script set com_maxfps 43 set turn "cl_yawspeed 1575; +right; wait 10; -right; cl_yawspeed 140" echo ^0> ^7Yvo^0'^7s 180 degree turn script ^0@ ^743 fps loaded^0! // 180 degree turn script @ 76fps // Key bind x vstr turn // Script set com_maxfps 76 set turn "cl_yawspeed 1550; +right; wait 18; -right; cl_yawspeed 140" echo ^0> ^7Yvo^0'^7s 180 degree turn script ^0@ ^776 fps loaded^0! // 180 degree turn script @ 125fps // Key bind x vstr turn // Script set com_maxfps 125 set turn "cl_yawspeed 1725; +right; wait 26; -right; cl_yawspeed 140" echo ^0> ^7Yvo^0'^7s 180 degree turn script ^0@ ^7125 fps loaded^0! Title: Re: Open Arena Scripts Post by: Falkland on April 13, 2010, 03:56:28 PM Code: --- code/client/cl_main.c 2009-11-11 13:52:54.000000000 +0100 This code will close your "issue" for ever. Title: Re: Open Arena Scripts Post by: Corvette on November 02, 2011, 01:17:47 AM The problem with all these scripts is that they create a too many cvar error. I have to re-do them without creating so many cvars I guess. I'm too lazy right now though.
|