Page 1 of 1

[Question]how to fined missing files

Posted: 2008-06-04 17:51
by kishkumen
Text: Cannot load BundledMesh
Object/weapons/handheld/simrad/Meshes/simrad.bundlemesh

ok im not sure how to fix this, im adding PR weapons to BF2 mod, and no im not doing this to make any kind of mod its only for my own SP usuage.
ive read around and i think i understand that i have to add things to the CON and TWEAK files to fix this problem? im not realy sure, can anyone tell me were to go from here.
i have already added the file into the Client and Server of BF2 and done the window mod and this is the msg it gives me.

plz if some one can tell me what to do from here it would be great.

Re: [Question]how to fined missing files

Posted: 2008-06-05 00:53
by zangoo
why are you adding pr simrad to bf2, bf2 already has a simrad. if you want the function of the pr simrad then just copy the code from the pr simrad into the bf2 simrad.

Re: [Question]how to fined missing files

Posted: 2008-06-05 08:52
by kishkumen
hmmm, maybe i made a mistake. isnt the GLTD in PR mod the simrad? if its not then what file is it? and if it is the same folder then what do i do to make it work as a GLTD.

Re: [Question]how to fined missing files

Posted: 2008-06-05 13:06
by zangoo
ok well the simrad in pr is the same as in bf2 they just changed some thing to make it able to lase targets.

here is the code, it should work, i have used bf2 materials, sounds trying to eliminate anything that bf2 would need to load. i have added the code that makes the simrad the simrad so it can now lase targets.

Code: Select all

GeometryTemplate.compressVertexData 1
GeometryTemplate.maxTextureRepeat 16
ObjectTemplate.activeSafe GenericFireArm simrad
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.castsDynamicShadow 1
ObjectTemplate.cullRadiusScale 10
rem ---BeginComp:WeaponHud ---
ObjectTemplate.createComponent WeaponHud
ObjectTemplate.weaponHud.weaponIcon Ingame\Weapons\Icons\Hud\USLMG_M249SAW.tga
ObjectTemplate.weaponHud.altWeaponIcon Ingame\Weapons\Icons\Hud\USLMG_M249SAW_mini.tga
ObjectTemplate.weaponHud.specialAbilityIcon Ingame\Weapons\Icons\Hud\SpecialKitIcons\laserpainter.tga
ObjectTemplate.weaponHud.selectIcon Ingame\Weapons\Icons\Hud\Selection\simrad.tga
ObjectTemplate.weaponHud.hudName "Simrad"
ObjectTemplate.weaponHud.guiIndex 0
ObjectTemplate.weaponHud.altguiIndex 1
ObjectTemplate.weaponHud.hasFireRate 0
ObjectTemplate.weaponHud.showClips 0
ObjectTemplate.weaponHud.hasRangeFinder 1
rem ---EndComp ---
rem ---BeginComp:MultiFireComp ---
ObjectTemplate.createComponent SingleFireComp
ObjectTemplate.fire.roundsPerMinute 60
ObjectTemplate.fire.maxProjectilesInWorld 1
rem ---EndComp ---
rem ---BeginComp:MultiFireArmTargetComp ---
ObjectTemplate.createComponent MultiFireArmTargetComp
ObjectTemplate.target.maxDistance 99999
ObjectTemplate.target.targetSystem TSLaserGuided
ObjectTemplate.target.lockDelay 0
ObjectTemplate.target.loseLockDelay 0
ObjectTemplate.target.lockAngle 15
rem ---EndComp ---
rem ---BeginComp :D efaultAmmoComp ---
ObjectTemplate.createComponent DefaultAmmoComp
ObjectTemplate.ammo.nrOfMags 1
ObjectTemplate.ammo.magSize -1
ObjectTemplate.ammo.reloadTime 0
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 :D efaultSoundComp ---
ObjectTemplate.createComponent DefaultSoundComp
rem ---EndComp ---
rem ---BeginComp :D efaultAnimationComp ---
ObjectTemplate.createComponent DefaultAnimationComp
rem ---EndComp ---
rem ---BeginComp :D efaultZoomComp ---
ObjectTemplate.createComponent DefaultZoomComp
ObjectTemplate.zoom.zoomDelay 0
ObjectTemplate.zoom.zoomLod 1
ObjectTemplate.zoom.addZoomFactor 0.25
ObjectTemplate.zoom.addZoomFactor 0.05
rem ---EndComp ---
ObjectTemplate.geometry SIMRAD
ObjectTemplate.setCollisionMesh simrad
ObjectTemplate.mapMaterial 0 Rubber 0
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Mesh
rem -------------------------------------
ObjectTemplate.addTemplate S_simrad_Fire1P
ObjectTemplate.addTemplate S_simrad_Fire1P_Outdoor
ObjectTemplate.addTemplate S_simrad_Fire3P
ObjectTemplate.addTemplate S_simrad_BoltClick
ObjectTemplate.addTemplate S_simrad_TriggerClick
ObjectTemplate.addTemplate S_simrad_SwitchFireRate
ObjectTemplate.addTemplate S_simrad_Reload1P
ObjectTemplate.addTemplate S_simrad_Reload3P
ObjectTemplate.addTemplate S_simrad_Deploy1P
ObjectTemplate.addTemplate S_simrad_Deploy3P
ObjectTemplate.addTemplate S_simrad_Zoom
rem -------------------------------------
ObjectTemplate.animationSystem1P Objects/Weapons/Handheld/simrad/AnimationSystem1p.inc
ObjectTemplate.animationSystem3P Objects/Weapons/Handheld/simrad/AnimationSystem3p.inc
ObjectTemplate.projectileTemplate simrad_Projectile
ObjectTemplate.keepProjectiles 15
ObjectTemplate.velocity 200
ObjectTemplate.itemIndex 7
ObjectTemplate.delayToUse 0.7

ObjectTemplate.create GenericProjectile simrad_Projectile
ObjectTemplate.modifiedByUser "dbzao"
ObjectTemplate.setNetworkableInfo BasicInfo
ObjectTemplate.createNotInGrid 1
ObjectTemplate.createdInEditor 1
rem ---BeginComp:StickyCollisionComp ---
ObjectTemplate.createComponent StickyCollisionComp
ObjectTemplate.collision.bouncing 1
ObjectTemplate.collision.maxStickAngle 360
ObjectTemplate.collision.stickToStaticObjects 1
ObjectTemplate.collision.stickToVehicles 1
ObjectTemplate.collision.stickToTerrain 1
rem ---EndComp ---
rem ---BeginComp :D efaultProjSoundComp ---
ObjectTemplate.createComponent DefaultProjSoundComp
rem ---EndComp ---
rem ---BeginComp :D efaultPenetrateComp ---
ObjectTemplate.createComponent DefaultPenetrateComp
ObjectTemplate.penetrate.allowSolidPenetration 0
rem ---EndComp ---
ObjectTemplate.floaterMod 0
ObjectTemplate.drag 0
ObjectTemplate.gravityModifier 0
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Point
ObjectTemplate.collisionGroups 8
ObjectTemplate.material 0
rem -------------------------------------
ObjectTemplate.addTemplate S_simrad_Projectile_Looping
ObjectTemplate.addTemplate LaserTarget_simrad
rem -------------------------------------
ObjectTemplate.timeToLive CRD_NONE/30/0/0
ObjectTemplate.material 0
ObjectTemplate.hasOnTimeEffect 1
ObjectTemplate.damage 0

ObjectTemplate.activeSafe Sound S_simrad_Fire1P
ObjectTemplate.modifiedByUser LJO


ObjectTemplate.activeSafe Sound S_simrad_Fire1P_Outdoor
ObjectTemplate.modifiedByUser LJO

ObjectTemplate.activeSafe Sound S_simrad_Fire3P
ObjectTemplate.modifiedByUser LJO


ObjectTemplate.activeSafe Sound S_simrad_BoltClick
ObjectTemplate.modifiedByUser LJO

ObjectTemplate.activeSafe Sound S_simrad_TriggerClick
ObjectTemplate.modifiedByUser LJO

ObjectTemplate.activeSafe Sound S_simrad_SwitchFireRate
ObjectTemplate.modifiedByUser LJO

ObjectTemplate.activeSafe Sound S_simrad_Reload1P
ObjectTemplate.modifiedByUser LJO

ObjectTemplate.activeSafe Sound S_simrad_Reload3P
ObjectTemplate.modifiedByUser LJO

ObjectTemplate.activeSafe Sound S_simrad_Deploy1P
ObjectTemplate.modifiedByUser LJO


ObjectTemplate.activeSafe Sound S_simrad_Deploy3P
ObjectTemplate.modifiedByUser LJO


ObjectTemplate.activeSafe Sound S_simrad_Zoom
ObjectTemplate.modifiedByUser nfe