Scripting Reference (work in progress)

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!
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Scripting Reference (work in progress)

Post by petri »

The scripting API is huge and it will take a while before everything is documented. So instead of keeping you waiting for a few weeks, here is a work in progress Scripting Reference document. Lots of stuff missing still and probably a few errors in there. I'll be adding more stuff to the page but hopefully this helps at least a bit to get you up to speed.

http://www.grimrock.net/modding/scripting-reference/

Have fun!
User avatar
Doridion
Posts: 256
Joined: Tue Jun 10, 2014 9:23 pm

Re: Scripting Reference (work in progress)

Post by Doridion »

Woooooooooooooooooooooooohoo ! Already added in the superthread !
User avatar
Jgwman
Posts: 144
Joined: Thu Jun 28, 2012 10:14 pm

Re: Scripting Reference (work in progress)

Post by Jgwman »

Awesome, thanks guys!
User avatar
cromcrom
Posts: 549
Joined: Tue Sep 11, 2012 7:16 am
Location: Chateauroux in a socialist s#!$*&% formerly known as "France"

Re: Scripting Reference (work in progress)

Post by cromcrom »

HELL YEAH, BYE, social life ^^
A trip of a thousand leagues starts with a step.
MrChoke
Posts: 324
Joined: Sat Oct 25, 2014 7:20 pm

Re: Scripting Reference (work in progress)

Post by MrChoke »

YAY! Thanks.
User avatar
JKos
Posts: 464
Joined: Wed Sep 12, 2012 10:03 pm
Location: Finland
Contact:

Re: Scripting Reference (work in progress)

Post by JKos »

Great, even if it's WIP it's still much better documentation than the grimrock.dat file ;) thank you.
Method names alone do tell enough in most cases, so I suggest that you document the new and most complicated things first. IMO it's just a waste of time to document a method named GameMode.getTimeOfDay() or BrainComponent:turnRight(), everyone will understand what they do. But this is just my opinion.
- LoG Framework 2http://sites.google.com/site/jkoslog2 Define hooks in runtime by entity.name or entity.id + multiple hooks support.
- cloneObject viewtopic.php?f=22&t=8450
User avatar
Drakkan
Posts: 1318
Joined: Mon Dec 31, 2012 12:25 am

Re: Scripting Reference (work in progress)

Post by Drakkan »

thanks a lot guys
Breath from the unpromising waters.
Eye of the Atlantis
User avatar
Skuggasveinn
Posts: 562
Joined: Wed Sep 26, 2012 5:28 pm

Re: Scripting Reference (work in progress)

Post by Skuggasveinn »

This is great, and I agree with JKos, getting this out is more important then to document what everything does. Simply knowing the method names of all the functions givers us a platform to build on. Detail description can come later.

What to do during the weekend solved :D

Skuggasveinn.
Link to all my LoG 2 assets on Nexus.
Link to all my LoG 1 assets on Nexus.
NutJob
Posts: 426
Joined: Sun Oct 19, 2014 6:35 pm

Re: Scripting Reference (work in progress)

Post by NutJob »

Magnificent!
User avatar
Lark
Posts: 178
Joined: Wed Sep 19, 2012 4:23 pm
Location: Springfield, MO USA

Re: Scripting Reference (work in progress)

Post by Lark »

Thank you! We know you're all really busy and deserve a break, but we are extremely appreciative of this early release! Thank you for the awesome games, editors, support, and, well, for everything. Bless you! -Lark
Post Reply