Page 1 of 1

Question about exposed hooks

Posted: Sat Jun 06, 2015 7:33 pm
by Karthas077
Hello everyone!

Been a lurker on the forums for quite a while now, but I thought this might be an auspicious time to post this considering Josh's recent return and the potential return to discussion about scripts/mods (it has been awfully quiet in this subforum for a while)

As such I have three questions on the topic of hooks.

Given that the game is written in LTSL, I am very optimistic about the answers to these questions, but I was wondering...

1- how much of the game's core features will have exposed hooks for modders to utilize?

2- will we be given any kind of documentation about the said hooks and other built-in functions that are available?

3- What's the plan for disabling/modifying existing gameplay elements? Will it be that identically named scripts are able to override existing functionality? or some other more convoluted/obscure way?


As someone who's extremely interested in this game and happens to be finishing his Bachelors in Computer Science very very soon, I am extremely interested in making a few mods of my own... which I'll probably discuss with interested parties in another thread at another time.

Re: Question about exposed hooks

Posted: Sat Jun 06, 2015 7:49 pm
by Slymodi
simply put
just about all of it
there should be
yes all correct

~Sly

Re: Question about exposed hooks

Posted: Sun Jun 07, 2015 11:24 am
by Karthas077
Thank you for the quick response :) I figured those would be the answers, but I wanted something form of confirmation from people who know better than I XD

Re: Question about exposed hooks

Posted: Sun Jun 07, 2015 11:28 am
by Flatfingers
Although I'd like more definite word on documentation.

The thought of trying to figure out LTSL just based on Josh's code -- which I expect will be terrifyingly elegant -- does not fill me with hope.

Re: Question about exposed hooks

Posted: Sun Jun 07, 2015 12:06 pm
by Dinosawer
Didn't Josh mention auto-documentation at some point? Or is my memory being silly again? :think:
Edit: aha viewtopic.php?f=12&t=3126&p=53537&hilit ... ion#p53537

Re: Question about exposed hooks

Posted: Sun Jun 07, 2015 6:02 pm
by Silverware
I recall him telling us that the majority of the game will be LTSL
The engine functions should all have hooks to LTSL.

So it should be more than enough to remake any game in LTSL :V

Re: Question about exposed hooks

Posted: Sun Jun 07, 2015 6:08 pm
by Flatfingers
I've never been impressed with supposedly auto-documenting software.

Things like Javadoc live at a relatively low level: parameters passed, usually. That's OK, but what I really need is to know what things mean. Self-documenting systems usually don't get into the head of a systems designer at that level.

It would be better than nothing, but not the kind of Concept of Operations and language reference docs I'm hoping can be created by someone.

Re: Question about exposed hooks

Posted: Sun Jun 07, 2015 10:00 pm
by JoshParnell
1. Probably more of it that you ever wanted to be exposed :P Generally you shouldn't have to worry about something not being doable unless it's hugely technical

2. Yes, exposed functions have automatic documentation that's written by me as I expose them. At some point, possibly slightly after release, I will also have some tutorials so people can get a better feel for how to actually use them.

3. Exactly, to override functionality you provide a script of the same name and the engine will load it instead of the original one.

Re: Question about exposed hooks

Posted: Mon Jun 08, 2015 2:13 am
by Dinosawer
JoshParnell wrote: At some point, possibly slightly after release, I will also have some tutorials so people can get a better feel for how to actually use them.
In that case, I would propose a wiki-like format, so the early modders can help you with that. ;)

Re: Question about exposed hooks

Posted: Mon Jun 08, 2015 10:41 am
by N-Joy
Dinosawer wrote:
JoshParnell wrote: At some point, possibly slightly after release, I will also have some tutorials so people can get a better feel for how to actually use them.
In that case, I would propose a wiki-like format, so the early modders can help you with that. ;)
You mean something elegant like http://www.wiki.ltheory.com ??
Yeah, that would be great and i guess everyone will help =)

Re: Question about exposed hooks

Posted: Tue Jun 09, 2015 6:54 pm
by BFett
N-Joy, there is already a Limit Theory wiki that is being worked on. Please see the link in my signature.

Re: Question about exposed hooks

Posted: Wed Jun 10, 2015 3:36 pm
by N-Joy
BFett wrote:N-Joy, there is already a Limit Theory wiki that is being worked on. Please see the link in my signature.
i do know that, there even has been a wiki before that, which i helped to fill.
http://lt.laerad.net/index.php/Main_Page
(Some of the pages i created there were copied too, e.g. development overview ;) )

And i guess in future there will be many other wikis 'cause no one of them will be an official one. Thats what i don't like.

Re: Question about exposed hooks

Posted: Wed Jun 10, 2015 5:25 pm
by BFett
N-Joy wrote: i do know that, there even has been a wiki before that, which i helped to fill.
http://lt.laerad.net/index.php/Main_Page
(Some of the pages i created there were copied too, e.g. development overview ;) )

And i guess in future there will be many other wikis 'cause no one of them will be an official one. Thats what i don't like.
I am only aware of 2 other wikis other than my own, one of them has old information and is not being maintained, the second is the one you linked, which currently doesn't have an administrator and is being spam botted to death.

Mine on the other hand was made by myself and other community members. (Yes I took a page from laerad.net that was intact) Unless you are maintaining another wiki I suggest that you support mine. Dinosawer and I are currently the only admins of the site but other people are free to edit it. If it does start getting spammed I'll lock it down and I'll hand pick who can and can't edit the page.