naseem142
Member
Posts: 153
Threads: 19
Joined: Oct 2012
Reputation:
0
|
RE: My problems
(10-19-2012, 06:16 PM)Nemet Robert Wrote: You have "Removeitem".
It must be "RemoveItem".
Without quotes. On line 158. It actually worked! no more errors!
Thank you so much!
|
|
10-19-2012, 06:26 PM |
|
Robby
Posting Freak
Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation:
47
|
RE: My problems
Not a problem on that one. Remember, organized writing. Check them once in a while.
Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
|
|
10-19-2012, 06:34 PM |
|
naseem142
Member
Posts: 153
Threads: 19
Joined: Oct 2012
Reputation:
0
|
RE: My problems
(10-19-2012, 06:34 PM)Nemet Robert Wrote: Not a problem on that one. Remember, organized writing. Check them once in a while. One last question , If i want to play sounds out of the original amnesia file do i need to put them in my customs story "Sounds" folder? or it will load them from the game files?
EDIT:
Is there something wrong with this?
void OnLeave()
{
void StartCredits(91229.ogg , true, Ending, MainCredits, 2);
}
( I'm going to leave right now , i got a huge exam to do tomorrow and i don't have much time left to study )
So .. good night
(This post was last modified: 10-19-2012, 07:12 PM by naseem142.)
|
|
10-19-2012, 06:38 PM |
|
Robby
Posting Freak
Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation:
47
|
RE: My problems
It isn't necessary. It's from the original Amnesia, which means everybody has it.
And yes, the music name (including the .ogg extension) is not "declared". Like this:
void StartCredits("91229.ogg", true, Ending, MainCredits, 2);
EDIT:
If that music file 91229.ogg is something new, then in the CS folder it goes!
Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
(This post was last modified: 10-19-2012, 07:22 PM by Robby.)
|
|
10-19-2012, 07:13 PM |
|
The chaser
Posting Freak
Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation:
113
|
RE: My problems
(10-19-2012, 06:15 PM)naseem142 Wrote: I got a new error , it is in line 158. Does it mean the error is somewhere in lines 158 and below?
I'm glad you have it working. I just realised the asdf.png at the right, it made my laugh
THE OTHERWORLD (WIP)
Aculy iz dolan.
|
|
10-19-2012, 08:13 PM |
|
Robby
Posting Freak
Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation:
47
|
RE: My problems
Lol, didn't see that image.
Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
|
|
10-20-2012, 04:23 PM |
|
The chaser
Posting Freak
Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation:
113
|
RE: My problems
(10-19-2012, 08:13 PM)The chaser Wrote: (10-19-2012, 06:15 PM)naseem142 Wrote: I got a new error , it is in line 158. Does it mean the error is somewhere in lines 158 and below?
I'm glad you have it working. I just realised the asdf.png at the right, it made my laugh It seems like the asdf.png wants to kill the Fatal error XD
THE OTHERWORLD (WIP)
Aculy iz dolan.
|
|
10-20-2012, 04:57 PM |
|
naseem142
Member
Posts: 153
Threads: 19
Joined: Oct 2012
Reputation:
0
|
RE: My problems
I need help with the playing a sound func. The function: PlaySoundAtEntity( Scream1 , Scream1.ogg, Deadbody_1 , 2.0f, false);
is not working , i get an error " Scream1 is not declared and Deadbody_1 is not declared.
|
|
10-21-2012, 08:49 AM |
|
Adny
Posting Freak
Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation:
173
|
RE: My problems
Strings must be declared, and declared means putting something in quotation marks "like this". You should declare all arguments except boolean, integer, and float values. With that said, your function should look something like this:
PlaySoundAtEntity("Scream1", "Scream1.ogg", "Deadbody_1", 2.0f, false);
Hope that helped!
I rate it 3 memes.
(This post was last modified: 10-21-2012, 08:58 AM by Adny.)
|
|
10-21-2012, 08:57 AM |
|
naseem142
Member
Posts: 153
Threads: 19
Joined: Oct 2012
Reputation:
0
|
RE: My problems
(10-21-2012, 08:57 AM)andyrockin123 Wrote: Strings must be declared, and declared means putting something in quotation marks "like this". You should declare all arguments except boolean, integer, and float values. With that said, your function should look something like this:
PlaySoundAtEntity("Scream1", "Scream1.ogg", "Deadbody_1", 2.0f, false);
Hope that helped! Lol. i actually had a feeling that " " were missing but i wasn't sure where to put them so i tired doing it like this:
PlaySoundAtEntity("Scream1 , Scream1.ogg , Deadbody_1 , 2.0f, false");
Thanks for helping
EDIT: There is no error , but the sound isn't playing :/
I took the sound out of amnesia files so it can't be corrupted.
EDIT: Oh wait nvm , I forgot to rename the entity from Male_corpse to Deadbody_1
Off topic edit: 69 posts
(This post was last modified: 10-21-2012, 09:06 AM by naseem142.)
|
|
10-21-2012, 09:00 AM |
|
|