![]() |
Need some help with floors. - 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: Need some help with floors. (/thread-17939.html) |
Need some help with floors. - Melvin - 08-24-2012 I want to make new footsteps sounds. I thought I could do this by going to the model editor, and edit a plane so the footsteps would sound different. But, I discovered that I couldn't load planes in the model editor. Is there any way to do this? (Without messing with the original game redist.) I have some knowledge on this editing, I'm not a noob. But I'm not a super pro either. Thanks RE: Need some help with floors. - Adny - 08-24-2012 Go to material editor. Open up whatever floor plane you'd like to make a certain sound. Under "Physics Material" (top left side of the screen), scroll down to whatever material you'd like; each is scripted to do a certain sound when collided with, but I think a few (like dirt) will make a small cloud of dust when an entity hits it. When you're done, click "Save as...", then something semi-related to the original material: mansionbase_floor_boards to mansionbase_floor_boards_echo Hope that helped! RE: Need some help with floors. - Ongka - 08-24-2012 Place 7 script areas and let the sounds play. Name the areas Steps_1, Steps_2 and so on till Steps_7 Now create an area which activates the footsteps called StartSteps and an area where when the player enters the footsteps stop, called StopSteps. Maybe you don't even need the StopSteps. It was a long time ago i made this script. This function lets the sounds randomly play at one of the Steps_1 to Steps_7 areas. Code: void OnStart() RE: Need some help with floors. - Melvin - 08-24-2012 Thanks for the replies guys! I will check them out, and let you know if they worked. EDIT: I'll reply again tommorow, its kinda late over here and I'm tired as hell. So talk to ya soon! RE: Need some help with floors. - Melvin - 08-25-2012 (08-24-2012, 08:37 PM)andyrockin123 Wrote: Go to material editor. Open up whatever floor plane you'd like to make a certain sound. Under "Physics Material" (top left side of the screen), scroll down to whatever material you'd like; each is scripted to do a certain sound when collided with, but I think a few (like dirt) will make a small cloud of dust when an entity hits it.hey thanks for the help, but how do I make a custom sound? (where do I put the custom sound file?) RE: Need some help with floors. - Adny - 08-25-2012 You can put new sounds under root>sounds>steps, but I'm not sure how you could actually apply them in the material editor, I don't think it's just as easy as throwing in a new sound and having it appear in the editor. To me. it sounds like some config file editing; maybe Your Computer would know something about this. RE: Need some help with floors. - Your Computer - 08-25-2012 For custom materials with custom sounds, you need to modify materials.cfg. RE: Need some help with floors. - Adny - 08-25-2012 Called it. |