Installer Steam
Logg inn
|
språk
简体中文 (forenklet kinesisk)
繁體中文 (tradisjonell kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tsjekkisk)
Dansk (dansk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spania)
Español – Latinoamérica (spansk – Latin-Amerika)
Ελληνικά (gresk)
Français (fransk)
Italiano (italiensk)
Bahasa Indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (nederlandsk)
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasil)
Română (rumensk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (vietnamesisk)
Українська (ukrainsk)
Rapporter et problem med oversettelse
You can modify that script, but you will have to be careful to make sure it gets updated if/when the CoreRPG file gets updated in future so that you are keeping compatibility.
The best way to do this is to write an extension so that just the files you modify are used (and you can enable/disable the modification on a campaign by campaign basis) and the only update the extension if manage_calendar.lua changes in future releases of the CoreRPG ruleset.
You can find some example extensions here: http://www.fantasygrounds.com/forums/showthread.php?20320-FG-3-0-CoreRPG-Extensions
I am getting this error when calling strlen().
Script Error: [string "scripts/manager_calendar.lua"]:304: attempt to call global 'strlen' (a nil value)
Here is my syntax at line 304.
local nDayLen = strlen("TestString");
I am positive it is not a nil value. Is there a chance that it is saying strlen is a nil value? If so, is there a preferred method to get the length of a string?
So, you need to use string.len("TestString");
http://www.lua.org/manual/5.1/manual.html#pdf-string.len
Thanks for the scripting link. I had just the refdoc and main wiki links before.
Here is a sample of the long date.
The date is the 12th day past the High Sun in the year of Desert’s Reverence in the 194th King’s Age.
The short date shows as.
The 12th after High Sun
I am using the year for a value between 1 and 77 to get the name of the year in the King's Age and using the Epoch to represent the current King's Age.
I just need to pretty up the periods to make it look good.
I think I get how to make my custom files and have them call the functions in the CoreRPG that I believe loads by default even if you load another ruleset.
Hope you are enjoying some of the cool features.
I am using the 3.5 ruleset and I verified it does include CoreRPG.
Well, I am using the demo right now. Since I can't save, I am just learning how to mod it for my campaign. I plan on getting the Ultimate licence when they get that on Steam. I have watched a bunch of videos on it already.