Frictional Games Forum (read-only)

Full Version: noob needs help with script ;/
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey there , well im new to the editor and i got a problem. ( sry my english isnt that good so i hope u can understand me )

I saw somewhere a script for adding something in the journal and wanted to test it.

Thats what i write in my .hps
////
void OnStart()
{
FadeOut(0);
FadeIn(20);
AddQuest("test","test");
}
///

thats what i write in mybase_german.lang
///
<LANGUAGE>
<CATEGORY Name="Journal">
<Entry Name="Quest_test_Text">maaaaaaaaaaaaaaan.</Entry>
</CATEGORY>
</LANGUAGE>
///

Well, i dont know whats my problem here, but the quest text is added to my journal but the text dont appear , just " - " and not the text i want to :/
hope u guys can help me ._.


@edit

I added a picture so u can see how it looks if u dont understand <.<
Wrong .lang.

You create your own in your Custom Stories map folder, name it 'extra_english.lang' or 'extra_german.lang'. Then use the game langs as templates so you know how it is structured.

.langs sind ziemlich schlecht dokumentiert im Wiki, da muss jeder durch :/

By the way: .langs do NOT work in debug mode. You've got to start your Custom Story over the ingame menu for testing them out.
ok thx, hat sich erledigt Big Grin





CLOSED