
{PhX}Ice
Posts: 0
Joined: 10/13/2006
Credibility: 0 pts
|
| Demo recoding from vote options |
|
|
|
I've been trying to make utcomp record demo's on certain vote config options.
As in: ?MutUTComp.bEnableAutoDemoRec=True
Or: ?utcompv16a.MutUTComp.bEnableAutoDemoRec=True
However, I suspect that the following code:
function AutoDemoRecord()
{
if(class'UTCompvSrc.MutUTComp'.default.bEnableAutoDemorec)
{
ConsoleCommand("Demorec"@CreateAutoDemoRecName());
bAutoDemoStarted=True;
}
}
both in MutUTComp.uc and UTComp_Warmup.uc prevent things from working. My (limited) reading of uscript implies that MutUTComp.default.bEnableAutoDemorec is different from MutUTComp.bEnableAutoDemorec, and that I cannot change the .default value from the command line.
Or, I'm just a noob and have the wrong syntax.
|
| 10/13/06 15:29 |
Login to rate this user's post! |

NakedApe
Posts: 0
Joined: 07/01/2004
Credibility: 0 pts
|
| RE: Demo recoding from vote options |
|
|
|
| QUOTE | I've been trying to make utcomp record demo's on certain vote config options.
...
My (limited) reading of uscript implies that MutUTComp.default.bEnableAutoDemorec is different from MutUTComp.bEnableAutoDemorec, and that I cannot change the .default value from the command line.
Or, I'm just a noob and have the wrong syntax. |
When you specify an URI parameter you should not qualify it with the class or package name so it should be "?bEnableAutoDemoRec=True". However, for UTComp to pick up the new value it must explicitly scan the URI for that parameter and it doesn't (as of 1.6a and released code). I don't know if work is still continuing to release a new version but if it is, it should be rather trivial to add that code. Bar that, the options you have is recompiling it yourself or finding a mutator who can juggle the ini file sections via voting (UT2Vote might be able to but I don't know for sure).
|
| 10/22/06 11:14 |
Login to rate this user's post! |