塔罗斯的法则

塔罗斯的法则

Campaigns, puzzles, localizations and more...
Discover and download new campaigns, custom puzzles, item modifications, skins, and much more. You can also create custom localizations here.
了解更多
Grey Heron 2014 年 12 月 14 日 上午 3:21
I wrote a short guide on the terminal scripts.
It's not complete or enormously detailed, but maybe it'll help someone.

It can be found here.
< >
正在显示第 1 - 15 条,共 15 条留言
AlenL 2014 年 12 月 14 日 上午 8:46 
Nice writeup. From what I saw, looks like it is all correct. Feel free to ask if you need anything explained.
Grey Heron 2014 年 12 月 15 日 上午 10:45 
I do have one: How is the journal generated? If I copy and paste the terminal from, say, B2 into the demo world, then the journal ignores the new terminal. And if I delete the one that was there already, this doesn't change, although considering that the terminals don't reset between editor runs, that might be the problem.
keks 2014 年 12 月 16 日 上午 1:22 
Journal terminal gets all "player when" lines that pass the set condition from its dialog. The lines that are text links will be shown as links, and other lines will be shown as headers.

The reason you don't see the texts from B2 is that the journal terminal in the demo doesn't have the same dialog as B2 terminal. B2 terminal has AllDialogs.dlg dialog, and the journal has DemoDialogs.dlg. Terminal's dialog is set in the properties for that entity, and the journal dialog is set in world info entity->world params->episode params
Grey Heron 2014 年 12 月 16 日 上午 3:42 
Aaaaah, thanks. I was starting to wonder if that parameter existed, given that all the other ways I could think of to populate the journal were excessively complicated.

*updates guide*
Divinorum 2014 年 12 月 27 日 上午 3:14 
Thank you for this!
Sicksock 2015 年 1 月 19 日 上午 1:58 
This may be too much to ask but is there anyway someone could make a workshop file which allows you to play out the MLA conversations concecutively?
Solais 3 2015 年 1 月 20 日 下午 3:45 
It might be possible once the next patch is out that fixes a problem with modded terminal dialogs.
checkers_of_shalmone 15 2015 年 1 月 24 日 上午 8:22 
引用自 Solais
It might be possible once the next patch is out that fixes a problem with modded terminal dialogs.
I want to write up some .dlg files, but here's a problem with the syntax. On the left side of the equals symbol, there always happens to be some really long text, like this:
"TTRS:TermDlg.Milton2_5.Ln0023.0.option.IThinkYoureCheating=I think you're cheating."

How do I circumlocu- er, circumvent this? From my limited perspective it appears that the left side is for translation.txt to edit it. Maybe I'll have to do TTRS:TermDlg.aaaaa or something. The issue is how to add my own lines in the translation.

Another thing: sometimes the player types out a really long paragraph in around 2 seconds at like 450 WPM, and other times, the player takes his time and types it at around 40 WPM. The issue is that I cannot find a way to change that to fit my needs.
最后由 checkers_of_shalmone 编辑于; 2015 年 1 月 24 日 上午 8:43
Solais 3 2015 年 1 月 24 日 上午 10:43 
You just write whatever you want. If you write TTRS:TermDlg.IHaveBigPenis= then the translation.txt will pick it up.

And I don't know much about how the terminal works, because as I said, you can't really make custom terminal dialog yet, only with some annoying fiddling around.
checkers_of_shalmone 15 2015 年 1 月 24 日 下午 12:22 
So what, if say someone who has Language as Croatian or something else, will still get the default text (in English)? Or just an empty string?
最后由 checkers_of_shalmone 编辑于; 2015 年 1 月 24 日 下午 12:22
Solais 3 2015 年 1 月 24 日 下午 12:40 
They will get the default text in English. But only if the TTRS part is involved, otherwise it will display a translation error.
最后由 Solais 编辑于; 2015 年 1 月 24 日 下午 12:41
checkers_of_shalmone 15 2015 年 1 月 24 日 下午 9:56 
So I was eerily close with my uninformed position of "TTRS:TermDlg.aaaaa"! Thanks!

By the way: does %w waiting work with decimal values?
最后由 checkers_of_shalmone 编辑于; 2015 年 1 月 25 日 上午 7:21
AlenL 2015 年 1 月 26 日 上午 1:58 
Nope, %w only works with integers.
checkers_of_shalmone 15 2015 年 1 月 26 日 上午 2:13 
引用自 AlenL
Nope, %w only works with integers.
That'll take some of my planned immersion out :(
Peppins 2017 年 8 月 10 日 上午 12:44 
Someone have managed to create a simple level with all terminals in the same place, so that you can discuss with milton again?
< >
正在显示第 1 - 15 条,共 15 条留言
每页显示数: 1530 50