⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 castlesceneknightmovements.h

📁 Ion Team Lord Of The Rings Demo 模拟指环王的3D游戏 VS.NET编译 里面提供高级渲染算法
💻 H
字号:
caKnightMovements[0].ChangeAnimation=true;
caKnightMovements[0].NewAnimation="stand";
caKnightMovements[0].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[0].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[0].TimeFactor=1.0f/10000.0f;

caKnightMovements[1].ChangeAnimation=false;
caKnightMovements[1].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[1].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[1].TimeFactor=1.0f/4166.0f;

caKnightMovements[2].ChangeAnimation=false;
caKnightMovements[2].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[2].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[2].TimeFactor=1.0f/4166.0f;

caKnightMovements[3].ChangeAnimation=true;
caKnightMovements[3].NewAnimation="death1";
caKnightMovements[3].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[3].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[3].TimeFactor=1.0f/2000.0f;

caKnightMovements[4].ChangeAnimation=true;
caKnightMovements[4].TwoFrameInterpolation=true;
caKnightMovements[4].Frame1=183;
caKnightMovements[4].Frame2=183;
caKnightMovements[4].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[4].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[4].TimeFactor=1.0f/8000.0f;

caKnightMovements[5].ChangeAnimation=true;
caKnightMovements[5].NewAnimation="stand";
caKnightMovements[5].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[5].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[5].TimeFactor=1.0f/4000.0f;

caKnightMovements[6].ChangeAnimation=false;
caKnightMovements[6].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[6].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[6].TimeFactor=1.0f/4000.0f;

caKnightMovements[7].ChangeAnimation=false;
caKnightMovements[7].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[7].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[7].TimeFactor=1.0f/4000.0f;

caKnightMovements[8].ChangeAnimation=false;
caKnightMovements[8].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[8].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[8].TimeFactor=1.0f/4000.0f;

caKnightMovements[9].ChangeAnimation=false;
caKnightMovements[9].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[9].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[9].TimeFactor=1.0f/4000.0f;

caKnightMovements[10].ChangeAnimation=true;
caKnightMovements[10].NewAnimation="salute";
caKnightMovements[10].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[10].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[10].TimeFactor=1.0f/20000.0f; // 68 secs so far

// Knight attacks Gandy
caKnightMovements[11].ChangeAnimation=true;
caKnightMovements[11].NewAnimation="";
caKnightMovements[11].Frame1=71;
caKnightMovements[11].Frame2=81;
caKnightMovements[11].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[11].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[11].TimeFactor=1.0f/4000.0f;

caKnightMovements[12].ChangeAnimation=false;
caKnightMovements[12].TwoFrameInterpolation=true;
caKnightMovements[12].Frame1=81;
caKnightMovements[12].Frame2=81;
caKnightMovements[12].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[12].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[12].TimeFactor=1.0f/2000.0f;

caKnightMovements[13].ChangeAnimation=false;
caKnightMovements[13].TwoFrameInterpolation=true;
caKnightMovements[13].Frame1=81;
caKnightMovements[13].Frame2=81;
caKnightMovements[13].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[13].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[13].TimeFactor=1.0f/2000.0f;

caKnightMovements[14].ChangeAnimation=false;
caKnightMovements[14].TwoFrameInterpolation=true;
caKnightMovements[14].Frame1=81;
caKnightMovements[14].Frame2=81;
caKnightMovements[14].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[14].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[14].TimeFactor=1.0f/2000.0f;

caKnightMovements[15].ChangeAnimation=false;
caKnightMovements[15].TwoFrameInterpolation=true;
caKnightMovements[15].Frame1=81;
caKnightMovements[15].Frame2=122;
caKnightMovements[15].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[15].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[15].TimeFactor=1.0f/2000.0f; // 12 secs since knight attack

caKnightMovements[16].ChangeAnimation=true;
caKnightMovements[16].NewAnimation="";
caKnightMovements[16].Frame1=122;
caKnightMovements[16].Frame2=131;
caKnightMovements[16].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[16].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[16].TimeFactor=1.0f/4000.0f;

caKnightMovements[17].ChangeAnimation=false;
caKnightMovements[17].TwoFrameInterpolation=true;
caKnightMovements[17].Frame1=131;
caKnightMovements[17].Frame2=131;
caKnightMovements[17].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[17].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[17].TimeFactor=1.0f/11000.0f; // 27 secs since knight attack


// GANDALF ATTACKS AGAIN NOW! @ 93 secs
caKnightMovements[18].ChangeAnimation=false;
caKnightMovements[18].TwoFrameInterpolation=true;
caKnightMovements[18].Frame1=127;
caKnightMovements[18].Frame2=0;
caKnightMovements[18].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[18].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[18].TimeFactor=1.0f/4000.0f;

caKnightMovements[19].ChangeAnimation=true;
caKnightMovements[19].NewAnimation="stand";
caKnightMovements[19].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[19].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[19].TimeFactor=1.0f/4000.0f;

caKnightMovements[20].ChangeAnimation=false;
caKnightMovements[20].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[20].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[20].TimeFactor=1.0f/4000.0f;

caKnightMovements[21].ChangeAnimation=false;
caKnightMovements[21].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[21].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[21].TimeFactor=1.0f/4000.0f;  //109 secs

caKnightMovements[22].ChangeAnimation=true;
caKnightMovements[22].NewAnimation="death1";
caKnightMovements[22].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[22].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[22].TimeFactor=1.0f/2000.0f;

caKnightMovements[23].ChangeAnimation=true;
caKnightMovements[23].TwoFrameInterpolation=true;
caKnightMovements[23].Frame1=183;
caKnightMovements[23].Frame2=183;
caKnightMovements[23].Position=Vector3d(-3.0f,1.4f,6.0f);
caKnightMovements[23].Rotation=Vector3d(0.0f,0.0f,0.0f);
caKnightMovements[23].TimeFactor=0.0f;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -