sync master Posted November 28, 2011 Share Posted November 28, 2011 How can i activate night mode @ all town permanently? Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted November 28, 2011 Share Posted November 28, 2011 (edited) try this.... NPC Script : - script Sample -1,{ OnInit: OnPCLoginEvent: if( !isnight ) night; end; } beside.....if you are using those from above posts... you should include this also ~ Server Setting : conf/battle/misc.conf // Choose if server begin with night (yes) or day (no) night_at_start: yes Edited November 28, 2011 by Emistry 1 Quote Link to comment Share on other sites More sharing options...
0 Truly Posted November 28, 2011 Share Posted November 28, 2011 conf\battle\misc.conf Find this: // Define duration in msec of the day (default: 7200000 = 2 hours) // Set to 0 to disable day cycle (but not @day GM command). // Except 0, minimum is 60000 (1 minute) day_duration: 7200000 // Define duration in msec of the night (default: 1800000 = 30 min) // Set to 0 to disable night cycle (but not @night GM command). // Except 0, minimum is 60000 (1 minute) night_duration: 3600000 And change it to: // Define duration in msec of the day (default: 7200000 = 2 hours) // Set to 0 to disable day cycle (but not @day GM command). // Except 0, minimum is 60000 (1 minute) day_duration: 0 // Define duration in msec of the night (default: 1800000 = 30 min) // Set to 0 to disable night cycle (but not @night GM command). // Except 0, minimum is 60000 (1 minute) night_duration: 600000 This should work, if not let us know Quote Link to comment Share on other sites More sharing options...
0 sync master Posted November 28, 2011 Author Share Posted November 28, 2011 confbattlemisc.conf Find this: // Define duration in msec of the day (default: 7200000 = 2 hours) // Set to 0 to disable day cycle (but not @day GM command). // Except 0, minimum is 60000 (1 minute) day_duration: 7200000 // Define duration in msec of the night (default: 1800000 = 30 min) // Set to 0 to disable night cycle (but not @night GM command). // Except 0, minimum is 60000 (1 minute) night_duration: 3600000 And change it to: // Define duration in msec of the day (default: 7200000 = 2 hours) // Set to 0 to disable day cycle (but not @day GM command). // Except 0, minimum is 60000 (1 minute) day_duration: 0 // Define duration in msec of the night (default: 1800000 = 30 min) // Set to 0 to disable night cycle (but not @night GM command). // Except 0, minimum is 60000 (1 minute) night_duration: 600000 This should work, if not let us know it's not working. . . is there a script that trigger the night mode? Quote Link to comment Share on other sites More sharing options...
0 Truly Posted November 28, 2011 Share Posted November 28, 2011 Ah thanks Emistry, missed that line in the conf haha! Quote Link to comment Share on other sites More sharing options...
0 Noel Gallagher Posted November 28, 2011 Share Posted November 28, 2011 (edited) @Emistry How about every 6am(DAY) and 6pm(Night)? Edited November 28, 2011 by Sunny Day Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted November 28, 2011 Share Posted November 28, 2011 try this - script Sample -1,{ OnInit: if( gettime(3) < 18 ){ day; }else{ night; } end; OnClock0600: day; end; OnClock1800: night; end; } Quote Link to comment Share on other sites More sharing options...
How can i activate night mode @ all town permanently?
Link to comment
Share on other sites