Garry's Mod

Garry's Mod

122 평점
Playermodel Shapekey Eye Animations
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Content Type: Addon
Addon Type: Effects
Addon Tags: Build, Realism
파일 크기
게시일
업데이트일
1.764 KB
2025년 7월 25일 오후 10시 15분
2025년 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
Rho  [작성자] 2025년 9월 19일 오후 5시 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.
Коника 2025년 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 2025년 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 2025년 8월 1일 오전 9시 08분 
@Rho
I tested it and it works perfectly. Thanks a lot for this!
Rho  [작성자] 2025년 7월 31일 오후 10시 40분 
@Guicool
I added support for that pattern. Let me know if it works.
J-kun 2025년 7월 30일 오전 8시 22분 
She looks like Nola from Tower of Fantasy
Guicool 2025년 7월 29일 오후 7시 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 2025년 7월 29일 오전 11시 07분 
funkilicious, can't wait to see people using this
Rho  [작성자] 2025년 7월 28일 오후 7시 45분 
Thanks!
VAKANCY 2025년 7월 28일 오후 3시 27분 
Epic work man!