Nahuel Rocchetti
fb18928097
replace exception in lua object api with script exception
2023-08-30 18:57:05 -03:00
Nahuel Rocchetti
5409d1fecd
Lua decomp: don't send self instance in calls
2023-08-30 18:39:51 -03:00
Nahuel Rocchetti
38a7750442
Implement object api for lua
2023-08-30 16:41:24 -03:00
Nahuel Rocchetti
3d56d8a924
Lua 5.0: Fix for loop for tables
2023-08-30 16:11:27 -03:00
Nahuel Rocchetti
f653782fcd
basic hood view simulation
2023-08-30 14:37:04 -03:00
riperiperi
d27fcd9108
Remove unused wall cuts stuff
...
It's better to get this information from the VM, along with what objects actually exist.
2023-08-30 18:22:01 +01:00
riperiperi
ef0ee35977
Add working roof intersections
2023-08-30 18:22:01 +01:00
riperiperi
6699d6c9e3
Forgot to add this
2023-08-30 18:22:00 +01:00
riperiperi
a4d2d68cb8
Working roofs, WIP intersections
2023-08-30 18:22:00 +01:00
riperiperi
19eba265b4
Roof walls are now mostly functional
2023-08-30 18:21:59 +01:00
riperiperi
9cfe5078e1
Very WIP roof stuff
2023-08-30 18:21:58 +01:00
riperiperi
564f9cf6b3
Add wall caps, fix UVs
2023-08-30 18:21:57 +01:00
riperiperi
dc483ee796
Fix floor elevation
2023-08-30 18:21:57 +01:00
riperiperi
7e34743de2
Initial implementation of lot architecture
...
- Roofs, pools and water TODO
- Wall cutouts TODO, may require VM to exist
- Wall caps missing
- Terrain doesn't cut out tiles on bottom floor yet. (needed for pools)
- Some Z fighting on decking floors
- Some textures are missing or hallucinate a material
- Changed standard material with a UV scale, but should probably be a custom material.
- Not much effort has went into making things optimal to change in real time. Wall/Floor meshes should be split by floor and walls should be subdivided to do cutaway in the vertex shader.
2023-08-30 18:21:57 +01:00
Nahuel Rocchetti
783d3ef5ef
Fix formatting in README
2023-08-30 02:38:34 -03:00
Nahuel Rocchetti
54e2453170
Replace our compression with DBPFSharp's
2023-08-30 02:36:43 -03:00
Ammar Askar
b571c18656
Load and test locomotion params in animations
2023-08-29 15:49:41 -04:00
Ammar Askar
f795cd21d1
Add support for multiple ik chain targets
2023-08-29 15:49:40 -04:00
Nahuel Rocchetti
981013d1b1
Update CALL.cs
2023-08-29 00:24:05 -03:00
Nahuel Rocchetti
62b2273ff8
Lua: workaround for invalid CALL opcode
2023-08-28 23:57:32 -03:00
Nahuel Rocchetti
0c03daac0e
add test scene for decompiling all lua
2023-08-28 22:21:25 -03:00
Nahuel Rocchetti
0fdadc72db
Merge branch 'master' of https://github.com/LazyDuchess/OpenTS2
2023-08-28 15:17:39 -03:00
Nahuel Rocchetti
2fbb638ed5
handle lack of objectscripts
2023-08-28 15:17:18 -03:00
Nahuel Rocchetti
8a4946b3a6
add moonsharp to acknowledgments
2023-08-28 15:05:55 -03:00
Nahuel Rocchetti
c05debaeaf
Merge branch 'master' into lua
2023-08-28 14:54:30 -03:00
Nahuel Rocchetti
fa463b3b40
Clean up, load ObjectScripts, hook to simantics vm
2023-08-28 14:52:17 -03:00
Nahuel Rocchetti
e6181dd907
add returntable to lua local var
2023-08-28 13:01:12 -03:00
Nahuel Rocchetti
cac55b0593
lua disassembly - locals
2023-08-28 01:48:07 -03:00
Nahuel Rocchetti
0f7bac3311
lua: name return table depending on scope
2023-08-28 00:06:16 -03:00
Nahuel Rocchetti
e87aab799a
Test Time script
2023-08-27 23:25:28 -03:00
Nahuel Rocchetti
304f22a679
Refactor Lua a bit
2023-08-27 23:12:01 -03:00
Nahuel Rocchetti
a77704388c
Fix remaining syntax issues
2023-08-27 22:45:35 -03:00
Nahuel Rocchetti
63f1f40403
clean up lua tests
2023-08-27 21:49:20 -03:00
Nahuel Rocchetti
c800cf83e8
Finish Lua Disassembly
2023-08-27 21:29:11 -03:00
Ammar Askar
bffc0d18da
Store heading offset from animation
2023-08-27 15:58:02 -04:00
Ammar Askar
6e8a031bad
Add more tests for animation channel attributes
2023-08-27 15:44:40 -04:00
Ammar Askar
069f36e8ae
Read animated attribute from animation channels
2023-08-27 13:44:55 -04:00
Nahuel Rocchetti
bf2ed7fe76
add a lot of opcodes
2023-08-27 14:22:08 -03:00
Nahuel Rocchetti
b349b87108
add a ton of opcodes
2023-08-27 04:36:11 -03:00
Nahuel Rocchetti
c84cee8b35
working on disassembler
2023-08-27 02:57:16 -03:00
Ammar Askar
58ef199af7
Add tests for animations with multiple IK targets
2023-08-26 11:20:16 -04:00
Nahuel Rocchetti
1a9c5d2e6c
Update LuaManager.cs
2023-08-25 23:35:57 -03:00
Nahuel Rocchetti
23fc55a843
clean up
2023-08-25 23:21:18 -03:00
Nahuel Rocchetti
724061df9e
forgot to initialize lua in main
2023-08-25 22:23:47 -03:00
Nahuel Rocchetti
e06d56ed83
Initial Lua implementation
2023-08-25 22:22:18 -03:00
Nahuel Rocchetti
a0acde0273
VMStack -> VMThread
2023-08-25 18:51:26 -03:00
Nahuel Rocchetti
0229014e46
Merge branch 'master' of https://github.com/LazyDuchess/OpenTS2
2023-08-25 09:08:16 -03:00
Nahuel Rocchetti
4358bcfe5b
vm better error handling, cleanup
2023-08-25 09:07:51 -03:00
Ammar Askar
776d708657
Add ability to view different animations in SimAnimationTest, fix IK weights on new animation play
2023-08-25 00:43:36 -04:00
Nahuel Rocchetti
e7d5b93b95
clean up stackframe
2023-08-24 19:30:51 -03:00