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


Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How to make an entity sway back and forth?
Post: How to make an entity sway back and forth?

Hi. I want to make a lamp (hanging_lantern_ceiling_1 in my level editor) sway back and forth like someone's just hit it. How do I do this? Thanks in advance.
srobb Development Support 4 3,597 11-08-2012, 02:15 PM
    Thread: How to stop grunt music?
Post: RE: How to stop grunt music?

Worked. Thank you again! :)
srobb Development Support 15 7,640 10-05-2012, 04:03 AM
    Thread: How to stop grunt music?
Post: RE: How to stop grunt music?

That works fine, but the grunts music still plays.
srobb Development Support 15 7,640 10-04-2012, 08:28 AM
    Thread: How to stop grunt music?
Post: RE: How to stop grunt music?

Didn't work, gives me an error when I try to reload the map.
srobb Development Support 15 7,640 10-04-2012, 08:00 AM
    Thread: How to stop grunt music?
Post: RE: How to stop grunt music?

No luck. PlayMusic("29_amb.ogg", true, 2, 2, 10, true); The grunt music still plays with the ambient music.
srobb Development Support 15 7,640 10-03-2012, 07:21 AM
    Thread: How to stop grunt music?
Post: RE: How to stop grunt music?

Still doesn't get rid of the music. Any ideas?
srobb Development Support 15 7,640 10-03-2012, 06:55 AM
    Thread: How to stop grunt music?
Post: RE: How to stop grunt music?

Yes, it still plays the music.
srobb Development Support 15 7,640 10-02-2012, 11:56 AM
    Thread: How to stop grunt music?
Post: RE: How to stop grunt music?

Didn't work, the music still plays. I removed all the sound/music files from the variables menu or whatever, saved it as a new model and replaced the old grunt model with the new grunt model. No luck...
srobb Development Support 15 7,640 10-02-2012, 11:21 AM
    Thread: How to stop grunt music?
Post: How to stop grunt music?

Hi. I have some ambient music playing and there's a grunt encounter a bit into the map and I don't want the grunt music to play. void sanityscript1(string &in asParent, string &in asChild,...
srobb Development Support 15 7,640 10-02-2012, 10:54 AM
    Thread: Music OnStart?
Post: RE: Music OnStart?

Nevermind, I got it working. Thanks :)
srobb Development Support 7 5,014 10-01-2012, 11:51 AM
    Thread: Music OnStart?
Post: RE: Music OnStart?

////Onstartmap void OnStart() { } void OnEnter() { PlayMusic("29_amb.ogg", true, 2, 2, 0, true); } Still won't work. It says "main (13, 1) : ERR: Unexpected token '{'. Line 13 is just a {. I don'...
srobb Development Support 7 5,014 10-01-2012, 11:31 AM
    Thread: Music OnStart?
Post: RE: Music OnStart?

main (8, 1) : ERR : Unexpected token '{' Line 8 is just '{'. void OnEnter() { PlayMusic("29_amb.ogg", true, 2, 2, 0, true); }
srobb Development Support 7 5,014 10-01-2012, 10:11 AM
    Thread: Music OnStart?
Post: Music OnStart?

How do I get music to play as soon as the player enters the map? It's just ambient music, nothing special.
srobb Development Support 7 5,014 10-01-2012, 09:34 AM
    Thread: Show message when interacting with a door?
Post: RE: Show message when interacting with a door?

Yes! It works. Thank you :)
srobb Development Support 23 13,101 09-30-2012, 02:41 PM
    Thread: Show message when interacting with a door?
Post: RE: Show message when interacting with a door?

Nope. Nothing.
srobb Development Support 23 13,101 09-30-2012, 02:34 PM
    Thread: Show message when interacting with a door?
Post: RE: Show message when interacting with a door?

I tried restarting Amnesia, no luck. <LANGUAGE> <CATEGORY Name="CustomStoryMain"> <Entry Name="Description"> descriptionhere </Entry> </CATEGORY> <CATEGORY Name...
srobb Development Support 23 13,101 09-30-2012, 02:11 PM
    Thread: Show message when interacting with a door?
Post: RE: Show message when interacting with a door?

I changed it to </LANGUAGE>, does nothing.
srobb Development Support 23 13,101 09-30-2012, 01:55 PM
    Thread: Show message when interacting with a door?
Post: RE: Show message when interacting with a door?

Ok, I changed the .lang file and got rid of the SetEntityPlayerInteractCallback, still no luck. I followed the tutorial you gave me, no luck.
srobb Development Support 23 13,101 09-30-2012, 01:11 PM
    Thread: Show message when interacting with a door?
Post: RE: Show message when interacting with a door?

Still doesn't work. SetEntityPlayerInteractCallback("wifesroom", "showdoortext1", true); void showdoortext1(string &in asEntity) { if(GetSwingDoorLocked("wifesroom")== true) { SetMessag...
srobb Development Support 23 13,101 09-30-2012, 11:51 AM
    Thread: Show message when interacting with a door?
Post: RE: Show message when interacting with a door?

It still won't work. </CATEGORY> <CATEGORY Name="Message"> <Entry Name="doortext1">Hmm... My wife's room... I wonder why it's locked.</Entry> </CATEGORY> </LA...
srobb Development Support 23 13,101 09-29-2012, 07:04 PM