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


Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My custom story wont appear in the game! Help
mrburritos31 Offline
Junior Member

Posts: 18
Threads: 3
Joined: Jun 2013
Reputation: 0
#11
RE: My custom story wont appear in the game! Help

(07-04-2013, 02:30 AM)JAP the Birthday Boy Wrote:
(07-03-2013, 07:05 PM)mrburritos31 Wrote:
(07-03-2013, 06:07 PM)Zatchie Wrote: Maybe you wrote something wrong in the lang file?

Here is my lang file:

<CATEGORY Name="CustomStoryMain">
<Entry> Name="Description">You are Captain Flan Johnson and the last thing you remember is getting torn off your ship with the your last memory fading away....</Entry>
</CATEGORY>

No wonder. You need <LANGUAGE> tags and the Entry opening is wrong.

Should of been like this.
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You are Captain Flan Johnson and the last thing you remember is getting torn off your ship with your last memory fading away....</Entry>
</CATEGORY>
</LANGUAGE>

NOTE: Make sure every category is before the </LANGUAGE> tag or it will be messed up.

Can you help with my hps file please it keeps crashing here it is:
void OnStart()
(
AddUseItemCallback("OpenDoor", "key_study_1", "level_wood_1", "UnlockLevelDoor", true);
)
void UnlockLevelDoor(string &in item, string &in entity)
(
SetLevelDoorLocked(entity, false);
)

(07-04-2013, 02:30 AM)JAP the Birthday Boy Wrote:
(07-03-2013, 07:05 PM)mrburritos31 Wrote:
(07-03-2013, 06:07 PM)Zatchie Wrote: Maybe you wrote something wrong in the lang file?

Here is my lang file:

<CATEGORY Name="CustomStoryMain">
<Entry> Name="Description">You are Captain Flan Johnson and the last thing you remember is getting torn off your ship with the your last memory fading away....</Entry>
</CATEGORY>

No wonder. You need <LANGUAGE> tags and the Entry opening is wrong.

Should of been like this.
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You are Captain Flan Johnson and the last thing you remember is getting torn off your ship with your last memory fading away....</Entry>
</CATEGORY>
</LANGUAGE>

NOTE: Make sure every category is before the </LANGUAGE> tag or it will be messed up.

Please Help with my script it is isn't working when i launch my Custom story here is the hps file:
void OnStart()
(
AddUseItemCallback("OpenDoor", "key_study_1", "level_wood_1", "UnlockLevelDoor", true);
)
void UnlockLevelDoor(string &in item, string &in entity)
(
SetLevelDoorLocked(entity, false);
)
(This post was last modified: 07-04-2013, 02:41 AM by mrburritos31.)
07-04-2013, 02:38 AM
Find
mrburritos31 Offline
Junior Member

Posts: 18
Threads: 3
Joined: Jun 2013
Reputation: 0
#12
RE: My custom story wont appear in the game! Help

(07-04-2013, 02:30 AM)JAP the Birthday Boy Wrote:
(07-03-2013, 07:05 PM)mrburritos31 Wrote:
(07-03-2013, 06:07 PM)Zatchie Wrote: Maybe you wrote something wrong in the lang file?

Here is my lang file:

<CATEGORY Name="CustomStoryMain">
<Entry> Name="Description">You are Captain Flan Johnson and the last thing you remember is getting torn off your ship with the your last memory fading away....</Entry>
</CATEGORY>

No wonder. You need <LANGUAGE> tags and the Entry opening is wrong.

Should of been like this.
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You are Captain Flan Johnson and the last thing you remember is getting torn off your ship with your last memory fading away....</Entry>
</CATEGORY>
</LANGUAGE>

NOTE: Make sure every category is before the </LANGUAGE> tag or it will be messed up.
Please help me with my hps file i dont know whats wrong with it!!! here is the file:

void OnStart()
(
AddUseItemCallback("OpenDoor", "key_study_1", "level_wood_1", "UnlockLevelDoor", true);
)
void UnlockLevelDoor(string &in item, string &in entity)
(
SetLevelDoorLocked(entity, false);
)
07-04-2013, 04:35 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#13
RE: My custom story wont appear in the game! Help

(07-04-2013, 04:35 AM)mrburritos31 Wrote:
(07-04-2013, 02:30 AM)JAP the Birthday Boy Wrote:
(07-03-2013, 07:05 PM)mrburritos31 Wrote:
(07-03-2013, 06:07 PM)Zatchie Wrote: Maybe you wrote something wrong in the lang file?

Here is my lang file:

<CATEGORY Name="CustomStoryMain">
<Entry> Name="Description">You are Captain Flan Johnson and the last thing you remember is getting torn off your ship with the your last memory fading away....</Entry>
</CATEGORY>

No wonder. You need <LANGUAGE> tags and the Entry opening is wrong.

Should of been like this.
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You are Captain Flan Johnson and the last thing you remember is getting torn off your ship with your last memory fading away....</Entry>
</CATEGORY>
</LANGUAGE>

NOTE: Make sure every category is before the </LANGUAGE> tag or it will be messed up.
Please help me with my hps file i dont know whats wrong with it!!! here is the file:

void OnStart()
(
AddUseItemCallback("OpenDoor", "key_study_1", "level_wood_1", "UnlockLevelDoor", true);
)
void UnlockLevelDoor(string &in item, string &in entity)
(
SetLevelDoorLocked(entity, false);
)

Wrong opening and closing brace.

void OnStart()
{
AddUseItemCallback("OpenDoor", "key_study_1", "level_wood_1", "UnlockLevelDoor", true);
}
void UnlockLevelDoor(string &in item, string &in entity)
{
SetLevelDoorLocked(entity, false);
}

"Veni, vidi, vici."
"I came, I saw, I conquered."
07-04-2013, 07:28 AM
Find
phatdoggi Offline
Junior Member

Posts: 17
Threads: 4
Joined: Jun 2013
Reputation: 0
#14
RE: My custom story wont appear in the game! Help

(07-03-2013, 07:05 PM)mrburritos31 Wrote:
(07-03-2013, 06:07 PM)Zatchie Wrote: Maybe you wrote something wrong in the lang file?

Here is my lang file:

<CATEGORY Name="CustomStoryMain">
<Entry> Name="Description">You are Captain Flan Johnson and the last thing you remember is getting torn off your ship with the your last memory fading away....</Entry>
</CATEGORY>

I usually never edit the .lang file manually, I use a tool called LangEditor (click me) and it gets the job done without ever having to worry about errors or missed tags.

"Just drink it. How bad could it be?"
Madness - http://www.moddb.com/mods/phatdoggi-madness
07-07-2013, 12:51 AM
Find




Users browsing this thread: 2 Guest(s)