-
September 7th, 2020, 20:35 #41
- Join Date
- May 2016
- Posts
- 5
Apologies, I'm not good at any of this modding stuff for FGC/FGU
I wanted to create a simple calendar with 8 35 day months. Each week is 7 days, so every month starts on the same day.
The part that throws a wrench is I'd like to track 3 Lunar moons and their phases separately and have the Full/New Moons displayed on Calendar dates. Has anyone done something like this with the Calendars in FGU?
Months
Thunsheer
Undilar
Brussendar
Sydenstar
Fessuran
Quen'pillar
Duscar
Malsuthar
Days of Week
Miressen
Grissen
Whelsen
Conthsen
Folsen
Yulisen
Da'Leysen
Lunar Objects - I only want to show the New/Full phases with the Calendar (gets too busy otherwise).
Vograit - 16 day cycle
Raazlun - 28 days cycle
Aslian - 42 days cycle
Is this possible?
-
September 7th, 2020, 20:40 #42
The calendar is pretty straightforward. You can do it manually following this tutorial, or you can use my new method of using Donjon's Calendar utility to create the calendar, then my donjon2fg website to convert into a FG module. (Note, this process will not track the moons, just the months/weeks/days)
Donjons calendar creator utility https://donjon.bin.sh/fantasy/calendar/
My donjon2fg website https://mattekure.com/donjon2fg/
For the moons, have you checked out https://www.fantasygrounds.com/forum...cker-Extension? Its designed to track multiple moons on the calendar.For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e
-
September 7th, 2020, 22:04 #43
- Join Date
- May 2016
- Posts
- 5
@mattekure I saw it, but I wasn't sure if it was still functioning.
-
September 7th, 2020, 22:05 #44
The original author hasnt updated it in awhile, but several others have posted little fixes toward the end of the thread.
For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e
-
September 7th, 2020, 23:44 #45
- Join Date
- May 2016
- Posts
- 5
Last edited by scorpiodrush; September 7th, 2020 at 23:50.
-
September 8th, 2020, 00:06 #46
In your screenshot it shows you editing the Era, not the Year. The Era field doesnt really do anything in FG. Its like we use AD, or BC, or BCE in our years.
As for the bug you noticed, I believe thats specific to Unity. Are you using Unity? If so, please report it on that forum as I have never seen this in ClassicFor support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e
-
September 8th, 2020, 00:35 #47
- Join Date
- May 2016
- Posts
- 5
Yes Mattekure, This is in Unity.
I had hit enter so the active cursor went to era, but It was the Year I was changing. I'll go to the unity forum.
-
September 23rd, 2020, 06:54 #48
- Join Date
- Apr 2020
- Posts
- 103
Hello, hoping there are a few people that can assist me with a few issues I am having with my custom calendar.
Screenshot 2020-09-23 014926.png
First, I have this empty space between the dates and the days of the week in each month highlighted in green. Any help would be appreciated please!
Second, How can I set my starting day for the year so that the dates flow matching the existing calendar that I have been using for the last few years please?
Lastly, how can I change the way the date is shown in the top of the calendar and especially on how it is reported when you click 'Outdate Date to Chat' button please.
I've poured through a lot of examples and have not seen any code in the db.xml or *.lua fiies I have examined that would give me an example to work from so any help would be greatly appreciated please!
(^_^)
ChipDancer
-
October 5th, 2020, 09:41 #49
- Join Date
- Jan 2017
- Posts
- 31
I'm also looking for a way to start my calendar in the middle of the "week"...and to wrap each year (like our real-world calendar) such that if the last day of one year is on Eighth-day, the first day of the next year is on Ninth-day. Is there a way to handle this in FG, or do I need to start each year on the first day of the week, and calculate the number of days in a year to end the year on the last day of the week?
-
October 5th, 2020, 18:00 #50
Without an extension, all calendars will default to starting the first day of the year on the first day of the week, and the first day of each month on the first day of the week.
There are two functions detailed in the tutorial that allow you to change that default behavior. You register them as a LunarDayHandler and a MonthVarHandler.
A LunarDayHandler function is given a date (Year, Month, day) and needs to return a number representing the day of the week. So the first day of the week could be 1, second day would be 2, etc. This is the function that needs to be defined in order to get days to flow properly so that a month ending on the 3rd day of the week will be followed by a month starting on the 4th day of the week. Since all calendars start at the first day of the week, once you have the default code working for month to month rollover, you can shift the week simply by adding to the returned value.
The other function is the MonthVarHandler, which is given a date (Year and Month only), and returns a number of days difference from a standard month. This is how you implement leap years if your calendar has them. For example, in the gregorian calendar for the month of February, there would be some math that returns a 0 most of the time, but every 4 years returns a 1, representing 1 additional day added to the month of Feb.For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks