Thread: New to FG, a couple of questions
-
October 8th, 2018, 19:16 #11
- Join Date
- Sep 2018
- Posts
- 17
-
October 8th, 2018, 20:05 #12
The ruleset is packaged in a compressed format, with the .pak extension - 3.5E.pak in this case. This is essentially a ZIPped file with the extension changed from .zip to .pak.
Information in the developer Wiki here: https://www.fantasygrounds.com/wiki/...rview#Rulesets
Also, as a starting point, read in info in Chapter 1 here: https://www.fantasygrounds.com/wiki/...eveloper_GuidePrivate Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
October 8th, 2018, 20:16 #13
- Join Date
- Sep 2018
- Posts
- 17
Well that was fairly straight forward, Large creatures now importing properly! Yay.
On a side note, I think I found a bug, or at least something that was left out of the code.. The size racial trait automatically calculates the Stealth (or hide), but thats not the only skill that is altered based on size. the FLY skill also receives a bonus/penalty based on size.. I think its twice the penalty/bonus as stealth receives. Not yet quite familiar with .lua, so I'm not sure how to fix that, but I dont imagine it would be all that hard. It is also a core element, found in the Pathfinder Core or PFSRD, and is also OGL. Granted, it doesnt appear you are handling any sort of fly mechanics including fly speed or maneuverability so may be this is not included for that reasons. Just thought I'd point it out.
I'm gonna have fun with this... I always did enjoy trying program in a new language using the copypasta method.. and failing miserably. [not sarcasm]
Cant wait to see what else I can make work. Thank you for pointing me in the right direction.
-
October 8th, 2018, 20:40 #14
Glad you got into it and got it working.
One word of warning - if you are modifying 3.5E.pak directly, make sure you take backups - as this will get overwritten then next time you run an update. Therefore, the recommended step is to write an extension to just change the "stuff" you want and to run on top of the base ruleset.Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
October 8th, 2018, 23:44 #15
- Join Date
- Sep 2018
- Posts
- 17
Hrm.. I've followed the tutorial to create the extension, it shows up and loads without errors but, when it runs with the same code I used to get it to work in by editing the manger_char.lua inside the 35e.pak... It doesnt work. Not sure what I did wrong.
-
October 8th, 2018, 23:47 #16
Share the extension and hopefully someone can have a look at it with you.
-
October 9th, 2018, 00:28 #17
- Join Date
- Sep 2018
- Posts
- 17
Okay, here it is.. via dropbox https://www.dropbox.com/s/qv33ky53x2...ofill.ext?dl=0.
-
October 9th, 2018, 04:30 #18
The easiest way is to actually replace that whole file:
<script name="CharManager" file="campaign/scripts/manager_char.lua" />
At the moment the way you have included the script it doesnt know where to use it.
There is probably a way to just rewrite the one function and include it but Trenloe might have to guide you on that...
-
October 9th, 2018, 05:12 #19
Archangel
- Join Date
- Apr 2008
- Location
- Virginia Beach
- Posts
- 3,096
Toby, for our sanity and efficiency, it is better if you paste the code into a code box here on the forum instead of forcing us to go unpack an extension. I suspect I know how to do what you want, but I need to hit the rack tonight.
-
October 9th, 2018, 07:17 #20
I did ask him to share the extension.
The way it is put together etc is sometimes the issue.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks