Clans, CW?

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Postby esteel » Wed Mar 01, 2006 10:19 pm

k0jak wrote:I recorded that 3x mortar on beufa from 1.2.1...is very nice!
thats the standard im looking for esteel just so you know

Now you really make this very hard.. guess this was my best-looking-unbelivible-much-luck-having-impossible-to-repeat-really-freaking frag so far :lol:
Damn i really need some more time to spare and watch demos :)
Last edited by esteel on Thu Aug 31, 2006 2:24 pm, edited 1 time in total.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby pol pot » Thu Mar 02, 2006 5:37 am

esteel wrote:Hmm i record about every game i play because i use a little batch file that automaticly starts to record (with current data/time in the filename) but only very few of them are 1on1.. mostly ffa, some tdm..

Just in case you like autorecord, place those files in the main Nexuiz directory.. They will create demos in Nexuiz/data/demos and the files are named like YOURNAME-2006-02-01-10-11-58.dem
autorec.bat (I'm not sure this will work on every system.. it does work for me. This is just ugly stuff on windows.. the linux script is much simpler):
Code: Select all
@echo off

setlocal
set cur_date=%date%
set cur_time=%time%
for /f usebackq %%t in (`time /t`) do set cur_time2=%%t

set cur_year=%cur_date:~6,4%
set cur_month=%cur_date:~3,2%
set cur_day=%cur_date:~0,2%
set cur_hour=%cur_time2:~0,2%
set cur_minute=%cur_time:~3,2%
set cur_second=%cur_time:~6,2%

set demo_name=YOURNAME-%cur_year%-%cur_month%-%cur_day%-%cur_hour%-%cur_minute%-%cur_second%

%~d0
cd "%~p0"
.\nexuiz.exe %* +rec %demo_name%

autorec.sh
Code: Select all
#!/bin/sh

demo_name="YOURNAME-`date +%Y-%m-%d-%H-%M-%S`"

cd "`dirname ${0}`"
./nexuiz-linux.sh "${@}" +rec "${demo_name}"


What should the first script be named? And, will it start recording automatically?
pol pot
Alien
 
Posts: 100
Joined: Tue Feb 28, 2006 9:33 pm

Postby esteel » Thu Mar 02, 2006 8:00 am

pol pot wrote:
esteel wrote:Hmm i record about every game i play because i use a little batch file that automaticly starts to record
autorec.bat (I'm not sure this will work on every system.. it does work for me. This is just ugly stuff on windows.. the linux script is much simpler):

What should the first script be named? And, will it start recording automatically?

I tried to make to name standout more in the quote.. sorry i'll edit the other post to make it clearer. But it does not really matter what names the files have. But on windows it does have to have the .bat extension..
The two scripts do the same thing, tell nexuiz to record a demo with a given name. This recording will begin as soon as you connect to a server or begin a own game. This is however a 'one-time' thing. You have to rerun the script to make it record again once the recording has stopped (disconnect).
The first is a batch file for windows, the seconds a shellscript for linux and i guess mac. As you see this is MUCH easier with a real operation system :)
Last edited by esteel on Thu Aug 31, 2006 2:25 pm, edited 1 time in total.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby tChr » Thu Mar 02, 2006 10:17 am

hmm since all my data is on the file server i have some... lemme checll.. 210GB free on my worstation.. maybe i should start recording too, so that you have frags from the victims point of voew too :)
the spice extend life!
the spice expand conciousness!
the spice is vital to space travel!
sooooo.. tell me what you want, waht you really-really want
I will proceed directly to the intravenous injection of hard drugs, please.
tChr
Forum addon
 
Posts: 1501
Joined: Tue Feb 28, 2006 9:11 pm
Location: Trondheim, Norway

Postby GreEn`mArine » Thu Mar 02, 2006 2:14 pm

I'm actually not interested in auto-starting a demo-rec, but in an alias that records the demo (manually) but also has this "name-date".dem format .. how should the alias look like ? I'd just like to enter e.g "daterec" and the demo should start...
IRC quote:
[kojn] I've been coming a bit more recently
[kojn] she took it the dirty way
GreEn`mArine
Forum addon
 
Posts: 1509
Joined: Tue Feb 28, 2006 9:33 pm
Location: Germany

Postby pol pot » Thu Mar 02, 2006 2:47 pm

esteel wrote:
pol pot wrote:
esteel wrote:Hmm i record about every game i play because i use a little batch file that automaticly starts to record
autorec.bat (I'm not sure this will work on every system.. it does work for me. This is just ugly stuff on windows.. the linux script is much simpler):

What should the first script be named? And, will it start recording automatically?

I tried to make to name standout more in the quote.. sorry i'll edit the other post to make it clearer. But it does not really matter what names the files have. But on windows it does have to have the .bat extension..
The two scripts do the same thing, tell nexuiz to record a demo with a given name. This recording will begin as soon as you connect to a server or begin a own game. This is however a 'one-time' thing. You have to rerun the script to make it record again once the recording has stopped (disconnect).
The first is a batch file for windows, the seconds a shellscript for linux and i guess mac. As you see this is MUCH easier with a real operation system :)


Now I get it...I only need the second one then.

edit: but how do I re-run it? (sorry I'm a noob in everything nexuiz-related except playing it)
pol pot
Alien
 
Posts: 100
Joined: Tue Feb 28, 2006 9:33 pm

Postby esteel » Thu Mar 02, 2006 8:59 pm

GreEn`mArine wrote:I'm actually not interested in auto-starting a demo-rec, but in an alias that records the demo (manually)

I do not think this is currently possible with aliases in nexuiz itself.. but you are right this would be nice. Also my method will create such a demo file (3 byte in size) even if you do not start a game :)
pol pot wrote:edit: but how do I re-run it? (sorry I'm a noob in everything nexuiz-related except playing it)

Well what i meant was that you need to exit nexuiz and start the script again..
Last edited by esteel on Thu Aug 31, 2006 2:27 pm, edited 1 time in total.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby esteel » Tue May 30, 2006 3:58 pm

GreEn`mArine wrote:I'm actually not interested in auto-starting a demo-rec, but in an alias that records the demo (manually) but also has this "name-date".dem format .. how should the alias look like ? I'd just like to enter e.g "daterec" and the demo should start...

The next version of Nexuiz will have such a thing..
cl_autodemo_nameformat "demos/GREENMARY-%Y-%m-%d-%H-%M-%S"
this line controls the demo name. The escape characters should be the same as for the unix program 'date'. See here: http://unixhelp.ed.ac.uk/CGI/man-cgi?date

cl_autodemo 1
to enable autorecord or "0" to disable it. The recording should start when connecting to a server afterwards.

Currently the engine will also append the map name of the first map played too. (however i dislike this mis-feature)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Previous

Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron