Author Topic: SCI Companion documentation  (Read 12711 times)

0 Members and 1 Guest are viewing this topic.

Offline Kawa

Re: SCI Companion documentation
« Reply #15 on: November 08, 2015, 03:17:05 PM »
No, no. Nothing "optional" about ChoiceTalker and PriorityTalker. Especially not PriorityTalker.

Offline troflip

Re: SCI Companion documentation
« Reply #16 on: November 08, 2015, 03:33:58 PM »
Really? Both those are only used in SQ5, so they're not exactly common.
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline Kawa

Re: SCI Companion documentation
« Reply #17 on: November 08, 2015, 03:43:51 PM »
They're less than "optional". One of them is (IMHO) a mess to use, and the other is literally a talker with priority instead of -1 in its drawcel calls.

Offline troflip

Re: SCI Companion documentation
« Reply #18 on: November 08, 2015, 05:22:24 PM »
Ah, got it. Yeah, I was gonna combine PriorityTalker with Talker, but PriorityTalker does do a *bit* more than Talker, it also needs to manage the priority underbits. Still could do it though.

As for ChoiceTalker, it's not too bad. The usage looks like this:

Code: [Select]
(myChoiceTalker:normal(FALSE)
curNoun(N_DEVICE)
curVerb(V_TALK)
curCase(0)
)
       
(send gTestMessager:say(N_DEVICE V_TALK 0 0 0 110))

(switch (myChoiceTalker:whichSelect)
(case 1
// etc...
)
(case 2
// etc...
)
(case 3
// etc...
)
)


What does using QFG's Teller look like?
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline Kawa

Re: SCI Companion documentation
« Reply #19 on: November 08, 2015, 05:32:42 PM »
As for ChoiceTalker, it's not too bad. The usage looks like this:
Okay, and how does one set up the choices?
Quote
What does using QFG's Teller look like?
I forgot :D

Offline troflip

Re: SCI Companion documentation
« Reply #20 on: November 08, 2015, 05:39:02 PM »
Okay, and how does one set up the choices?

The first in a sequence of messages is the title, and the remaining increasing sequence numbers are the options. e.g.

Code: [Select]
3 2 0 1 8 What things do you want to do?
3 2 0 2 8 Eat some food
3 2 0 3 8 Drink something
3 2 0 4 8 Get out of here.

The only weird thing is that you have to set curNoun/curVerb/curCase, and then repeat those numbers in the say call.
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline Collector

Re: SCI Companion documentation
« Reply #21 on: November 08, 2015, 08:17:52 PM »
How about a repository for extra scripts? As long as they were documented or at least had a description of the function of each script they could be added as needed. That way the template could be kept as lean as possible.
KQII Remake Pic

Offline troflip

Re: SCI Companion documentation
« Reply #22 on: November 09, 2015, 02:36:37 AM »
Well that was kind of the idea. I was thinking of a subfolder under SCI Companion that could contain script files (and people could download more, if people come up with cool scripts). They'd be accessed by some "Add script" functionality in SCI Companion.

But... that's extra work, and I'm trying to ship :P
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline troflip

Re: SCI Companion documentation
« Reply #23 on: November 09, 2015, 04:24:24 AM »
What does InsetWindow do?
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline Kawa

Re: SCI Companion documentation
« Reply #24 on: November 09, 2015, 04:29:09 AM »
What does InsetWindow do?
It's like a BorderWindow but in instead of out. You'd think the inventory window'd use it but it doesn't -- it uses ScrollInsetWindow instead.
« Last Edit: November 09, 2015, 04:30:45 AM by Kawa »

Offline troflip

Re: SCI Companion documentation
« Reply #25 on: November 09, 2015, 01:45:47 PM »
Lol, yeah, you would think it would use it.

It looks like it's like a BorderWindow, but in addition it has an interior border.
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline Kawa

Re: SCI Companion documentation
« Reply #26 on: November 09, 2015, 02:21:05 PM »
It looks like it's like a BorderWindow, but in addition it has an interior border.

Offline troflip

Re: SCI Companion documentation
« Reply #27 on: November 10, 2015, 12:40:29 AM »
Zip file containing the documentation so far in case anyone's interested. Start at index.html.

Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline Kawa

Re: SCI Companion documentation
« Reply #28 on: November 10, 2015, 06:28:58 AM »
That's a good documentation. It might be nice in the part about messages to include that you can have director notes in your lines.
Quote from: Gabriel Knight
"(TO PLAYER, FUNNY/SEXY)Hey! I'll ask the questions around here."
According to ScummVM, these are "anything but a lowercase character or a digit," in parentheses. They may appear at any point in a line, and any extra whitespace after the ) is skipped.

Yeah, that does mean "(WHAT?)" may be mistaken for a stage direction, but "(Say WHAT?)" would not.

Offline troflip

Re: SCI Companion documentation
« Reply #29 on: November 10, 2015, 01:05:53 PM »
The things I have left to do are:

- Kernel functions
- All the compiler/language stuff

I'll probably just include and link directly to SCI Studio help for much of that. The compiler and language features are mostly the same. Then I'll just need to document the SCI1.1 kernels.

 It would be nice to have the "source" for Brian's html files, if there ever was any. That way I could possibly re-generate the html files and make it look like it fits in SCI Companion's documentation. But all I've been able to find is the .chm file (which I decompiled into html).
Check out my website: http://icefallgames.com
Groundhog Day Competition


SMF 2.0.14 | SMF © 2017, Simple Machines
Simple Audio Video Embedder

Page created in 0.104 seconds with 24 queries.