WolfET Demo Scripts


([cvd]ChickenHawk) #1

I have to create a Demo script for an event at work (lucky me eh?). I have recorded some demos, but am having problems getting the demo script to simply run over and over and over (so I don’t have to keep coming back and restarting the demos). Here is what I have that is not working (I exec this from the cmdlist) :

set d1 “demo new.dm_83; demo new2.dm_83; map new3.dm_83;”
vstr d1

With the script as it is it just runs the last demo and exits. I want it to run through the 1, 2, 3, then 1, 2, 3, etc. until the user stops it.

Changing the “demo” string to “map” doesn’t appear to work either as the system complains “map new.dm_83.bsp not found”.

Any ideas how to fix this? :weird:

Thanks,
[cvd]ChickenHawk


(Kendle) #2

No idea, how about:-


set d1 "demo new1.dm_83; vstr d2"
set d2 "demo new2.dm_83; vstr d3"
set d3 "demo new3.dm_83; vstr d1"
vstr d1 


([cvd]ChickenHawk) #3

What that does is load one after the other after the other in an infinite loop never playing the demos.


(Fusen) #4

you could amazingly long wait commands after each lol


SILVER SURFER VAPORIZER


(damocles) #5

last resort: export all demos to avis, append to each other and play in media player.


([cvd]ChickenHawk) #6

We (at Intel) are developing a Graphics Profiling tool which outputs HW specific data (similar to FPS data that Fraps does) fullscreen and want to show that data on the screen fullscreen in realtime. So the AVI thing is out.

Putting in long waits…not sure about that one. Would be problematic since each demo is of different length - I can fix that if there is no other way, but there has to be a better scripting way of doing this.

Thanks for your input guys.


(Majin) #7

you could always go the lazy route and use a keyboard simulating program and time it so it reopens the console and types in and runs the next demo each time.


(twiFight) #8

well I looked at the code (three times :)) and I agree with the first reaction, yet I’m not sure that will loop.

I used a similar script for v21 (calling a medic) but what happens when I press the bind it calls for the medic (medic1) and sets the next vstr.
But I have to press the bind again before he execs medic2.

In essense everytime I press the bind he execs the current vstr and sets it to the next vstr for when I press it again.


([.]AKP) #9

Try using the versatile demo player SeismoVision http://www.planetquake3.net/seismovision/ which has built in demo playback lists.


(Kendle) #10

But which doesn’t support ET?


([.]AKP) #11

Not the latest version 1.02 but 1.01

This is just a bug-fix release, if you are not having any problems then there is no need for you to update. Check below if it applies to you.

added: Return to Castle Wolfenstein: Enemy Territory (.dm_82) Full Version

The latest AVA adds version 1.02

This AVA update gives Seismovision 2 the ability to play *.dm_82 (v1.00) and *.dm_83 (v1.02) demos. This update is only for Seismovision v2.22 or higher.


(Kendle) #12

Ooh, nice (must admit hadn’t checked lately). I wonder if it gets round the hard-coded playback controls in ET though? I’ll update my Seismovision tonight and give it a go.


(twiFight) #13

Yeah I’d like to see the solution too, even though I don’t need loops and never play demos.


([cvd]ChickenHawk) #14

Thanks guys! I really appreciate all your feedback on this. :rocker2: