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


Thread Rating:
  • 3 Vote(s) - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My problems
naseem142 Offline
Member

Posts: 153
Threads: 19
Joined: Oct 2012
Reputation: 0
#81
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! Big Grin
Thank you so much!
10-19-2012, 06:26 PM
Website Find
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#82
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
Website Find
naseem142 Offline
Member

Posts: 153
Threads: 19
Joined: Oct 2012
Reputation: 0
#83
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 Sleepy , 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 Rolleyes)
So .. good night Big Grin
(This post was last modified: 10-19-2012, 07:12 PM by naseem142.)
10-19-2012, 06:38 PM
Website Find
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#84
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
Website Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#85
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?

[Image: MIBR4.png]
I'm glad you have it working. I just realised the asdf.png at the right, it made my laugh Big Grin

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-19-2012, 08:13 PM
Find
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#86
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
Website Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#87
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?

[Image: MIBR4.png]
I'm glad you have it working. I just realised the asdf.png at the right, it made my laugh Big Grin
It seems like the asdf.png wants to kill the Fatal error XD

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-20-2012, 04:57 PM
Find
naseem142 Offline
Member

Posts: 153
Threads: 19
Joined: Oct 2012
Reputation: 0
#88
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
Website Find
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#89
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
Find
naseem142 Offline
Member

Posts: 153
Threads: 19
Joined: Oct 2012
Reputation: 0
#90
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 Big Grin

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 Cool
(This post was last modified: 10-21-2012, 09:06 AM by naseem142.)
10-21-2012, 09:00 AM
Website Find




Users browsing this thread: 2 Guest(s)