Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need some help !
Author Message
narutohokager Offline
Member

Posts: 126
Joined: Jan 2011
Reputation: 0
Post: #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

12-13-2011 10:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Statyk Offline
Modmau5

Posts: 3,600
Joined: Sep 2011
Reputation: 198
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
nemesis567 Offline
Posting Freak

Posts: 840
Joined: May 2011
Reputation: 10
Post: #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 all posts by this user Quote this message in a reply
Statyk Offline
Modmau5

Posts: 3,600
Joined: Sep 2011
Reputation: 198
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
Your Computer Offline
SCAN ME!

Posts: 3,234
Joined: Jul 2011
Reputation: 215
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
nemesis567 Offline
Posting Freak

Posts: 840
Joined: May 2011
Reputation: 10
Post: #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 all posts by this user Quote this message in a reply
narutohokager Offline
Member

Posts: 126
Joined: Jan 2011
Reputation: 0
Post: #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);
}

(This post was last modified: 12-15-2011 09:46 PM by narutohokager.)
12-15-2011 09:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Your Computer Offline
SCAN ME!

Posts: 3,234
Joined: Jul 2011
Reputation: 215
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
palistov Offline
Posting Freak

Posts: 1,175
Joined: Mar 2011
Reputation: 56
Post: #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 all posts by this user Quote this message in a reply
Karai16 Offline
Member

Posts: 164
Joined: Apr 2011
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: