Garry's Mod
121 คะแนน
Playermodel Shapekey Eye Animations
   
รางวัล
ชื่นชอบ
ชื่นชอบแล้ว
เลิกชื่นชอบ
Content Type: Addon
Addon Type: Effects
Addon Tags: Build, Realism
ขนาดไฟล์
โพสต์
อัปเดต
1.764 KB
25 ก.ค. @ 10: 15pm
5 ส.ค. @ 12: 23pm
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  [ผู้สร้าง] 19 ก.ย. @ 5: 06pm 
@небо
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.
Коника 17 ก.ย. @ 10: 52am 
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 1 ส.ค. @ 9: 10am 
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 1 ส.ค. @ 9: 08am 
@Rho
I tested it and it works perfectly. Thanks a lot for this!
Rho  [ผู้สร้าง] 31 ก.ค. @ 10: 40pm 
@Guicool
I added support for that pattern. Let me know if it works.
J-kun 30 ก.ค. @ 8: 22am 
She looks like Nola from Tower of Fantasy
Guicool 29 ก.ค. @ 7: 03pm 
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 29 ก.ค. @ 11: 07am 
funkilicious, can't wait to see people using this
Rho  [ผู้สร้าง] 28 ก.ค. @ 7: 45pm 
Thanks!
VAKANCY 28 ก.ค. @ 3: 27pm 
Epic work man!