How to adjust TDM limit [solved]
Posted: Sun Mar 01, 2015 12:47 pm
Hi,
i just wanted to know how to adjust the TDM limit. At the moment it's somthing about 180. I want it to be something about 50.
It wouldn't be a problem for me to hardcode it. But i want to be still able to adjust the limit with the games settings. Can someone tell me how to do it??
I changed the victory condition to this:
It works, but it shows the wrong limit. So i wanted to do something like that too, but it won't work, because the function does not get the limit, but an 2.
i just wanted to know how to adjust the TDM limit. At the moment it's somthing about 180. I want it to be something about 50.
It wouldn't be a problem for me to hardcode it. But i want to be still able to adjust the limit with the games settings. Can someone tell me how to do it??
I changed the victory condition to this:
Code: Select all
local scorelimit = ScriptCB_GetHuntScoreLimit()
if ( self.isCelebrityDeathmatch ) then
scorelimit = ScriptCB_GetAssaultScoreLimit() - 130
elseif ( self.isUberMode ) then
scorelimit = ScriptCB_GetUberScoreLimit()
end
Hidden/Spoiler: