[script][Crom system] "Permanent" log

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
User avatar
cromcrom
Posts: 549
Joined: Tue Sep 11, 2012 7:16 am
Location: Chateauroux in a socialist s#!$*&% formerly known as "France"

[script][Crom system] "Permanent" log

Post by cromcrom »

....
Last edited by cromcrom on Thu Nov 20, 2014 4:01 pm, edited 1 time in total.
A trip of a thousand leagues starts with a step.
User avatar
Doridion
Posts: 256
Joined: Tue Jun 10, 2014 9:23 pm

Re: [script][Crom system] "Permanent" log

Post by Doridion »

Hey cromcrom, again a nice job ^^ But just to ask, couldn't be better to call/write an external log ?
User avatar
cromcrom
Posts: 549
Joined: Tue Sep 11, 2012 7:16 am
Location: Chateauroux in a socialist s#!$*&% formerly known as "France"

Re: [script][Crom system] "Permanent" log

Post by cromcrom »

Thanks a lot :-)

Unless I am mistaken, onDrawUi is pretty tricky, and the context lines can only be called from within this hook (to be confirmed by more talented scripters...). I agree, I really don't like that, because for many UI stuff, it could become cumbersome pretty fast...
A trip of a thousand leagues starts with a step.
User avatar
Doridion
Posts: 256
Joined: Tue Jun 10, 2014 9:23 pm

Re: [script][Crom system] "Permanent" log

Post by Doridion »

Thinking about that, and i'm asking for something .... possibly AH Devs could answer :

Script components seems having possibility to load external files, more else, JKos has proved that datas can be stored into entities ... could external scripts, defined as entities by hard coded definition, storing datas on the external file, or will just save datas to the savegame file ?
User avatar
QuintinStone
Posts: 72
Joined: Sat Nov 01, 2014 9:58 pm

Re: [script][Crom system] "Permanent" log

Post by QuintinStone »

Doridion wrote:Hey cromcrom, again a nice job ^^ But just to ask, couldn't be better to call/write an external log ?
Is that possible with lua scripting in Grimrock? I've been wanting to write stuff to grimrock.log for debugging.
Crypt of Zulfar
Post Reply