I'm continuing with my project to tweak the Forgotten Hope 2 mod for SP bot games and have a question about camera cycles, but there aren't many active wizards on the FH2 forums, so I was wondering if you guys could help. It's a problem with the tank cameras, which are largely controlled by a TankCameras.con file located within Objects_Vehicles_Server\Vehicles\Land\Common. I'd altered the CVMChase camera in TankCameras.con so that the camera was further back and zoomed out; this change affected the CVMFrontChase camera negatively, with that second camera looking at half the tank now and from an overhead view. I'd like to remove that camera from the camera cycle entirely but keep the CVMFrontChase cam; is that possible?
I looked at the references to the CVMFrontChase cameras in TankCameras.con, but in all cases within that file, CVMFrontChase was set to 0 which I take it means 'off'. So I'm guessing that there must be another file somewhere in the mod folder which determines which cameras are on/off for tanks, or maybe for all vehicles. Any wizards here know which file might hold that, based off experiences with Bf2 mods in general?
Many thanks in advance for any help and I've added below the two tank cameras of the TankCameras.con file which I've been editing so far.
Mark
Code: Select all
ObjectTemplate.create Bundle Tank_DriverCamera
ObjectTemplate.modifiedByUser "kev"
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
rem -------------------------------------
ObjectTemplate.addTemplate Tank_DriverCamera_camera
rem -------------------------------------
ObjectTemplate.create Camera Tank_DriverCamera_camera
ObjectTemplate.creator ctz
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
rem -------------------------------------
ObjectTemplate.addTemplate S_Tank_DriverCamera_RotationRpm
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-50/0
ObjectTemplate.setMaxRotation 0/10/0
ObjectTemplate.setPivotPosition 0/0/-0.1
ObjectTemplate.setMaxSpeed 180/180/0
ObjectTemplate.setAcceleration 600/600/0
ObjectTemplate.setInputToYaw PIMouseLookX
ObjectTemplate.setInputToPitch PIMouseLookY
ObjectTemplate.automaticPitchStabilization 1
ObjectTemplate.regulateYaw -0.2/0.25
ObjectTemplate.regulatePitch -0.2/0.25
ObjectTemplate.toggleMouseLook 1
ObjectTemplate.CVMChase 1
ObjectTemplate.CVMFrontChase 0
ObjectTemplate.CVMFlyBy 0
ObjectTemplate.chaseDistance 8
ObjectTemplate.chaseAngle 1
ObjectTemplate.chaseOffset 0/-3/-5
ObjectTemplate.cameraShakeSensitivity 1
ObjectTemplate.cameraShakeStartSpeed 1
objecttemplate.cameraShakeMaxSpeed 36
ObjectTemplate.bounceLength 0.5
ObjectTemplate.bounceStrength 0.05
ObjectTemplate.bounceDamping 2
ObjectTemplate.followStiffness 2
ObjectTemplate.worldFOV 1.8
ObjectTemplate.insideFOV 1.6
ObjectTemplate.allowInsideDynamicLights 1
ObjectTemplate.allowInsideStaticSun 1
ObjectTemplate.insideStaticSunDirection -0.25/-0.5/0.75
ObjectTemplate.insideStaticSunColor 1/1/1
ObjectTemplate.insideStaticSunDamageColor 1/0/0
ObjectTemplate.insideDamageFrequency 3
ObjectTemplate.insideDamageThreshold 0.15
ObjectTemplate.insideStaticSunAmbientColor 0.7/0.7/0.7
ObjectTemplate.cockpitLod 0
ObjectTemplate.cockpitSubGeom 1
ObjectTemplate.restoreRotationOnExit 1
ObjectTemplate.create Bundle Tank_DriverCamera_geom0
ObjectTemplate.modifiedByUser "kev"
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
rem -------------------------------------
ObjectTemplate.addTemplate Tank_DriverCamera_geom0_camera
rem -------------------------------------
ObjectTemplate.create Camera Tank_DriverCamera_geom0_camera
ObjectTemplate.creator ctz
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
rem -------------------------------------
ObjectTemplate.addTemplate S_Tank_DriverCamera_geom0_RotationRpm
rem -------------------------------------
ObjectTemplate.setMinRotation 0/-50/0
ObjectTemplate.setMaxRotation 0/10/0
ObjectTemplate.setPivotPosition 0/0/-0.1
ObjectTemplate.setMaxSpeed 160/160/0
ObjectTemplate.setAcceleration 450/450/0
ObjectTemplate.setInputToYaw PIMouseLookX
ObjectTemplate.setInputToPitch PIMouseLookY
ObjectTemplate.automaticPitchStabilization 1
ObjectTemplate.regulateYaw -0.2/0.25
ObjectTemplate.regulatePitch -0.2/0.25
ObjectTemplate.toggleMouseLook 1
ObjectTemplate.CVMChase 0
ObjectTemplate.CVMFrontChase 0
ObjectTemplate.CVMFlyBy 0
ObjectTemplate.chaseDistance 8
ObjectTemplate.chaseAngle 1
ObjectTemplate.chaseOffset 0/-3/-5
ObjectTemplate.cameraShakeSensitivity 1
ObjectTemplate.cameraShakeStartSpeed 1
ObjectTemplate.cameraShakeMaxSpeed 36
ObjectTemplate.bounceLength 0.5
ObjectTemplate.bounceStrength 0.05
ObjectTemplate.bounceDamping 2
ObjectTemplate.followStiffness 2
ObjectTemplate.worldFOV 1.8
ObjectTemplate.insideFOV 1.6
ObjectTemplate.allowInsideDynamicLights 1
ObjectTemplate.allowInsideStaticSun 1
ObjectTemplate.insideStaticSunDirection -0.25/-0.5/0.75
ObjectTemplate.insideStaticSunColor 1/1/1
ObjectTemplate.insideStaticSunDamageColor 1/0/0
ObjectTemplate.insideDamageFrequency 3
ObjectTemplate.insideDamageThreshold 0.15
ObjectTemplate.insideStaticSunAmbientColor 0.7/0.7/0.7
ObjectTemplate.cockpitLod 0
ObjectTemplate.cockpitSubGeom 0
ObjectTemplate.restoreRotationOnExit 1

