DayNightMessage

Moved

Total Downloads: 282 - First Release: Jan 23, 2018 - Last Update: Jan 25, 2018

0/5, 0 likes
  1. Mordeus submitted a new resource:

    Day/Night Message - Broadcasts a custom message at dawn and/or dusk

    Read more about this resource...
     
  2. Wulf

    Wulf Community Admin

    Just a suggestion to improve on this: the broadcast could be localized by looping through connected players.
     
  3. Took me a minute to realize what I had done, by broadcasting it it is not localized, works fine, but broadcasts in the servers selected language, and not in the players language like it would be if I looped through all connected players and sent them individual messages.
    I am assuming this is only if there were proper lang files in place for each language? Or are the lang files just for the servers selected language(global)?
     
  4. Wulf

    Wulf Community Admin

    Localization is per user. If a server only has one language, then only that language is used. If a server is forcing another language, then that language is used. If a user sets their language to something other than the server, then they will see those messages if available in that language instead of the rest of the server.
     
  5. Got it, thanks Wulf!
     
  6. Mordeus updated Day/Night Message with a new update entry:

    1.0.1

     
  7. Is this literally just for messages? Or does it control the day/night cycle as well?
     
  8. Wulf

    Wulf Community Admin

    Just messages.
     
  9. is there one that controls day/night cycle rate of transition?
     
  10. Anybody know the day and night times for Reign of Kings?
     
  11. The default time should be pretty close, i use that on my ROK server, try that and then adjust a little one way or another to your liking.
    [DOUBLEPOST=1520261341][/DOUBLEPOST]here is the actual times though from the assembly:

    Code:
     public float HourOfSunriseStart = 6f;    public float HourOfSunriseEnd = 8f;    public float HourOfDayPeak = 13f;    public float HourOfSunsetStart = 20f;    public float HourOfSunsetEnd = 22f;
    Dont add the f :)
    Example if you put it right in the middle of start and end times:
    Code:
      "Dawn Time": 7.0,
      "Dusk Time": 21.0,
    
     
    Last edited by a moderator: Mar 5, 2018