152 Commits

Author SHA1 Message Date
8f2b292689
Ensure only script.lua runs automatically 2022-09-26 18:35:48 -04:00
112e6eb5f3
fix markdown again
can you tell i got 4 hours of sleep
2022-09-26 13:34:58 -04:00
16f2722fd6
fix todo markdown
i am stupid
2022-09-26 13:26:17 -04:00
bb7bb82b22
Add TODO.md 2022-09-26 13:24:49 -04:00
4700991a2c
PM: use actual objects as key instead of string
I should have been doing this from the start
2022-09-26 01:15:21 -04:00
fa11b3a3f6
Fix compatibility with Figura 0.1.0-rc8
- change player:exists() to player (nil if player doesn't exist)
- re-enable edit permission checks (meta.getCanModifyVanilla() ->
  avatar.canEditVanillaModel)
- resetVisible() -> setVisible(nil)
- fix init event register
2022-09-26 01:11:48 -04:00
ef6b307c0e
Add updated UVManager code
Still needs work, I don't know how matrices work and I am going to take
a 12 hour linear algebra course to fix that.
2022-06-23 16:20:55 -04:00
42245a7062
Fix emissive textures 2022-06-23 16:18:00 -04:00
1aa10b7aa7
Fix torso not moving properly with tail 2022-06-22 23:13:46 -04:00
9a17550b74
Register wrapper functions for ticks/render
Apparently dying breaks player entity checks, this fixes that. The
function will only run the tick/render if the player is alive.
2022-06-22 22:26:48 -04:00
b88e98d9fb
Ported to Figura 0.1.0
A lot of stuff is disabled, commented out, etc.
Most main features are functional. Networking still needs to be done.
Changes include:
- Rewrite a lot of API calls for the new API
- Modify model groups to fit new version
- Add a LOT of TODO comments
- Add a ping placeholder table (allows pre existing ping code to work
  locally)
- Register all tick functions, render() and player_init() to new
  EventsAPI
- Disable avatar switcher until it can be implemented on the new version
- Disable code that is reliant on checking vanilla editing permission:
	- rotation of vanilla torso/armor in tail animation
- Disable code reliant on data.save() and data.load() (settings)
- UVManager: disable table to vector conversion, rely on proper usage
- UV(): use vectors instead of table
- Disable action wheel until it can be rewritten
- Disable snore
- Disable Blockbench animations
- Convert colors to vectors
- Disable custom commands
- Disable tail armor. need to optimize in prewrite before changing
  anything
- Potentially more things that I may have missed
2022-06-22 22:03:06 -04:00
d390023ef4
Add coc.nvim completions for new API 2022-06-22 21:59:33 -04:00
3db9cded3e
Move pm_refresh check to function 2022-04-05 20:34:35 -04:00
290af757e9
Clean up code for initial PartsManager refresh 2022-04-05 20:26:32 -04:00
f178094762
Make pmRefresh run PartsManager in same tick 2022-04-05 20:11:29 -04:00
111384703e
Re-enable parts in blockbench 2022-03-29 18:49:40 -04:00
03bb1ce125
Fix emissive names on legs 2022-03-29 18:39:23 -04:00
fa7aab7f1d
Fix color handling in setExpression() 2022-03-29 10:07:14 -04:00
7b51269f8b
Add model switcher
Requires https://github.com/dragekk/figura_avatar_api
2022-03-28 22:03:19 -04:00
3989dfaece
Fix emissives for arms and legs 2022-03-28 21:51:04 -04:00
ef7b997294
UwU 2022-03-28 13:16:26 -04:00
9e70916c0e
Implement color locking and state checks 2022-03-28 11:21:06 -04:00
b72b045f29
Change color for lava 2022-03-28 01:42:18 -04:00
62038dd44e
Add extra emissives to head 2022-03-28 01:39:30 -04:00
8b08face5a
Fix nether check 2022-03-28 01:30:53 -04:00
31aada06b8
Add color checking to tick 2022-03-28 01:26:12 -04:00
10a09c51a5
Rework expression handling code 2022-03-28 01:23:02 -04:00
28f02d2ce1
Basic conversion to layered face, currently broken 2022-03-27 23:51:13 -04:00
0696799382
Rework noise to fix z-fighting 2022-03-27 23:41:54 -04:00
2efcf33b18
Changes to emissives, emdots
Convert some blue emissives to emdots and handle their color in script
2022-03-27 22:20:26 -04:00
438e7531c0
Group emissive dots 2022-03-27 21:21:13 -04:00
c35a0fcc25
Fix armor not showing on tail due to optimization
Now the armor handler checks amror_enabled has been toggled as well as
the armor state itself
2022-03-27 18:48:39 -04:00
17aba8701e
Rearrange script (move some portable code to top 2022-03-27 00:16:17 -04:00
f3687a47a6
Replace rad() with math.rad()
This provides more accurate angle calculation and removes an unneeded
function
2022-03-26 16:06:21 -04:00
dfd52fc799
Update texture_emission.xcf 2022-03-26 12:38:36 -04:00
3a4df3c06d
Merge branch 'feature/aquatic' 2022-03-26 00:08:26 -04:00
348c90c0ad
Update CREDITS.md 2022-03-26 00:07:13 -04:00
12c8ffd2c1
Enable tail in lava 2022-03-26 00:00:09 -04:00
297ab9e40a
Keep tail while sleeping if visible (why?) 2022-03-25 21:54:52 -04:00
77bf36c488
Update texture 2022-03-25 21:51:01 -04:00
5e20434c71
Add animation to regular tail 2022-03-25 21:30:14 -04:00
d8bd8e3e41
Partially remodel tail 2022-03-25 20:38:52 -04:00
4598c74df3
Enable mertail by default 2022-03-25 19:05:43 -04:00
58e727445a
Revert "Remove unnecessary PartsManager refreshes"
This reverts commit 625e784c579163009bd1c6eacff5f83b9d73556d.
Partial revert, only prevents syncState from clobbering local_state
2022-03-25 19:03:07 -04:00
dc630c863a
Prepopulate local_state table
This should ensure variables always exist on non-host clients
2022-03-25 18:44:16 -04:00
dfb501a3c0
Change tail switch cooldown 2022-03-25 15:13:55 -04:00
7b86d87cc2
Tail animation: rotate vanilla torso instead 2022-03-25 14:17:50 -04:00
625e784c57
Remove unnecessary PartsManager refreshes 2022-03-25 14:17:25 -04:00
af40621ad0
Add emissive textures to tail 2022-03-25 13:15:35 -04:00
07536bc979
Reset angles when out of water 2022-03-25 12:35:16 -04:00