After I copied the Storm of Zehir scripts to my own campaign's folder (mostly for the death and rest scripts), the little clock/calender in the lower left corner appeared while testing my campaign. I'm wondering if there's a way to change the names of months and such on the calender, since I'm not making a Forgotten Realms module. Is there a 2da or something I could edit to create the names I want to display?
Renaming months/years for the in-game calendar
Débuté par
jackkel dragon
, nov. 12 2011 11:33
#1
Posté 12 novembre 2011 - 11:33
#2
Posté 13 novembre 2011 - 02:49
There isn't a 2da. The years and months are handled in the ginc_time.nss include file function GetFRYearName and GetFRMonthName. The years it includes are 1372 to 1380. You should be able to modify the GetFRYearName function to return whatever year names you want, and modify GetFRMonthName to return whatever month names you want. You will need to recompile the scripts that use ginc_time (usually the module heartbeat script k_mod_hb is used to display the clock, so recompiling that may be enough).
Regards
Regards
Modifié par Kaldor Silverwand, 13 novembre 2011 - 02:52 .
#3
Posté 13 novembre 2011 - 02:56
Wow, that sounds much easier than I was expecting. I'll try it out and report on how it works.
#4
Posté 13 novembre 2011 - 03:06
jackkel dragon wrote...
Wow, that sounds much easier than I was expecting. I'll try it out and report on how it works.
Please do. I'll be needing to add some years for a campaign I am working on as well.
Regards
#5
Posté 13 novembre 2011 - 03:42
Editing the "ginc_time" script indeed changes the names of months and years. I ended up just using string literals to set the names, but I'd bet a custom TLK could work with some effort. The other scripts that need to be recompiled are the "k_mod_hb" and "k_mod_pc_loaded". (Technically you could get away with just the heartbeat script, but then the default dates might show up for the first few seconds.)
The things that can be edited are month names, season names, when each season occurs (by month), day names, and year names. However, only the year names and month names appear as far as I'm aware, so I think the others can be safely ignored by people who aren't using season-based scripts or custom calender GUI.
The things that can be edited are month names, season names, when each season occurs (by month), day names, and year names. However, only the year names and month names appear as far as I'm aware, so I think the others can be safely ignored by people who aren't using season-based scripts or custom calender GUI.
#6
Posté 13 novembre 2011 - 05:32
Good to know it works. Thanks for the report.
Regards
Regards
#7
Posté 18 novembre 2011 - 02:15
Hi,
I changed the year and time system for the module I am making to support my own world calendar. It works from Edward Becks custom content. Check out my blog entry that goes into more detail here...
http://worldofalthea...eping-date.html
The above link contains a screenshot and a link to Edward's hak.
Lance.
I changed the year and time system for the module I am making to support my own world calendar. It works from Edward Becks custom content. Check out my blog entry that goes into more detail here...
http://worldofalthea...eping-date.html
The above link contains a screenshot and a link to Edward's hak.
Lance.
Modifié par Lance Botelle, 18 novembre 2011 - 02:21 .





Retour en haut






