eyes, smooth head, and bouncy moving :)

This commit is contained in:
Reid 2025-11-23 02:35:35 -08:00
parent d27c1fa39a
commit 29102f41bd
9 changed files with 43 additions and 1 deletions

File diff suppressed because one or more lines are too long

6
scripts/bouncy.lua Normal file
View file

@ -0,0 +1,6 @@
local squapi = require("scripts.libs.SquAPI")
squapi.bounceWalk:new(
models.models.main,
nil
)

28
scripts/eyes.lua Normal file
View file

@ -0,0 +1,28 @@
local squapi = require("scripts.libs.SquAPI")
-- eye aim
squapi.eye:new(
models.models.main.Head.Eyes["Left Eye"],
0.25,
0.75,
0.5,
0.5
)
squapi.eye:new(
models.models.main.Head.Eyes["Right Eye"],
0.75,
0.25,
0.5,
0.5
)
-- blink
squapi.randimation:new(
animations["models.main"].blink,
70,
150,
nil
)

View file

@ -1,7 +1,10 @@
events.ENTITY_INIT:register(function ()
require("scripts.bouncy")
require("scripts.eyes")
require("scripts.model")
require("scripts.nameplate")
require("scripts.physics")
require("scripts.smooth_head")
require("scripts.soggy")
require("scripts.wheels.main")
end)

5
scripts/smooth_head.lua Normal file
View file

@ -0,0 +1,5 @@
local squapi = require("scripts.libs.SquAPI")
squapi.smoothHead:new({
models.models.main.Head
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 739 B

After

Width:  |  Height:  |  Size: 781 B

Before After
Before After

BIN
textures/extras_e.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 B

After

Width:  |  Height:  |  Size: 179 B

Before After
Before After