Results 1 to 6 of 6

Thread: 1 map and reset scores

  1. #1
    Junior Member ArIt's Avatar
    Join Date
    Jan 2016
    Location
    italy
    Posts
    6

    Default 1 map and reset scores

    hey all im stuck in something: i have only 1 map in rotation (tdm mod) and i would like it reset the scores after time is over and it start again the same map...actually it works only when i change to same map with menu but is not a good way

    also is there a way to show a message of the team winner like obj maps? i tried with " level.clockside = kills " but is not working

    cheers

    edit: as suggest by ryback i tried also to set fraglimit to 999 but same again, when map start again it keep previous scores
    Last edited by ArIt; August 10th, 2018 at 08:33 AM.
    {AB}<>Ardito[ITA]

  2. #2

    Default

    You have to use the DM_Manager to reset the round.

  3. #3
    Junior Member ArIt's Avatar
    Join Date
    Jan 2016
    Location
    italy
    Posts
    6

    Default

    doroundtransition seems what i need but i dont have a clue how it works ...any ideas?
    {AB}<>Ardito[ITA]

  4. #4

    Default

    Like this:



    local.reset_round = spawn DM_Manager
    local.reset_round doroundtransition


  5. #5
    Junior Member ArIt's Avatar
    Join Date
    Jan 2016
    Location
    italy
    Posts
    6

    Default

    Quote Originally Posted by DoubleKill View Post
    Like this:



    local.reset_round = spawn DM_Manager
    local.reset_round doroundtransition

    total kills and deaths still there :/
    {AB}<>Ardito[ITA]

  6. #6
    Senior Member Ancient Order's Avatar
    Join Date
    Aug 2015
    Location
    Paris, Fr.
    Posts
    256

    Default

    i used this one that resets scores even when looping on a map.

    Code:
    	local.gt = getcvar "g_gametype"
    	setcvar "g_gametype" "0"
    	leveltransition (getcvar "nextmap")
    	setcvar "g_gametype" local.gt

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •