XFIR$: 39VMpamiȆ*YEKt )muhTr*SAC fniCFCRD^XtcL SREV SREV SREV lcc lccf lcc lcc SREV SREV SREV SREV SREV SREV SREV SREV SREV SREV SREV SREV lcc*YEKt )muhT*SAC fniCFCRD^XtcL SREV SREV SREV lcc lccf lcc lcc SREV SREV SREV SREV SREV SREV SREV SREV SREV SREV SREV SREV lccFCRDTTT< 6 fniC_?A#D:\Graphics\Director 8.5\Libs\HavokFCRDTTs<,fniC_?A#D:\Graphics\Director 8.5\Libs\Havokc*SAC@l*SAC@l|urcsL\\h h(^h},244`4<>@@-@aB7 Kt066 ]6P*# 4<>D6D&JprtVtH|i KaCWPJhhJaPJaPJCWDP$  $DJ;ARLhvCg& $hvLCgBRL}BqALRT/#hJCvRLCW L}Bq$) $KdEgVKCWpahdEi0KKCWaCCga&eABWL eBWLdEj eBWLedEk eBWLeBWLlnm  _oCRCRK_oCWaLCgRLADBgpLa&A'LEEqDErEsEtLEuLACg'CBgXBWCLACg'PL}EqDErETEuCWTCBgXLBWLlxc $ DD D RDD D D D RDD D D RLL L BWLlz{y  D D D D D D D D D D RLBWLlzARLKECg& 2KELCgBCWsDKKELCgaBg:ALRT;KBWL$bE) "DJPZ`r| All Which modelForceHave the camera track a model -Type: Local ActionUsage'Drop this onto a scene with pThrustingHAVE CAMERA FOLLOW A MODEL PARAMETERS:- Model to followPERMITTED SPRITE TYPES:- Shockwave 3Damodel lccpamFSREV|knuj0SREV|knujknujdS< ?Tknuj@1my1fh1!|1rcsLjjj\TD17 J\f f0h,022P2:<>>,>_@6 Kt.44 ]4pN 4&$JLNNHV KaCWPJhhJaPJaPJCWDP$  $h5RDJ;ARLhvCg& $hvLCgBRLL BqALRT/hJCvRLL Bq$U) $KdEgVKCWpahdEi0KKCWaCCga&eABWL eBWLdEj eBWLedEk eBWLeBWLlnm  _okCRCRK_oCWaLCgRLADBgpLa&A'LEEqDErEsEtLEuLACg'CBgXBWCLACg'PLBWLlxc ! DD D RDD D D D RDD D D RLL L BWLlz{y  D D D D D D D D D D RLBWLlzARLKECg& 2KELCgBCWsDKKELCgaBg:ALRT;KBWL$bE) :@FPVhrAll Which modelHave the camera track a model -Type: Local ActionUsage$Drop this onto a scene with physicsHAVE CAMERA FOLLOW A MODEL PARAMETERS:- Model to followPERMITTED SPRITE TYPES:- Shockwave 3DmodelknujrcsLjjj\ J\f f0h,022P2:<>>,>_@6 Kt.44 ]4pN 4&$JLNNHV KaCWPJhhJaPJaPJCWDP$  $h5RDJ;ARLhvCg& $hvLCgBRLL BqALRT/hJCvRLL Bq$U) $KdEgVKCWpahdEi0KKCWaCCga&eABWL eBWLdEj eBWLedEk eBWLeBWLlnm  _okCRCRK_oCWaLCgRLADBgpLa&A'LEEqDErEsEtLEuLACg'CBgXBWCLACg'PLBWLlxc ! DD D RDD D D D RDD D D RLL L BWLlz{y  D D D D D D D D D D RLBWLlzARLKECg& 2KELCgBCWsDKKELCgaBg:ALRT;KBWL$bE) :@FPVhrAll Which modelHave the camera track a model -Type: Local ActionUsage$Drop this onto a scene with physicsHAVE CAMERA FOLLOW A MODEL PARAMETERS:- Model to followPERMITTED SPRITE TYPES:- Shockwave 3D modelXtcLX**` x"'!] !o !r! ! ! !q !d !l !rL ! ! !T$! !q!Y$ !n dd ! !(!4! |=(! )!z)!m8o)!"#!kX(4,($ t'!s(XtcLX**` x!] !o !r! ! ! !q !d !l !rL ! ! !T$! !q!Y$ !n dd ! !(!4! |=(' !"#!kX(4,($ t'!s(knujForward axis- Turning axisPPERMITTED SPRITE TYPES:- Shockwave 3DCmodelknujourcePERMITTED SPRITE TYPES:- Shockwave 3D modelknuj2ave 3DmodelmuhT?NVNNVNNNVVNNNVNVNVVNNVNVVNVVNNVNVVNNVVNNVNVVNVNNVNVVNNNVNNNVVNNNNNVVNNNNVNNVVNNNVNNVVNNVVVVVNNNVNVVNVNNNVNNNVVNNNNVNNNVNNNVNVNNNNNVNNN knuj**` x* s t t sh r( uH r r q q q q q q qt q` qL q8 q$ q pd p p p p p p pp p\ pH p4 p  p  o o o oy o0+)@9MknujV- Mouse travel direction to respond to- Spring Elasticity- Spring Damping-- This behavior's group nametPERMITTED SPRITE TYPES:- Shockwave 3Dtmodelknuj|PERMITTED SPRITE TYPES:- Shockwave 3DSREV knujknujrcsL\y@\xx!  J+-"E& #:5Zjln ,.n  I XT,| J 15^ !8>>> RF !( VFJJ&!1 J sV(I 4   "+c "b ( /r{   R T X2+ X 4   8" e  , . 0:e 0H @  ? V   A[ KaCWPJaPJaPJCWJEACgaPJDKJE!Cg P KJJCg P P"RP#$%  KJ Bg $J&}J"vJ#BJ"aCW'RLACg)LACg)LACg)BW(J"aJ+J"aCW,J-BW*AP#JdDKJ"aBg J"aJ KJBg eP&$.   Jp_0Ja2Ja3CW1Cg4P"J"CW3J"p6a7P5Jp8a2Jp8a3CW1RJ_0LCg9RLJ5a;P:$<=  KBg$P"BW>P#$KBg$KK/EdDEaDEbDEcDCKCgCRLCWD LPEAP&$HGFI KJJKKCgCKKaKBgK$LM Jp8a2Jp8a3CW1RJ_0LCg9RJaNLRLBgOLJ:RLLRLJ5RLP5LRLBWP$Q<=RST KKCg RAKtJp6aURLCWVb7LBgWLLRKdALbXLbY2dALbZLbYdALLaXbYLbZLbXeLJa6RLKCg[RCW\RLALACg)LACg)Bg]LALACg)LACg)Bg]LALACg)LACg)Bg]LACg)LACg)LACg)BW(_0R$Q^_`./   JEdEaKKABg ?dEbKKABg *dEcKKABg dEd KKABg e$Q    CRKKCCgRKE!?LdCWeAdd (ddCW)RLLKLCga6CWfBgKAT+eLKKKCga6CWfBgKLBWP$gQijh ARLKae (KLCgkRJLCgKLCg)b6ALRT-$Mhl  KdEmDKCWpandEo-KKCWaCCgaeeABWP eBWPedEp eBWPeBWPsqr  _tCRCRK_tCWaLCgRLaeA1LADBguLEEvDEwExEyLEzLACg)CBg]BW{LEJEvDEwExEzDCBg]LE+EvDEwE|EzA CBg]LE-EvD EwE|Ez?CBg]LBWPs}j $D D D RD D D D D RD D D D RLL L BWPs~  DD D D D D D D D D D D D D D D D D D D D D D D D D D D D D D RLBWPs^ARLKECge 2KELCgCWxDKKELCgaBgALRT;KBWP$gMh KapCWxRD RARLLECge LLELCg RALRT$LEALECgeACgRLBWP$  0FZr<BHRXj|r*Vx Any modelDrag horizontal and verticalDrag horizontallyDrag verticallyDrag front to back Which model*Which group does this behavior belong to?HavokStrength of the mouse spring.Amount of damping applied to the mouse spring)Drag a physics model with a mouse spring -Type: Local Action Dependencies8This requires a Trigger behavior to function correctly.%DRAG PHYSICS MODEL WITH MOUSE SPRING.Click on a model to drag it in any direction.ZThis local behavior requires that its trigger behaviors be dropped onto this same sprite.%ACTIONS AND THEIR REQUIRED TRIGGERS:5Apply a mouse trigger to each of the actions listed.- Follow the mouse PARAMETERS:- Sensitivity- Model to be rotated'- Mouse travel direction to respond to- This behavior's group namePERMITTED SPRITE TYPES:- Shockwave 3DmodelrcsL\Xbx\l lvZN2150C@A8"pC& <Q- 022 _ 2.>FHH qH/gL.Z$$'$o8d! 7PdfhhKaCWPCP0P1J2BW3AP2J5BW4DBW6JaRARLLECg7 BLELCgaRLCW8RLDL BW6J0LELCg9Bg:ALRTK#;7=<   BW3#ARLJ0a7 KJ0LCg(Bg/ALRT#> J@JABW?J1AP1#JCBWB#KaCW&RKaCWDRKpELACg(LACg(LACg(CWFJCbGKpELACg(LACg(LACg(CWFLACg(CbH#IJK %-KCWaD P5KdEL4KCWpaMdENeABWBdEO eBWBedEP eBWBeSQR   _TjCRLE5EUDEVEWEXJ5CBgYLECEUDEVEZEXDCBgYLE@EUDEVEZEXDCBgYLEAEUDEVE[EXACBgYLBWBS\D D D RD D D D D RD D D D D RLL L BWBS_^]  DD D D D D D D D D D D D D D D D D D D D D D D RLBWBS_I$,F T` nz N*FInitialized PhysicsFound:HKE HKE Cast Member Name MAX Scale@Cٙ Time Step? Substeps1Updates 3D models based on a physical simulation -Type:Independent Action DependenciesNoneHAVOK PHYSICS*Enables the Havok engine for the sprite. RAny specified Shockwave 3D models are then updated based on a physics simulation.6This independent behavior does not require a trigger.%ACTIONS AND THEIR REQUIRED TRIGGERS:- None PARAMETERS:PERMITTED SPRITE TYPES:- Shockwave 3Dknuj^9;z'D:\Graphics\Director 8.5\LibsXtcL` x . ˴⌰noknujX:H Q Ioknuj` x RN Qp~knuj\XknujH knuj0XWHmanLuaa beginSprite endSprite enterFrame mouseDownrightMouseDownmouseUp rightMouseUp registereventwithgroupnameofcalculateTranslateVector dragModel modelMovesaveModelTransformsetModelTransform isOKToAttachgetPropertyDescriptionListgetBehaviorTooltipgetBehaviorDescription getmodels getscriptnamepSpritesprite spriteNumpMembermemberpCameracameravoidppmodelmodel getPropRefnamepModelTransformOriginListall pAttachedmepActivepmarkedforupdate HKGetPositionHKMouseSetPositiongetAt HKMouseAttach pElasticity HKGetMasspDampinglPosmouseLocpointlefttop modelUnderLoc pLastPosition transformpositionrectspriteSpaceToWorldSpacepModelDistance magnitude pClickedModeltOffsettV HKMouseDetach HavokDragXY HavokDragX HavokDragY HavokDragZgetOnesymbolppeventatargetbehaviorinstanceatriggerspritenumaeventthandler pgroupnameaddPropanameaList worldPosition normalizereturnaModeltPtMouseMoveVectortranslateVectorrotationvectorinvertyzxgetScaleHKMouseGetPositionsetAtdirpLastMousePositiontTranslateVectortcount duplicateamemberjtModelTransformOriginListtlist getPropAttModelgraphictype shockwave3dscript aSpriteType aSpriteNumascriptcurrentSpriteNumaddAt exitFrame updateModel pRigidBodies pFrameCount pInitialized HKShutdown HKInitialize pHKEMemberputHKGetRigidBodygetPropaddscenerbmdlNameobjHKStep pTimeStep pSubStepspScale HKGetRotation axisAnglemdlposrottextcommentformatstringdefaultfloatintegertgpdlisttstring3tstring2tstring1pClickedDistance HKMouseDragXY HKMouseDragX HKMouseDragY HKMouseDragZmaxscalerangenothingwordchartwordtname tscriptname9knuj` x!uknujVQ8Z EXtcL` 1 C\ $YQ8Z knuj4<`fniCU57F:\Director\havok\compareknujrcsL\ 1LT@\z|!  tNWYKQoTJORda[Znpr 2r  >Mb\;X0?<= J>?5 @!:@@@ARHsB#L (CVBFF'9 FDsR*GQE4   -Nk b $ 1   N P T4e+ T F4   9 Ge  ( * ,; ,HH <  A+ IV   B Ka CWPJaPJJaLPKJNCWMJJEACgaPNJNDKJJEPCgDPOKJJJNCgDPOPQRPRS  KJOBgEJT}JQvJRBJQaCW!RLACgLACgLACgBWUJQaJWJQaCWXJYBWVAPRJNdDKJQaBgCJQaJN KJNBgCePTZ   _\P[JpL_\Ja^Ja_CW]Cg`PQJQCWM3JQp#a&PaJpba^Jpba_CW]RJK_\LCgcRLJaaePdfg  KBVPQBWhPRKBVKK/EiDEjDEkDElDCKCgmRLCWn LPoAPTrqps KJtKKCgmKKa KBguvw Jpba^Jpba_CW]RJK_\LCgcRJKaxLRLBgyLJdRLLRLJaRLPaLRLBW.zfg{|} KKCgARAKtJKp#a~RLCW$b&LBgLLRKdALbLb2dALbLbdALLabLbLbeLJKa#RLIRCWRLALACgLACgBg9LALACgLACgBg9LALACgLACgBg9LACgLACgLACgBWU_\P[zZ   JodEjKKABgB?dEkKKABgB*dElKKABgBdEi KKABgBez    CRKKCCgHRKEP?LdCWAdd (ddCWRLLKLCga#CWBguAT+eLKKKCga#CWBguLBW.z ARLKa (KLCgRJJLCgKLCgb#ALRT-w  KdE+DKCWpa,dE--KKCWaCCgHaeABW. eBW.edE0 eBW.eBW.312  _4CRCRK_4CWaLCgHRLaA1LADBgLENE5DE6E7ELE8LACgCBg9BWLEtE5DE6E7E8DCBg9LEWE5DE6E:E8A CBg9LEYE5D E6E:E8?CBg9LBW.3 $D D D RD D D D D RD D D D RLL L BW.3  DD D D D D D D D D D D D D D D D D D D D D D D D D D D D D D RLBW.3^ARLKECg 2KELCgCW7DKKELCgaBgALRT;KBW.w Ka0CW7RD RARLLECg LLELCg RALRT$LEALECgACgRLBW.  0FZr>DJTZl~t,Xz Any modelDrag horizontal and verticalDrag horizontallyDrag verticallyDrag front to back Which model*Which group does this behavior belong to?HKMouseStrength of the mouse spring.Amount of damping applied to the mouse spring)Drag a physics model with a mouse spring -Type: Local Action Dependencies8This requires a Trigger behavior to function correctly.%DRAG PHYSICS MODEL WITH MOUSE SPRING.Click on a model to drag it in any direction.ZThis local behavior requires that its trigger behaviors be dropped onto this same sprite.%ACTIONS AND THEIR REQUIRED TRIGGERS:5Apply a mouse trigger to each of the actions listed.- Follow the mouse PARAMETERS:- Sensitivity- Model to be rotated'- Mouse travel direction to respond to- This behavior's group namePERMITTED SPRITE TYPES:- Shockwave 3DmodelrcsL<<<\\jj~h}{<p &(**1*,.00;02466E6R8 +WJdw 4 >@FF&LrtvvKaCWPJhhJaPJaP}R{ LhaRhL5$_ $$$KdEg4KCWpahdEieABWLdEj eBWLedEk eBWLeBWLlnm _oECRL}EqDErETEuD CWTCBgXL{EqDErEwEuACBgXLBWLlxDD D RDD D D D RDD D D RLL L BWLlz{y  D D D D D D D D D D RLBWLlz "DJPZ`r| Gravity@#QScaleHave the camera track a model -Type: Local ActionUsage'Drop this onto a scene with pThrustingHAVE CAMERA FOLLOW A MODEL PARAMETERS:- Model to followPERMITTED SPRITE TYPES:- Shockwave 3DknujV7Z F:\Director\havok\compareknujpamFknujrcsL\  @\z|!  J+-"E& #:5/[Znpr 2r  >Mb\X0? J5 !:@@@ RHs #L ( VBFF'9 F sR*GQ 4   -Nk b $ 1   N P T4e+ T 4   9 e  ( * ,; ,H <  A+ V   B KaCWPJaPJaPJCWJEACgaPJDKJE!Cg P KJJCg P P"RP#$%  KJ Bg $J&}J"vJ#BJ"aCW'RLACg)LACg)LACg)BW(J"aJ+J"aCW,J-BW*AP#JdDKJ"aBg J"aJ KJBg eP&$.   _0P/Jp_0Ja2Ja3CW1Cg4P"J"CW3J"p6a7P5Jp8a2Jp8a3CW1RJ_0LCg9RLJ5a;P:$<=  KBV$P"BW>P#$KBV$KK/E?DE@DEADEBDCKCgCRLCWD LPEAP&$HGFI KJJKKCgCKKaKBgK$LM Jp8a2Jp8a3CW1RJ_0LCg9RJaNLRLBgOLJ:RLLRLJ5RLP5LRLBWP$Q<=RST KKCg RAKtJp6aURLCWVb7LBgWLLRKdALbXLbY2dALbZLbYdALLaXbYLbZLbXeLJa6RLI[RCW\RLALACg)LACg)Bg]LALACg)LACg)Bg]LALACg)LACg)Bg]LACg)LACg)LACg)BW(_0P/$Q^_`.   JEdE@KKABg ?dEAKKABg *dEBKKABg dE? KKABg e$Q    CRKKCCgRKE!?LdCWaAdd (ddCW)RLLKLCga6CWbBgKAT+eLKKKCga6CWbBgKLBWP$cQefd ARLKaa (KLCggRJLCgKLCg)b6ALRT-$Mdh  KdEiDKCWpajdEk-KKCWaCCgaaeABWP eBWPedEl eBWPeBWPomn  _pCRCRK_pCWaLCgRLaaA1LADBgqLEErDEsEtEuLEvLACg)CBg]BWwLEJErDEsEtEvDCBg]LE+ErDEsExEvA CBg]LE-ErD EsExEv?CBg]LBWPoyf $D D D RD D D D D RD D D D RLL L BWPo|{z  DD D D D D D D D D D D D D D D D D D D D D D D D D D D D D D RLBWPo|^ARLKECga 2KELCg}CWtDKKELCgaBg~ALRT;KBWP$cMd KalCWtRD RARLLECga LLELCg} RALRT$LEALECgaACg}RLBWP$  0FZr>DJTZl~t,Xz Any modelDrag horizontal and verticalDrag horizontallyDrag verticallyDrag front to back Which model*Which group does this behavior belong to?HKMouseStrength of the mouse spring.Amount of damping applied to the mouse spring)Drag a physics model with a mouse spring -Type: Local Action Dependencies8This requires a Trigger behavior to function correctly.%DRAG PHYSICS MODEL WITH MOUSE SPRING.Click on a model to drag it in any direction.ZThis local behavior requires that its trigger behaviors be dropped onto this same sprite.%ACTIONS AND THEIR REQUIRED TRIGGERS:5Apply a mouse trigger to each of the actions listed.- Follow the mouse PARAMETERS:- Sensitivity- Model to be rotated'- Mouse travel direction to respond to- This behavior's group namePERMITTED SPRITE TYPES:- Shockwave 3DmodelmanL beginSprite endSprite enterFrame mouseDownrightMouseDownmouseUp rightMouseUp registereventwithgroupnameofcalculateTranslateVector dragModel modelMovesaveModelTransformsetModelTransform isOKToAttachgetPropertyDescriptionListgetBehaviorTooltipgetBehaviorDescription getmodels getscriptnamepSpritesprite spriteNumpMembermemberpCameracameravoidppmodelmodel getPropRefnamepModelTransformOriginListall pClickedModel pAttachedmepActivepmarkedforupdate HKGetPositionHKMouseSetPositiongetAt HKMouseAttach pElasticity HKGetMasspDampinglPospLastMousePositionmouseLocpointlefttop modelUnderLoc pLastPosition transformpositionrectspriteSpaceToWorldSpacepClickedDistance magnitudetOffsettV HKMouseDetach HKMouseDragXY HKMouseDragX HKMouseDragY HKMouseDragZgetOnesymbolppeventatargetbehaviorinstanceatriggerspritenumaeventthandler pgroupnameaddPropanameaList worldPosition normalizereturnaModeltPtMouseMoveVectortranslateVectorrotationvectorinvertyzxmaxscaleHKMouseGetPositionsetAtdirtTranslateVectortcount duplicateamemberjtModelTransformOriginListtlist getPropAttModelgraphictype shockwave3dscript aSpriteType aSpriteNumascriptcurrentSpriteNumaddAtcommentformatstringrangedefaultnothingfloattgpdlisttstring3tstring2tstring1getPropaddwordchartwordtname tscriptname updateModel exitFrame physicsScenesimCountpScale initialized HKShutdown moviePathsetPrefgetPref pSceneFileput HKInitializeHKGetRigidBodyHKEPathscenefNamerbmdlName HKGetRotation axisAnglemdlposrotvrotobjHKSteptimeStepsubstepscastLibfileName sceneFilelengths3dsTypesNumfnsetaPropintegervPDList pCastMemNameframego pRigidBodies pFrameCount pInitialized pHKEMembertSAC ((((((,0>------------------------------------------------------------------------------- --Summary---------------------------------------------------------------------- ------------------------------------------------------------------------------- -------------------------------------------------------------------------------- --Properties-------------------------------------------------------------------- -------------------------------------------------------------------------------- --Author Defined Properties ----------------------------------- property pInitialized property pHavok property pTimeStep -- default timestep property pSubSteps -- default number of substeps property pPaused -- Is the simulation running ----------------------------------- --General Properties ----------------------------------- property pSprite -- my Sprite -------------------------------------------------------------------------------- --Sprite Handlers--------------------------------------------------------------- -------------------------------------------------------------------------------- on beginSprite( me ) if #havok = member( pHavok ).type then me.initializePhysics() end if end ----------------------------------- --PURPOSE: General clean up. --ACCEPTS: 'me' as an instance of this script. --RETURNS: Nothing. ----------------------------------- on endSprite( me ) if (pInitialized) then pHavok.shutdown() pInitialized = false end if end -------------------------------------------------------------------------------- --Event Handlers---------------------------------------------------------------- -------------------------------------------------------------------------------- --PURPOSE: Update visible model based on physics representation. --ACCEPTS: 'me' as an instance of this script. --RETURNS: Nothing. ----------------------------------- on enterFrame( me ) end ----------------------------------- --PURPOSE: advances the physics simulation by the specified time step. --ACCEPTS: 'me' as an instance of this script. --RETURNS: Nothing. ----------------------------------- on exitFrame( me ) -- Step the physics if not pPaused then pHavok.step( pTimeStep, pSubSteps ) end exitFrame -------------------------------------------------------------------------------- --Public Custom Handlers-------------------------------------------------------- -------------------------------------------------------------------------------- on initializePhysics( me ) pPaused = false pSprite = sprite( me.spriteNum ) pHavok = member( pHavok ) -- load physics scene if (pInitialized) then pHavok.shutdown() end if pInitialized = true pHavok.initialize( pSprite.member ) put "Initialized Physics" end initializePhysics on togglePausePhysics( me ) pPaused = not pPaused end pausePhysics -------------------------------------------------------------------------------- --Private Custom Handlers------------------------------------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- --Predefined Handlers----------------------------------------------------------- -------------------------------------------------------------------------------- --PURPOSE: Determines whether the behavior can be dropped onto a sprite in the -- score. --ACCEPTS: 'aScript' as a reference to a script member. -- 'aSpriteType' as a symbol. It indicates the type of sprite \ -- attempting to be dropped on to. -- 'aSpriteNum' as an integer. Indicates the channel of the sprite \ -- being dropped on to. --RETURNS: True if the behavior is allowed to be dropped on the sprite or score.\ -- False otherwise. ----------------------------------- on isOKtoAttach( aScript, aSpriteType, aSpriteNum ) case aSpriteType of #Graphic: case sprite( aSpriteNum ).member.type of #shockwave3d: return( TRUE ) #text: return( FALSE ) -- if sprite(aSpriteNum).member.displayMode = #mode3D then -- return(TRUE) -- end if end case #script: return(FALSE) end case end ----------------------------------- --PURPOSE: Allows the user a dialog box access to the behavior's properties. --ACCEPTS: 'aScript' as a reference to a script member. --RETURNS: 'TGPDList' as a property list containing author definable behavior\ -- properties ----------------------------------- on getPropertyDescriptionList( aScript ) if the currentSpriteNum > 0 then tGPDList = [:] tGPDList[#pHavok] = \ [ \ #comment: " Havok Cast Member Number", \ #format: #integer, #default: pHavok \ ] tGPDList[#pTimeStep] = \ [ \ #comment: "Time Step", \ #format: #float, #default: 0.025 \ ] tGPDList[#pSubSteps] = \ [ \ #comment: "Substeps", \ #format: #integer, #default: 5 \ ] return tGPDList end if end getPropertyDescriptionList ----------------------------------- --PURPOSE: Provides a tooltip in the behavior library palette. --ACCEPTS: 'aScript' as a reference to a script member. --RETURNS: 'tString' as a string. ----------------------------------- on getBehaviorToolTip( aScript ) tString1 = "Updates 3D models based on a physical simulation" & RETURN & RETURN tString2 = "-" && "Type" && ":" && "Independent Action" & RETURN tString3 = "-" && "Dependencies" && ":" && "None" & RETURN return(tString1 & tString2 & tString3) end getBehaviorToolTip ----------------------------------- --PURPOSE: Provides a behavior description in the behavior inspector. --ACCEPTS: 'aScript' as a reference to a script member. --RETURNS: 'tString' as a string. ----------------------------------- on getBehaviorDescription( aScript ) tString1 = "HAVOK PHYSICS" & RETURN & RETURN & \ "Enables the Havok engine for the sprite. " & \ "Any specified Shockwave 3D models are then updated based on a physics simulation." & \ "" & RETURN & RETURN & \ "This independent behavior does not require a trigger." & RETURN & RETURN & \ "ACTIONS AND THEIR REQUIRED TRIGGERS:" & RETURN & \ "- None" & RETURN & RETURN & \ "PARAMETERS:" & RETURN & \ "- None" & RETURN & RETURN & \ "PERMITTED SPRITE TYPES:" & RETURN & \ "- Shockwave 3D" return(tString1) end getBehaviorDescription ------------------------------------------------------------------------------- --Predefined Handler Support--------------------------------------------------- ------------------------------------------------------------------------------- -- None. -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- --This behavior will only respond to triggers sent from the same sprite it has -- been dropped onto. -------------------------------------------------------------------------------- --Do not alter or add to the comments and script below this point! -------------------------------------------------------------------------------- --beginInterfaceBlock --endInterfaceBlock PhysicsQ ,9v:0VStephen Ewartknujd\\\ `S`<\jjh}{<p &(**1*,.00;02466E6o8 +WJ[x 4*^`ff&lKaCWPJhhJaPJaP}R{ LhaRhL5$_ $$$KdEgQKCWpahdEieABWL/dEj'KCWp?@eABWL eBWLedEk eBWLeBWLlnm  _oECRL}EqDErETEuD CWTCBgXL{EqDErEwEuACBgXLBWLlxDD D RDD D D D RDD D D RLL L BWLlz{y  D D D D D D D D D D RLBWLlz "DJPZ`r| Gravity@#QScaleHave the camera track a model -Type: Local ActionUsage'Drop this onto a scene with pThrustingHAVE CAMERA FOLLOW A MODEL PARAMETERS:- Model to followPERMITTED SPRITE TYPES:- Shockwave 3DknujmanL  beginSprite endSprite enterFrame mouseDownrightMouseDownmouseUp rightMouseUp registereventwithgroupnameofcalculateTranslateVector dragModel modelMovesaveModelTransformsetModelTransform isOKToAttachgetPropertyDescriptionListgetBehaviorTooltipgetBehaviorDescription getmodels getscriptnamepSpritesprite spriteNumpMembermemberpCameracameravoidppmodelmodel getPropRefnamepModelTransformOriginListall pAttachedmepActivepmarkedforupdate HKGetPositionHKMouseSetPositiongetAt HKMouseAttach pElasticity HKGetMasspDampinglPosmouseLocpointlefttop modelUnderLoc pLastPosition transformpositionrectspriteSpaceToWorldSpacepModelDistance magnitude pClickedModeltOffsettV HKMouseDetach HavokDragXY HavokDragX HavokDragY HavokDragZgetOnesymbolppeventatargetbehaviorinstanceatriggerspritenumaeventthandler pgroupnameaddPropanameaList worldPosition normalizereturnaModeltPtMouseMoveVectortranslateVectorrotationvectorinvertyzxgetScaleHKMouseGetPositionsetAtdirpLastMousePositiontTranslateVectortcount duplicateamemberjtModelTransformOriginListtlist getPropAttModelgraphictype shockwave3dscript aSpriteType aSpriteNumascriptcurrentSpriteNumaddAtcommentformatstringrangedefaultnothingfloattgpdlisttstring3tstring2tstring1getPropaddwordchartwordtname tscriptname exitFrame updateModel pRigidBodies pFrameCount pInitialized HKShutdown HKInitialize pHKEMemberputHKGetRigidBodyscenerbmdlNameobjHKStep pTimeStep pSubStepspScale HKGetRotation axisAnglemdlposrottextintegerpClickedDistance HKMouseDragXY HKMouseDragX HKMouseDragY HKMouseDragZmaxscalevalue _soundXtrargbtbehaviorgrouplistksetPropgetaProp tbehaviornametspritebehaviorlisttnewlistpqueuedtriggeredeventsteventtMouseWorldVectorvrcsL\/ Dl\l l:Z "pC& <Q _ gx|~Zolnp7!p 7P(*,,KaCWPCPPJBWAPJBWDBWJaRARLLECg& BLELCgaRLCWRLDL BWJLELCgLBgDALRTK$&   BW$ARLJa& KJLCg'BgALRT$ JJBWJAP$KaCW/RKaCWRKp6LACg'LACg'LACg'CW^Jb7Kp6LACg'LACg'LACg'CW^LACg'Cb$ %-KCWaD PKdEp4KCWpaqdEreABWVdEs eBWVedEt eBWVewuv   _xjCRLEEzDE{E|E~JCBgeLEEzDE{EE~DCBgeLEEzDE{EE~DCBgeLEEzDE{EE~ACBgeLBWVwD D D RD D D D D RD D D D D RLL L BWVw  DD D D D D D D D D D D D D D D D D D D D D D D RLBWVwI$,F T` nz N*FInitialized PhysicsFound:HKE HKE Cast Member Name MAX Scale@Cٙ Time Step? Substeps1Updates 3D models based on a physical simulation -Type:Independent Action DependenciesNoneHAVOK PHYSICS*Enables the Havok engine for the sprite. RAny specified Shockwave 3D models are then updated based on a physics simulation.6This independent behavior does not require a trigger.%ACTIONS AND THEIR REQUIRED TRIGGERS:- None PARAMETERS:PERMITTED SPRITE TYPES:- Shockwave 3Dknuj<rcsL\",%!0@ \tt"  I2495" #\ hjl^+l ~ Ff ,Uzi65 (*]* t<$ R26@$i @ RTZb(@,(b V,Z  s f l r/Is r 4   2P t  8 > >6 > V   92 4 < p r x> xn ~  A H  J P RF2 RV \  HGD KaCWPJaPJaPJCWJEACgaPJDKJE!Cg P KJJCg P P"RCP#$%  KJ Bg $J"aJ#a&XARLJ#a& EJ#LCg'RJdDKJ"aLBg J"aJ KJLBg eALRTJCP#$)(     Jp_*Ja,Ja-CW+Cg.P"J"CWvDJJ"aJfJ"aCW/RLACg'LACg'LACg'BW0J"aJ2J"aCW3J4BW1J"p6a7P5J_*Ja,Ja-CW+Cg8RLJ5a:P9$<;   KBg$BW=P"$KBg$KK/E>DE?DE@DEADCKCgBRLCWC J#LBgD$GFEH KJInKKaCgJCW%CRLKCgKBgKKKaLBgK;KCgRKKaCgLRLLCgJCWLKCgKBgKBWM$NORPQ  JpSa,JpSa-CW+RJ_*LCg8RJaTLRLBgULJ9RLLRLJ5RLP5LRLBWV$W[\XYZ KKCg RAKtJp6a]RLCW^b7LBg_LLRKdALb`Lba2dALbbLbadALLa`baLbbLb`eLJa6RLKCgcRCWdRLALACg'LACg'BgeLALACg'LACg'BgeLALACg'LACg'BgeLACg'LACg'LACg'BW0_*R$Wfhi<g   KdE?KKABg ?dE@KKABg *dEAKKABg dE> KKABg e$WG    CRKKCCgRKE!?LdCW&Add (ddCW'RLLKLCga6CWjBgKAT+eLKKKCga6CWjBgKLBWV$kWlm) ARLKa& (KLCgnRJLCgKLCg'b6ALRT-$O)o  KdEpVKCWpaqdEr0KKCWaCCga&eABWV eBWVdEs eBWVedEt eBWVeBWVwuv  _xCRCRK_xCWaLCgRLa&A1LADBgyLEEzDE{E|E}LE~LACg'CBgeBWMLEIEzDE{E|E~DCBgeLE2EzDE{EE~A CBgeLE4EzD E{EE~?CBgeLBWVwm $D D D RD D D D D RD D D D RLL L BWVw  DD D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D RLBWVwgARLKECg& 2KELCgLCW|D KKELCgaBgDALRT;KBWV$kO) KatCW|RD!RARLLECg& LLELCgL RALRT$LEALECg&ACgLRLBWV$  0FZr<BHRXj|rD\r Any modelDrag horizontal and verticalDrag horizontallyDrag verticallyDrag front to back Which model*Which group does this behavior belong to?HavokStrength of the mouse spring.Amount of damping applied to the mouse spring)Drag a physics model with a mouse spring -Type: Local Action Dependencies8This requires a Trigger behavior to function correctly.%DRAG MODEL WITH PHYSICS MOUSE SPRING.Click on a model to drag it in any direction.ZThis local behavior requires that its trigger behaviors be dropped onto this same sprite.%ACTIONS AND THEIR REQUIRED TRIGGERS:5Apply a mouse trigger to each of the actions listed.- Follow the mouse PARAMETERS:- Model to be rotated'- Mouse travel direction to respond to- Spring Elasticity- Spring Damping- This behavior's group namePERMITTED SPRITE TYPES:- Shockwave 3Dmodelknuj` !|  SREV knujBrcsL\@\z|!  {U^`RXv[QVYkhbZnpr 2r  >Mb\BX0?CD JEF5 G!:@@@HRHsI#L (JVBFF'9 FKsR*GQL4   -Nk b $ 1   N P T4e+ T M4   9 Ne  ( * ,; ,OH <  A+ PV   B Ka CWPJaPQJaSPRJUCWTJQEACgaPUJUDKJQEWCgKPVKJQJUCgKPVPXRPYZ  KJVBgLJ[}JXvJYBJXaCW!RLACgLACgLACgBW\JXaJ^JXaCW_J`BW]APYJUdDKJXaBgJJXaJU KJUBgJeP[a   _cPbJpS_cJaeJafCWdCggPXJXCWT3JXp#a&PhJpiaeJpiafCWdRJR_cLCgjRLJhalPkmn  KBVPXBWoPYKBVKK/EpDEqDErDEsDCKCgtRLCWu LPvAP[yxwz KJ{KKCgtKKa KBg|}~ JpiaeJpiafCWdRJR_cLCgjRJRaLRLBgLJkRLLRLJhRLPhLRLBW,mn KKCgHRAKtJRp#aRLCW$b&LBgLLRKdALbLb2dALbLbdALLabLbLbeLJRa#RLIRCWRLALACgLACgBg@LALACgLACgBg@LALACgLACgBg@LACgLACgLACgBW\_cPb1a   JvdEqKKABgI?dErKKABgI*dEsKKABgIdEp KKABgIe    CRKKCCgORKEW?LdCWAdd (ddCWRLLKLCga#CWBg|AT+eLKKKCga#CWBg|LBW, ARLKa (KLCgRJQLCgKLCgb#ALRT-~  KdE9DKCWpa+dE--KKCWaCCgOaeABW, eBW,edE; eBW,eBW,><=  _?CRCRK_?CWaLCgORLaA1LADBgLEUE5DE6E7ELE8LACgCBg@BWLE{E5DE6E7E8DCBg@LE^E5DE6EAE8A CBg@LE`E5D E6EAE8?CBg@LBW,> $D D D RD D D D D RD D D D RLL L BW,>  DD D D D D D D D D D D D D D D D D D D D D D D D D D D D D D RLBW,>^ARLKECg 2KELCgCW7DKKELCgaBgALRT;KBW,~ Ka;CW7RD RARLLECg LLELCg RALRT$LEALECgACgRLBW,  0FZr>DJTZl~t,Xz Any modelDrag horizontal and verticalDrag horizontallyDrag verticallyDrag front to back Which model*Which group does this behavior belong to?HKMouseStrength of the mouse spring.Amount of damping applied to the mouse spring)Drag a physics model with a mouse spring -Type: Local Action Dependencies8This requires a Trigger behavior to function correctly.%DRAG PHYSICS MODEL WITH MOUSE SPRING.Click on a model to drag it in any direction.ZThis local behavior requires that its trigger behaviors be dropped onto this same sprite.%ACTIONS AND THEIR REQUIRED TRIGGERS:5Apply a mouse trigger to each of the actions listed.- Follow the mouse PARAMETERS:- Sensitivity- Model to be rotated'- Mouse travel direction to respond to- This behavior's group namePERMITTED SPRITE TYPES:- Shockwave 3DmodelrcsL\`\ll2r  % 02:":X^``lC`&d 8Q _ g"}"W*o ! Ka CWPCP P J BW AP JBWDBWJaRARLLECg @LELCgaRLCWRLDL BWLELCgBW ALRTI   BW ARLJ a KJ LCgBgALRT JJ BWJ AP KaCW!RKaCW"RKp#LACgLACgLACgCW$J%b&Kp#LACgLACgLACgCW$LACgCb'()* %-KCWaPKdE+4KCWpa,dE-eABW.dE/ eBW.edE0 eBW.e312   _4jCRLEE5DE6E7E8JCBg9LE%E5DE6E:E8DCBg9LEE5DE6E:E8DCBg9LE E5DE6E;E8ACBg9LBW.3<$> LX frInitialized PhysicsFound: HKE Cast Member Name MAX Scale@Cٙ Time Step? Substepsknujn` HrcsL\ |@\z|!  [2<>/5V8.36KF@lZnpr 2r  >Mb\X0? ! J"#5 $!:@@@%RHs&#L ('VBFF'9 F(sR*GQ)4   -Nk b $ 1   N P T4e+ T *4   9 +e  ( * ,; ,,H <  A+ -V   B Ka CWPJaP.Ja0P/J2CW1J.EACgaP2J2DKJ.E4Cg(P3KJ.J2Cg(P3P5RP67  KJ3Bg)J8}J5vJ6BJ5aCW9RLACgLACgLACgBW:J5aJBW;AP6J2dDKJ5aBg'J5aJ2 KJ2Bg'eP8?   _AP@Jp0_AJaCJaDCWBCgEP5J5CW13J5pGaHPFJpIaCJpIaDCWBRJ/_ALCgJRLJFaLPKMN  KBVP5BWOP6KBVKK/EPDEQDERDESDCKCgTRLCWU LPVAP8YXWZ KJ[KKCgTKKa KBg\]^ JpIaCJpIaDCWBRJ/_ALCgJRJ/a_LRLBg`LJKRLLRLJFRLPFLRLBWabMNcde KKCg%RAKtJ/pGafRLCWgbHLBghLLRKdALbiLbj2dALbkLbjdALLaibjLbkLbieLJ/aGRLIlRCWmRLALACgLACgBgnLALACgLACgBgnLALACgLACgBgnLACgLACgLACgBW:_AP@bopq?   JVdEQKKABg&?dERKKABg&*dESKKABg&dEP KKABg&eb    CRKKCCg,RKE4?LdCWAdd (ddCWRLLKLCgaGCWrBg\AT+eLKKKCgaGCWrBg\LBWasbuvt ARLKa (KLCgwRJ.LCgKLCgbGALRT-^tx  KdEyDKCWpazdE{-KKCWaCCg,aeABWa eBWaedE| eBWaeBWa}~  _CRCRK_CWaLCg,RLaA1LADBgLE2EDEEELELACgCBgnBWLE[EDEEEDCBgnLEED EEE?CBgnLBWav $D D D RD D D D D RD D D D RLL L BWa  DD D D D D D D D D D D D D D D D D D D D D D D D D D D D D D RLBWa^ARLKECg 2KELCgCWDKKELCgaBgALRT;KBWas^t Ka|CWRD RARLLECg LLELCg RALRT$LEALECgACgRLBWa  0FZr>DJTZl~t,Xz Any modelDrag horizontal and verticalDrag horizontallyDrag verticallyDrag front to back Which model*Which group does this behavior belong to?HKMouseStrength of the mouse spring.Amount of damping applied to the mouse spring)Drag a physics model with a mouse spring -Type: Local Action Dependencies8This requires a Trigger behavior to function correctly.%DRAG PHYSICS MODEL WITH MOUSE SPRING.Click on a model to drag it in any direction.ZThis local behavior requires that its trigger behaviors be dropped onto this same sprite.%ACTIONS AND THEIR REQUIRED TRIGGERS:5Apply a mouse trigger to each of the actions listed.- Follow the mouse PARAMETERS:- Sensitivity- Model to be rotated'- Mouse travel direction to respond to- This behavior's group namePERMITTED SPRITE TYPES:- Shockwave 3DmodelmanL beginSprite endSprite enterFrame exitFrame updateModel isOKToAttachgetPropertyDescriptionListpSpritesprite spriteNum pRigidBodies pFrameCount pInitialized HKShutdown HKInitialize pHKEMemberputmembermodelcount getPropRefnameHKGetRigidBodygetPropmescenerbmdlNamegetAtobjHKStep mouseDownrightMouseDownmouseUp rightMouseUp registereventwithgroupnameofcalculateTranslateVector dragModel modelMovesaveModelTransformsetModelTransformgetBehaviorTooltipgetBehaviorDescription getmodels getscriptnamepMemberpCameracameravoidppmodelpModelTransformOriginListall pClickedModel pAttachedpActivepmarkedforupdate HKGetPositionHKMouseSetPosition HKMouseAttach pElasticity HKGetMasspDampinglPospLastMousePositionmouseLocpointlefttop modelUnderLoc pLastPosition transformpositionrectspriteSpaceToWorldSpacepClickedDistance magnitudetOffsettV HKMouseDetach HKMouseDragXY HKMouseDragX HKMouseDragY HKMouseDragZgetOnesymbolppeventatargetbehaviorinstanceatriggerspritenumaeventthandler pgroupnameaddPropanameaList worldPosition normalizereturnaModeltPtMouseMoveVectortranslateVectorrotationvectorinvertyzxmaxscaleHKMouseGetPositionsetAtdirtTranslateVectort duplicateamemberjtModelTransformOriginListtlist getPropAttModelgraphictype shockwave3dscript aSpriteType aSpriteNumascriptcurrentSpriteNumaddAtcommentformatstringrangedefaultnothingfloattgpdlisttstring3tstring2tstring1addwordchartwordtname tscriptnameknujpamFSREV pammp XFIRpami pammpX*YEKytSACGztSACFCRDTzknuj4knujknujx`knujGknuj,fniCUrzSREV DmanLrrcsLaXtcLxknuj<manLHrcsLNknuj knujTknuj<<*SACxknujK knuj xrcsL\X@\z|!  rLUWIOmRHMPb_YZnpr 2r  >Mb\9X0?:; J<=5 >!:@@@?RHs@#L (AVBFF'9 FBsR*GQC4   -Nk b $ 1   N P T4e+ T D4   9 Ee  ( * ,; ,FH <  A+ GV   B Ka CWPJaPHJaJPIJLCWKJHEACgaPLJLDKJHENCgBPMKJHJLCgBPMPORPPQ  KJMBgCJR}JOvJPBJOaCW!RLACgLACgLACgBWSJOaJUJOaCWVJWBWTAPPJLdDKJOaBgAJOaJL KJLBgAePRX   _ZPYJpJ_ZJa\Ja]CW[Cg^POJOCWK3JOp#a&P_Jp`a\Jp`a]CW[RJI_ZLCgaRLJ_acPbde  KBVPOBWfPPKBVKK/EgDEhDEiDEjDCKCgkRLCWl LPmAPRponq KJrKKCgkKKa KBgstu Jp`a\Jp`a]CW[RJI_ZLCgaRJIavLRLBgwLJbRLLRLJ_RLP_LRLBW,xdeyz{ KKCg?RAKtJIp#a|RLCW$b&LBg}LLRKdALb~Lb2dALbLbdALLa~bLbLb~eLJIa#RLIRCWRLALACgLACgBgLALACgLACgBgLALACgLACgBgLACgLACgLACgBWS_ZPYx1X   JmdEhKKABg@?dEiKKABg@*dEjKKABg@dEg KKABg@ex    CRKKCCgFRKEN?LdCWAdd (ddCWRLLKLCga#CWBgsAT+eLKKKCga#CWBgsLBW,x ARLKa (KLCgRJHLCgKLCgb#ALRT-u  KdEDKCWpa+dE--KKCWaCCgFaeABW, eBW,edE eBW,eBW,  _CRCRK_CWaLCgFRLaA1LADBgLELE5DE6E7ELE8LACgCBgBWLErE5DE6E7E8DCBgLEUE5DE6EE8A CBgLEWE5D E6EE8?CBgLBW, $D D D RD D D D D RD D D D RLL L BW,  DD D D D D D D D D D D D D D D D D D D D D D D D D D D D D D RLBW,^ARLKECg 2KELCgCW7DKKELCgaBgALRT;KBW,u KaCW7RD RARLLECg LLELCg RALRT$LEALECgACgRLBW,  0FZr>DJTZl~t,Xz Any modelDrag horizontal and verticalDrag horizontallyDrag verticallyDrag front to back Which model*Which group does this behavior belong to?HKMouseStrength of the mouse spring.Amount of damping applied to the mouse spring)Drag a physics model with a mouse spring -Type: Local Action Dependencies8This requires a Trigger behavior to function correctly.%DRAG PHYSICS MODEL WITH MOUSE SPRING.Click on a model to drag it in any direction.ZThis local behavior requires that its trigger behaviors be dropped onto this same sprite.%ACTIONS AND THEIR REQUIRED TRIGGERS:5Apply a mouse trigger to each of the actions listed.- Follow the mouse PARAMETERS:- Sensitivity- Model to be rotated'- Mouse travel direction to respond to- This behavior's group namePERMITTED SPRITE TYPES:- Shockwave 3DmodelmanLR>> beginSprite endSprite enterFrame exitFrame updateModel isOKToAttachgetPropertyDescriptionListpSpritesprite spriteNum pRigidBodies pFrameCount pInitialized HKShutdown HKInitialize pHKEMemberputmembermodelcount getPropRefnameHKGetRigidBodygetPropmescenerbmdlNamegetAtobjHKStep pTimeStep pSubSteps HKGetPosition HKGetRotation transformvectorpScaleposition axisAnglemdlposrottypereturn shockwave3ds3dsTypesNumt sceneFilesetaProp pCastMemNamecommentformatstringdefault mouseDownrightMouseDownmouseUp rightMouseUp registereventwithgroupnameofcalculateTranslateVector dragModel modelMovesaveModelTransformsetModelTransformgetBehaviorTooltipgetBehaviorDescription getmodels getscriptnamepMemberpCameracameravoidppmodelpModelTransformOriginListall pClickedModel pAttachedpActivepmarkedforupdateHKMouseSetPosition HKMouseAttach pElasticity HKGetMasspDampinglPospLastMousePositionmouseLocpointlefttop modelUnderLoc pLastPositionrectspriteSpaceToWorldSpacepClickedDistance magnitudetOffsettV HKMouseDetach HKMouseDragXY HKMouseDragX HKMouseDragY HKMouseDragZgetOnesymbolppeventatargetbehaviorinstanceatriggerspritenumaeventthandler pgroupnameaddPropanameaList worldPosition normalizeaModeltPtMouseMoveVectortranslateVectorrotationinvertyzxmaxscaleHKMouseGetPositionsetAtdirtTranslateVector duplicateamemberjtModelTransformOriginListtlist getPropAttModelgraphicscript aSpriteType aSpriteNumascriptcurrentSpriteNumaddAtrangenothingfloattgpdlisttstring3tstring2tstring1addwordchartwordtname tscriptnamercsL\`\l l6d  %  "lC& 8Q _ gvz~~Wohjl!!l H7IP$&((Ka CWPCP P J BW AP JBWDBWJaRARLLECg @LELCgaRLCWRLDL BWLELCgBW ALRTI   BW ARLJ a KJ LCgBgALRT JJ BWJ AP KaCW!RKaCW"RKp#LACgLACgLACgCW$J%b&Kp#LACgLACgLACgCW$LACgCb'()* %-KCWaPKdE+4KCWpa,dE-eABW.dE/ eBW.edE0 eBW.e312   _4jCRLEE5DE6E7E8JCBg9LE%E5DE6E:E8DCBg9LEE5DE6E:E8DCBg9LE E5DE6E;E8ACBg9LBW.3<DD D RD D D D D RDD D D D RLL L BW.3  DD D D D D D D D D D D D D D D D D D D D D D D RLBW.3I$> LX fr*X$4PInitialized PhysicsFound: HKE Cast Member Name MAX Scale@Cٙ Time Step? Substeps1Updates 3D models based on a physical simulation  -Type:Independent Action- Dependencies:NoneHAVOK PHYSICS*Enables the Havok engine for the sprite. RAny specified Shockwave 3D models are then updated based on a physics simulation.6This independent behavior does not require a trigger.%ACTIONS AND THEIR REQUIRED TRIGGERS:- None PARAMETERS:PERMITTED SPRITE TYPES:- Shockwave 3DrcsL\H|z\l l:`  %  "pC& <Q _ gx|Zolnp-!p H7IP(*,,Ka CWPCP P J BW AP JBWDBWJaRARLLECg BLELCgaRLCWRLDL BWJ LELCgBgALRTK   BW ARLJ a KJ LCgBgALRT JJ BWJ AP KaCW!RKaCW"RKp#LACgLACgLACgCW$J%b&Kp#LACgLACgLACgCW$LACgCb'()* %-KCWaD PKdE+4KCWpa,dE-eABW.dE/ eBW.edE0 eBW.e312   _4jCRLEE5DE6E7E8JCBg9LE%E5DE6E:E8DCBg9LEE5DE6E:E8DCBg9LE E5DE6E;E8ACBg9LBW.3<D D D RD D D D D RD D D D D RLL L BW.3  DD D D D D D D D D D D D D D D D D D D D D D D RLBW.3I$,F T` nz N 0LInitialized PhysicsFound:HKE HKE Cast Member Name MAX Scale@Cٙ Time Step? Substeps1Updates 3D models based on a physical simulation -Type:Independent Action DependenciesNoneHAVOK PHYSICS*Enables the Havok engine for the sprite. RAny specified Shockwave 3D models are then updated based on a physics simulation.6This independent behavior does not require a trigger.%ACTIONS AND THEIR REQUIRED TRIGGERS: - None PARAMETERS:PERMITTED SPRITE TYPES:- Shockwave 3Dknuj'knujknujU*eerf manL0knuj!Fkknujknuj]#knuj [-knuj>?(knuj B+knuj[knuj,knujT0)knuj0e*SACl[knuj09 rcsL\|x\l l8`  %  "lC& 8Q _ gvz~~Zojln)!n H7IP&(**Ka CWPCP P J BW AP JBWDBWJaRARLLECg @LELCgaRLCWRLDL BWLELCgBW ALRTI   BW ARLJ a KJ LCgBgALRT JJ BWJ AP KaCW!RKaCW"RKp#LACgLACgLACgCW$J%b&Kp#LACgLACgLACgCW$LACgCb'()* %-KCWaD PKdE+4KCWpa,dE-eABW.dE/ eBW.edE0 eBW.e312   _4jCRLEE5DE6E7E8JCBg9LE%E5DE6E:E8DCBg9LEE5DE6E:E8DCBg9LE E5DE6E;E8ACBg9LBW.3<D D D RD D D D D RD D D D D RLL L BW.3  DD D D D D D D D D D D D D D D D D D D D D D D RLBW.3I$,F T` nz N 0LInitialized PhysicsFound:HKE HKE Cast Member Name MAX Scale@Cٙ Time Step? Substeps1Updates 3D models based on a physical simulation -Type:Independent Action DependenciesNoneHAVOK PHYSICS*Enables the Havok engine for the sprite. RAny specified Shockwave 3D models are then updated based on a physics simulation.6This independent behavior does not require a trigger.%ACTIONS AND THEIR REQUIRED TRIGGERS: - None PARAMETERS:PERMITTED SPRITE TYPES:- Shockwave 3DknujXtcLxrcsLrcsLTknujxIrcsLfniCU`SREV fmanLrrcsLaknuj`(knuj4manLHrcsLNrcsLrJknujT0%manLRrcsLknujUknujnknuj`manLW&*manL(Mknuj )eerf knujG"knuja#manL0eknujknujBzknuj[knuj, *SACl[knujV0knuj |['knujult: "VerySimpleTest"], #pScale: [#comment: "MAX Scale", #format: #float, #default: 39.7000], #timeStep: [#comment: "Time Step", #format: #float, #default: 0.0250], #substeps: [#comment: "Substeps", #format: #integer, #default: 5]]`;9v9 Stephen EwartmanLWCC beginSprite endSprite enterFrame exitFrame updateModel isOKToAttachgetPropertyDescriptionListpSpritesprite spriteNum pRigidBodies pFrameCount pInitialized HKShutdown HKInitialize pHKEMemberputmembermodelcount getPropRefnameHKGetRigidBodygetPropmescenerbmdlNamegetAtobjHKStep pTimeStep pSubSteps HKGetPosition HKGetRotation transformvectorpScaleposition axisAnglemdlposrottypereturn shockwave3ds3dsTypesNumt sceneFilesetaProp pCastMemNamecommentformatstringdefaultgraphictextscript aSpriteType aSpriteNumascriptcurrentSpriteNumsetAtfloat mouseDownrightMouseDownmouseUp rightMouseUp registereventwithgroupnameofcalculateTranslateVector dragModel modelMovesaveModelTransformsetModelTransformgetBehaviorTooltipgetBehaviorDescription getmodels getscriptnamepMemberpCameracameravoidppmodelpModelTransformOriginListall pClickedModel pAttachedpActivepmarkedforupdateHKMouseSetPosition HKMouseAttach pElasticity HKGetMasspDampinglPospLastMousePositionmouseLocpointlefttop modelUnderLoc pLastPositionrectspriteSpaceToWorldSpacepClickedDistance magnitudetOffsettV HKMouseDetach HKMouseDragXY HKMouseDragX HKMouseDragY HKMouseDragZgetOnesymbolppeventatargetbehaviorinstanceatriggerspritenumaeventthandler pgroupnameaddPropanameaList worldPosition normalizeaModeltPtMouseMoveVectortranslateVectorrotationinvertyzxmaxscaleHKMouseGetPositiondirtTranslateVector duplicateamemberjtModelTransformOriginListtlist getPropAttModeladdAtrangenothingtgpdlisttstring3tstring2tstring1addwordchartwordtname tscriptnamercsLxxx\ ,|X\l l6R  %  "lC& 8Q _ gvz~}~Wohjl!l H7XIP$&((Ka CWPCP P J BW AP JBWDBWJaRARLLECg @LELCgaRLCWRLDL BWLELCgBW ALRTI   BW ARLJ a KJ LCgBgALRT JJ BWJ AP KaCW!RKaCW"RKp#LACgLACgLACgCW$J%b&Kp#LACgLACgLACgCW$LACgCb'()* %-KCWaPKdE+4KCWpa,dE-eABW.dE/ eBW.edE0 eBW.e312   _4jCRLEE5DE6E7E8JCBg9LE%E5DE6E:E8DCBg9LEE5DE6E:E8DCBg9LE E5DE6E;E8ACBg9LBW.3<DD D RD D D D D RD D D D D RLL L BW.3  DD D D D D D D D D D D D D D D D D D D D D D D RLBW.3I$> LX frF">Initialized PhysicsFound: HKE Cast Member Name MAX Scale@Cٙ Time Step? Substeps1Updates 3D models based on a physical simulation -Type:Independent Action DependenciesNoneHAVOK PHYSICS*Enables the Havok engine for the sprite. RAny specified Shockwave 3D models are then updated based on a physics simulation.6This independent behavior does not require a trigger.%ACTIONS AND THEIR REQUIRED TRIGGERS:- None PARAMETERS:PERMITTED SPRITE TYPES:- Shockwave 3DrcsL\@\z|!  vPY[MSqVLQTfc]Znpr 2r  >Mb\=X0?>? J@A5 B!:@@@CRHsD#L (EVBFF'9 FFsR*GQG4   -Nk b $ 1   N P T4e+ T H4   9 Ie  ( * ,; ,JH <  A+ KV   B Ka CWPJaPLJaNPMJPCWOJLEACgaPPJPDKJLERCgFPQKJLJPCgFPQPSRPTU  KJQBgGJV}JSvJTBJSaCW!RLACgLACgLACgBWWJSaJYJSaCWZJ[BWXAPTJPdDKJSaBgEJSaJP KJPBgEePV\   _^P]JpN_^Ja`JaaCW_CgbPSJSCWO3JSp#a&PcJpda`JpdaaCW_RJM_^LCgeRLJcagPfhi  KBVPSBWjPTKBVKK/EkDElDEmDEnDCKCgoRLCWp LPqAPVtsru KJvKKCgoKKa KBgwxy Jpda`JpdaaCW_RJM_^LCgeRJMazLRLBg{LJfRLLRLJcRLPcLRLBW.|hi}~ KKCgCRAKtJMp#aRLCW$b&LBgLLRKdALbLb2dALbLbdALLabLbLbeLJMa#RLIRCWRLALACgLACgBg9LALACgLACgBg9LALACgLACgBg9LACgLACgLACgBWW_^P]|\   JqdElKKABgD?dEmKKABgD*dEnKKABgDdEk KKABgDe|    CRKKCCgJRKER?LdCWAdd (ddCWRLLKLCga#CWBgwAT+eLKKKCga#CWBgwLBW.| ARLKa (KLCgRJLLCgKLCgb#ALRT-y  KdE+DKCWpa,dE--KKCWaCCgJaeABW. eBW.edE0 eBW.eBW.312  _4CRCRK_4CWaLCgJRLaA1LADBgLEPE5DE6E7ELE8LACgCBg9BWLEvE5DE6E7E8DCBg9LEYE5DE6E:E8A CBg9LE[E5D E6E:E8?CBg9LBW.3< $D D D RD D D D D RD D D D RLL L BW.3  DD D D D D D D D D D D D D D D D D D D D D D D D D D D D D D RLBW.3^ARLKECg 2KELCgCW7DKKELCgaBgALRT;KBW.y Ka0CW7RD RARLLECg LLELCg RALRT$LEALECgACgRLBW.  0FZr>DJTZl~t,Xz Any modelDrag horizontal and verticalDrag horizontallyDrag verticallyDrag front to back Which model*Which group does this behavior belong to?HKMouseStrength of the mouse spring.Amount of damping applied to the mouse spring)Drag a physics model with a mouse spring -Type: Local Action Dependencies8This requires a Trigger behavior to function correctly.%DRAG PHYSICS MODEL WITH MOUSE SPRING.Click on a model to drag it in any direction.ZThis local behavior requires that its trigger behaviors be dropped onto this same sprite.%ACTIONS AND THEIR REQUIRED TRIGGERS:5Apply a mouse trigger to each of the actions listed.- Follow the mouse PARAMETERS:- Sensitivity- Model to be rotated'- Mouse travel direction to respond to- This behavior's group namePERMITTED SPRITE TYPES:- Shockwave 3Dmodelknujault: 5 \ ] return tGPDList end if end getPropertyDescriptionList -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- --This behavior will only respond to triggers sent from the same sprite it has -- been dropped onto. -------------------------------------------------------------------------------- --Do not alter or add to the comments and script below this point! -------------------------------------------------------------------------------- --beginInterfaceBlock --endInterfaceBlock Physics[#pCastMemName: [#comment: " HKE Cast Member Name", #format: #string, #default: "VerySimpleTest"], #pScale: [#comment: "MAX Scale", #format: #float, #default: 39.7000], #timeStep: [#comment: "Time Step", #format: #float, #default: 0.0250], #substeps: [#comment: "Substeps", #format: #integer, #default: 5]]`;9v9Stephen EwartmanL( beginSprite endSprite enterFrame exitFrame updateModel isOKToAttachgetPropertyDescriptionListpSpritesprite spriteNum pRigidBodies pFrameCount pInitialized HKShutdown HKInitialize pHKEMemberputmembermodelcount getPropRefnameHKGetRigidBodygetPropmescenerbmdlNamegetAtobjHKStep pTimeStep pSubSteps HKGetPosition HKGetRotation transformvectorpScaleposition axisAnglemdlposrotgraphictype shockwave3dreturntextscript aSpriteType aSpriteNumascriptcurrentSpriteNumcommentformatstringdefaultsetAtfloat mouseDownrightMouseDownmouseUp rightMouseUp registereventwithgroupnameofcalculateTranslateVector dragModel modelMovesaveModelTransformsetModelTransformgetBehaviorTooltipgetBehaviorDescription getmodels getscriptnamepMemberpCameracameravoidppmodelpModelTransformOriginListall pClickedModel pAttachedpActivepmarkedforupdateHKMouseSetPosition HKMouseAttach pElasticity HKGetMasspDampinglPospLastMousePositionmouseLocpointlefttop modelUnderLoc pLastPositionrectspriteSpaceToWorldSpacepClickedDistance magnitudetOffsettV HKMouseDetach HKMouseDragXY HKMouseDragX HKMouseDragY HKMouseDragZgetOnesymbolppeventatargetbehaviorinstanceatriggerspritenumaeventthandler pgroupnameaddPropanameaList worldPosition normalizeaModeltPtMouseMoveVectortranslateVectorrotationinvertyzxmaxscaleHKMouseGetPositiondirtTranslateVectort duplicateamemberjtModelTransformOriginListtlist getPropAttModeladdAtrangenothingtgpdlisttstring3tstring2tstring1addwordchartwordtname tscriptnamercsL\ Et@\z|!  vPY[MSqVLQTfc]Znpr 2r  >Mb\=X0?>? J@A5 B!:@@@CRHsD#L (EVBFF'9 FFsR*GQG4   -Nk b $ 1   N P T4e+ T H4   9 Ie  ( * ,; ,JH <  A+ KV   B Ka CWPJaPLJaNPMJPCWOJLEACgaPPJPDKJLERCgFPQKJLJPCgFPQPSRPTU  KJQBgGJV}JSvJTBJSaCW!RLACgLACgLACgBWWJSaJYJSaCWZJ[BWXAPTJPdDKJSaBgEJSaJP KJPBgEePV\   _^P]JpN_^Ja`JaaCW_CgbPSJSCWO3JSp#a&PcJpda`JpdaaCW_RJM_^LCgeRLJcagPfhi  KBVPSBWjPTKBVKK/EkDElDEmDEnDCKCgoRLCWp LPqAPVtsru KJvKKCgoKKa KBgwxy Jpda`JpdaaCW_RJM_^LCgeRJMazLRLBg{LJfRLLRLJcRLPcLRLBW.|hi}~ KKCgCRAKtJMp#aRLCW$b&LBgLLRKdALbLb2dALbLbdALLabLbLbeLJMa#RLIRCWRLALACgLACgBg9LALACgLACgBg9LALACgLACgBg9LACgLACgLACgBWW_^P]|\   JqdElKKABgD?dEmKKABgD*dEnKKABgDdEk KKABgDe|    CRKKCCgJRKER?LdCWAdd (ddCWRLLKLCga#CWBgwAT+eLKKKCga#CWBgwLBW.| ARLKa (KLCgRJLLCgKLCgb#ALRT-y  KdE+DKCWpa,dE--KKCWaCCgJaeABW. eBW.edE0 eBW.eBW.312  _4CRCRK_4CWaLCgJRLaA1LADBgLEPE5DE6E7ELE8LACgCBg9BWLEvE5DE6E7E8DCBg9LEYE5DE6E:E8A CBg9LE[E5D E6E:E8?CBg9LBW.3< $D D D RD D D D D RD D D D RLL L BW.3  DD D D D D D D D D D D D D D D D D D D D D D D D D D D D D D RLBW.3^ARLKECg 2KELCgCW7DKKELCgaBgALRT;KBW.y Ka0CW7RD RARLLECg LLELCg RALRT$LEALECgACgRLBW.  0FZr>DJTZl~t,Xz Any modelDrag horizontal and verticalDrag horizontallyDrag verticallyDrag front to back Which model*Which group does this behavior belong to?HKMouseStrength of the mouse spring.Amount of damping applied to the mouse spring)Drag a physics model with a mouse spring -Type: Local Action Dependencies8This requires a Trigger behavior to function correctly.%DRAG PHYSICS MODEL WITH MOUSE SPRING.Click on a model to drag it in any direction.ZThis local behavior requires that its trigger behaviors be dropped onto this same sprite.%ACTIONS AND THEIR REQUIRED TRIGGERS:5Apply a mouse trigger to each of the actions listed.- Follow the mouse PARAMETERS:- Sensitivity- Model to be rotated'- Mouse travel direction to respond to- This behavior's group namePERMITTED SPRITE TYPES:- Shockwave 3DmodelrcsL\T`z\l l:`  %  "pC& <Q _ gx|Zolnp-!p H7IP(*,,Ka CWPCP P J BW AP JBWDBWJaRARLLECg BLELCgaRLCWRLDL BWJ LELCgBgALRTK   BW ARLJ a KJ LCgBgALRT JJ BWJ AP KaCW!RKaCW"RKp#LACgLACgLACgCW$J%b&Kp#LACgLACgLACgCW$LACgCb'()* %-KCWaD PKdE+4KCWpa,dE-eABW.dE/ eBW.edE0 eBW.e312   _4jCRLEE5DE6E7E8JCBg9LE%E5DE6E:E8DCBg9LEE5DE6E:E8DCBg9LE E5DE6E;E8ACBg9LBW.3<D D D RD D D D D RD D D D D RLL L BW.3  DD D D D D D D D D D D D D D D D D D D D D D D RLBW.3I$,F T` nz N 0LInitialized PhysicsFound:HKE HKE Cast Member Name MAX Scale@Cٙ Time Step? Substeps1Updates 3D models based on a physical simulation -Type:Independent Action DependenciesNoneHAVOK PHYSICS*Enables the Havok engine for the sprite. RAny specified Shockwave 3D models are then updated based on a physics simulation.6This independent behavior does not require a trigger.%ACTIONS AND THEIR REQUIRED TRIGGERS: - None PARAMETERS:PERMITTED SPRITE TYPES:- Shockwave 3DrcsL\@\z|!  vPY[MSqVLQTfc]Znpr 2r  >Mb\=X0?>? J@A5 B!:@@@CRHsD#L (EVBFF'9 FFsR*GQG4   -Nk b $ 1   N P T4e+ T H4   9 Ie  ( * ,; ,JH <  A) KV   B Ka CWPJaPLJaNPMJPCWOJLEACgaPPJPDKJLERCgFPQKJLJPCgFPQPSRPTU  KJQBgGJV}JSvJTBJSaCW!RLACgLACgLACgBWWJSaJYJSaCWZJ[BWXAPTJPdDKJSaBgEJSaJP KJPBgEePV\   _^P]JpN_^Ja`JaaCW_CgbPSJSCWO3JSp#a&PcJpda`JpdaaCW_RJM_^LCgeRLJcagPfhi  KBVPSBWjPTKBVKK/EkDElDEmDEnDCKCgoRLCWp LPqAPVtsru KJvKKCgoKKa KBgwxy Jpda`JpdaaCW_RJM_^LCgeRJMazLRLBg{LJfRLLRLJcRLPcLRLBW.|hi}~ KKCgCRAKtJMp#aRLCW$b&LBgLLRKdALbLb2dALbLbdALLabLbLbeLJMa#RLIRCWRLALACgLACgBg9LALACgLACgBg9LALACgLACgBg9LACgLACgLACgBWW_^P]|\   JqdElKKABgD?dEmKKABgD*dEnKKABgDdEk KKABgDe|    CRKKCCgJRKER?LdCWAdd (ddCWRLLKLCga#CWBgwAT+eLKKKCga#CWBgwLBW.| ARLKa (KLCgRJLLCgKLCgb#ALRT-y  KdE+DKCWpa,dE--KKCWaCCgJaeABW. eBW.edE0 eBW.eBW.312  _4CRCRK_4CWaLCgJRLaA1LADBgLEPE5DE6E7ELE8LACgCBg9BWLEvE5DE6E7E8DCBg9LEYE5DE6E:E8A CBg9LE[E5D E6E:E8?CBg9LBW.3< $D D D RD D D D D RD D D D RLL L BW.3  DD D D D D D D D D D D D D D D D D D D D D D D D D D D D D D RLBW.3^ARLKECg 2KELCgCW7DKKELCgaBgALRT;KBW.y Ka0CW7RD RARLLECg LLELCg RALRT$LEALECgACgRLBW.  0FZr<BHRXj|r*Vx Any modelDrag horizontal and verticalDrag horizontallyDrag verticallyDrag front to back Which model*Which group does this behavior belong to?HavokStrength of the mouse spring.Amount of damping applied to the mouse spring)Drag a physics model with a mouse spring -Type: Local Action Dependencies8This requires a Trigger behavior to function correctly.%DRAG PHYSICS MODEL WITH MOUSE SPRING.Click on a model to drag it in any direction.ZThis local behavior requires that its trigger behaviors be dropped onto this same sprite.%ACTIONS AND THEIR REQUIRED TRIGGERS:5Apply a mouse trigger to each of the actions listed.- Follow the mouse PARAMETERS:- Sensitivity- Model to be rotated'- Mouse travel direction to respond to- This behavior's group namePERMITTED SPRITE TYPES:- Shockwave 3DmodelrcsL\!Ul9@\l lvZN8"pC& <Q 022 _ 2c>FHH qHgL.Z$$'$o8d! 7PdfhhKaCWPCPPJBWAPJBWDBWJaRARLLECg& BLELCgaRLCWRLDL BWJLELCgLBgDALRTK$&   BW$ARLJa& KJLCg'BgALRT$ JJBWJAP$JBWV$KaCW/RKaCWRKp6LACg'LACg'LACg'CW^Jb7Kp6LACg'LACg'LACg'CW^LACg'Cb$ %-KCWaD PKdEp4KCWpaqdEreABWVdEs eBWVedEt eBWVewuv   _xjCRLEEzDE{E|E~JCBgeLEEzDE{EE~DCBgeLEEzDE{EE~DCBgeLEEzDE{EE~ACBgeLBWVwD D D RD D D D D RD D D D D RLL L BWVw  DD D D D D D D D D D D D D D D D D D D D D D D RLBWVwI$,F T` nz N*FInitialized PhysicsFound:HKE HKE Cast Member Name MAX Scale@Cٙ Time Step? Substeps1Updates 3D models based on a physical simulation -Type:Independent Action DependenciesNoneHAVOK PHYSICS*Enables the Havok engine for the sprite. RAny specified Shockwave 3D models are then updated based on a physics simulation.6This independent behavior does not require a trigger.%ACTIONS AND THEIR REQUIRED TRIGGERS:- None PARAMETERS:PERMITTED SPRITE TYPES:- Shockwave 3DrcsL\ -,#@ \tt"  ?`a3/" #\ hjl^+l ~ Ff ,Uzi:5 (*e* t<$ R26@$q @]RHNV(H,&V V|,|X  s X ^ d/q d 4 t  2 t  * 0 05 0 J  :2 4 0 d f l?: ln r  A} H  > D FF3 FV P  HE KaCWPJaPJaPJCWJEACgaPJDKJE!Cg P KJJCg P P"RCP#$%  KJ Bg $J"aJ#a&XARLJ#a& EJ#LCg'RJdDKJ"aLBg J"aJ KJLBg eALRTJCP#$)(     Jp_*Ja,Ja-CW+Cg.P"J"CWvDJJ"aJfJ"aCWSRLACg'LACg'LACg'BW^J"aJ`J"aCWWJaBW_J"p0a1P/J_*Ja,Ja-CW+Cg2RLJ/a4P3$b5   KBg$BW6P"$KBg$KK/EcDEdDEeDEfDCKCg8RLCW9 J#LBg:$;=<> KJ?nKKaCg@CW%CRLKCgKBgAKKaLBgA;KCgRKKaCgBRLLCg@CWLKCgKBgABWC$DEHGF  JpIa,JpIa-CW+RJ_*LCg2RJaJLRLBgKLJ3RLLRLJ/RLP/LRLBWL$MONPRQ KKCg RAKtJp0agRLCWTb1LBghLLRKdALb[Lb\2dALbZLb\dALLa[b\LbZLb[eLJa0RCWiRLALACg'LACg'BgXLALACg'LACg'BgXLALACg'LACg'BgXLACg'LACg'LACg'BW^_*R$Mjklbm   KdEdKKABg]?dEeKKABg]*dEfKKABg]dEc KKABg]e$M;    CRKKCCgRKE!?LdCW&Add (ddCW'RLLKLCga0CWnBgAAT+eLKKKCga0CWnBgALBWL$oMqp) ARLKa& (KLCgrRJLCgKLCg'b0ALRT-$E)s  KdEtVKCWpaudEv0KKCWaCCga&eABWL eBWLdEw eBWLedEx eBWLeBWLy{z  _|CRCRK_|CWaLCgRLa&A1LADBg}LEE~DEEELELACg'CBgXBWCLE?E~DEEEDCBgXLE`E~DEEEA CBgXLEaE~D EEE?CBgXLBWLyp $D D D RD D D D D RD D D D RLL L BWLy  DD D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D RLBWLygARLKECg& 2KELCgBCWD KKELCgaBg:ALRT;KBWL$oE) KaxCWRD!RARLLECg& LLELCgB RALRT$LEALECg&ACgBRLBWL$  0FZr>DJTZl~tF^t Any modelDrag horizontal and verticalDrag horizontallyDrag verticallyDrag front to back Which model*Which group does this behavior belong to?HavokElasticity of the mouse spring.Amount of damping applied to the mouse spring)Drag a physics model with a mouse spring -Type: Local Action Dependencies8This requires a Trigger behavior to function correctly.%DRAG MODEL WITH PHYSICS MOUSE SPRING.Click on a model to drag it in any direction.ZThis local behavior requires that its trigger behaviors be dropped onto this same sprite.%ACTIONS AND THEIR REQUIRED TRIGGERS:5Apply a mouse trigger to each of the actions listed.- Follow the mouse PARAMETERS:- Model to be rotated'- Mouse travel direction to respond to- Spring Elasticity- Spring Damping- This behavior's group namePERMITTED SPRITE TYPES:- Shockwave 3DmodelrcsL>>>\# [\j j@<B& P ^ drvz|zZXNPRR 7nP#KaCWPCPPJBWAPJBWDBWJaRARLLECg& BLELCgaRLCWRLDL BWJLELCgBBg:ALRTK$&   BW$ARLJa& KJLCg'BgALRT$ JJBWJAP$KaCWSRKaCWRKp0LACg'LACg'LACg'CWTb1Kp0LACg'LACg'LACg'CWTLACg'Cb$ "-KCWaD PKdEt4KCWpaudEveABWLdEw eBWLedEx eBWLey{z   _|SCRLEE~DEEEJCBgXLEE~DEEEDCBgXLEE~DEEEACBgXLBWLyDD D RD D D D D RD D D D D RLL L BWLy  DD D D D D D D D D D D D D D D D D D D D D D D RLBWLyI$,F T`n4,Initialized PhysicsFound:HKE HKE Cast Member Name Time Step? Substeps1Updates 3D models based on a physical simulation -Type:Independent Action DependenciesNoneHAVOK PHYSICS*Enables the Havok engine for the sprite. RAny specified Shockwave 3D models are then updated based on a physics simulation.6This independent behavior does not require a trigger.%ACTIONS AND THEIR REQUIRED TRIGGERS:- None PARAMETERS:PERMITTED SPRITE TYPES:- Shockwave 3Dknuj4,9v9+Stephen EwartmanLlXX beginSprite endSprite enterFrame mouseDownrightMouseDownmouseUp rightMouseUp registereventwithgroupnameofcalculateTranslateVector dragModel modelMovesaveModelTransformsetModelTransform isOKToAttachgetPropertyDescriptionListgetBehaviorTooltipgetBehaviorDescription getmodels getscriptnamepSpritesprite spriteNumpMembermemberpCameracameravoidppmodelmodel getPropRefnamepModelTransformOriginListall pClickedModel pAttachedmepActivepmarkedforupdate HKGetPositionHKMouseSetPositiongetAt HKMouseAttach pElasticity HKGetMasspDampinglPospLastMousePositionmouseLocpointlefttop modelUnderLoc pLastPosition transformpositionrectspriteSpaceToWorldSpacepClickedDistance magnitudetOffsettV HKMouseDetach HKMouseDragXY HKMouseDragX HKMouseDragY HKMouseDragZgetOnesymbolppeventatargetbehaviorinstanceatriggerspritenumaeventthandler pgroupnameaddPropanameaList worldPosition normalizereturnaModeltPtMouseMoveVectortranslateVectorrotationvectorinvertyzxgetScaleHKMouseGetPositionsetAtdirtTranslateVectort HavokDragX HavokDragY HavokDragZ HavokDragXYcount duplicateamemberjtModelTransformOriginListtlist getPropAttModelgraphictype shockwave3dscript aSpriteType aSpriteNumascriptcurrentSpriteNumaddAtcommentformatstringrangedefaultnothingfloattgpdlisttstring3tstring2tstring1getPropaddwordchartwordtname tscriptname exitFrame updateModel pRigidBodies pFrameCount pInitialized HKShutdown HKInitialize pHKEMemberputHKGetRigidBodyscenerbmdlNameobjHKStep pTimeStep pSubStepspScale HKGetRotation axisAnglemdlposrottextintegermaxscalevaluemanLuaa beginSprite endSprite enterFrame mouseDownrightMouseDownmouseUp rightMouseUp registereventwithgroupnameofcalculateTranslateVector dragModel modelMovesaveModelTransformsetModelTransform isOKToAttachgetPropertyDescriptionListgetBehaviorTooltipgetBehaviorDescription getmodels getscriptnamepSpritesprite spriteNumpMembermemberpCameracameravoidppmodelmodel getPropRefnamepModelTransformOriginListall pAttachedmepActivepmarkedforupdate HKGetPositionHKMouseSetPositiongetAt HKMouseAttach pElasticity HKGetMasspDampinglPosmouseLocpointlefttop modelUnderLoc pLastPosition transformpositionrectspriteSpaceToWorldSpacepModelDistance magnitude pClickedModeltOffsettV HKMouseDetach HavokDragXY HavokDragX HavokDragY HavokDragZgetOnesymbolppeventatargetbehaviorinstanceatriggerspritenumaeventthandler pgroupnameaddPropanameaList worldPosition normalizereturnaModeltPtMouseMoveVectortranslateVectorrotationvectorinvertyzxgetScaleHKMouseGetPositionsetAtdirpLastMousePositiontTranslateVectortcount duplicateamemberjtModelTransformOriginListtlist getPropAttModelgraphictype shockwave3dscript aSpriteType aSpriteNumascriptcurrentSpriteNumaddAtcommentformatstringrangedefault exitFrame updateModel pRigidBodies pFrameCount pInitialized HKShutdown HKInitialize pHKEMemberputHKGetRigidBodygetPropaddscenerbmdlNameobjHKStep pTimeStep pSubStepspScale HKGetRotation axisAnglemdlposrottextfloatintegertgpdlisttstring3tstring2tstring1pClickedDistance HKMouseDragXY HKMouseDragX HKMouseDragY HKMouseDragZmaxscalenothingwordchartwordtname tscriptnameknujjrcsL\ A@@\z|!  {*,`v% "khbZnpr 2r  >Mb\X0? J5 !:@@@ RHs #L ( VBFF'9 F sR*GQ 4   -Nk b $ 1   N P T4e+ T 4   9 e  ( * ,; ,H <  A+ V   B KaCWPJaPJaPJCWJEACgaPJDKJE!Cg P KJJCg P P`RP"#$  KJ Bg #J%}J`vJ"BJ`aCW&RLACg(LACg(LACg(BW'J`aJ*J`aCW+J,BW)AP"JdDKJ`aBg J`aJ KJBg eP%#a   _cPbJp_cJaeJafCWdCggP`J`CW3J`pEaGPhJpiaeJpiafCWdRJ_cLCgjRLJhalPk#mn  KBV#P`BWoP"#KBV#KK/EpDEqDErDEsDCKCgtRLCWu LPvAP%#yxwz KJ{KKCgtKKaKBg|#}~ JpiaeJpiafCWdRJ_cLCgjRJaLRLBgLJkRLLRLJhRLPhLRLBWB#mn KKCg RAKtJpEaRLCWFbGLBgLLRKdALbLb2dALbLbdALLabLbLbeLJaERLIRCWRLALACg(LACg(BgYLALACg(LACg(BgYLALACg(LACg(BgYLACg(LACg(LACg(BW'_cPb#a   JvdEqKKABg ?dErKKABg *dEsKKABg dEp KKABg e#    CRKKCCgRKE!?LdCW7Add (ddCW(RLLKLCgaECWBg|AT+eLKKKCgaECWBg|LBWB# ARLKa7 (KLCgRJLCgKLCg(bEALRT-#~  KdELDKCWpaMdEN-KKCWaCCga7eABWB eBWBedEP eBWBeBWBSQR  _TCRCRK_TCWaLCgRLa7A1LADBgLEEUDEVEWELEXLACg(CBgYBWLE{EUDEVEWEXDCBgYLE*EUDEVEZEXA CBgYLE,EUD EVEZEX?CBgYLBWBS\ $D D D RD D D D D RD D D D RLL L BWBS_^]  DD D D D D D D D D D D D D D D D D D D D D D D D D D D D D D RLBWBS_^ARLKECg7 2KELCg9CWWDKKELCgaBg:ALRT;KBWB#~ KaPCWWRD RARLLECg7 LLELCg9 RALRT$LEALECg7ACg9RLBWB#  0FZr>DJTZl~t,Xz Any modelDrag horizontal and verticalDrag horizontallyDrag verticallyDrag front to back Which model*Which group does this behavior belong to?HKMouseStrength of the mouse spring.Amount of damping applied to the mouse spring)Drag a physics model with a mouse spring -Type: Local Action Dependencies8This requires a Trigger behavior to function correctly.%DRAG PHYSICS MODEL WITH MOUSE SPRING.Click on a model to drag it in any direction.ZThis local behavior requires that its trigger behaviors be dropped onto this same sprite.%ACTIONS AND THEIR REQUIRED TRIGGERS:5Apply a mouse trigger to each of the actions listed.- Follow the mouse PARAMETERS:- Sensitivity- Model to be rotated'- Mouse travel direction to respond to- This behavior's group namePERMITTED SPRITE TYPES:- Shockwave 3DmodelmanL9%% beginSprite endSprite enterFrame mouseDownrightMouseDownmouseUp rightMouseUp registereventwithgroupnameofcalculateTranslateVector dragModel modelMovesaveModelTransformsetModelTransform isOKToAttachgetPropertyDescriptionListgetBehaviorTooltipgetBehaviorDescription getmodels getscriptnamepSpritesprite spriteNumpMembermemberpCameracameravoidppmodelmodel getPropRefnamepModelTransformOriginListall pAttachedmepActivepmarkedforupdate HKGetPositionHKMouseSetPositiongetAt HKMouseAttach pElasticity HKGetMasspDamping exitFramegetScale updateModel pRigidBodies pFrameCount pInitialized HKShutdown HKInitialize pHKEMemberputcountHKGetRigidBodygetPropaddscenerbmdlNameobjHKStep pTimeStep pSubStepsreturnpScale HKGetRotation transformvectorposition axisAnglemdlposrotgraphictype shockwave3dtextscript aSpriteType aSpriteNumascriptcurrentSpriteNumcommentformatstringdefaultsetAtfloatintegertgpdlisttstring3tstring2tstring1 pClickedModellPospLastMousePositionmouseLocpointlefttop modelUnderLoc pLastPositionrectspriteSpaceToWorldSpacepClickedDistance magnitudetOffsettV HKMouseDetach HKMouseDragXY HKMouseDragX HKMouseDragY HKMouseDragZgetOnesymbolppeventatargetbehaviorinstanceatriggerspritenumaeventthandler pgroupnameaddPropanameaList worldPosition normalizeaModeltPtMouseMoveVectortranslateVectorrotationinvertyzxmaxscaleHKMouseGetPositiondirtTranslateVectort duplicateamemberjtModelTransformOriginListtlist getPropAttModeladdAtrangenothingwordchartwordtname tscriptname-knuj---------------------------------- ------------------------------------------------------------------------------- -- None. -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- --This behavior will only respond to triggers sent from the same sprite it has -- been dropped onto. -------------------------------------------------------------------------------- --Do not alter or add to the comments and script below this point! -------------------------------------------------------------------------------- --beginInterfaceBlock --endInterfaceBlock Physics`;,9v9!Stephen Ewartknuj------------------------------------------- --beginInterfaceBlock --endInterfaceBlock Physics`;,9v9!Stephen EwartmanL9%% beginSprite endSprite enterFrame mouseDownrightMouseDownmouseUp rightMouseUp registereventwithgroupnameofcalculateTranslateVector dragModel modelMovesaveModelTransformsetModelTransform isOKToAttachgetPropertyDescriptionListgetBehaviorTooltipgetBehaviorDescription getmodels getscriptnamepSpritesprite spriteNumpMembermemberpCameracameravoidppmodelmodel getPropRefnamepModelTransformOriginListall pClickedModel pAttachedmepActivepmarkedforupdate HKGetPositionHKMouseSetPositiongetAt HKMouseAttach pElasticity HKGetMasspDampinglPospLastMousePositionmouseLocpointlefttop modelUnderLoc pLastPosition transformpositionrectspriteSpaceToWorldSpacepClickedDistance magnitudetOffsettV HKMouseDetach HKMouseDragXY HKMouseDragX HKMouseDragY HKMouseDragZgetOnesymbolppeventatargetbehaviorinstanceatriggerspritenumaeventthandler pgroupnameaddPropanameaList worldPosition normalizereturnaModeltPtMouseMoveVectortranslateVectorrotationvectorinvertyzx exitFramegetScale updateModel pRigidBodies pFrameCount pInitialized HKShutdown HKInitialize pHKEMemberputcountHKGetRigidBodygetPropaddscenerbmdlNameobjHKStep pTimeStep pSubStepspScale HKGetRotation axisAnglemdlposrotgraphictype shockwave3dtextscript aSpriteType aSpriteNumascriptcurrentSpriteNumcommentformatstringdefaultsetAtfloatintegertgpdlisttstring3tstring2tstring1maxscaleHKMouseGetPositiondirtTranslateVectort duplicateamemberjtModelTransformOriginListtlist getPropAttModeladdAtrangenothingwordchartwordtname tscriptnameGrcsL\" ;@ \tt"  ?`a3/" #\ hjl^+l ~ Ff ,Uzi:5 (*e* t<$ R26@$q @]RHNV(H,&V V|,|X  s X ^ d/q d 4 t  2 t  * 0 05 0 J  :2 4 0 d f l?: ln r  A} H  > D FF3 FV P  HE KaCWPJaPJaPJCWJEACgaPJDKJE!Cg P KJJCg P P"RCP#$%  KJ Bg $J"aJ#a&XARLJ#a& EJ#LCg'RJdDKJ"aLBg J"aJ KJLBg eALRTJCP#$)(     Jp_*Ja,Ja-CW+Cg.P"J"CWvDJJ"aJfJ"aCWSRLACg'LACg'LACg'BW^J"aJ`J"aCWWJaBW_J"p0a1P/J_*Ja,Ja-CW+Cg2RLJ/a4P3$b5   KBg$BW6P"$KBg$KK/EcDEdDEeDEfDCKCg8RLCW9 J#LBg:$;=<> KJ?nKKaCg@CW%CRLKCgKBgAKKaLBgA;KCgRKKaCgBRLLCg@CWLKCgKBgABWC$DEHGF  JpIa,JpIa-CW+RJ_*LCg2RJaJLRLBgKLJ3RLLRLJ/RLP/LRLBWL$MONPRQ KKCg RAKtJp0agRLCWTb1LBghLLRKdALb[Lb\2dALbZLb\dALLa[b\LbZLb[eLJa0RCWiRLALACg'LACg'BgXLALACg'LACg'BgXLALACg'LACg'BgXLACg'LACg'LACg'BW^_*R$Mjklbm   KdEdKKABg]?dEeKKABg]*dEfKKABg]dEc KKABg]e$M;    CRKKCCgRKE!?LdCW&Add (ddCW'RLLKLCga0CWnBgAAT+eLKKKCga0CWnBgALBWL$oMqp) ARLKa& (KLCgrRJLCgKLCg'b0ALRT-$E)s  KdEtVKCWpaudEv0KKCWaCCga&eABWL eBWLdEw eBWLedEx eBWLeBWLy{z  _|CRCRK_|CWaLCgRLa&A1LADBg}LEE~DEEELELACg'CBgXBWCLE?E~DEEEDCBgXLE`E~DEEEA CBgXLEaE~D EEE?CBgXLBWLyp $D D D RD D D D D RD D D D RLL L BWLy  DD D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D RLBWLygARLKECg& 2KELCgBCWD KKELCgaBg:ALRT;KBWL$oE) KaxCWRD!RARLLECg& LLELCgB RALRT$LEALECg&ACgBRLBWL$  0FZr>DJTZl~tF^t Any modelDrag horizontal and verticalDrag horizontallyDrag verticallyDrag front to back Which model*Which group does this behavior belong to?HavokElasticity of the mouse spring.Amount of damping applied to the mouse spring)Drag a physics model with a mouse spring -Type: Local Action Dependencies8This requires a Trigger behavior to function correctly.%DRAG MODEL WITH PHYSICS MOUSE SPRING.Click on a model to drag it in any direction.ZThis local behavior requires that its trigger behaviors be dropped onto this same sprite.%ACTIONS AND THEIR REQUIRED TRIGGERS:5Apply a mouse trigger to each of the actions listed.- Follow the mouse PARAMETERS:- Model to be rotated'- Mouse travel direction to respond to- Spring Elasticity- Spring Damping- This behavior's group namePERMITTED SPRITE TYPES:- Shockwave 3DmodelrcsLLLL\ )0 $,\j jF<B& P ^ drvz|zZXNPRR 7nP#KaCWPCPPJBWAPJBWDBWJaRARLLECg& BLELCgaRLCWRLDL BWJLELCgBBg:ALRTK$&   BW$ARLJa& KJLCg'BgALRT$ JJBWJAP$KaCWSRKaCWRKp0LACg'LACg'LACg'CWTb1Kp0LACg'LACg'LACg'CWTLACg'Cb$ "-KCWaD PKdEt4KCWpaudEveABWLdEw eBWLedEx eBWLey{z   _|SCRLEE~DEEEJCBgXLEE~DEEEDCBgXLEE~DEEEACBgXLBWLyDD D RD D D D D RD D D D D RLL L BWLy  DD D D D D D D D D D D D D D D D D D D D D D D RLBWLyI$,F T`n :2Initialized PhysicsFound:HKE HKE Cast Member Name Time Step? Substeps1Updates 3D models based on a physical simulation -Type:Independent Action DependenciesNone HAVOK PHYSICS*Enables the Havok engine for the sprite. RAny specified Shockwave 3D models are then updated based on a physics simulation.6This independent behavior does not require a trigger.%ACTIONS AND THEIR REQUIRED TRIGGERS:- None PARAMETERS:PERMITTED SPRITE TYPES:- Shockwave 3DmanL beginSprite endSprite enterFrame mouseDownrightMouseDownmouseUp rightMouseUp registereventwithgroupnameofcalculateTranslateVector pushModel modelMovesaveModelTransformsetModelTransform isOKToAttachgetPropertyDescriptionListgetBehaviorTooltipgetBehaviorDescription getmodels getscriptnamepSpritesprite spriteNumpMembermemberpCameracameravoidppmodelmodel getPropRefnamepModelTransformOriginListall pClickedModelpqueuedtriggeredeventsmepActivecountgetAtteventjmouseLocpointlefttop modelUnderLoc pLastPosition transformpositionspriteSpaceToWorldSpacepModelDistance magnitudetMouseWorldVector HKMouseDetach HavokPushgetOnesymbolpaddaeventatargetbehaviorinstanceatriggerspritenumthandler pgroupnamegetaPropaddPropgetPropnothinganameaListtspritebehaviorlist tbehaviornametnewlistrect worldPosition normalizereturnaModeltVtOffsettPtranslateVectortMouseMoveVector HKGetPositionvector pStrengthpMassProportional HKGetMasssetAtHKApplyForceAtPointxyz dragModelHKMouseSetPosition HKMouseAttach pElasticitypDampinglPos HavokDragXY HavokDragX HavokDragY HavokDragZrotationinvertHKMouseGetPositiondirtTranslateVectortpLastMousePosition duplicateamembertlisttModelTransformOriginList getPropAttModelgraphictype shockwave3dtextscriptascript aSpriteNum aSpriteTypecurrentSpriteNumaddAtcommentformatstringrangedefaultfloattgpdlisttstring3tstring1tstring2wordchar tscriptnametnametword exitFrame updateModel pRigidBodies pFrameCount pInitialized HKShutdown HKInitialize pHKEMemberputHKGetRigidBodymdlNamerbsceneobjHKStep pTimeStep pSubSteps HKGetRotation axisAnglemdlrotposintegerknujMouseDragY HKMouseDragZpeventmaxscalescalevalue _soundXtrargbgetPhysicsScaleFactorscriptInstanceListHKRegisterInterestHKGetCollisionList pushModel HavokPushmanL beginSprite endSprite enterFrame mouseDownrightMouseDownmouseUp rightMouseUp registereventwithgroupnameofcalculateTranslateVector pushModel modelMovesaveModelTransformsetModelTransform isOKToAttachgetPropertyDescriptionListgetBehaviorTooltipgetBehaviorDescription getmodels getscriptnamepSpritesprite spriteNumpMembermemberpCameracameravoidppmodelmodel getPropRefnamepModelTransformOriginListall pClickedModelpqueuedtriggeredeventsmepActivecountgetAtteventjmouseLocpointlefttop modelUnderLoc pLastPosition transformpositionspriteSpaceToWorldSpacepModelDistance magnitudetMouseWorldVector HKMouseDetach HavokPushgetOnesymbolpaddaeventatargetbehaviorinstanceatriggerspritenumthandler pgroupnamegetaPropaddPropgetPropnothinganameaListtspritebehaviorlist tbehaviornametnewlistrect worldPosition normalizereturnaModeltVtOffsettPtranslateVectortMouseMoveVector HKGetPositionvector pStrengthpMassProportional HKGetMasssetAtHKApplyForceAtPointxyz dragModelHKMouseSetPosition HKMouseAttach pElasticitypDampinglPos HavokDragXY HavokDragX HavokDragY HavokDragZrotationinvertHKMouseGetPositiondirtTranslateVectortpLastMousePosition duplicateamembertlisttModelTransformOriginList getPropAttModelgraphictype shockwave3dtextscriptascript aSpriteNum aSpriteTypecurrentSpriteNumaddAtcommentformatstringrangedefaultfloattgpdlisttstring3tstring1tstring2wordchar tscriptnametnametword exitFrame updateModel pRigidBodies pFrameCount pInitialized HKShutdown HKInitialize pHKEMemberputHKGetRigidBodymdlNamerbsceneobjHKStep pTimeStep pSubSteps HKGetRotation axisAnglemdlrotposintegerrcsL>>>\ & c\\j j@<B& P ^ drvz|zZXNPRR 7nP#KaCWPCPPJBWAPJBWDBWJaRARLLECg& BLELCgaRLCWRLDL BWJLELCgBBg:ALRTK$&   BW$ARLJa& KJLCg'BgALRT$ JJBWJAP$KaCWSRKaCWRKp0LACg'LACg'LACg'CWTb1Kp0LACg'LACg'LACg'CWTLACg'Cb$ "-KCWaD PKdEg4KCWpahdEieABWLdEj eBWLedEk eBWLelnm   _oSCRLEEqDErEsEuJCBgXLEEqDErEvEuDCBgXLEEqDErEEuACBgXLBWLlxDD D RD D D D D RD D D D D RLL L BWLlz{y  DD D D D D D D D D D D D D D D D D D D D D D D RLBWLlzI