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
Help with Amnesia Level Editor
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#11
RE: Help with Amnesia Level Editor

GiveSanityDamage( float 10.0f, bool true );

(This post was last modified: 04-27-2013, 05:27 AM by Daemian.)
04-27-2013, 05:26 AM
Find
Natsu Offline
Junior Member

Posts: 35
Threads: 5
Joined: Apr 2013
Reputation: 0
#12
RE: Help with Amnesia Level Editor

With that code now says (7, 26). Now I'm confused.
04-27-2013, 05:31 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#13
RE: Help with Amnesia Level Editor

(04-27-2013, 05:07 AM)Natsu Wrote: It gives me this error on the Sanity line:
[Image: DjGDX38.png]

And this is what I have done.
[Image: xgKHy6Y.png]

PHP Code: (Select All)
GiveSanityDamage(10.0ftrue); 

"Veni, vidi, vici."
"I came, I saw, I conquered."
04-27-2013, 05:31 AM
Find
Natsu Offline
Junior Member

Posts: 35
Threads: 5
Joined: Apr 2013
Reputation: 0
#14
RE: Help with Amnesia Level Editor

(04-27-2013, 05:31 AM)JustAnotherPlayer Wrote:
(04-27-2013, 05:07 AM)Natsu Wrote: It gives me this error on the Sanity line:
[Image: DjGDX38.png]

And this is what I have done.
[Image: xgKHy6Y.png]

PHP Code: (Select All)
GiveSanityDamage(10.0ftrue); 

[Image: lhTEfn5.png]
04-27-2013, 05:34 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#15
RE: Help with Amnesia Level Editor

(04-27-2013, 05:34 AM)Natsu Wrote:
(04-27-2013, 05:31 AM)JustAnotherPlayer Wrote:
(04-27-2013, 05:07 AM)Natsu Wrote: It gives me this error on the Sanity line:
[Image: DjGDX38.png]

And this is what I have done.
[Image: xgKHy6Y.png]

PHP Code: (Select All)
GiveSanityDamage(10.0ftrue); 

[Image: lhTEfn5.png]

PlaySoundAtEntity("", "amb_idle01.snt", "Player", 0.1f, false);

"Veni, vidi, vici."
"I came, I saw, I conquered."
(This post was last modified: 04-27-2013, 05:37 AM by PutraenusAlivius.)
04-27-2013, 05:36 AM
Find
Natsu Offline
Junior Member

Posts: 35
Threads: 5
Joined: Apr 2013
Reputation: 0
#16
RE: Help with Amnesia Level Editor

Thanks it worked, but the sound doesn't play.
04-27-2013, 05:39 AM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#17
RE: Help with Amnesia Level Editor

PlaySoundAtEntity("", "amb_idle01.snt", "Player", 0.1f, false);


For ambient music i use PlayMusic()

Try this line instead
PHP Code: (Select All)
PlayMusic "21_event_pit.ogg"false121false ); 


if this works for you, change the sound file.


Btw, we kinda need like a real time chat in this forum.
That would be cool.

04-27-2013, 07:07 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#18
RE: Help with Amnesia Level Editor

(04-27-2013, 07:07 AM)Amn Wrote: PlaySoundAtEntity("", "amb_idle01.snt", "Player", 0.1f, false);


For ambient music i use PlayMusic()

Try this line instead
PHP Code: (Select All)
PlayMusic "21_event_pit.ogg"false121false ); 


if this works for you, change the sound file.


Btw, we kinda need like a real time chat in this forum.
That would be cool.

*points to the IRC button on the top-right corner of every page*

"Veni, vidi, vici."
"I came, I saw, I conquered."
04-27-2013, 07:18 AM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#19
RE: Help with Amnesia Level Editor

Oooh. Nice. Hello button!
Other forums taught me to never expect anything good up there (like banners&spam)
Am i the only one? lol.

04-27-2013, 10:40 AM
Find
Natsu Offline
Junior Member

Posts: 35
Threads: 5
Joined: Apr 2013
Reputation: 0
#20
RE: Help with Amnesia Level Editor

I managedto find the problem, the volume for the sound was way lower than the music and I couldn't hear it. I just used another sound. Now, what I want to know is how can I make a wall move and open a passage. Like the moving library at the Original Amnesia.
04-27-2013, 02:59 PM
Find




Users browsing this thread: 3 Guest(s)