PDA

View Full Version : Text in missions



Razikus
September 24th, 2009, 18:32
Hello. I have the question. Where i can make text to the map?

Hapuga
September 24th, 2009, 19:02
what kind of text?

Razikus
September 24th, 2009, 19:05
Message for player, when time = x

Hapuga
September 24th, 2009, 19:10
Its hard. Text are stored in speeches, afaik. Try to create a new speech file, insert text, and add an opition show text

Metal Gear Rex
September 24th, 2009, 19:52
I'm afraid it will bug out when that happens.

mefistotelis
September 24th, 2009, 19:54
Limited amount of texts can be stored in the level file, but this function is bugged in DK2 editor and won't work.

The other choice is to create your own STR files - you can do this with this tool:
http://keeper.lubie.org/html/dk2_tools_other.php

BTW: it was all written in old forum.

dk2player
September 24th, 2009, 21:46
here's a solution to help you, it kinda helped me:


You need the STR editor from here http://keeper.lubie.org/html/dk2_tools_other.php
then you edit ..\Dungeon Keeper II\Data\Text\Default\Demo1.str for example, you can't create new text file, you need to edit existing ones.
You need to convert to .txt the SRT, make changes like you want (each line is a string and will be called by its number in the editor) and then convert it back to .srt
Once you're done, in the editor go under keeper 1 and hang a trigger with action info>play speech
The first box if for the number of the string (the line in the srt)
Introduction speech is used with a follow camera path (you put the value of the camera path)

and if you get a message "Not Enough Parlaments" and then the srt tool crashes, tr this:


Yeah, that's normal, to use this software you have to create a batch :
Create a .txt file in the same folder of strtool.exe, rename it .bat then edit it and put inside

strtool.exe filename x to create the filename.txt from the filename.srt
then edit your strings and then edit the .bat to
strtool.exe filename c to create the filename.srt from the modified filename.txt

I advice you to use demo1/2/3 as they're empty so you will not loose any data

ooNjaloo
February 16th, 2020, 09:46
I have altered mypetdungeon.str using the str tool, I have no problem using it. my problem is that the game keep using the old text, even though i have removed the file and replaced it with the new str file.

djbon2112
April 25th, 2020, 09:19
I'm hoping there's still someone active here, but...

Has anyone gotten this to work for custom Skirmish/multiplayer maps?

I've created a map that I'm hoping to have an intro dialog/camera pan, with included text at the bottom.

I've (1) used strtool.exe to extract DEMO1.str, (2) added my custom string as the first line (after the numbers), (3) exported it back to DEMO1.str with strtool, (4) renamed the file to match my map name (map is "Breaker.kwd", so based on the others I tried both "BREAKER.str" and "Breaker.str"). But no matter what I seem to do, referencing Speech 0 does not show my text. How does DK2 know which file to look in? Is it a naming issue, or something I need to do in the editor? What could I be missing here?

Quuz
October 28th, 2020, 17:20
The file used to extract the text can be found right here.
2081
The problem is that this list contains only standard levels files. So you can't use text from your own .str file. The only way is to take empty lines from standard files: demo1-3.
If someone wants play to your map with text, they will need to replace their demo file with yours.