Ambient sounds
#11


you can replace all of these




but to make new ones.....




 




if you do a new animal :




no problem the code to call an audio event is placed in the animations code file




 




but for a building, there is the problem :




buildings dont have an animations code file since it has no animations.




even the blacksmith, you remember when you are approaching the BS buildings.... Do you remember to hear a blacksmith working and hammering a metal piece on the anvil ??




bah the code to call the audio event is stored (not in BS building animations since it has none) but in the citizen animation code itself (called "anvil" same place as "saw" or "hammer"...)




            Event _events [    { int _frameId = 595; AnimationEvent _event = "Audio/Tool/AnvilEffect.rsc:event"; } ]

 



Code:
            }
        {
            String _meshName = "Models\Citizen\CitizenMaleMesh.rsc"; String _sourceName = "Models\Citizen\Citizen.fbx";
            String _name = "AnvilWork";
            int _startFrame = 590;
            int _endFrame = 619;
            float _rate = 15.000000;
            bool _looping = true;
            bool _instanced = true;
            int _maxInstances = 4;
            Event _events [    { int _frameId = 595; AnimationEvent _event = "Audio/Tool/AnvilEffect.rsc:event"; } ]
        }

  Reply


Messages In This Thread
Ambient sounds - by Autom - 01-11-2017, 04:23 AM
Ambient sounds - by The Pilgrim - 01-11-2017, 04:44 AM
Ambient sounds - by Necora - 01-11-2017, 08:27 AM
Ambient sounds - by The Pilgrim - 01-11-2017, 08:47 AM
Ambient sounds - by Paeng - 01-11-2017, 09:27 AM
Ambient sounds - by Necora - 01-11-2017, 09:45 AM
Ambient sounds - by ShockPuppet - 01-11-2017, 03:18 PM
Ambient sounds - by The Pilgrim - 01-11-2017, 03:23 PM
Ambient sounds - by ShockPuppet - 01-11-2017, 03:30 PM
Ambient sounds - by Necora - 01-11-2017, 03:51 PM
Ambient sounds - by Ketchup - 01-11-2017, 06:53 PM
Ambient sounds - by Ketchup - 01-11-2017, 06:56 PM
Ambient sounds - by PredatorBeing - 01-11-2017, 07:01 PM
Ambient sounds - by ShockPuppet - 01-12-2017, 04:58 AM
Ambient sounds - by The Pilgrim - 01-12-2017, 07:47 AM
Ambient sounds - by Ketchup - 01-12-2017, 09:34 AM
Ambient sounds - by ShockPuppet - 01-12-2017, 01:11 PM
Ambient sounds - by ShockPuppet - 01-12-2017, 01:12 PM
Ambient sounds - by The Pilgrim - 01-12-2017, 01:59 PM
Ambient sounds - by Ketchup - 01-12-2017, 04:09 PM
Ambient sounds - by Ketchup - 01-12-2017, 04:15 PM
Ambient sounds - by ShockPuppet - 01-12-2017, 04:26 PM
Ambient sounds - by Ketchup - 01-12-2017, 04:27 PM
Ambient sounds - by ShockPuppet - 01-12-2017, 04:34 PM
Ambient sounds - by Ketchup - 01-12-2017, 04:38 PM
Ambient sounds - by The Pilgrim - 01-12-2017, 04:49 PM
Ambient sounds - by Ketchup - 01-12-2017, 05:51 PM
Ambient sounds - by ShockPuppet - 01-12-2017, 07:48 PM
Ambient sounds - by Ketchup - 01-12-2017, 10:02 PM
Ambient sounds - by ShockPuppet - 01-12-2017, 10:05 PM
Ambient sounds - by Ketchup - 01-12-2017, 11:44 PM
Ambient sounds - by ShockPuppet - 01-13-2017, 12:09 AM
Ambient sounds - by Ketchup - 01-13-2017, 12:25 AM
Ambient sounds - by Ketchup - 01-13-2017, 12:39 AM
Ambient sounds - by BuildHappy - 01-13-2017, 12:41 AM
Ambient sounds - by The Pilgrim - 01-13-2017, 04:51 AM
Ambient sounds - by The Pilgrim - 01-13-2017, 04:54 AM
Ambient sounds - by ShockPuppet - 01-13-2017, 05:25 AM
Ambient sounds - by Ketchup - 01-13-2017, 02:34 PM