Scripting Reference (work in progress)
Re: Scripting Reference (work in progress)
Scripting reference updated with new stuff from beta 2.1.14
Re: Scripting Reference (work in progress)
Updated Model and Animation File Formats. Changes are very minimal.
Re: Scripting Reference (work in progress)
Thank you! Hope that means John Wordsworth can get the GMT working asap (and possibly make a tool that converts LoG 1 models into LoG 2 models without the need to reexport everything?)...my wife and my son are both gone over the weekend, so I have a lot of spare time.petri wrote:Updated Model and Animation File Formats. Changes are very minimal.

Re: Scripting Reference (work in progress)
Bouhouhouhou (( .... so sad that some assets definitions are still "secret" and/or can't be download .... like defineTile or defineSpell who's actually without founded arguments ... bouhouhou ... petri, will you let us crying without having a tear ?
At least, thanks for very quick progression of the modding page. It help us ad we know what work it is for you.


At least, thanks for very quick progression of the modding page. It help us ad we know what work it is for you.

Re: Scripting Reference (work in progress)
Unless I forgot something, LoG1 models should work as is?Phitt wrote:Thank you! Hope that means John Wordsworth can get the GMT working asap (and possibly make a tool that converts LoG 1 models into LoG 2 models without the need to reexport everything?)...my wife and my son are both gone over the weekend, so I have a lot of spare time.
Re: Scripting Reference (work in progress)
I tried to use some LoG 1 models and their normal maps / tangent space was completely messed up. The lighting on the models was completely wrong, it was dark were it should have been bright and it looked generally very messy. No idea if that is a problem with the way user-made models were exported for LoG 1. Other than that it worked fine, I thought some small things had changed that needed updating and that's why it happened.petri wrote: Unless I forgot something, LoG1 models should work as is?
- JohnWordsworth
- Posts: 1397
- Joined: Fri Sep 14, 2012 4:19 pm
- Location: Devon, United Kingdom
- Contact:
Re: Scripting Reference (work in progress)
Ahhh, excellent to see the updated animation format online! I'm getting distracted by all of the shiny scripting reference features, but I hope to have a first draft of the GMT2 ready in the next couple weeks. To be honest, the thing that's taking the longest on the GMT2 is all of the GUI... The boring bit!
My Grimrock Projects Page with links to the Grimrock Model Toolkit, GrimFBX, Atlas Toolkit, QuickBar, NoteBook and the Oriental Weapons Pack.
Re: Scripting Reference (work in progress)
Oh, I think tangent vectors were not compressed in LoG1. I guess I have to do some diffing to find what exactly has changed (I don't seem to remember exactly anymore).
EDIT: scrap that, I checked the code and I could not find any difference with the model file formats. Tangents are compressed on the fly when loading the model, so it can't be that.
EDIT: scrap that, I checked the code and I could not find any difference with the model file formats. Tangents are compressed on the fly when loading the model, so it can't be that.
Re: Scripting Reference (work in progress)
That's strange, here is an example:
http://cloud-4.steampowered.com/ugc/548 ... 3CE27D7DD/
As you can see large parts of the models have weird lighting. I used the exact material definitions from Grimrock 1, I guess nothing changed there?
http://cloud-4.steampowered.com/ugc/548 ... 3CE27D7DD/
As you can see large parts of the models have weird lighting. I used the exact material definitions from Grimrock 1, I guess nothing changed there?