I'm overhauling some of the effects from vanilla BF2, but I'm not sure how to add more than one sound effect to an e_.tweak file (specifically e_exp_Xlarge.tweak).
I tried doing the following except it gave me an error:
...
ObjectTemplate.addTemplate S_e_exp_Xlarge_Start
ObjectTemplate.addTemplate S_e_exp_Xlarge_Start2
...
ObjectTemplate.activeSafe Sound S_e_exp_xlarge_Start
ObjectTemplate.modifiedByUser dsu
ObjectTemplate.soundFilename "common/material/impact/sound1.wav"
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 1
ObjectTemplate.stopType 1
ObjectTemplate.volume 1
etc...
ObjectTemplate.activeSafe Sound S_e_exp_xlarge_Start2
ObjectTemplate.modifiedByUser dsu
ObjectTemplate.soundFilename "common/material/impact/sound2.wav"
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 1
ObjectTemplate.stopType 1
ObjectTemplate.volume 1
etc ...
---------------------------
BF2 Error
---------------------------
Debug assertion failed!
Version: 1.5.3153-802.0 Build date:2011-6-28 12:12
Module: Fx
File: C:\dice\Projects\BF2Branches\Patch_1_50\Code\BF2\Game\Objects\Fx\EffectBundle.cpp
Line: 1274
Text: e_exp_Xlarge addBundleChilds() template not found:S_e_exp_Xlarge_Start2
Current confile:
---------------------------
Cancel Try Again Continue
---------------------------
Any ideas?
Adding more than one sound to effects?
Making or wanting help making your own asset? Check in here
Return to “PR:BF2 Community Modding”
Jump to
- Announcements
- ↳ Announcements & Highlights
- ↳ Development Blogs
- ↳ Changelogs
- ↳ Events
- PR:BF2 Mod Forums
- ↳ PR:BF2 General Discussion
- ↳ PR:BF2 Suggestions
- ↳ PR:BF2 Feedback
- ↳ Maps
- ↳ Vehicles
- ↳ Infantry
- ↳ Coop & Singleplayer
- ↳ PR:BF2 Bugs
- ↳ PR:BF2 Tales from the Front
- ↳ Tactics & Strategies
- ↳ Map Strategies
- ↳ Infantry Tactics
- ↳ Squad Leader Tactics
- ↳ Commander Tactics
- ↳ Armor Tactics
- ↳ Aircraft Tactics
- ↳ PR:BF2 Clans
- ↳ Clan Wars
- ↳ Clan Recruitment
- ↳ PR:BF2 Community Factions
- ↳ Mapping
- ↳ Objects
- ↳ Coding
- ↳ Modelling&Animations
- ↳ Texturing
- ↳ Chilean Forces 1978
- ↳ Indonesian Forces
- ↳ Faction Archives
- ↳ African Resistance Fighters
- ↳ Australian Forces
- ↳ Dutch Forces
- ↳ Finnish Defense Forces
- ↳ New Zealand Def. Force
- ↳ Norwegian Forces
- ↳ Polish Forces
- ↳ Czech Forces
- ↳ Brazilian/FARC Forces
- ↳ PR:WWII General Discussion
- ↳ PR:WWII Suggestions
- ↳ PR:Falklands General Discussion
- ↳ PR:F Suggestions
- ↳ PR:Vietnam General Discussion
- ↳ PR:V Suggestions
- ↳ PR:BF2 Community Modding
- ↳ Modding Tutorials
- ↳ Community Maps
- ↳ Community Tasks
- PR Server Forums
- ↳ PR:BF2 Server Feedback
- Project Reality Support
- ↳ PR:BF2 Support
- ↳ General Technical Support
- ↳ Hardware
- ↳ Software
- ↳ OverClocking & Networking
- ↳ PR Dev Blogs
- ↳ Official PR Tournament News
- ↳ Tournament Website
- ↳ PR Dev Journal Archives
- ↳ 2009
- ↳ 2008
- ↳ 2007

