Frictional Games Forum (read-only)
Loading screens - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Loading screens (/thread-10002.html)

Pages: 1 2 3


RE: Loading screens - zeravia - 08-27-2011

(08-27-2011, 07:56 PM)Juby Wrote:
(08-27-2011, 07:51 PM)zeravia Wrote: @x@

now my game crashes when i try to load the level the loading screen is on... where do i put the SetupLoadScreen script? in the level HPS?

You can put it in the OnStart, OnEnter, OnLeave, and any other function in a .hps file.

i did that, and i even took it out once... my map keeps crashing the game and i don't know why. DX

it says this...

----
Amneisa.exe caused an EXEPTION_ACCESS_VIOLATION in module
<UNKNOWN> at 001B:02AAFCE9

i have no idea where that is. @x@


RE: Loading screens - zeravia - 08-28-2011

no Really. I don't know what I am doing wrong, Several hours later I am still Fighting with it, it either crashes right before loading the level, or will not show the picture,. when i remove the picture no text appears. I have no idea why this is happening... ;___;


RE: Loading screens - Your Computer - 08-28-2011

(08-28-2011, 04:26 AM)zeravia Wrote: I have no idea why this is happening... ;___;

Neither do we. Try posting some code.


RE: Loading screens - zeravia - 08-28-2011

(08-28-2011, 06:32 AM)Your Computer Wrote:
(08-28-2011, 04:26 AM)zeravia Wrote: I have no idea why this is happening... ;___;

Neither do we. Try posting some code.

in my extra_english

<CATEGORY Name="LoadingText">
<Entry Name="level_01">The carriage ride to the village more then made up for the horrable flight.</Entry>
</CATEGORY>

in my map file

void OnLeave()
{
SetupLoadScreen("LoadingText", "level_01", 1, "LS01.jpg");
}


does anyone see what is wrong with it?


RE: Loading screens - Elven - 08-28-2011

quick question. Move your extra somewhere else. Test if your game crashes without extra. If it does, kill that script too. This way you will get idea where might be cause of the crash.


RE: Loading screens - zeravia - 08-28-2011

(08-28-2011, 08:52 PM)Elven Wrote: quick question. Move your extra somewhere else. Test if your game crashes without extra. If it does, kill that script too. This way you will get idea where might be cause of the crash.

i already know where it is. it's in the .hps, something about that setuploadingscreen script is wrong...



RE: Loading screens - Elven - 08-28-2011

Its probably in wrong place. Put it into OnStart instead or create area before the change of map and make it false so it wont delete when player goes in and make the loading stuff over there instead Smile. Maybe that helps Smile

Maybe that helps and gives you idea: http://www.youtube.com/watch?v=Pv9GK5Gh4Bw


RE: Loading screens - zeravia - 08-28-2011

(08-28-2011, 09:28 PM)Elven Wrote: Its probably in wrong place. Put it into OnStart instead or create area before the change of map and make it false so it wont delete when player goes in and make the loading stuff over there instead Smile. Maybe that helps Smile

Maybe that helps and gives you idea: http://www.youtube.com/watch?v=Pv9GK5Gh4Bw

no one elce does that, and i got it to work once... that's what i'm trying to tell people... I don't know why it worked once and now won't.


RE: Loading screens - Elven - 08-28-2011

Because no-one else doesn't use that doesn't mean you have to be like everyone else ^^.

I would do that, as long it works. For me it doesn't matter how I script in most cases, as long it works!

Well, that's all I can help with. I hope someone else can help you Smile


RE: Loading screens - zeravia - 08-29-2011

(08-27-2011, 07:56 PM)Juby Wrote:
(08-27-2011, 07:51 PM)zeravia Wrote: @x@

now my game crashes when i try to load the level the loading screen is on... where do i put the SetupLoadScreen script? in the level HPS?

You can put it in the OnStart, OnEnter, OnLeave, and any other function in a .hps file.

ive tried everything. even re-copying and pasting, and nothing works...