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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading Screen?
VeNoMzTeamHysterical Offline
Member

Posts: 240
Threads: 36
Joined: Dec 2012
Reputation: 3
#1
Loading Screen?

LANG.

<CATEGORY Name="LoadingText">
<Entry Name="05_Castle">This castle is full of secrets, Discover the secrets and collect the items.</Entry>
</CATEGORY>

HPS.

SetupLoadScreen("LoadingText", "05_Castle", 6, "05_Castle.jpg");


(When i click on the leveldoor the text and picture should be show up but i get an error of blackbox or something.)

http://www.frictionalgames.com/forum/thread-21719.html
Evil Awaking Work In Progress!
Hours Spend 472.
04-06-2013, 01:31 PM
Website Find
Tiger Away
Posting Freak

Posts: 1,874
Threads: 16
Joined: Nov 2012
Reputation: 55
#2
RE: Loading Screen?

>Does the rest of the .lang file work (does the description show up?)
>Have you put '05_Castle.jpg' in your cs folder?
>Have you named everything right?
04-06-2013, 02:14 PM
Find
VeNoMzTeamHysterical Offline
Member

Posts: 240
Threads: 36
Joined: Dec 2012
Reputation: 3
#3
RE: Loading Screen?

(04-06-2013, 02:14 PM)Tiger Wrote: >Does the rest of the .lang file work (does the description show up?)
>Have you put '05_Castle.jpg' in your cs folder?
>Have you named everything right?
Yep.

http://www.frictionalgames.com/forum/thread-21719.html
Evil Awaking Work In Progress!
Hours Spend 472.
04-06-2013, 02:38 PM
Website Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#4
RE: Loading Screen?

You say it gives a blackbox, right? Give us the hpl.log located in Documents/Amnesia/Main. Then, copy-paste it here.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
04-06-2013, 03:01 PM
Find
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#5
RE: Loading Screen?

Did you put SetupLoadScreen in the OnLeave function? (I'm not entirely sure if it needs to be in OnLeave, but FG puts it in OnLeave in their maps)

In Ruins [WIP]
04-06-2013, 06:29 PM
Find
VeNoMzTeamHysterical Offline
Member

Posts: 240
Threads: 36
Joined: Dec 2012
Reputation: 3
#6
RE: Loading Screen?

(04-06-2013, 06:29 PM)NaxEla Wrote: Did you put SetupLoadScreen in the OnLeave function? (I'm not entirely sure if it needs to be in OnLeave, but FG puts it in OnLeave in their maps)

Got it onleave();

http://www.frictionalgames.com/forum/thread-21719.html
Evil Awaking Work In Progress!
Hours Spend 472.
04-07-2013, 10:02 PM
Website Find
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#7
RE: Loading Screen?

Ohh, I think I see the problem. Change the 6 to 0. The function adds a suffix to the end of the entry name (eg. 01), then randomizes between those loading screens. By writing 6, that means it will randomize between 6 loading screens (05_Castle01, 05_Castle02, 05_Castle03, 05_Castle04, 05_Castle05, 05_Castle06).

Wiki Wrote:alRandomNum - if greater 1, then it will randomize between 1 and alRandom for each LoadScreen giving entry the suffix XX (eg 01). If < =1 then no suffix is added

In Ruins [WIP]
04-07-2013, 10:34 PM
Find
VeNoMzTeamHysterical Offline
Member

Posts: 240
Threads: 36
Joined: Dec 2012
Reputation: 3
#8
RE: Loading Screen?

(04-07-2013, 10:34 PM)NaxEla Wrote: Ohh, I think I see the problem. Change the 6 to 0. The function adds a suffix to the end of the entry name (eg. 01), then randomizes between those loading screens. By writing 6, that means it will randomize between 6 loading screens (05_Castle01, 05_Castle02, 05_Castle03, 05_Castle04, 05_Castle05, 05_Castle06).

Wiki Wrote:alRandomNum - if greater 1, then it will randomize between 1 and alRandom for each LoadScreen giving entry the suffix XX (eg 01). If < =1 then no suffix is added
Thanks ^^

http://www.frictionalgames.com/forum/thread-21719.html
Evil Awaking Work In Progress!
Hours Spend 472.
04-11-2013, 01:04 PM
Website Find




Users browsing this thread: 1 Guest(s)