【HELP】【BF2】i make a new weapon but it got no sound...

Until this forum becomes busy just include BF2, 2142 or BFV in the title

【HELP】【BF2】i make a new weapon but it got no sound...

Postby Dennis|8749236 » Tue Aug 03, 2010 2:46 am

and i tried to move other mod's weapon into BFSP64 is no sounds too...
here is code
Code: Select all
rem *** Generated with Bf2Editor.exe [created: 2005/4/11 15:13]
GeometryTemplate.compressVertexData 1
GeometryTemplate.maxTextureRepeat 16
ObjectTemplate.activeSafe GenericFireArm FIM-92A
ObjectTemplate.creator Velocity
ObjectTemplate.modifiedByUser Velocity
ObjectTemplate.setNetworkableInfo BasicInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.castsDynamicShadow 1
rem ---BeginComp:WeaponHud ---
ObjectTemplate.createComponent WeaponHud
ObjectTemplate.weaponHud.weaponIcon Ingame\Weapons\Icons\Hud\aix_fim92a.tga
ObjectTemplate.weaponHud.altWeaponIcon Ingame\Weapons\Icons\Hud\USATP_Predator_mini.tga
ObjectTemplate.weaponHud.selectIcon Ingame\Weapons\Icons\Hud\aix_fim92a.tga
ObjectTemplate.weaponHud.specialAbilityIcon Ingame\Weapons\Icons\Hud\SpecialKitIcons\antiTank.tga
ObjectTemplate.weaponHud.hudName "FIM-92A Stinger"
ObjectTemplate.weaponHud.guiIndex 0
ObjectTemplate.weaponHud.altGuiIndex 34
ObjectTemplate.weaponHud.disableOnSprint 1
rem ---EndComp ---
rem ---BeginComp:SingleFireComp ---
ObjectTemplate.createComponent SingleFireComp
ObjectTemplate.fire.addFireRate 0
ObjectTemplate.fire.projectileStartPosition 0.3/-0.1/0.2
ObjectTemplate.fire.showWeaponAfterReloadDelay 1.6
ObjectTemplate.fire.hideWeaponAfterReloadDelay 1
ObjectTemplate.fire.dropWeaponAfterReloadDelay 1
ObjectTemplate.fire.busyUntilButtonRelease 1
rem ---EndComp ---
rem ---BeginComp:DefaultAmmoComp ---
ObjectTemplate.createComponent DefaultAmmoComp
ObjectTemplate.ammo.ammoType 1
ObjectTemplate.ammo.nrOfMags 5
ObjectTemplate.ammo.magSize 1
ObjectTemplate.ammo.reloadTime 3
ObjectTemplate.ammo.minimumTimeUntilReload 1.8
ObjectTemplate.ammo.reloadWithoutPlayer 1
rem ---EndComp ---
rem ---BeginComp:SoldierBasedRecoilComp ---
ObjectTemplate.createComponent SoldierBasedRecoilComp
rem ---EndComp ---
rem ---BeginComp:SoldierDeviationComp ---
ObjectTemplate.createComponent SoldierDeviationComp
ObjectTemplate.deviation.setTurnDev 0 0 0 0
ObjectTemplate.deviation.setSpeedDev 0 0 0 0
ObjectTemplate.deviation.setMiscDev 0 0 0
rem ---EndComp ---
rem ---BeginComp:DefaultSoundComp ---
ObjectTemplate.createComponent DefaultSoundComp
rem ---EndComp ---
rem ---BeginComp:DefaultAnimationComp ---
ObjectTemplate.createComponent DefaultAnimationComp
rem ---EndComp ---
rem ---BeginComp:DefaultZoomComp ---
ObjectTemplate.createComponent DefaultZoomComp
ObjectTemplate.zoom.zoomDelay 0.15
ObjectTemplate.zoom.zoomLod 1
ObjectTemplate.zoom.addZoomFactor 0
ObjectTemplate.zoom.addZoomFactor 0.75
ObjectTemplate.zoom.changeFovDelay 0.12
rem ---EndComp ---
rem ---BeginComp:MultiFireArmTargetComp ---
ObjectTemplate.createComponent MultiFireArmTargetComp
ObjectTemplate.target.maxDistance 175
ObjectTemplate.target.setTargetAtMaxDistance 1
ObjectTemplate.target.targetSystem TSHeatSeeking
ObjectTemplate.target.useCameraDirectionToTarget 1
ObjectTemplate.target.lockDelay 0.1
ObjectTemplate.target.loseLockDelay 1.0
ObjectTemplate.target.lockAngle 15
rem ---EndComp ---
ObjectTemplate.geometry aix_fim92a
ObjectTemplate.setCollisionMesh aix_fim92a
ObjectTemplate.mapMaterial 0 Collision_Material 68
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Point
ObjectTemplate.aiTemplate FIM-92A_Weapon
rem -------------------------------------
ObjectTemplate.addTemplate S_aix_fim92a_Fire1P
ObjectTemplate.setPosition -0.00307178/0.00170866/0.415331
ObjectTemplate.addTemplate S_aix_fim92a_Fire1P_Outdoor
ObjectTemplate.setPosition 0/0.000669107/0.415355
ObjectTemplate.addTemplate S_aix_fim92a_Fire3P
ObjectTemplate.setPosition 0.0131125/-0.00612263/0.413292
ObjectTemplate.addTemplate S_aix_fim92a_BoltClick
ObjectTemplate.setPosition 0/0.0704511/0
ObjectTemplate.addTemplate S_aix_fim92a_TriggerClick
ObjectTemplate.setPosition 0/0.0502269/-0.0212022
ObjectTemplate.addTemplate S_aix_fim92a_SwitchFireRate
ObjectTemplate.setPosition 0/0.0476625/0
ObjectTemplate.addTemplate S_aix_fim92a_Reload1P
ObjectTemplate.setPosition 0/0.0468495/0.0667839
ObjectTemplate.addTemplate S_aix_fim92a_Reload3P
ObjectTemplate.setPosition 0/0.0268768/-0.00257115
ObjectTemplate.addTemplate S_aix_fim92a_Deploy1P
ObjectTemplate.setPosition 0/0.0357821/0
ObjectTemplate.addTemplate S_aix_fim92a_Deploy3P
ObjectTemplate.setPosition 0/0.041555/0
ObjectTemplate.addTemplate S_aix_fim92a_Zoom
ObjectTemplate.setPosition 0/0.0291288/0
ObjectTemplate.addTemplate e_muzz_predator
ObjectTemplate.setPosition 0.0169145/-0.00720508/0.425885
rem -------------------------------------
ObjectTemplate.animationSystem1P Objects/Weapons/Handheld/fim92a/AnimationSystem1p.inc
ObjectTemplate.animationSystem3P Objects/Weapons/Handheld/fim92a/AnimationSystem3p.inc
ObjectTemplate.projectileTemplate FIM-92A_Stinger_Missiles
ObjectTemplate.velocity 30
ObjectTemplate.itemIndex 7
ObjectTemplate.delayToUse 1

ObjectTemplate.activeSafe Sound S_aix_fim92a_Fire1P
ObjectTemplate.modifiedByUser Velocity
ObjectTemplate.soundFilename "objects/weapons/handheld/FIM92A/sounds/stereo/fire_1p.wav"
ObjectTemplate.loopCount 0
ObjectTemplate.is3dSound 0
ObjectTemplate.stopType 1
ObjectTemplate.volume 1
ObjectTemplate.pitch 1
ObjectTemplate.pan 0.5
ObjectTemplate.reverbLevel 1
ObjectTemplate.position -0.00307178/0.00170866/0.415331

ObjectTemplate.activeSafe Sound S_aix_fim92a_Fire1P_Outdoor
ObjectTemplate.modifiedByUser Velocity

ObjectTemplate.activeSafe Sound S_aix_fim92a_Fire3P
ObjectTemplate.modifiedByUser Velocity
ObjectTemplate.soundFilename "objects/weapons/handheld/FIM92A/sounds/mono/fire_3p.wav"
ObjectTemplate.loopCount 0
ObjectTemplate.is3dSound 1
ObjectTemplate.stopType 1
ObjectTemplate.volume 0.97
ObjectTemplate.pitch 1
ObjectTemplate.reverbLevel 1
ObjectTemplate.position 0.0131125/-0.00612263/0.413292
ObjectTemplate.minDistance 2
ObjectTemplate.halfVolumeDistance 20

ObjectTemplate.activeSafe Sound S_aix_fim92a_BoltClick
ObjectTemplate.modifiedByUser Velocity

ObjectTemplate.activeSafe Sound S_aix_fim92a_TriggerClick
ObjectTemplate.modifiedByUser Velocity
ObjectTemplate.soundFilename "objects/weapons/handheld/uspis_92fs/sounds/mono/trigger_click.wav"
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 0
ObjectTemplate.stopType 1
ObjectTemplate.volume 0.7
ObjectTemplate.pitch 1
ObjectTemplate.pan 0.5
ObjectTemplate.reverbLevel 1
ObjectTemplate.position 0/0.0502269/-0.0212022

ObjectTemplate.activeSafe Sound S_aix_fim92a_SwitchFireRate
ObjectTemplate.modifiedByUser Velocity

ObjectTemplate.activeSafe Sound S_aix_fim92a_Reload1P
ObjectTemplate.modifiedByUser Velocity

ObjectTemplate.activeSafe Sound S_aix_fim92a_Reload3P
ObjectTemplate.modifiedByUser Velocity

ObjectTemplate.activeSafe Sound S_aix_fim92a_Deploy1P
ObjectTemplate.modifiedByUser Velocity
ObjectTemplate.soundFilename "objects/weapons/handheld/FIM92A/sounds/stereo/deploy_1p.wav"
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 0
ObjectTemplate.stopType 0
ObjectTemplate.volume 0.55
ObjectTemplate.pitch 1
ObjectTemplate.pan 0.5
ObjectTemplate.reverbLevel 1
ObjectTemplate.position 0/0.0357821/0

ObjectTemplate.activeSafe Sound S_aix_fim92a_Deploy3P
ObjectTemplate.modifiedByUser Velocity
ObjectTemplate.soundFilename "objects/weapons/handheld/FIM92A/sounds/mono/deploy_3p.wav"
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 1
ObjectTemplate.stopType 0
ObjectTemplate.volume 0.6
ObjectTemplate.pitch 1
ObjectTemplate.reverbLevel 0
ObjectTemplate.position 0/0.041555/0
ObjectTemplate.minDistance 0.5
ObjectTemplate.halfVolumeDistance 1

ObjectTemplate.activeSafe Sound S_aix_fim92a_Zoom
ObjectTemplate.modifiedByUser Velocity
ObjectTemplate.soundFilename "objects/weapons/handheld/FIM92A/sounds/mono/zoom.wav"
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 0
ObjectTemplate.stopType 1
ObjectTemplate.volume 1
ObjectTemplate.pitch 1
ObjectTemplate.pan 0.5
ObjectTemplate.reverbLevel 1
ObjectTemplate.position 0/0.0291288/0

What is the meaning of Life?? (Don't think about it!)
User avatar
Dennis|8749236
 
Posts: 239
Joined: Sun Nov 29, 2009 6:02 am
Location: Earth

Re: 【HELP】【BF2】i make a new weapon but it got no sound...

Postby Apache Thunder » Thu Nov 04, 2010 8:16 pm

Most likely you didn't copy over the sound files or did not put them in the same path as the coding originally had. Check that the sound objects are set to the correct location of the wave files.
ImageImageImage

I have cameras in your head!
User avatar
Apache Thunder
 
Posts: 1192
Joined: Mon Oct 19, 2009 2:48 am
Location: Levelland Texas, USA

Re: 【HELP】【BF2】i make a new weapon but it got no sound...

Postby motoko » Fri Nov 05, 2010 5:10 am

You're Japanese, aren't you离?
User avatar
motoko
 
Posts: 217
Joined: Sun Nov 21, 2010 8:43 pm
Location: Dante's 6th Pit of Hell

Re: 【HELP】【BF2】i make a new weapon but it got no sound...

Postby Dennis|8749236 » Mon Apr 04, 2011 3:28 am

forgot to answer this post..
============================
I just wrote wrong name..
What is the meaning of Life?? (Don't think about it!)
User avatar
Dennis|8749236
 
Posts: 239
Joined: Sun Nov 29, 2009 6:02 am
Location: Earth

Re: 【HELP】【BF2】i make a new weapon but it got no sound...

Postby Jeronimo » Tue Apr 05, 2011 6:03 am

Lol, you post a BF2 question in the general discussion board (I moved it here), then give it a fictional [BF2] tag and spice it up with a funky [HELP] tag. I'd suggest adding [modding], [code] and [game] text tags, for example, for further demonstration of how incapable one can be of using simple prefixes and a forum structure :roll:
Image
Jeronimo
 
Posts: 196
Joined: Sun Dec 27, 2009 8:55 pm
Location: Germany

Re: 【HELP】【BF2】i make a new weapon but it got no sound...

Postby Dennis|8749236 » Sun Apr 10, 2011 7:38 pm

don't understand sorry..
are you saying i didn't used a prefix when i submit this post?
What is the meaning of Life?? (Don't think about it!)
User avatar
Dennis|8749236
 
Posts: 239
Joined: Sun Nov 29, 2009 6:02 am
Location: Earth

Re: 【HELP】【BF2】i make a new weapon but it got no sound...

Postby fo0k » Mon Apr 11, 2011 1:07 am

Is this thread resolved? can be closed?
J, you saw it was from 2010 right? heheh
User avatar
fo0k
 
Posts: 1412
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: 【HELP】【BF2】i make a new weapon but it got no sound...

Postby Dennis|8749236 » Wed May 11, 2011 8:47 pm

how to close it?
What is the meaning of Life?? (Don't think about it!)
User avatar
Dennis|8749236
 
Posts: 239
Joined: Sun Nov 29, 2009 6:02 am
Location: Earth

Re: 【HELP】【BF2】i make a new weapon but it got no sound...

Postby Apache Thunder » Mon Aug 08, 2011 4:22 am

Closed by request. If you want it reopened, PM fo0k, me, Senshi, or other mod. ;)
ImageImageImage

I have cameras in your head!
User avatar
Apache Thunder
 
Posts: 1192
Joined: Mon Oct 19, 2009 2:48 am
Location: Levelland Texas, USA


Return to Battlefield 2, 2142 and Vietnam Discussion

Who is online

Users browsing this forum: No registered users and 4 guests