GameAmp Fansite Network Gamer Shirts, GameAmp T-Shirts
Change Game Sites   
About GameAmp, Inc GameAmp Staff Register for a free account
GameAmp Login GameAmp Password
GameAmp Homepage >
GameAmp Game MapsGameAmp Game ListLatest Video Game NewsVisit the Video Game ForumsGame Item AuctionsFind Gamer FriendsGame Screenshots
Video Games Subnav
GameAmp Information

GameAmp: Demo recoding from vote options

clear gif
Forum >> Modding >> UT Comp >> Demo recoding from vote options

 
User Message
{PhX}Ice Profile
{PhX}Ice
View Profile of {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 Profile
NakedApe
View Profile of 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!

clear gif
Don't Forget! - Rate users posts to reward or demerit their posts with Credibility!
GameAmp Footer