Announcement

Collapse
No announcement yet.

Sounds for ground materials?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Assigning a PhysicalMaterials.PM_* to a Material's PhysMaterial property slot is the proper way to assign footstep sounds.
    Note that this does not apply to Terrain since it currently disregards the PhysMaterial for the individual layer materials. This should be addressed in a future engine build.

    To create totally custom new PhysicalMaterials requires that you create a new PhysicalMaterial object in your package, specify the appropriate PhysicalMaterialProperty and modify the game scripts to assign the sound etc.
    This isn't an easy task and not something that I would recommend anyone try unless they are creating a TC.

    Originally posted by Nawrot View Post
    Did anybody found way to add custom physics material (with sound) to material, i mean totally custom, not one from predefined physics materials.

    Comment


      #17
      Originally posted by DGUnreal View Post
      To create totally custom new PhysicalMaterials requires that you create a new PhysicalMaterial object in your package, specify the appropriate PhysicalMaterialProperty and modify the game scripts to assign the sound etc.
      This isn't an easy task and not something that I would recommend anyone try unless they are creating a TC.
      Aww, ****. So I can't really make any kind of custom "reactive" material without fiddling with the script?

      Comment


        #18
        There is no easier method that I am aware of.

        Comment


          #19
          me have sad face

          Comment


            #20
            Originally posted by Idiot View Post
            me have sad face
            Me to, baww. And making script for single map = rerererelease hell when Epic releases new patch that occasionally can make your script incompatible. So no go for something as simple as map.

            Comment


              #21
              What about custom PhysicalMaterials? I created one called "forcefield" but it doesn't do anything when I shoot at it or touch it. I did a search for this and found only disappointing results.

              *edit*
              Never mind, you guys already answered my question.
              *edit*

              Comment


                #22
                Odedge...Thanks very much man. I spent like one and half day trying to sort out the problem. I was trying to trigger an audio when a car hits some boxes in the level. Tried all sorts of ways to get it working. Finally your method worked.
                I had also opened a thread for this issue.
                http://forums.epicgames.com/showthread.php?t=805563

                Comment

                Working...
                X