Перевод этой страницы:


All old is new again

Инструменты пользователя

Инструменты сайта

Боковая панель


Server Shows Attachment Angles

It’s a known fact that the GET_ATTACHMENT engine function doesn’t return attachment angles. This feature is simply absent from the original engine and model compiler.

Xash3D can partially correct this by returning the angle between the forward vector (running from the bone to the attachment) and the attachment vector (shown in any version of the Half-Life Model Viewer when the Show attachment option is selected). This feature may be useful for implementing things like a headcrab jumping off a dead zombie or realistic positioning of the laser sight on a viewmodel.

To enable this, set the sv_allow_studio_attachment_angles console cvar to 1. The value of this variable is saved in config.cfg, but does not affect clients.

xash3d/en/server_shows_attachment_angles.txt · Последние изменения: 2014/01/31 06:55 — f00nt