Scripts

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Postby Waterlaz » Wed May 06, 2009 3:31 pm

Is there a possibility to add such features in the next version of Nexuiz?
Waterlaz
Member
 
Posts: 40
Joined: Sun Feb 22, 2009 11:10 am

Postby parasti » Wed May 06, 2009 11:46 pm

You could set the "log_file" variable, have an external program monitor the file while updating a cfg file with a bunch of variables upon seeing certain strings, continuously (with "defer") exec the cfg file from within Nexuiz and use the variables in your aliases/binds. It'll work (I've tested it with a crude shell script), but the console will be spammed with "execing xyz.cfg" and there will be noticeable delay between events and variable values. And it's so convoluted that it's funny; I certainly hope there's a better way to achieve the same thing.
parasti
Alien
 
Posts: 110
Joined: Sun May 11, 2008 11:32 pm
Location: On the walls and the ceiling

Postby Waterlaz » Thu May 07, 2009 12:52 am

Heh... I've thought about that. But won't this be considered cheating in some way?
I personaly think it's ok. But somebody might not like it.
Waterlaz
Member
 
Posts: 40
Joined: Sun Feb 22, 2009 11:10 am

Previous

Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron