162 Commits

Author SHA1 Message Date
9d81fa1885
Add code for trust warning (doesn't work yet)
Turns out, untrusted players cannot modify the nameplate, completely
breaking the way this was intended to work. I'll model a sign or
something in Blockbench that will float above the player's head.
2022-10-03 22:47:13 -04:00
e346aafbfa
Modify debug print functions 2022-10-03 22:08:10 -04:00
79831d4ff7
Fix typo in armor_model table 2022-10-03 22:06:56 -04:00
7be5d45cd3
Update TODO.md 2022-09-29 08:30:11 -04:00
64dc55f71a
Remove partial_vanilla, other optimizations
The code for adding partial_vanilla to PartsManager used an
unbelievably high instruction count. Removing it allows avatar to
properly load with low trust, and it will be replaced with something
better in the future anyway.
2022-09-27 22:44:01 -04:00
c6c2acb507
Optimize variables for using less instructions 2022-09-27 22:28:04 -04:00
9e126a06eb
Partial revert of "Remove unused commands section from script"
This reverts commit e82abe92f51bc72555d74f54d6ac7a4660365408.
Accidentally committed an adjacent line, this fixes it
2022-09-27 21:45:41 -04:00
699d020073
Update TODO.md 2022-09-27 21:16:44 -04:00
e82abe92f5
Remove unused commands section from script 2022-09-27 20:02:32 -04:00
b01c184314
Fix action wheel and implement page scrolling 2022-09-26 23:06:35 -04:00
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