Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Jul 14, 2026 1:27 pm
All times are UTC + 0
Added sounds are always loud
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [12 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
MentalFlesh
Guest




PostPosted: Sun Feb 03, 2013 5:33 am    Post subject:  Added sounds are always loud Reply with quote  Mark this post and the followings unread

Added sounds are always loud, no matter how far away i am from them. I've tried adding a few different settings and values to the audio events such as 'minvolume' and 'minrange' but nothing seems to work, someone help!

Back to top
MentalFlesh
Guest




PostPosted: Mon Feb 11, 2013 11:10 pm    Post subject: Reply with quote  Mark this post and the followings unread

I tried adding a couple of other parameters and now it just makes a quiet 'click' noise.

Back to top
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Tue Feb 12, 2013 5:03 am    Post subject: Reply with quote  Mark this post and the followings unread

?

Post the relevant code, along with a brief description of what situation the sound is being applied to.

_________________

Back to top
View user's profile Send private message
Guest





PostPosted: Tue Feb 12, 2013 11:53 am    Post subject: Reply with quote  Mark this post and the followings unread

<AudioFile>
<AudioFile>
<AudioFile>
<AudioFile>

<AudioEvent>
<Delay>
<PitchShift>
<Sound>mauser98k</Sound> <Sound>mauser98kb</Sound> <Sound>mauser98kc</Sound> <Sound>mauser98kd</Sound>
</AudioEvent>

In game I can hear the sound anywhere on the map

Back to top
MentalFlesh
Guest




PostPosted: Tue Feb 12, 2013 11:56 am    Post subject: Reply with quote  Mark this post and the followings unread

<AudioEvent>
<Delay>
<PitchShift>
<Sound>mauser98k</Sound> <Sound>mauser98kb</Sound> <Sound>mauser98kc</Sound> <Sound>mauser98kd</Sound>
</AudioEvent>

Sorry for having to repost

Back to top
MentalFlesh
Civilian


Joined: 12 Feb 2013

PostPosted: Tue Feb 12, 2013 12:01 pm    Post subject:   Reply with quote  Mark this post and the followings unread

sorry again I cant make it come up properly, I attatached the file this time. It's the only added sound ive put in, its the "<AudioEvent id="mauser98k" one, thanx!

Back to top
View user's profile Send private message
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Tue Feb 12, 2013 12:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

Tick the 'Disable HTML in this post' box if you want to post code.

Back to top
View user's profile Send private message
MentalFlesh
Civilian


Joined: 12 Feb 2013

PostPosted: Wed Feb 13, 2013 11:57 am    Post subject: Reply with quote  Mark this post and the followings unread

<?xml version="1.0" encoding="utf-8"?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Tags />
<Includes>
</Includes>

<Defines>
<Define name="GDI_UNITRESPONSE_VOLUME" value="50" />
<Define name="GDI_UNITRESPONSE_MINVOLUME" value="10" />
<Define name="GDI_UNITRESPONSE_PITCHSHIFT_LOW" value="-1" />
<Define name="GDI_UNITRESPONSE_PITCHSHIFT_HIGH" value="1" />

<Define
name="AMBIENTSOUND_KINDOF"
value="IMMOBILE INERT OPTIMIZED_SOUND"
/>
</Defines>

<MiscAudio
id="MODMiscAudio"
RadarNotifyHarvesterUnderAttackSound=""
RadarNotifyStructureUnderAttackSound=""
RadarNotifyInfiltrationSound=""        
RadarNotifyOnlineSound="RadarOn"              
RadarNotifyOfflineSound="RadarOff"            
GenericRadarEvent=""
BeaconPlacedSound=""
BeaconPlacementFailed=""
DefectorTimerTickSound=""              
DefectorTimerDingSound=""              
AllCheerSound=""                      
NoCanDoSound=""                        
StealthDiscoveredSound=""              
StealthNeutralizedSound=""            
MoneyDepositSound="CashGaining"                  
MoneyWithdrawSound="CashLosing"
LowPower="PlayerBasePowerOff"
SufficientPower="PlayerBasePowerOn"
BuildingDisabled="BuildingGenericPowerOff"                    
BuildingReenabled="BuildingGenericPowerOn"                  
VehicleDisabled=""                    
VehicleReenabled=""                    
SplatterVehiclePilotsBrain=""          
CrateHeal="CratePickup"
CrateShroud="CratePickup"
CrateFreeUnit="CratePickup"
CrateMoney="CratePickup"
UnitPromoted=""                        
RepairSparks=""                        
EnterCloseCombat=""
ExitCloseCombat=""
IncomingChatNotification="ChatInGameNotification"
PrivateMessageNotification="ChatPrivateMesssageNotification"
BuddyMessageNotification=""
GameSpyCommunicatorOpen=""
EnabledHotKeyPressed=""
DisabledHotKeyPressed=""
DisabledButtonClicked=""
LowLODShellMusic="ShellLowLODMP3"
HighLODShellMusic="ShellLowLODMP3"
ScoreScreenMusic="ScoreScreenMusic"
ShellMapLoadMusic="Music_BaseBuilding_Unknown"
FullScreenSubMenuMusic="Music_BaseBuilding_Unknown"
SaveFileLoadMusic="TEMP_RAM_Music360_LoadScreen"
CreditsMusic="Music_BaseBuilding_Unknown"
VolumeSampleMusic="VolumeSampleMusic"
VolumeSampleSoundFX="VolumeSampleSoundFX"
VolumeSampleVoice="VolumeSampleVoice"
VolumeSampleAmbient="VolumeSampleAmbient"
VolumeSampleMovie="VolumeSampleMovie"
MissionBriefingCharacterClick="MissionBriefingCharacter"
ComboBoxClick=""
MPSecondsCountdownBeep="Gui_MPCountdown"
RIFThingTemplateReloadedSound=""      
RIFObjectsRefreshedSound=""    
FastForwardModeOn=""
FastForwardModeOff=""
RallyPointSet="RallyPointSet"
UnableToSetRallyPoint=""
PlanningModeOrderGiven="GuiCommandButtonClick"
BuildingPlacementSound=""
BadBuildingPlacementSound=""
WallPlacementSound=""
AircraftWheelScreech=""
LockonTickSound=""
TargetObjectWithSpecialPowerSound=""
ObjectiveCompletedSound=""
GuiFixedButtonClickedSound="GuiFixedButtonClick"
GuiBuildQueueButtonClickedSound="GuiBuildQueueButtonClick"
GuiSelectionRefinementButtonClickedSound="GuiSelectionRefinementButtonClick"
GuiFactorySelectionButtonClickedSound="GuiFactorySelectionButtonClick"
GuiTogglePowerObjectClickedSound="GuiCommandButtonClick"
GuiToggleRepairObjectClickedSound="GuiCommandButtonClick"
GuiSellObjectClickedSound="GuiCommandButtonClick"
GuiCommandButtonClickedSound="GuiCommandButtonClick"
GuiCommandButtonRightClickedSound="GuiCommandButtonRightClick"
GuiDisabledCommandButtonClickedSound="GuiDisabledCommandButtonClick"
GuiDisabledCommandButtonRightClickedSound="GuiDisabledCommandButtonRightClick"
GuiPlayerPowerButtonClickedSound="GuiPlayerPowerButtonClick"
GuiPauseDialogButtonClickedSound="Gui_ShellMapSelect"
GuiPauseDialogButtonMouseOverSound="Gui_ShellMapMouseOver"
GuiPauseDialogButtonMouseOutSound="Gui_ShellMapMouseOut"
GuiYesNoDialogButtonClickedSound="Gui_ShellMapSelect"
GuiYesNoDialogButtonMouseOverSound="Gui_ShellMapMouseOver"
GuiYesNoDialogButtonMouseOutSound="Gui_ShellMapMouseOut"
/>

<!-- Defaults for AudioEvents in mod. Derive all other AudioEvents from this one -->
<!-- Copied straight from BaseSoundEffect; can't inherbit directly from XML objects in another stream  -->
<AudioEvent id="BaseSoundEffect_Mod"
Volume="100"
MinVolume="0"
Priority="NORMAL"
Limit="3"
MinRange="200"
MaxRange="800"
PlayPercent="100"
Type="UI PLAYER"
DryLevel="100"
ReverbEffectLevel="100"
ZoomedInOffscreenVolumePercent = "50"
ZoomedInOffscreenMinVolumePercent = "100"
ZoomedInOffscreenOcclusionPercent = "20"  >
<!-- You might think the following was a good idea:
SubmixSlider ="SOUNDFX"
IT'S NOT. Doing this in the default sound will mess up the special 'use the speech slider if the
voice flag is present and no SubmixSlider entry was seen' code. -->
</AudioEvent>

<!-- Defaults for MusicTracks. Derive all other MusicTracks from this one -->
<MP3MusicTrack id="BaseMP3MusicTrack"
Volume="55.0"
ReverbEffectLevel = "0"
DryLevel = "100"
SubmixSlider = "MUSIC"
Control = "ALLOW_KILL_MID_FILE"
Priority = "CRITICAL" >
</MP3MusicTrack>

<!-- Defaults for unit responses in mod. Derive unit responses responses from this one -->
<!-- Copied straight from BaseUnitResponse; can't inherbit directly from XML objects in another stream  -->
<AudioEvent id="BaseUnitResponse_Mod" inheritFrom="AudioEvent:BaseSoundEffect_Mod"
Volume="100"
MinVolume="90"
Priority="HIGHEST"
Limit="3"
Type="UI PLAYER VOICE"
SubmixSlider="VOICE" >
</AudioEvent>

<MP3AmbientStream id="BaseAmbientStream_Mod"
Volume = "85.0"
Control = "RANDOMSTART ALLOW_KILL_MID_FILE"
Priority = "CRITICAL"
Type = "EVERYONE"
MinRange = "3400.000"
MaxRange = "4400.000"
DryLevel = "100"
ReverbEffectLevel = "0"
SubmixSlider = "AMBIENT">
</MP3AmbientStream>

<MP3DialogEvent id="BaseMissionDialogue_Mod"
Volume="110"
MinVolume="100"
Limit="1"
Type="WORLD PLAYER"
Priority="CRITICAL"
SubmixSlider="VOICE"
Control="FADE_ON_KILL" >
<VolumeSliderMultiplier Slider="VOICE" Multiplier="0.4" />
<VolumeSliderMultiplier Slider="SOUNDFX" Multiplier="0.7" />
<VolumeSliderMultiplier Slider="MUSIC" Multiplier="0.7" />
<VolumeSliderMultiplier Slider="AMBIENT" Multiplier="0.7" />
</MP3DialogEvent>

<AudioFileMP3Passthrough id="MOHMainScreen" File="AUDIO:MedalofHonor.mp3" />
<MP3MusicTrack id="ShellLowLODMP3" inheritFrom="MP3MusicTrack:BaseMP3MusicTrack" Volume="60">
<VolumeSliderMultiplier Slider="NONE" Multiplier="1.0" />
<!-- This is a fake to prevent the volume sample from being quieted by the movie playing on the main menu -->
<Filename>MOHMainScreen</Filename>
</MP3MusicTrack>

<AudioFile id="EUElLan_VoiCreateb" File="AUDIO:sounds\GUElLan_voxChea.wav" GUIPreset="Default" />
<AudioFile id="mauser98k" File="AUDIO:sounds\mauser98k.wav" GUIPreset="Default" />
<AudioFile id="mauser98kb" File="AUDIO:sounds\mauser98kb.wav" GUIPreset="Default" />
<AudioFile id="mauser98kc" File="AUDIO:sounds\mauser98kc.wav" GUIPreset="Default" />
<AudioFile id="mauser98kd" File="AUDIO:sounds\mauser98kd.wav" GUIPreset="Default" />

<AudioEvent id="mauser98k" inheritFrom="AudioEvent:BaseUnitResponse_Mod"
Volume = "35"
VolumeShift = "-75"
MaxRange="200"
Limit = "3"
Type = "WORLD SHROUDED EVERYONE"
Control = "INTERRUPT"
SubmixSlider = "SOUNDFX" >
<Delay Low = "0" High = "30" />
<PitchShift Low = "-10" High = "10" />
<Sound>mauser98k</Sound> <Sound>mauser98kb</Sound> <Sound>mauser98kc</Sound> <Sound>mauser98kd</Sound>
</AudioEvent>


<AudioFileMP3Passthrough id="MOHAmbientTest" File="AUDIO:MOHAmbientTest.mp3" />
<MP3AmbientStream id="AmbStream_MOHAmbientTest" inheritFrom="MP3AmbientStream:BaseAmbientStream_Mod"
Volume = "45" >
<Filename>MOHAmbientTest</Filename>
</MP3AmbientStream>

<GameObject
id="AmbStream_MOHAmbientTest"
Side="Neutral"
EditorSorting="AUDIO"
KindOf="=$AMBIENTSOUND_KINDOF"
EditorName="AmbStream_MOHAmbientTest">
<ArmorSet
Armor="NoArmor" />
<Body>
<ImmortalBody
id="ModuleTag_DummyBody"
MaxHealth="1.0" />
</Body>
<AudioArraySound>
<AudioEntry Sound="AmbStream_MOHAmbientTest" AudioType="soundAmbient" />
</AudioArraySound>
</GameObject>

</AssetDeclaration>

Back to top
View user's profile Send private message
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Wed Feb 13, 2013 12:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

"along with a brief description of what situation the sound is being applied to"...

_________________

Back to top
View user's profile Send private message
MentalFlesh
Civilian


Joined: 12 Feb 2013

PostPosted: Wed Feb 13, 2013 12:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

it's being used as a weapon fire sound. Made the 'GDI Rifle Soldier Squad' have slow loading single shot rifles as opposed to machine guns.

Back to top
View user's profile Send private message
Ju-Jin
Cyborg Firebomber


Joined: 23 Mar 2009
Location: Germany

PostPosted: Wed Feb 13, 2013 1:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

Your sound inherits from BaseUnitResponse_Mod which has the setting MinVolume="90", which means it plays at a minimum of 90%, use BaseSoundEffect_Mod instead.

_________________

Back to top
View user's profile Send private message Skype Account
MentalFlesh
Civilian


Joined: 12 Feb 2013

PostPosted: Thu Feb 14, 2013 3:09 am    Post subject: Reply with quote  Mark this post and the followings unread

Thank you Smile

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [12 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.2346s ][ Queries: 11 (0.0107s) ][ Debug on ]