[Question] bf2 guided bomb?
Posted: 2007-10-22 02:33
ok so i am trying to make a guided bomb. now i will try to make it lock on to markers but right now all i need it to do is to lock on to fire.
so this is what i have done so far, i just need the bomb to lock on to a heat source and turn and hit it. i have made it so the bomb has no thrust so it shouldnt speed up i hope. i just need some help i have never done this, just messed around with things like 9999bombs for a jet or bomb power.
cant get rid of the happy face.
so this is what i have done so far, i just need the bomb to lock on to a heat source and turn and hit it. i have made it so the bomb has no thrust so it shouldnt speed up i hope. i just need some help i have never done this, just messed around with things like 9999bombs for a jet or bomb power.
Code: Select all
rem *** Generated with Bf2Editor.exe [created: 2005/5/2 12:12]
GeometryTemplate.compressVertexData 1
GeometryTemplate.maxTextureRepeat 16
ObjectTemplate.activeSafe GenericProjectile mk82_dumbbomb
ObjectTemplate.creator DSU-3 :d su
ObjectTemplate.modifiedByUser mei
ObjectTemplate.setNetworkableInfo BasicInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.createNotInGrid 1
ObjectTemplate.cullRadiusScale 5
rem ---BeginComp :D efaultCollisionComp ---
ObjectTemplate.createComponent DefaultCollisionComp
ObjectTemplate.collision.hasCollisionEffect 1
rem ---EndComp ---
rem ---BeginComp :D efaultDetonationComp ---
ObjectTemplate.createComponent DefaultDetonationComp
ObjectTemplate.detonation.explosionMaterial 56
ObjectTemplate.detonation.explosionRadius 17
ObjectTemplate.detonation.explosionForce 20
ObjectTemplate.detonation.explosionDamage 350
ObjectTemplate.detonation.endEffectTemplate e_exp_Xlarge
ObjectTemplate.detonation.useMMOnEndEffect 1
ObjectTemplate.detonation.detectionRadius 1.5
ObjectTemplate.detonation.maxDepthForExplosion 2
rem ---EndComp ---
rem ---BeginComp :D efaultProjSoundComp ---
ObjectTemplate.createComponent DefaultProjSoundComp
rem ---EndComp ---
rem ---BeginComp:SeekClosestTargetComp ---
ObjectTemplate.createComponent SeekClosestTargetComp
ObjectTemplate.seek.targetType TTLaser
ObjectTemplate.seek.trackingDelay 0.2
ObjectTemplate.seek.maxAngleLock 90
ObjectTemplate.seek.maxDistLock 500
ObjectTemplate.seek.directionBonus 0.5
ObjectTemplate.seek.reLockTime 60
rem ---EndComp ---
rem ---BeginComp :D efaultFollowComp ---
ObjectTemplate.createComponent DefaultFollowComp
ObjectTemplate.follow.maxYaw 1.5
ObjectTemplate.follow.maxPitch 1.5
ObjectTemplate.follow.changePitch 0.2
ObjectTemplate.follow.changeYaw 0.2
ObjectTemplate.follow.minDist 10
rem ---EndComp ---
rem ---BeginComp :D efaultRicochetComp ---
ObjectTemplate.createComponent DefaultRicochetComp
rem ---EndComp ---
rem ---BeginComp :D efaultPenetrateComp ---
ObjectTemplate.createComponent DefaultPenetrateComp
ObjectTemplate.penetrate.allowSolidPenetration 0
ObjectTemplate.penetrate.allowLiquidPenetration 0
rem ---EndComp ---
ObjectTemplate.geometry mk82_dumbbomb
ObjectTemplate.setCollisionMesh MK82_dumbbomb
ObjectTemplate.mapMaterial 0 metal 32
ObjectTemplate.drag 0.5
ObjectTemplate.mass 500
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Point
ObjectTemplate.collisionGroups 8
ObjectTemplate.material 56
rem -------------------------------------
ObjectTemplate.addTemplate S_mk82_dumbbomb_Looping
rem -------------------------------------
ObjectTemplate.timeToLive CRD_NONE/99/0/0
ObjectTemplate.material 56
ObjectTemplate.hasOnTimeEffect 1
ObjectTemplate.armingDelay 0.5
ObjectTemplate.minDamage 1
ObjectTemplate.damage 0
ObjectTemplate.maxSpeed 1000
ObjectTemplate.activeSafe Sound S_mk82_dumbbomb_Looping
ObjectTemplate.modifiedByUser mei
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/weapons/stationary/usart_lw155/sounds/artillery_projectile_01.wav,objects/weapons/stationary/usart_lw155/sounds/artillery_projectile_02.wav,objects/weapons/stationary/usart_lw155/sounds/artillery_projectile_03.wav"
ObjectTemplate.loopCount 0
ObjectTemplate.is3dSound 1
ObjectTemplate.stopType 0
ObjectTemplate.volume 0.8
ObjectTemplate.pitch 1
ObjectTemplate.reverbLevel 1
ObjectTemplate.pitchEnvelope 0/1/0.9/1.1/1/1/0/0.93/1.1/
ObjectTemplate.minDistance 8
ObjectTemplate.halfVolumeDistance 10