Asenna Steam						
					
				
				
									kirjaudu sisään
											 | 
						kieli
						
																																					简体中文 (yksinkertaistettu kiina)
																													繁體中文 (perinteinen kiina)
																													日本語 (japani)
																													한국어 (korea)
																													ไทย (thai)
																													български (bulgaria)
																													Čeština (tšekki)
																													Dansk (tanska)
																													Deutsch (saksa)
																													English (englanti)
																													Español – España (espanja – Espanja)
																													Español – Latinoamérica (espanja – Lat. Am.)
																													Ελληνικά (kreikka)
																													Français (ranska)
																													Italiano (italia)
																													Bahasa Indonesia (indonesia)
																													Magyar (unkari)
																													Nederlands (hollanti)
																													Norsk (norja)
																													Polski (puola)
																													Português (portugali – Portugali)
																													Português – Brasil (portugali – Brasilia)
																													Română (romania)
																													Русский (venäjä)
																																							Svenska (ruotsi)
																													Türkçe (turkki)
																													Tiếng Việt (vietnam)
																													Українська (ukraina)
																									Ilmoita käännösongelmasta
							
						
 
											 
													

 84
 84								 Tämä aihe on kiinnitetty, joten se on todennäköisesti tärkeä
  Tämä aihe on kiinnitetty, joten se on todennäköisesti tärkeä	 
					 
							




 Ilmoita tämä viesti
 Ilmoita tämä viesti


I felt it was unnecessary to be modifiable by players though, so I removed it.
Nope, the rotating is a side-effect of the only way to have the legs model smoothly follow the player. I tried to fix it, but they all made the legs no longer follow smoothly and broke the illusion badly.
This is what the settings should look like:
Enter the following first into the dev console: "cam_idealdist 0" "cam_ideallag 0" "cam_idealpitch 0" "cam_idealyaw 0" "c_thirdpersonshoulderaimdist 1000" 'c_thirdpersonshoulderoffset 0"
----------------------------------------------------------------------------------------------------------------------------------
Here's the command value to attach the camera to the head bone of the default survivor's:
For when you're Rochelle: cl_camera_follow_bone_index 16
For when you're Coach: cl_camera_follow_bone_index 17
For when you're Nick: cl_camera_follow_bone_index 14
For when you're Ellis: cl_camera_follow_bone_index 14
For when you're Zoey: cl_camera_follow_bone_index 14
For when you're Louis: cl_camera_follow_bone_index 14
For when you're Francis: cl_camera_follow_bone_index 14
For when you're Bill: cl_camera_follow_bone_index 14
----------------------------------------------------------------------------------------------------------------------------------
With custom models you'll have to find the head bone yourself by entering different values. For example, the head bone on the Arcane Jinx model for Louis is bone_index 55 and the Meow Skulls model for Zoey is bone_index 16.
I made a guide back in 2022 for this with a bit more detail if you want to read it
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2894548492
it's ShadowLegsModel
I'm going to remove that setting from the code.