Editor thumbnails, sounds, and opening a door - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Editor thumbnails, sounds, and opening a door (/thread-20548.html) Pages:
1
2
|
Editor thumbnails, sounds, and opening a door - Damascus Rose - 02-28-2013 I have 3 problems. /////solved No thumbnails are showing up for static objects or entities in my level editor. ///////////////////// Sometimes sounds I play from script with the PlaySoundAtEntity() don't seem to play when others do, what is the cause of this? ///////////////////// solved And I'm trying to get this swing door to open through script, and I've tried a few things, none of them work. I opened up the script from the Rainy Hall and copied it for my own door, but it has no effect. I also tried PropImpulses and Forces and still it does nothing. Right now all I have is SetSwingDoorDisableAutoClose("nightmare_door", true); SetSwingDoorClosed("nightmare_door", false, false); If anyone could help me with any of these issues, that would be much appreciated. RE: Editor thumbnails, sounds, and opening a door - No Author - 02-28-2013 From all of this problems I can only tell you this. Re-install the game. RE: Editor thumbnails, sounds, and opening a door - OriginalUsername - 02-28-2013 Yes. Reinstall the game, and check if there are no caches in your /maps folder. RE: Editor thumbnails, sounds, and opening a door - Damascus Rose - 03-07-2013 What would reinstalling the game do? I just installed it from steam and put the editor in and it doesn't work RE: Editor thumbnails, sounds, and opening a door - ExpectedIdentifier - 03-08-2013 Verify integrity of game cache on steam, hopefully that'll work RE: Editor thumbnails, sounds, and opening a door - The chaser - 03-08-2013 or re-install the editor, the game doesn't have to do anything about this. Do this: -Check your LevelEditor.log in Documents/HPL2/ and post it -Re-install editors If it doesn't work, send the game to full s**t (disinstall) and re-install. For the door thing: Make sure it's: -The good direction and axis for force -Having "world" at the end of the AddPropForce thing RE: Editor thumbnails, sounds, and opening a door - Damascus Rose - 03-14-2013 Alright well, the issue with the thumbnail is fixed. But the sounds still aren't playing when I tell them to play in a script, for example this: PlaySoundAtEntity("","explosion_rock_large", "Player", 0, false); Normally I wouldn't have it set to create it at "player" but I wanted to see if it would work on the player and it doesn't, just the same as if I put it on a script area RE: Editor thumbnails, sounds, and opening a door - NaxEla - 03-14-2013 (03-14-2013, 06:41 AM)Damascus Rose Wrote: Alright well, the issue with the thumbnail is fixed. But the sounds still aren't playing when I tell them to play in a script, for example this: You'll need to put the extension for the sound file (.snt). PlaySoundAtEntity("","explosion_rock_large.snt", "Player", 0, false); RE: Editor thumbnails, sounds, and opening a door - Damascus Rose - 03-14-2013 I will test that one later, but what about this one? I'm trying to get the insanity effect of the babies crying so I used this code PlayGuiSound("insanity_baby_cry_1.ogg", 1); And it doesn't play a thing, what's wrong with it? RE: Editor thumbnails, sounds, and opening a door - NaxEla - 03-14-2013 (03-14-2013, 06:52 AM)Damascus Rose Wrote: I will test that one later, but what about this one? I'm trying to get the insanity effect of the babies crying so I used this code Hmm.. that looks fine to me. Maybe the function that it's in doesn't actually get called? Try adding a debug message (AddDebugMessage) and make sure that the function the sound is in gets called. |