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
Scripting Error: Unexpected End In Script Please Help!
JohnandSerena Offline
Junior Member

Posts: 11
Threads: 4
Joined: Dec 2012
Reputation: 1
#11
RE: Scripting Error: Unexpected End In Script Please Help!

it was the brace! thanks for pointing that out but how can i get rid of the shake?
02-21-2013, 06:03 PM
Find
Adrianis Offline
Senior Member

Posts: 620
Threads: 6
Joined: Feb 2012
Reputation: 27
#12
RE: Scripting Error: Unexpected End In Script Please Help!

What shake?

02-21-2013, 09:32 PM
Find
JohnandSerena Offline
Junior Member

Posts: 11
Threads: 4
Joined: Dec 2012
Reputation: 1
#13
RE: Scripting Error: Unexpected End In Script Please Help!

(02-21-2013, 09:32 PM)Adrianis Wrote: What shake?

As the player wakes the screen shakes terribly.
02-21-2013, 09:42 PM
Find
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#14
RE: Scripting Error: Unexpected End In Script Please Help!

(02-21-2013, 09:42 PM)JohnandSerena Wrote:
(02-21-2013, 09:32 PM)Adrianis Wrote: What shake?

As the player wakes the screen shakes terribly.

The script that you posted in the OP doesn't have any StartScreenShake function, so the screen shouldn't be shaking at all. Is it your whole script? If it isn't, please post everything that's in your .hps file.

In Ruins [WIP]
(This post was last modified: 02-22-2013, 12:13 AM by NaxEla.)
02-22-2013, 12:13 AM
Find
JohnandSerena Offline
Junior Member

Posts: 11
Threads: 4
Joined: Dec 2012
Reputation: 1
#15
RE: Scripting Error: Unexpected End In Script Please Help!

(02-22-2013, 12:13 AM)NaxEla Wrote:
(02-21-2013, 09:42 PM)JohnandSerena Wrote:
(02-21-2013, 09:32 PM)Adrianis Wrote: What shake?

As the player wakes the screen shakes terribly.

The script that you posted in the OP doesn't have any StartScreenShake function, so the screen shouldn't be shaking at all. Is it your whole script? If it isn't, please post everything that's in your .hps file.

Thats odd? That is my whole script.
02-22-2013, 02:27 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#16
RE: Scripting Error: Unexpected End In Script Please Help!

To get rid of the shake, do one of these things; Remember, do it one at a time. NEVER do it at once.

Make the Player Area higher
Make sure in the wake up zone, NOTHING is colliding with the player.

I also got the shaking thing. I removed it when i realized that a plane was colliding with the player.

"Veni, vidi, vici."
"I came, I saw, I conquered."
02-22-2013, 05:50 AM
Find
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#17
RE: Scripting Error: Unexpected End In Script Please Help!

What JustAnotherPlayer said is plausible, but if that doesn't fix the problem, try changing your values in FadePlayerRollTo(50, 220, 220) to lower values. I know that when using the function MovePlayerHeadPos, if you set the speed too high, the screen will shake when the camera gets to it's final point. I'm assuming that it works the same way for FadePlayerRollTo. Maybe try setting the values to 5 or 10, and don't worry if you think it will be too slow, because you have a 20 second fade in so it won't be that noticable.

In Ruins [WIP]
02-22-2013, 07:28 AM
Find




Users browsing this thread: 2 Guest(s)