summaryrefslogtreecommitdiff
path: root/a.md
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-01-07 16:50:44 +0100
committermetamuffin <metamuffin@disroot.org>2025-01-07 16:50:44 +0100
commit0a0abfe7b093d91447fb7070820a0e6d56d6c22d (patch)
tree17cdfd63bce8d717cd35d4d88646b837fbffc594 /a.md
parentd0d8c07e1915b47610bf91176d908c9b46a5ab54 (diff)
downloadweareserver-0a0abfe7b093d91447fb7070820a0e6d56d6c22d.tar
weareserver-0a0abfe7b093d91447fb7070820a0e6d56d6c22d.tar.bz2
weareserver-0a0abfe7b093d91447fb7070820a0e6d56d6c22d.tar.zst
normal texture
Diffstat (limited to 'a.md')
-rw-r--r--a.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/a.md b/a.md
index 8498b6c..a320e6d 100644
--- a/a.md
+++ b/a.md
@@ -16,10 +16,19 @@ ff disconnect()
06 pose(id: Obj, params: Vec<f32>)
07 parent(parent: Obj, child: Obj)
08 sound(id: Obj, data: Vec<u8>)
+09 prefab_index(res: Res)
```
## Resource formats
+### PrefabIndex
+
+```
+PrefabIndex = *(len_key:u16 len_value:u16 *(key:u8) *(value:u8))
+```
+
+Key is string with model name. Value is prefab resource.
+
### Prefab
```
@@ -34,7 +43,7 @@ Attribute = 0x01 constant:f32 / 0x02 buffer:Res / 0x03 texture:Res<Texture>
NewAttribute = flag:u8 constant:f32 buffer:Res texture:Res<Texture>
```
-Combinations of g_*, va_* and tex_* are multiplied except normal which is added.
+Combinations of g__, va__ and tex_* are multiplied except normal which is added.
Defaults should be the identity for that operation, so default is 1 / white
except normals are zero.