BourbonWarfare / POTATO

GNU General Public License v2.0
18 stars 28 forks source link

Helmet cam #568

Open Juujuu opened 1 month ago

Juujuu commented 1 month ago

Helmet cam added to spectator. Some work already done for "correct" camera angle back in 2021. Used the largest helmet and put the camera outside of it. No idea what I used lost to time. Would need tweaked probably.


_eyeDir = eyeDirection player;
_cam setVectorDir _eyeDir;
_cam cameraEffect ["Internal", "Back"]; 
_cam camSetFov 1.2;
_cam attachTo [player, [0.12,0,0.15], "Head", true];
_cam camCommit 0;```

Image https://cdn.discordapp.com/attachments/585642663202783236/925972030485037106/unknown.png?ex=6706b267&is=670560e7&hm=4d314a18973f9ab26bfff5509b1c42dcd6c05873e0ceb09800ea0ca81c823825&
kil0byt3 commented 13 hours ago

related, having a form of gcam for cinematics would be great in spectate (not sure if gcam still works, but something similar - just force-smoothed camera inputs )