
|
|||||||
| QUAKE Wars Tips, Tricks & Strategies Share your favorite Enemy Territory: QUAKE Wars tips and strategies with your fellow soldiers. |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Global Volunteer Force
![]() Join Date: Apr 2007
Location: Austria
|
in case you haven't noticed, demo playback works in this build
i've created a quick & dirty demo playback control config which will be extended in time, but here's a start in case someone wants to use it as well: Code:
writeconfig backupconfig unbindall bind "w" "_forward" "" "default" bind "s" "_back" "" "default" bind "a" "_moveleft" "" "default" bind "d" "_moveright" "" "default" bind "SPACE" "_moveup" "" "default" bind "SHIFT" "_sprint" "" "default" bind "CTRL" "_speed" "" "default" bind "F7" "screenshot 4096 2304 64" "" "default" bind "F8" "screenshot 2048 1152 64" "" "default" bind "F11" "screenshot" "" "default" bind "KP_RIGHTARROW" "cvaradd demo_scale 0.1" "" "default" bind "KP_LEFTARROW" "cvaradd demo_scale -0.1" "" "default" bind "KP_UPARROW" "cvaradd demo_scale 1.0" "" "default" bind "KP_DOWNARROW" "cvaradd demo_scale -1.0" "" "default" bind "KP_5" "pausenetdemo" "" "default" bind "KP_5" "demo_scale 1.0" "CTRL" "default" ![]() |
|
|
|
|
|
#2 |
|
First Sergeant
![]() Join Date: Jun 2007
Location: Italy
|
bind "KP_RIGHTARROW" "cvaradd demo_scale 0.1" "" "default"
bind "KP_LEFTARROW" "cvaradd demo_scale -0.1" "" "default" bind "KP_UPARROW" "cvaradd demo_scale 1.0" "" "default" bind "KP_DOWNARROW" "cvaradd demo_scale -1.0" "" "default" what are this commands for ? Fastforward and reverse ? |
|
|
|
|
|
#3 |
|
Global Volunteer Force
![]() Join Date: Apr 2007
Location: Austria
|
those are for chaning the speed of demo playback. 1.0 is normal speed, rest is faster or slower
|
|
|
|
|
|
#4 |
|
First Sergeant
![]() Join Date: Jun 2007
Location: Italy
|
ok thanks, pausenetdemo is awesome lol
|
|
|
|
|
|
#5 |
|
Global Volunteer Force
![]() Join Date: Apr 2007
Location: Austria
|
updated the config:
Code:
writeconfig backupconfig unbindall bind "w" "_forward" "" "default" bind "s" "_back" "" "default" bind "a" "_moveleft" "" "default" bind "d" "_moveright" "" "default" bind "SPACE" "_moveup" "" "default" bind "SHIFT" "_sprint" "" "default" bind "CTRL" "_speed" "" "default" bind "F7" "screenshot 4096 2304 64" "" "default" bind "F8" "screenshot 2048 1152 64" "" "default" bind "F11" "screenshot" "" "default" bind "MOUSE2" "pausenetdemo" "" "default" bind "KP_5" "demo_scale 1.0" "" "default" bind "KP_RIGHTARROW" "cvaradd demo_scale 0.1" "" "default" bind "KP_LEFTARROW" "cvaradd demo_scale -0.1" "" "default" bind "KP_UPARROW" "cvaradd demo_scale 1.0" "" "default" bind "KP_DOWNARROW" "cvaradd demo_scale -1.0" "" "default" bind "KP_ENTER" "toggle demo_noclip 1 0" "" "default" bind "KP_INS" "toggle g_showhud 0 1" "" "default" ![]() |
|
|
|
|
|
#6 |
|
Colonel
![]() |
nice config
![]() |
|
|
|
|
|
#7 |
|
Global Volunteer Force
![]() Join Date: Apr 2007
Location: Austria
|
here's an update. lots of changes, i tried to get rid of the numeric keypad and instead bind everything on mouse/mousewheel/wsad-key-environment
Code:
// ==================================================================================== // movement // ==================================================================================== bind "w" "_forward" "" "default" bind "s" "_back" "" "default" bind "a" "_moveleft" "" "default" bind "d" "_moveright" "" "default" bind "SPACE" "_moveup" "" "default" bind "SHIFT" "_sprint" "" "default" bind "CTRL" "_speed" "" "default" // ==================================================================================== // screenshot binds // ==================================================================================== bind "1" "screenshot" "" "default" bind "2" "screenshot 2048 1152 64" "" "default" bind "3" "screenshot 4096 2304 64" "" "default" // ==================================================================================== // demo playback speed // ------------------------------------------------------------------------------------ // mouse wheel: // click: normal playback speed // up/down: add +/- 1 to playback speed // up/down with ctrl pressed: add +/- 0.1 to playback speed // ------------------------------------------------------------------------------------ // keypad: // up arrow: add 1.0 to playback speed // down arrow: add -1.0 to playback speed // left arrow: add 0.1 to playback speed // right arrow: add -0.1 to playback speed // ==================================================================================== seta writeDemoScaleInfo "addchatline $demo_scale" // control playback speed with mouse wheel bind "MOUSE3" "demo_scale 1.0; vstr writeDemoScaleInfo" "" "default" bind "MWHEELUP" "cvaradd demo_scale 0.1; vstr writeDemoScaleInfo" "CTRL" "default" bind "MWHEELDOWN" "cvaradd demo_scale -0.1; vstr writeDemoScaleInfo" "CTRL" "default" bind "MWHEELUP" "cvaradd demo_scale 1.0; vstr writeDemoScaleInfo" "" "default" bind "MWHEELDOWN" "cvaradd demo_scale -1.0; vstr writeDemoScaleInfo" "" "default" // control playback speed with keypad bind "KP_5" "demo_scale 1.0; vstr writeDemoScaleInfo" "" "default" bind "KP_RIGHTARROW" "cvaradd demo_scale 0.1; vstr writeDemoScaleInfo" "" "default" bind "KP_LEFTARROW" "cvaradd demo_scale -0.1; vstr writeDemoScaleInfo" "" "default" bind "KP_UPARROW" "cvaradd demo_scale 1.0; vstr writeDemoScaleInfo" "" "default" bind "KP_DOWNARROW" "cvaradd demo_scale -1.0; vstr writeDemoScaleInfo" "" "default" // ==================================================================================== // camera speed // ------------------------------------------------------------------------------------ // mouse wheel: // shift pressed + mouse wheel click: normal camera speed (200) // shift pressed + mouse wheel up/down: add +/- 30 to camera speed // ==================================================================================== seta writeDemoCamSpeed "addchatline $pm_democamspeed" bind "MOUSE3" "pm_democamspeed 200; vstr writeDemoCamSpeed" "SHIFT" "default" bind "MWHEELUP" "cvaradd pm_democamspeed 30; vstr writeDemoCamSpeed" "SHIFT" "default" bind "MWHEELDOWN" "cvaradd pm_democamspeed -30; vstr writeDemoCamSpeed" "SHIFT" "default" // ==================================================================================== // misc binds // ==================================================================================== // pause current playback and switch to free-fly mode. this one is most awesome :) bind "MOUSE2" "pausenetdemo" "" "default" // toggle player view / spectator view bind "c" "toggle demo_noclip 1 0" "" "default" bind "KP_ENTER" "toggle demo_noclip 1 0" "" "default" // toggle demo hud bind "e" "toggle g_showdemohud 1 0" "" "default" bind "KP_HOME" "toggle g_showdemohud 1 0" "" "default" // toggle hud bind "q" "toggle g_showhud 0 1" "" "default" bind "KP_INS" "toggle g_showhud 0 1" "" "default" Last edited by Joe999 : 08-05-2007 at 02:20 PM. |
|
|
|
|
|
#8 |
|
Global Volunteer Force
![]() Join Date: May 2007
|
Great work Joe!
![]()
__________________
H2k-Gaming.com - #H2k @ quakenet.org |
|
|
|
|
|
#9 |
|
Lieutenant Major
![]() |
/me says thx a lot!
|
|
|
|
|
|
#10 |
|
Gunnery Sergeant
![]() Join Date: May 2007
|
sorry im a noob to this coding business, how do i implement these features?
|
|
|
|
|
|
#11 |
|
Lieutenant Commander
![]() Join Date: May 2007
Location: deep, deep in the lancashire ghetto
|
When pause and free fly while in the third-eye-camera, you then fly around inside the third-eye-camera.
I notice that these demos record everything and not just within sight, so a great way to see what was happening on the rest of the map. I also tried some of Darkangels_ETpro_MovieMaking scripts which slightly changed seem to work ok'ish. Like the matrix cameras. |
|
|
|
|
|
#12 |
|
Technical Director
Join Date: Apr 2007
|
Client demos record everything that the client gets. Keep in mind that due to the AOR, data further away from the recording client in a network demo is less accurate. (Server demos don't have this problem, they just record the entire game.)
|
|
|
|
|
|
#13 |
|
Corporal
![]() Join Date: Jun 2007
|
So how do you make these binds work ? Do you have to change your bind config everytime you need to watch one :/?
|
|
|
|
|
|
#14 |
|
Lance Corporal
![]() Join Date: Jun 2007
|
Joe999
Excellent script, but why you don't want to include demo markers? it's very nice feature imo. something like this: Code:
// ==================================================================================== // demo cut markers // set markers and then use "cutNetdemo <input_demoname> <output_demoname>" // ==================================================================================== bind "LEFTARROW" "placeDemoCutEndMarker; addchatline '^1END ^7marker is set'" "" "default" bind "RIGHTARROW" "placeDemoCutStartMarker; addchatline '^2START ^7marker is set'" "" "default" Code:
// ==================================================================================== // pause current playback and switch mouse wheel to the "FOV changer" // ------------------------------------------------------------------------------------ // mouse wheel (in "pause" mode): // up/down: add +/- ~10% to FOV // click: set original FOV value // ==================================================================================== set writeFOVInfo "echo $g_FOV" set gFOV_backup $g_FOV set RestoreDefaultFOV "set g_FOV $gFOV_backup; vstr writeFOVInfo" set ZOOM_UP "set gFOV_float $g_FOV; cvarMultiply gFOV_float 1.1; cvaradd gFOV_float 0.5; set g_FOV $gFOV_float; set gFOV_float $g_FOV; vstr writeFOVInfo" set ZOOM_DWN "set gFOV_float $g_FOV; cvarMultiply gFOV_float 0.91; cvaradd gFOV_float 0.5; set g_FOV $gFOV_float; set gFOV_float $g_FOV; vstr writeFOVInfo" set DEMO_PAUSE "pausenetdemo; bind MWHEELUP $ZOOM_UP; bind MWHEELDOWN $ZOOM_DWN; bind MOUSE3 $RestoreDefaultFOV; bind MOUSE2 $DEMO_UNPAUSE" set DEMO_UNPAUSE "pausenetdemo; bind MWHEELUP $DEMOSCALE_UP; bind MWHEELDOWN $DEMOSCALE_DWN; bind MOUSE3 $SetNormalSpeed; bind MOUSE2 $DEMO_PAUSE" bind MOUSE2 $DEMO_PAUSE Code:
set SetNormalSpeed "demo_scale 1.0; vstr writeDemoScaleInfo" bind MOUSE3 $SetNormalSpeed set DEMOSCALE_UP "cvaradd demo_scale 1.0; vstr writeDemoScaleInfo" set DEMOSCALE_DWN "cvaradd demo_scale -1.0'; vstr writeDemoScaleInfo" bind MWHEELUP $DEMOSCALE_UP bind MWHEELDOWN $DEMOSCALE_DWN btw, maybe it's better to save original crouch bind (bind "c" "_movedown" "" "default") to keep a possibility of vertical freecam moving |
|
|
|
|
|
#15 | |
|
Global Volunteer Force
![]() Join Date: Apr 2007
Location: Austria
|
Quote:
nice additions btw ![]() |
|
|
|
|
|
|
#16 | |
|
Lance Corporal
![]() Join Date: Jun 2007
|
Quote:
|
|
|
|
|
|
|
#17 |
|
Gunnery Sergeant
![]() Join Date: May 2007
|
Ok, so you use -1(or any negative value) to rewind? I tryed that and it locked up the game.
|
|
|
|
|
|
#18 |
|
Group Captain
![]() |
Joe999......THANKS
![]() Nice work. My gaming background doesn't include much scripting, using autoexecs and things like that, but once I read, re-read, and re-re-read your script until I understood it I was able to figure out which of these I wanted to use and which ones I didn't want to use. I then was able to make a quick auto-exec (Thanks to Iffy's ETQW4newbies for that ) with my changes and it's working like a charm. I did have to go in and change net demo pause from my right mouse button though because it didn't allow me to use alt fire ingame, but that was probably my fault. Thanks again, to both of you! I've made several kewl demos and eventually hope to get some sweet screens from them once I'm able to stop playing.....the game should be named "Enemy Territory: Crack Wars" btw. ![]()
__________________
Drunk And Disorderly Member.......And proud of it! Please join us in the fun on any of our FOUR ranked ETQW servers! Drunk and Disorderly RANKED North #1 and #2 Drunk and Disorderly RANKED South And NOW PRESENTING: Drunk and Disorderly Ranked WEST |
|
|
|
|
|
#19 |
|
Colonel
![]() |
what do the demo markers do? this wasn't avaible on wolf:et
__________________
|
|
|
|
|
|
#20 |
|
Global Volunteer Force
![]() Join Date: Apr 2007
Location: Austria
|
* placeDemoCutStartMarker: places start marker for demo cutting
* placeDemoCutEndMarker: places end marker for demo cutting * cutnetdemo: cuts a network demo if valid markers are set, usage: cutnetdemo <demo name> <cut output name> |
|
|
|
|
|
#21 |
|
Group Captain
![]() |
Here's a noobish question for someone to answer......uhm, please. If you don't mind
![]() Is there any way that I could rewind the demo? Or is there no command available for that? Kinda like with BF2 demos not being able to be rewound... I only ask because there's so much going on at times that it'd be a lot easier if I could rewind parts of the video and look at them from a different place. It'd save me a lot of time rather than having to start it over.
__________________
Drunk And Disorderly Member.......And proud of it! Please join us in the fun on any of our FOUR ranked ETQW servers! Drunk and Disorderly RANKED North #1 and #2 Drunk and Disorderly RANKED South And NOW PRESENTING: Drunk and Disorderly Ranked WEST |
|
|
|
|
|
#22 |
|
Global Volunteer Force
![]() |
Code:
// control playback speed with mouse wheel bind "MOUSE3" "demo_scale 1.0; vstr writeDemoScaleInfo" "" "default" bind "MWHEELUP" "cvaradd demo_scale 0.1; vstr writeDemoScaleInfo" "CTRL" "default" bind "MWHEELDOWN" "cvaradd demo_scale -0.1; vstr writeDemoScaleInfo" "CTRL" "default" bind "MWHEELUP" "cvaradd demo_scale 1.0; vstr writeDemoScaleInfo" "" "default" bind "MWHEELDOWN" "cvaradd demo_scale -1.0; vstr writeDemoScaleInfo" "" "default" // control playback speed with keypad bind "KP_5" "demo_scale 1.0; vstr writeDemoScaleInfo" "" "default" bind "KP_RIGHTARROW" "cvaradd demo_scale 0.1; vstr writeDemoScaleInfo" "" "default" bind "KP_LEFTARROW" "cvaradd demo_scale -0.1; vstr writeDemoScaleInfo" "" "default" bind "KP_UPARROW" "cvaradd demo_scale 1.0; vstr writeDemoScaleInfo" "" "default" bind "KP_DOWNARROW" "cvaradd demo_scale -1.0; vstr writeDemoScaleInfo" "" "default"
__________________
ETQW 4 Newbies: Maps, Guides, and Resources (new location) MS-Excel Tips, Tricks, and Tutorials |
|
|
|
|
|
#23 | |
|
Group Captain
![]() |
Quote:
By that I assume you mean changing the binding on KP_5 to a negative value? (obviously I'd bind it to another key so as not to lose the ability to go back to my default playback speed, I just used kp_5 to show where I was talking about.) So lemme type this out to see if I understand correctly... bind "KP_9" "demo_scale -1.0; vstr writeDemoScaleInfo" "" "default" Would that work? Can I also make the demo scale something like " -0.5" for half speed reverse playback? Sorry for the noobness of the question, I haven't done this a lot. If you simply mean the -1 and -0.1 binds, then yes I've got those bound but I haven't been able to reverse playback using those...maybe I'm just not hitting -1 enough. Oh, and BTW thanks for all the help you've been. Both to myself and the rest of the community, I appreciate it. /end arse kissing ![]()
__________________
Drunk And Disorderly Member.......And proud of it! Please join us in the fun on any of our FOUR ranked ETQW servers! Drunk and Disorderly RANKED North #1 and #2 Drunk and Disorderly RANKED South And NOW PRESENTING: Drunk and Disorderly Ranked WEST Last edited by Ragenowski : 08-13-2007 at 09:55 PM. |
|
|
|
|
|
|
#24 | |
|
Lance Corporal
![]() Join Date: Jun 2007
|
Quote:
|
|
|
|
|
|
|
#25 | |
|
Group Captain
![]() |
Quote:
That bites, guess I'll just have to continue to do it the hard way. Thanks for the info though.
__________________
Drunk And Disorderly Member.......And proud of it! Please join us in the fun on any of our FOUR ranked ETQW servers! Drunk and Disorderly RANKED North #1 and #2 Drunk and Disorderly RANKED South And NOW PRESENTING: Drunk and Disorderly Ranked WEST |
|
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT. The time now is 05:02 AM.























