Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
noob needs help with script ;/
sassix Offline
Member

Posts: 56
Threads: 13
Joined: Jan 2011
Reputation: 0
#1
noob needs help with script ;/

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 <.<


Attached Files
.jpg   amnstddsct-20110108-184118.jpg (Size: 68.05 KB / Downloads: 122)
(This post was last modified: 01-08-2011, 06:42 PM by sassix.)
01-08-2011, 06:13 PM
Find
Frontcannon Offline
Senior Member

Posts: 538
Threads: 10
Joined: Jul 2010
Reputation: 2
#2
RE: noob needs help with script ;/

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.


╔═════════════════╗
☺ Smoke weed everyday ☺
╚═════════════════╝
01-08-2011, 07:31 PM
Find
sassix Offline
Member

Posts: 56
Threads: 13
Joined: Jan 2011
Reputation: 0
#3
RE: noob needs help with script ;/

ok thx, hat sich erledigt Big Grin





CLOSED
01-08-2011, 10:14 PM
Find




Users browsing this thread: 1 Guest(s)