ETMods.net

N!tmod, a Wolfenstein: Enemy Territory Modification!

You are not logged in.

Announcement

You can donate to help us keeping services online.

#1 23-Feb-15 19:49:09

Exagone313
BETA Tester
Registered: 23-Feb-15
Posts: 46

[OK] How to edit time limit for a specific map

Hello,

What is the cvar I can put in a "mapname.cfg" file (by seeing g_mapConfigs cvar) to edit the time limit for a map?

Thanks for your help.

Last edited by Exagone313 (24-Feb-15 01:06:10)

Offline

#2 23-Feb-15 20:45:37

N!trox*
Administrator
Registered: 30-Mar-10
Posts: 1,092

Re: [OK] How to edit time limit for a specific map

You can define custom timelimit with the g_userTimeLimit cvar.
Sorry, it wasn't listed in the CVAR Reference, i've updated it.


iluvnitmod.png

Offline

#3 23-Feb-15 23:43:10

Exagone313
BETA Tester
Registered: 23-Feb-15
Posts: 46

Re: [OK] How to edit time limit for a specific map

Thanks but it does not work.
I added this in nitmod/purefrag.cfg:
g_userTimeLimit 20
(or)
set g_userTimeLimit "20"
(I think this value is in minutes, as the value inside the arena file.)

Offline

#4 24-Feb-15 01:05:26

Exagone313
BETA Tester
Registered: 23-Feb-15
Posts: 46

Re: [OK] How to edit time limit for a specific map

Ok it works, but you have to set a directory in g_mapConfigs to enable this functionality.

Thanks.

Offline

#5 24-Feb-15 02:29:25

jay1110
BETA Tester
Registered: 01-Sep-12
Posts: 215
Website

Re: [OK] How to edit time limit for a specific map

is it not just

set timelimit [value]

Offline

#6 24-Feb-15 04:15:49

N!trox*
Administrator
Registered: 30-Mar-10
Posts: 1,092

Re: [OK] How to edit time limit for a specific map

The proper way is to use g_userTimeLimit in mapconfigs or in map blocks inside the g_customConfig.
"timelimit" is then automatically set to the custom value.


iluvnitmod.png

Offline

Board footer

Powered by FluxBB