Garry's Mod
3,910 valoraciones
[wOS] DynaBase - Dynamic Animation Manager
2
2
3
3
2
   
Premio
Favoritos
Favorito
Quitar
Content Type: Addon
Addon Type: Model
Addon Tags: Fun, Roleplay
Tamaño
Publicado el
Actualizado el
23.480 MB
11 ENE 2023 a las 12:53 p. m.
5 ENE 2024 a las 7:34 a. m.
14 notas sobre cambios ( ver )

Suscríbete para descargar
[wOS] DynaBase - Dynamic Animation Manager

En 2 colecciones creadas por King David™
[wOS] Advanced Lightsaber Combat Requirements
15 artículos
Supported DynaBase Addons
40 artículos
Descripción
The beauty of the ValveBiped form at your fingertips

This is a wiltOS Week "Back to 2022" Item:
www.wiltostech.com/wosweek/2022/1

Description
The DynaBase is an animation base that gives full animation control to the player, the server, and the developers of the community. Change what animations are enabled, what order, or even decide to mount your own custom animations through a menu. Best of all, it will all update immediately so you can make tweaks and continue onward.

Pro-Tips

This already supports every wiltOS Animation Extension. Please subscribe to the legacy addon in the required content to add quick support for xDR. This is simply so you can actually use them within the menu and customize it.

YOU MUST UNSUBSCRIBE FROM ALL OTHER ANIMATION BASES, INCLUDING THE WILTOS ANIMATION BASE (FULL) AND XDREANIMATION BASE, FOR THIS TO WORK!

THIS ADDON IS CONSIDERED IN TESTING SO REPORT BUGS OR CRASHES IMMEDIATELY

Why is this a big deal?
Short Answer:
You could never dynamically load animations onto models. Developers can now use IncludeModel( MODEL_PATH ) in lua to add whatever they want, including animations from existing models like NPCs, directly onto the player. Updating it in-game is just a bonus.

Long Answer:
Previous iterations of animation bases for Garry's Mod, hell the source engine, hinged on not being able to dynamically change model and animation data which meant you were stuck with what you were given in terms of slots. Additionally, you would have to constantly restart and hope you had the exact same content otherwise you would see issues. Developers couldn't even use the ACTIVITY system, something built into animations, reliably because the ORDER of animations addons can ruin everything. As this was iterated with both the wiltOS Animation Base and xdReanimationBase, the inability to merge the server and client so they can work together became increasingly clear. So now, leveraging a lot of things we probably shouldn't be able to, you can do it.

How is it done?
What I discovered is that there's a fun source engine quirk that allows you to mount any kind of files into includemodel, no matter where it is, including data files. It simply needs to pass the inspection of a valid model pointer. Getting it to do that requires some custom model compilation, but once it's done it will work. However, you cannot flush m/f/z_anm.mdl's because they are considered protected data now. If you include a model however, you can refresh THAT, and data files are not protected. So if you run r_flushlod it will re-assemble everything. Combine all the concepts, we are basically making fake modelptrs in the data folder with whatever the developers are giving us, that are pointing to real models, in the most amazing double dutch you've ever seen.

The only problem left is r_flushlod is a usually unstable function that crashes clients. While it has been made a little more reliable in recent years, it still needs some work. By preventing anything from accessing the data during the refresh, it greatly reduces the chances of crashing even on repeat usage.

FEATURES
Power to the Player
- Ability to manage your own animations, or mount your own local models in game with a user mounting system
- Animations will work on any server, even those that don't have the animation base, as long as they don't force you to download a conflicting base
- Modify how your animations behave per-server, utilizing the server's own whitelisting system or your own

Power to the Server
- Animation syncing between server and client
- Ability to set content permissions, such as which animation extensions or re-animations are allowed, and in the exact order you want them to be
- Ability to restrict client mounting permissions. Should they be able to mount animations? Re-animations? Neither?
- Ability to disable user mounting to ensure everyone has the same experience

Power to Developers
- No limitation on what you can or can't include. No asking for animation slots, no worrying about naming the model correctly. Just include it and you're done
- IncludeModel now exposed to lua, and hooks for dynamic insertion to models
- Registration of models for easy in-game configuration and compatibility checking
- Level One animation correction, so there is no ACT collisions. Meaning you can mount NPC models without any problems

Fun Other Stuff (WIP)
- Automatically fixes itself if another animation base is installed, without you having to do a single restart!

Documentation
All the documentation on this animation base will be on our community wiki, which I will post about here when I update it: https://wiki.wiltostech.com/3/DYNABASE

You fill find installation instructions here: https://wiki.wiltostech.com/3/DYNABASE/Installation

Since this is the first time people are probably hearing about it, this is a free developer wiki for anyone, not just me, to use. If you want to read more, you can do that here: https://knockout.chat/thread/43942

Closing Remarks
This is a start to a long journey now. I have been experimenting with a lot of ideas for a few years but there is only so much one person can test alone. I'm hoping people are going to help catch problems and edge cases that may exist with the way this addon is made so we can push the tech forward. With this idea alone it will be possible, with some more work, to mount SMD files directly into models, in-game animation retargeting pre-inclusion, or allow each player to have a unique player model with it's own custom animations. I know, because these are the very same ideas I played with some time back. But before we get there, we need to make sure the foundation is right. Regardless of this does or doesn't work out, it will be a learning experience for everyone.

Need live help using the addon? Want to keep up to date with wiltOS Technologies? Consider joining our Community Discord![discord.gg]
Discusiones populares Ver todo (8)
85
15 NOV a las 10:32 a. m.
FIJO: BUG REPORTING
King David™
6
23 SEP a las 6:20 p. m.
FIJO: READ THIS AFTER SUBSCRIBING
King David™
3
18 ENE 2023 a las 6:34 p. m.
Anyone knows how to mount and un-mount? (like the pictures shown)
Daftrio
313 comentarios
BoiKoiWest hace 11 horas 
so far Maps that causes the game crash

Gm_Flux
Extremely Cool Story Map
Deep Sleeper
King David™  [autor] 14 NOV a las 10:00 p. m. 
That map is amazing, but I have actually ran the map with this mod and it works fine. I have even just manually ran r_flushlod which is the core addon here and it worked fine. Seems there might be some other addon interacting with this..
XNSGamer 14 NOV a las 5:51 p. m. 
this or the gm_flux series
Iwasnotfound595 10 NOV a las 4:26 a. m. 
This mod was causing my game to crash..
King David™  [autor] 10 NOV a las 1:05 a. m. 
The GMOD update coming out this month has FlushLOD fixes that will improve stability and make things less crash prone. Make sure you are up to date when that happens
King David™  [autor] 9 NOV a las 1:40 a. m. 
The anti screamer mod is looking for things that overwrite the renderview or things like that for pop ups or worse. Since this has to do that to block out other rendering while the game reloads assets, that is probably why it is marked "suspicious"
octorray 9 NOV a las 1:36 a. m. 
i downloaded the anti screamer mod in my workshop then i downloaded this and the anti screamer mod said that it was possibly suspicous
Psych-Chik 6 NOV a las 6:30 p. m. 
I tried opening the menu but...it crashed Gmod.
PropaneGT 29 OCT a las 11:35 a. m. 
anyone map, with this mod the change maps loading from the server makes ready arround 2:40m while without it is 30s, i made a server from 0 for test it , this is my list if there is something incomatibility https://steamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3437487873
King David™  [autor] 28 OCT a las 7:52 p. m. 
to IDKSomething, top will overwrite the bottom ones. You typically will see the base anims at the bottom