PDA

View Full Version : Text&Sound at levels



Keeper_Infernal
March 29th, 2010, 09:27
Hello! i am trying to build a new set of levels and i want to add some text actions like for example wen you will win the evil voice that allways talking will great you and in lose situation will curse you and together wit a text messages that will trigger through actions you will do and i need help on that
so if anyone get wright a short guild about this things like:text and voice speech, movie mod in the game (for example wen you win there is a movie that shows how horny take the gem from the dead body of the lord)
and all the other same stuffs

advanced Ty! :D

Hapuga
March 29th, 2010, 10:51
This is possible. The only thing you need to do is edit the sound files and texts. Then in editor you should give patches to those files. that's all.

Keeper_Infernal
March 29th, 2010, 12:00
Cent i just record a speech then put it in the levels file?:confused:


edit: sure that ill need help on things like: putting the right trigger in the editor to trigger the sound ,wich ending to the file name shold i wright and such..

Hapuga
March 29th, 2010, 12:34
you should have basic knowledge on the file structure in DKII and advanced knowledge of triggers if you want to do this. PM me for more details.

LotA
March 29th, 2010, 22:13
Adding sound/text is very messy + you'll have to replace existing files, there's no way to add things...

natchoguy
March 30th, 2010, 01:36
actually, there is but you need good tools

Madkill
March 30th, 2010, 05:15
Focus on the text triggers if anything and if you have the tutorial for DK2Editor, you'll very easily figure out how to do this.

Hapuga
March 30th, 2010, 09:11
LotA
Adding sound/text is very messy + you'll have to replace existing files, there's no way to add things...

No, it's not. and you do not have to replace anything.

natchoguy
actually, there is but you need good tools

Huh? All you need is an extractor/importer.

Keeper_Infernal
March 31st, 2010, 07:08
so what the hell shell i do? :confused:

DragonsLover
March 31st, 2010, 21:57
To create your own strings in the game, you must use DK2 STR Tool (http://keeper.lubie.org/html/dk2_tools_other.php) that is on Mefisto's website.

As for the speeches, you can already use those in the game, but if you wishes to create your own, then you'll need MAStudio 2002 to import them into the game. However, I have encountered a problem with the tool: it doesn't save the proper sample rates (thanks to Mefisto for the info btw), meaning that if your speech is too long, it may be cut because the lower rates of the older file will be kept. You'll have to hex edit manually to solve the problem.

LotA
April 1st, 2010, 06:12
Someone found how to add new text table ID in the editor's list ? 'Cause when i made tol-sadun no one knew how to do so that's why i said you have to edit existing files.. (even if you can use placefiller in existing files)

Anyway, your sound need to be in mp2, I personally used 48kHz 48kb/s mono.
I tried a lot of combination and always had sound problem until using the values above. And even with these, it will cut if the sound is too long, but its ok, its long enough and you could put 2 sounds one after the other

DragonsLover
April 1st, 2010, 08:48
And even with these, it will cut if the sound is too long, but its ok, its long enough and you could put 2 sounds one after the other

Have you read what I said previously? Read my quote below:


However, I have encountered a problem with the tool: it doesn't save the proper sample rates (thanks to Mefisto for the info btw), meaning that if your speech is too long, it may be cut because the lower rates of the older file will be kept. You'll have to hex edit manually to solve the problem.

Also, in the editor, it seems that you can "Display Text String" and edit text strings, but once you alter the weird characters and click OK, the editor crashes... :(