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
Need some help !
narutohokager Offline
Member

Posts: 149
Threads: 28
Joined: Jan 2011
Reputation: 0
#1
Need some help !

Hi hi hi Big Grin
So I have two problems :
First : FadeSepiaColorTo(5,1); Not working ! He do anything...
Second :
Not really a problem... Hard to explain because i'm french.
I'm looking for a sound of a monster/creature that goes really fast (Like 2-3 seconds) Dont know where i can found this Undecided
Thank a lot Shy

Sorry for my bad english
Amnesia The Revenge - Chapter 1
12-13-2011, 10:13 PM
Website Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#2
RE: Need some help !

1) FadeSepiaColorTo(5, 1); //You needed a space between "5,_1"

2) go into the main folder, go to the "sounds" folder. Then "enemy". And search in the monster sound that you would like. Preference is up to you.
12-14-2011, 01:31 AM
Find
nemesis567 Offline
Posting Freak

Posts: 874
Threads: 65
Joined: May 2011
Reputation: 10
#3
RE: Need some help !

Statyk, does the space make a difference in AngelScript?

Today I dreamt the life I could live forever. You only know that when you feel it for you know not what you like until you've experienced it.
12-14-2011, 01:46 AM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#4
RE: Need some help !

(12-14-2011, 01:46 AM)nemesis567 Wrote: Statyk, does the space make a difference in AngelScript?
It could. Everything else is fine about it. Even in normal speech, a space is necessary after commas for proper grammar. I have always put a space, as well as everyone else, so it COULD.
12-14-2011, 02:20 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#5
RE: Need some help !

The compiler normally doesn't care about spaces and tends to remove them before parsing. Putting a space there is normally done for making the script easier to read for others. If the function isn't working, then we're going to need to see more of the entire script.

Tutorials: From Noob to Pro
(This post was last modified: 12-14-2011, 05:01 AM by Your Computer.)
12-14-2011, 04:59 AM
Website Find
nemesis567 Offline
Posting Freak

Posts: 874
Threads: 65
Joined: May 2011
Reputation: 10
#6
RE: Need some help !

(12-14-2011, 04:59 AM)Your Computer Wrote: The compiler normally doesn't care about spaces and tends to remove them before parsing. Putting a space there is normally done for making the script easier to read for others. If the function isn't working, then we're going to need to see more of the entire script.
I though so. I think the problem might be related to the way he calls that function. Please post the script which includes the part where that function is called.


Today I dreamt the life I could live forever. You only know that when you feel it for you know not what you like until you've experienced it.
12-14-2011, 01:14 PM
Find
narutohokager Offline
Member

Posts: 149
Threads: 28
Joined: Jan 2011
Reputation: 0
#7
RE: Need some help !

(12-14-2011, 01:31 AM)Statyk Wrote: 1) FadeSepiaColorTo(5, 1); //You needed a space between "5,_1"
Its still not working ! Undecided FadeSepiaColorTo(15, 1); Maybe I need to put a figure greater than 15 ?
Your Computer : Here script :
Quote: void CollideAreaPortrait(string &in asParent, string &in asChild, int alState)
{
AddTimer("TimerFadeIn", 1.5f, "FadeInGuardien");
FadeOut(0.1f);
}
void FadeInGuardien(string &in asTimer)
{
FadeIn(0.05f);
StartScreenShake(0.1f,1, 0.5f,0.5f);
FadeSepiaColorTo(15, 1);
SetPlayerActive(true);
}



Sorry for my bad english
Amnesia The Revenge - Chapter 1
(This post was last modified: 12-15-2011, 09:46 PM by narutohokager.)
12-15-2011, 09:45 PM
Website Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#8
RE: Need some help !

(12-15-2011, 09:45 PM)narutohokager Wrote: Your Computer : Here script :

That's not enough to help you.

Tutorials: From Noob to Pro
12-15-2011, 10:58 PM
Website Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#9
RE: Need some help !

Spaces between arguments or parameters aren't necessary, from my experience. They are needed in some places, like between the function type and its name. voidYourFXN(param1, param2) would definitely cause an issue.

narutohokager: Try using a value less than 1. I'm not sure if the function works with such high values.

FadeSepiaColorTo(0.2f, 1.0f); <-- see if that works.

12-15-2011, 11:54 PM
Find
Karai16 Offline
Member

Posts: 164
Threads: 24
Joined: Apr 2011
Reputation: 0
#10
RE: Need some help !

As-tu déja résolu le problem avec l'audio ou le script?

Custom stories:
Her Games (100% Complete)
Her Games, All Bugs Fixed (100% Complete)
12-16-2011, 12:37 AM
Find




Users browsing this thread: 2 Guest(s)