Can i change player view in demos?

O

old.mhtsaras

Guest
I have installed osp 1.01 and i downloaded some dm_48 demos .
So can i change player view and how? This can be done with dm_48, dm_66, or dm_67 demos?
Thanx in advance.
 
S

Sar

Guest
Change views from person to person say in CTF demos and such?

Simple answer is you can't :)
 
O

old.charliealpha

Guest
You can in demo play back mode. copy and paste this lot into a sperate config and exec from console during playback. All the keys are bound to the function keys as they dont take you back to the menu when you press them:


//avi.cfg

set r_mode 4
set cg_drawgun 0 //unless you want the gun there?
set cg_draw 2d 0 //this removes everything 2d
set cg_notextchat 1
set con_notifytime 0



//avidemo = F1 Starts and stops avi generation during demo playback
bind F1 "vstr avidemo"
set avidemo "vstr action"
set action "cl_avidemo 24; set avidemo vstr cutt"
set cutt "cl_avidemo 0; set avidemo vstr action"

//GORE TOGGLE
set gore1 "com_blood 1;cg_gibs 1;cg_marks 1;echo ^1Blood ^1& ^1Guts ^1On;set gore vstr gore2"
set gore2 "com_blood 0;cg_gibs 0;cg_marks 0;echo ^1Blood ^1& ^1Guts ^1Off;set gore vstr gore1"
set gore vstr gore1
bind F2 "vstr gore"

//GAMMA TOGGLE
set gamma1 "seta r_gamma .1;set gammaup vstr gamma2;echo Gamma @ .1"
set gamma2 "seta r_gamma .2;set gammaup vstr gamma3;set gammadown vstr gamma1;echo Gamma @ .2"
set gamma3 "seta r_gamma .3;set gammaup vstr gamma4;set gammadown vstr gamma2;echo Gamma @ .3"
set gamma4 "seta r_gamma .4;set gammaup vstr gamma5;set gammadown vstr gamma3;echo Gamma @ .4"
set gamma5 "seta r_gamma .5;set gammaup vstr gamma6;set gammadown vstr gamma4;echo Gamma @ .5"
set gamma6 "seta r_gamma .6;set gammaup vstr gamma7;set gammadown vstr gamma5;echo Gamma @ .6"
set gamma7 "seta r_gamma .7;set gammaup vstr gamma8;set gammadown vstr gamma6;echo Gamma @ .7"
set gamma8 "seta r_gamma .8;set gammaup vstr gamma9;set gammadown vstr gamma7;echo Gamma @ .8"
set gamma9 "seta r_gamma .9;set gammaup vstr gamma10;set gammadown vstr gamma8;echo Gamma @ .9"
set gamma10 "seta r_gamma 1.0;set gammaup vstr gamma11;set gammadown vstr gamma9;echo Gamma @ 1.0"
set gamma11 "seta r_gamma 1.1;set gammaup vstr gamma12;set gammadown vstr gamma10;echo Gamma @ 1.1"
set gamma12 "seta r_gamma 1.2;set gammaup vstr gamma13;set gammadown vstr gamma11;echo Gamma @ 1.2"
set gamma13 "seta r_gamma 1.3;set gammaup vstr gamma14;set gammadown vstr gamma12;echo Gamma @ 1.3"
set gamma14 "seta r_gamma 1.4;set gammaup vstr gamma15;set gammadown vstr gamma13;echo Gamma @ 1.4"
set gamma15 "seta r_gamma 1.5;set gammaup vstr gamma16;set gammadown vstr gamma14;echo Gamma @ 1.5"
set gamma16 "seta r_gamma 1.6;set gammaup vstr gamma17;set gammadown vstr gamma15;echo Gamma @ 1.6"
set gamma17 "seta r_gamma 1.7;set gammaup vstr gamma18;set gammadown vstr gamma16;echo Gamma @ 1.7"
set gamma18 "seta r_gamma 1.8;set gammaup vstr gamma19;set gammadown vstr gamma17;echo Gamma @ 1.8"
set gamma19 "seta r_gamma 1.9;set gammaup vstr gamma20;set gammadown vstr gamma18;echo Gamma @ 1.9"
set gamma20 "seta r_gamma 2.0;set gammadown vstr gamma19;echo Gamma @ 2.0"
set gammaup vstr gamma10
set gammadown vstr gamma9
bind F3 vstr gammadown
bind F4 vstr gammaup

//Set game speed
bind f5 "vstr normal"

set normal "cl_freezedemo 0; timescale 1; echo Normal Speed"

//Pause the game as best as possible
bind f6 "vstr pause"
set pause "cl_freezedemo 1; timescale 0.01; echo Demo Paused" // Try to stop the demo as much as possible.. it will continue to play in the background ever so slowly...


//Thirdperson stuff
bind f8 "vstr toggle3rdperson"

set toggle3rdperson "vstr 3rdperson"
set 3rdperson "cg_thirdperson 1; set toggle3rdperson vstr un3rdperson; echo Third Person View"
set un3rdperson "cg_thirdperson 0; set toggle3rdperson vstr 3rdperson; echo In-eyes View"

//Rotating the camera
bind f9 "vstr panleft; echo Panning Left"
bind f10 "vstr panright; echo Panning Right"

set panleft "vstr ang350"
set panright "vstr ang10"
set ang0 "cg_thirdpersonangle 0; set panleft vstr ang350; set panright vstr ang10"
set ang10 "cg_thirdpersonangle 10; set panleft vstr ang0; set panright vstr ang20"
set ang20 "cg_thirdpersonangle 20; set panleft vstr ang10; set panright vstr ang30"
set ang30 "cg_thirdpersonangle 30; set panleft vstr ang20; set panright vstr ang40"
set ang40 "cg_thirdpersonangle 40; set panleft vstr ang30; set panright vstr ang50"
set ang50 "cg_thirdpersonangle 50; set panleft vstr ang40; set panright vstr ang60"
set ang60 "cg_thirdpersonangle 60; set panleft vstr ang50; set panright vstr ang70"
set ang70 "cg_thirdpersonangle 70; set panleft vstr ang60; set panright vstr ang80"
set ang80 "cg_thirdpersonangle 80; set panleft vstr ang70; set panright vstr ang90"
set ang90 "cg_thirdpersonangle 90; set panleft vstr ang80; set panright vstr ang100"
set ang100 "cg_thirdpersonangle 100; set panleft vstr ang90; set panright vstr ang110"
set ang110 "cg_thirdpersonangle 110; set panleft vstr ang100; set panright vstr ang120"
set ang120 "cg_thirdpersonangle 120; set panleft vstr ang110; set panright vstr ang130"
set ang130 "cg_thirdpersonangle 130; set panleft vstr ang120; set panright vstr ang140"
set ang140 "cg_thirdpersonangle 140; set panleft vstr ang130; set panright vstr ang150"
set ang150 "cg_thirdpersonangle 150; set panleft vstr ang140; set panright vstr ang160"
set ang160 "cg_thirdpersonangle 160; set panleft vstr ang150; set panright vstr ang170"
set ang170 "cg_thirdpersonangle 170; set panleft vstr ang160; set panright vstr ang180"
set ang180 "cg_thirdpersonangle 180; set panleft vstr ang170; set panright vstr ang190"
set ang190 "cg_thirdpersonangle 190; set panleft vstr ang180; set panright vstr ang200"
set ang200 "cg_thirdpersonangle 200; set panleft vstr ang190; set panright vstr ang210"
set ang210 "cg_thirdpersonangle 210; set panleft vstr ang200; set panright vstr ang220"
set ang220 "cg_thirdpersonangle 220; set panleft vstr ang210; set panright vstr ang230"
set ang230 "cg_thirdpersonangle 230; set panleft vstr ang220; set panright vstr ang240"
set ang240 "cg_thirdpersonangle 240; set panleft vstr ang230; set panright vstr ang250"
set ang250 "cg_thirdpersonangle 250; set panleft vstr ang240; set panright vstr ang260"
set ang260 "cg_thirdpersonangle 260; set panleft vstr ang250; set panright vstr ang270"
set ang270 "cg_thirdpersonangle 270; set panleft vstr ang260; set panright vstr ang280"
set ang280 "cg_thirdpersonangle 280; set panleft vstr ang270; set panright vstr ang290"
set ang290 "cg_thirdpersonangle 290; set panleft vstr ang280; set panright vstr ang300"
set ang300 "cg_thirdpersonangle 300; set panleft vstr ang290; set panright vstr ang310"
set ang310 "cg_thirdpersonangle 310; set panleft vstr ang300; set panright vstr ang320"
set ang320 "cg_thirdpersonangle 320; set panleft vstr ang310; set panright vstr ang330"
set ang330 "cg_thirdpersonangle 330; set panleft vstr ang320; set panright vstr ang340"
set ang340 "cg_thirdpersonangle 340; set panleft vstr ang330; set panright vstr ang350"
set ang350 "cg_thirdpersonangle 350; set panleft vstr ang340; set panright vstr ang0"


//eof
//Zooming in and out in 3rd person
bind f11 "vstr getcloser"
bind f12 "vstr getfurther"

set getcloser "vstr view30"
set getfurther "vstr view60"
set view30 "cg_thirdpersonrange 30; set getcloser echo ^3Minimum range; set getfurther vstr view40"
set view40 "cg_thirdpersonrange 40; set getcloser vstr view30; set getfurther vstr view60"
set view60 "cg_thirdpersonrange 60; set getcloser vstr view40; set getfurther vstr view85"
set view85 "cg_thirdpersonrange 85; set getcloser vstr view60; set getfurther vstr view110"
set view110 "cg_thirdpersonrange 110; set getcloser vstr view85; set getfurther vstr view150"
set view150 "cg_thirdpersonrange 150; set getcloser vstr view110; set getfurther vstr view200"
set view200 "cg_thirdpersonrange 200; set getcloser vstr view150; set getfurther vstr view250"
set view250 "cg_thirdpersonrange 250; set getcloser vstr view200; set getfurther vstr view300"
set view300 "cg_thirdpersonrange 300; set getcloser vstr view250; set getfurther vstr view350"
set view350 "cg_thirdpersonrange 350; set getcloser vstr view300; set getfurther vstr view400"
set view400 "cg_thirdpersonrange 400; set getcloser vstr view350; set getfurther vstr view450"
set view450 "cg_thirdpersonrange 450; set getcloser vstr view400; set getfurther vstr view500"
set view500 "cg_thirdpersonrange 500; set getcloser vstr view450; set getfurther echo ^3Maximum range"
 
S

Sar

Guest
I thought he meant from player A to player B, then to player C etc :D
 
O

old.Kez

Guest
Y'know, someone really ought to have churned out a re-cam program by now.
 
S

Sar

Guest
Don't think it's technically possible with Q3 demos.
 
R

raw.

Guest
heh i figured out in cs the other day you can rotate views as much as you want with hltv demos.... after sitting facing a wall for 10 mins :D

Didnt think it possible because of playing q3 for years..

As Sar said, no you cant, no i dont think it will ever be possible with q3.
 
O

old.Kez

Guest
I fail to see why, the principles are the same. I want a coders perspective.
 
C

Chameleon

Guest
A demo can be recorded by the server, i.e. a server demo ..... which records ALL the action and would allow you to watch and switch between all perspectives, but a client demo can only be viewed from the perspective of the client. Obvioulsy server demos would not be possible on publics. You could do it if you ran your own server, but obviously it would greatly increase the servers cpu useage.
I highly recommend DemoShowCreator for demo playbacks.
 
O

old.mhtsaras

Guest
I was talking about the Euro CTF demos which are available on barrys ftp.Which most of those that i have seen where recorded from a spectator.Is there a chance any of them to be a "server demo"?
Thanx for the replies guys.
 
S

Sar

Guest
They're not. They are demos recorded by the admin on the server at the time, and as such cannot be switched between players POV.
 

Users who are viewing this thread

Top Bottom