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


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help [STILL HELP NEEDED] World not loading correctly
Jagsrs28 Offline
Member

Posts: 101
Threads: 25
Joined: Jun 2012
Reputation: 0
#1
[STILL HELP NEEDED] World not loading correctly

When I pick up Knife_1 It is supposed to bring my vision back to normal (Which it does) then makes my screen go black (Which it does) then loads up my world and as it displays on the screen "Loading..." ,but then It looks like I am in the same place as I was when my screen went black. The screen is frozen (I didn't lag fraps said I was running at about 130-140 fps) and I can't move anywhere then I hit the floor (Sorta like falling in black) then "You have to carry on" displays on the screen can anyone PLEASE help me.


Reason:


\/\/\/\/\/ Look Below\/\/\/\/\/

Special Custom Story for 2 special people!

[Image: LWFcAl]


(This post was last modified: 07-04-2012, 06:15 AM by Jagsrs28.)
07-02-2012, 03:26 PM
Find
Cruzore Offline
Senior Member

Posts: 301
Threads: 2
Joined: Jun 2012
Reputation: 37
#2
RE: World not loading correctly

look if the playerstartarea is not too much into the ground. Else, you might want to give us some more information.

Think, before you speak Google, before you post
07-02-2012, 03:32 PM
Find
Jagsrs28 Offline
Member

Posts: 101
Threads: 25
Joined: Jun 2012
Reputation: 0
#3
RE: World not loading correctly

(07-02-2012, 03:32 PM)FastHunteR Wrote: look if the playerstartarea is not too much into the ground. Else, you might want to give us some more information.
What info is needed?

Special Custom Story for 2 special people!

[Image: LWFcAl]


07-02-2012, 03:42 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: World not loading correctly

(07-02-2012, 03:42 PM)Jagsrs28 Wrote: What info is needed?

For example: Whether or not you're trying to load the same map; whether or not you provided the correct PlayerStart area name to ChangeMap; whether or not you have a floor in the map; script used for the events; etc...

Tutorials: From Noob to Pro
07-02-2012, 03:55 PM
Website Find
Jagsrs28 Offline
Member

Posts: 101
Threads: 25
Joined: Jun 2012
Reputation: 0
#5
RE: World not loading correctly

(07-02-2012, 03:55 PM)Your Computer Wrote:
(07-02-2012, 03:42 PM)Jagsrs28 Wrote: What info is needed?

For example: Whether or not you're trying to load the same map; whether or not you provided the correct PlayerStart area name to ChangeMap; whether or not you have a floor in the map; script used for the events; etc...
I double checked the Player start and its correct I am trying to upload a different map, I have a floor in my map, script used for the even:

{

SetEntityPlayerInteractCallback("Knife_1", "Murder", true);
}


void Murder(string &in asEntity)
{
StopMusic(1, 0);
FadeIn(1);
AddTimer("Timer2", 4, "Into2");
GetPlayerSpeed();
SetPlayerMoveSpeedMul(0);
}

void Into2(string &in asTimer)
{
FadeOut(1);
AddTimer("Timer3", 1, "Sounds1");
}

void Sounds1(string &in asTimer)
{
ChangeMap("02.map", "PlayerStartArea_2", "", "");
AddTimer("Timer4", 27, "Neworld1");
}

void Neworld1(string &in asTimer)
{
AddTimer("Timer5", 2, "Loaded1");
PlaySoundAtEntity("", "24_cut.snt", "Player", 0, false);
PlaySoundAtEntity("", "react_breath.snt", "Player", 0, false);
}

void Loaded1(string &in asTimer)
{
SetPlayerJumpDisabled(false);
FadeIn(2);
PlaySoundAtEntity("", "react_breath.snt", "Player", 0, false);
SetPlayerMoveSpeedMul(1);
}
anything else?

Special Custom Story for 2 special people!

[Image: LWFcAl]


07-02-2012, 04:06 PM
Find
Cruzore Offline
Senior Member

Posts: 301
Threads: 2
Joined: Jun 2012
Reputation: 37
#6
RE: World not loading correctly

when you change the map, you need a different .hps file for that map.
example:
map1.map goes with map1.hps
map2.map goes with map2.hps

Think, before you speak Google, before you post
(This post was last modified: 07-02-2012, 04:17 PM by Cruzore.)
07-02-2012, 04:16 PM
Find
Jagsrs28 Offline
Member

Posts: 101
Threads: 25
Joined: Jun 2012
Reputation: 0
#7
RE: World not loading correctly

(07-02-2012, 04:16 PM)FastHunteR Wrote: when you change the map, you need a different .hps file for that map.
example:
map1.map goes with map1.hps
map2.map goes with map2.hps
Yeah I created a 2nd Map and named in 02.map then a 02.hps

Special Custom Story for 2 special people!

[Image: LWFcAl]


(This post was last modified: 07-02-2012, 04:25 PM by Jagsrs28.)
07-02-2012, 04:25 PM
Find
Jagsrs28 Offline
Member

Posts: 101
Threads: 25
Joined: Jun 2012
Reputation: 0
#8
RE: World not loading correctly [NEED HELP]

None of this is working my world still wont load Sad

Special Custom Story for 2 special people!

[Image: LWFcAl]


07-02-2012, 07:29 PM
Find
Cruzore Offline
Senior Member

Posts: 301
Threads: 2
Joined: Jun 2012
Reputation: 37
#9
RE: [STILL NEED HELP] World not loading correctly

No, I ment this:
void Sounds1(string &in asTimer)
{
ChangeMap("02.map", "PlayerStartArea_2", "", "");
AddTimer("Timer4", 27, "Neworld1");
}

void Neworld1(string &in asTimer)
{
AddTimer("Timer5", 2, "Loaded1");
PlaySoundAtEntity("", "24_cut.snt", "Player", 0, false);
PlaySoundAtEntity("", "react_breath.snt", "Player", 0, false);
}

void Loaded1(string &in asTimer)
{
SetPlayerJumpDisabled(false);
FadeIn(2);
PlaySoundAtEntity("", "react_breath.snt", "Player", 0, false);
SetPlayerMoveSpeedMul(1);
}
You change the map, add a timer right after, which also plays some stuff? I don't think that#s possibly, you have to move the timer and all the stuff for after the map change to the .hps file for that map you change to.

Think, before you speak Google, before you post
07-02-2012, 07:39 PM
Find
Jagsrs28 Offline
Member

Posts: 101
Threads: 25
Joined: Jun 2012
Reputation: 0
#10
RE: [STILL NEED HELP] World not loading correctly

(07-02-2012, 07:39 PM)FastHunteR Wrote: No, I ment this:
void Sounds1(string &in asTimer)
{
ChangeMap("02.map", "PlayerStartArea_2", "", "");
AddTimer("Timer4", 27, "Neworld1");
}

void Neworld1(string &in asTimer)
{
AddTimer("Timer5", 2, "Loaded1");
PlaySoundAtEntity("", "24_cut.snt", "Player", 0, false);
PlaySoundAtEntity("", "react_breath.snt", "Player", 0, false);
}

void Loaded1(string &in asTimer)
{
SetPlayerJumpDisabled(false);
FadeIn(2);
PlaySoundAtEntity("", "react_breath.snt", "Player", 0, false);
SetPlayerMoveSpeedMul(1);
}
You change the map, add a timer right after, which also plays some stuff? I don't think that#s possibly, you have to move the timer and all the stuff for after the map change to the .hps file for that map you change to.
I took out all of that and I have this now:





SetEntityPlayerInteractCallback("Knife_1", "Murder", true);
}


void Murder(string &in asEntity)
{
StopMusic(1, 0);
FadeIn(1);
AddTimer("Timer2", 4, "Into2");
GetPlayerSpeed();
SetPlayerMoveSpeedMul(0);
}

void Into2(string &in asTimer)
{
FadeOut(1);
AddTimer("Timer3", 1, "Sounds1");
}

void Sounds1(string &in asTimer)
{
ChangeMap("02.map", "PlayerStartArea_2", "", "");

//addTimer("Timer4", 27, "Neworld1");
}

//void Neworld1(string &in asTimer)
//{
//addTimer("Timer5", 2, "Loaded1");
//PlaySoundAtEntity("", "24_cut.snt", "Player", 0, false);
//PlaySoundAtEntity("", "react_breath.snt", "Player", 0, false);
//}

//void Loaded1(string &in asTimer)
//{
//SetPlayerJumpDisabled(false);
//FadeIn(2);
//PlaySoundAtEntity("", "react_breath.snt", "Player", 0, false);
//SetPlayerMoveSpeedMul(1);
//}

EDIT: Still didn't work

Special Custom Story for 2 special people!

[Image: LWFcAl]


(This post was last modified: 07-02-2012, 07:54 PM by Jagsrs28.)
07-02-2012, 07:54 PM
Find




Users browsing this thread: 2 Guest(s)