Re: Making 3D iron sights. Need to find the center on screen
Posted: 2012-04-16 20:24
I'll look into that Lucky, also Amok@ndy, I'll try that. Thanks.
Should I tweak the fade out time?`animationSystem.cameraSpring.use 1
animationSystem.cameraSpring.amplitude 0.07/0.03/0.02
animationSystem.cameraSpring.zoomDamping 3/3/4
animationSystem.cameraSpring.stiffness 10/10/10
animationSystem.cameraSpring.move 2/2/2
animationSystem.cameraSpring.look 1/1
animationSystem.cameraSpring.fire 0/0/40
rem *** Animations ***
animationSystem.createAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_deploy.baf
animationManager.looping 0
animationSystem.createAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_fire.baf
animationManager.looping 0
animationManager.noiceFreq 3
animationManager.noiceAmplitude 0.002
animationSystem.createAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_idle1.baf
animationManager.looping 0
animationSystem.createAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_idle2.baf
animationManager.looping 0
animationManager.length 2.95833
animationSystem.createAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_reload.baf
animationManager.looping 0
animationSystem.createAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_run.baf
animationManager.length 0.666667
animationSystem.createAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_sprint.baf
animationSystem.createAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_stand.baf
animationSystem.createAnimation Objects/Weapons/Handheld/zbvz26/animations/1p/1p_zbvz26_tozoom.baf
animationManager.looping 0
animationManager.length 0.083333
animationSystem.createAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_zoom_fire.baf
animationManager.looping 0
animationSystem.createAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_zoom_run.baf
animationManager.length 1.83333
animationSystem.createAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_zoom_stand.baf
rem *** Bundles ***
animationSystem.createBundle deploy
animationBundle.isLooping 0
animationBundle.fadeInTime 0.001
animationBundle.fadeOutTime 0.3
animationBundle.addAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_deploy.baf
animationSystem.createBundle fire
animationBundle.isLooping 0
animationBundle.abruptPlayback 1
animationBundle.fadeInTime 0.001
animationBundle.addAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_fire.baf
animationSystem.createBundle idle1
animationBundle.isLooping 0
animationBundle.fadeInTime 0.001
animationBundle.fadeOutTime 0.3
animationBundle.addAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_idle1.baf
animationSystem.createBundle idle2
animationBundle.isLooping 0
animationBundle.fadeInTime 0.001
animationBundle.fadeOutTime 0.3
animationBundle.addAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_idle2.baf
animationSystem.createBundle reload
animationBundle.isLooping 0
animationBundle.fadeOutTime 0.5
animationBundle.addAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_reload.baf
animationSystem.createBundle run
animationBundle.fadeOutTime 0.2
animationBundle.addAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_run.baf
animationSystem.createBundle sprint
animationBundle.fadeOutTime 0.2
animationBundle.addAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_sprint.baf
animationSystem.createBundle still
animationBundle.addAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_stand.baf
animationSystem.createBundle zoom_fire
animationBundle.isLooping 0
animationBundle.abruptPlayback 1
animationBundle.fadeInTime 0.001
animationBundle.addAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_zoom_fire.baf
animationSystem.createBundle zoom_run
animationBundle.fadeOutTime 0.2
animationBundle.addAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_zoom_run.baf
animationSystem.createBundle zoom_still
animationBundle.addAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_zoom_stand.baf
animationSystem.createBundle zoomTransition
animationBundle.isLooping 0
animationBundle.fadeInTime 0
animationBundle.fadeOutTime 0
animationBundle.addAnimation Objects/Weapons/Handheld/zbvz26/animations/1p/1p_zbvz26_tozoom.baf
rem *** Triggers ***
animationSystem.createTrigger Trigger zoom_still
animationTrigger.addBundle zoom_still
animationSystem.createTrigger MovementTrigger zoom_move
animationTrigger.addBundle zoom_run
animationTrigger.valueHolder 1p_zoom_move
animationSystem.createTrigger MessageTrigger zoom_fire
animationTrigger.addBundle zoom_fire
animationTrigger.message 1
animationSystem.createTrigger Trigger zoom
animationTrigger.addChild zoom_still
animationTrigger.addChild zoom_move
animationTrigger.addChild zoom_fire
animationSystem.createTrigger RandomTrigger rnd_idle
animationTrigger.addBundle idle1
animationSystem.createTrigger IdleTrigger idle
animationTrigger.addChild rnd_idle
animationTrigger.idleTime 5/15
animationSystem.createTrigger Trigger still
animationTrigger.addChild idle
animationTrigger.addBundle still
animationSystem.createTrigger MovementTrigger move
animationTrigger.addBundle run
animationTrigger.valueHolder 1p_move
animationSystem.createTrigger MovementTrigger sprint
animationTrigger.addBundle sprint
animationTrigger.valueHolder 1p_sprint
animationSystem.createTrigger MessageTrigger fire
animationTrigger.addBundle fire
animationTrigger.message 1
animationSystem.createTrigger MessageTrigger reload
animationTrigger.addBundle reload
animationTrigger.message 2
animationSystem.createTrigger Trigger normal
animationTrigger.addChild still
animationTrigger.addChild move
animationTrigger.addChild sprint
animationTrigger.addChild fire
animationTrigger.addChild reload
animationSystem.createTrigger SwitchMessageTrigger root
animationTrigger.addChild zoom
animationTrigger.addChild normal
animationTrigger.addBundle zoomTransition
animationTrigger.message 4
animationSystem.createTrigger Trigger startup
animationTrigger.addBundle deploy
animationSystem.createTrigger Trigger completeTree
animationTrigger.addChild root
animationTrigger.addChild startup
I hope this helps. its from my notes. In order for the IK to work you have to do this in this order.Pvt.LHeureux wrote:also Chuc, HI solvers seem to have problems with Auto Key![]()
I think straight under...CONSTRAINTS
when setting up constraits, first select the wrist bones, go animation, orientation constraint and select the weapon
then select the IK controller and go, animation, constraints, link constraint, select the weapon.
you put...animationSystem.createAnimation Objects/Weapons/Handheld/zbvz26/Animations/1p/1p_zbvz26_reload.baf
animationManager.looping 0
Not entirly sure. the AR reloads are 6 seconds anyway and those files deal in seconds. try it out but dont take my word for it.animationManager.length 6