Garry's Mod
128 人が評価
Playermodel Shapekey Eye Animations
   
アワード
お気に入り
お気に入り
お気に入りから削除
Content Type: Addon
Addon Type: Effects
Addon Tags: Build, Realism
ファイルサイズ
投稿日
更新日
1.764 KB
7月25日 22時15分
8月5日 12時23分
3 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
Playermodel Shapekey Eye Animations

解説
A very simple script that adds flex (shapekey) based eye animations to compatible playermodels. This method of eye animation is most often utilized on stylized models, but should work for realistic models as well. Overall this method is much simpler to setup compared to source engine shader based eyes.


For Developers

If you wish to utilize this addon, you must author shapekeys that move the eyes up, down, left and right as shown in the youtube video. Each shape key must be named to its corresponding direction. For example, the shape key that moves the eyes down should be name either look_down or lookdown. The names must be all lower case. You may use either string pattern, but you must stick to that pattern. No mixing and matching lookdown with look_up for instance.

Shapekey names should be as follows:
  • lookup
  • lookdown
  • lookright
  • lookleft

or alternatively as:
  • look_up
  • look_down
  • look_right
  • look_left

I allowed for both patterns to accommodate existing models while also working with the DMX model format, which reads shapekeys with underscores as corrective, and non-editable in game.

If you run into any bugs, please provide a description of the bug as well as any applicable error messages.


Known Issues

If you override the named shapekeys used in this script using PAC3, the animation will be disabled. This is due to PAC3 automatically overriding any modified shapekeys, even if the outfit itself is removed. Restarting your session is enough to resolve this.

Tags: anime playermodel pm script animation flex eyes
23 件のコメント
RhoBoat  [作成者] 9月19日 17時06分 
@небо
I have yet to find a way to account for every possible string pattern in manner that is also computationally efficient. Until I can find a solution you may consider re-authoring the model in question to use one of the above patterns. I will however continue looking for a solution that works for all patterns.
Коника 9月17日 10時52分 
could i ask for you to add "Eyes-look-up" "Eyes-look-down" "Eyes-look-left" "Eyes-look-right" as a variable? this mod works very nicely!
Saturn's Ring 8月1日 9時10分 
Gave it a shot myself, and it works just how I wanted. Thank you for making this! It's a small change but it adds a lot of expression to the usually static anime style models.
Guicool 8月1日 9時08分 
@Rho
I tested it and it works perfectly. Thanks a lot for this!
RhoBoat  [作成者] 7月31日 22時40分 
@Guicool
I added support for that pattern. Let me know if it works.
J-kun 7月30日 8時22分 
She looks like Nola from Tower of Fantasy
Guicool 7月29日 19時03分 
Hey, this is a great mod, but I found out that it didn't work correctly with 8siandude's GFL2 ports. I looked into it and found out that the eye shapekeys are called "eyes_look_right/up/down/left"

If you can add these shapekeys to be checked in the code, it'll work with the GFL2 ports, I've tested it and it works pretty well :D
PotPam 7月29日 11時07分 
funkilicious, can't wait to see people using this
RhoBoat  [作成者] 7月28日 19時45分 
Thanks!
VAKANCY 7月28日 15時27分 
Epic work man!