Garry's Mod

Garry's Mod

4,438 ratings
[wOS] Animation Extension - Base (Full Version)
3
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Model
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
23.406 MB
Sep 3, 2016 @ 4:18pm
Jul 11, 2021 @ 9:22pm
22 Change Notes ( view )

Subscribe to download
[wOS] Animation Extension - Base (Full Version)

In 3 collections by King David™
Official wiltOS Animation Extensions
14 items
[wOS] Advanced Lightsaber Combat Requirements
15 items
[wOS] Medieval Warfare Content Collection
12 items
Description
THIS IS REQUIRED FOR ANY wOS EXTENSIONS TO WORK!

DO NOT REUPLOAD THIS BASE SOME EXTENSIONS MAY STOP WORKING IN THE FUTURE
DO NOT REUPLOAD THIS BASE SOME EXTENSIONS MAY STOP WORKING IN THE FUTURE
DO NOT REUPLOAD THIS BASE SOME EXTENSIONS MAY STOP WORKING IN THE FUTURE
DO NOT REUPLOAD THIS BASE SOME EXTENSIONS MAY STOP WORKING IN THE FUTURE


The concept is simple but a little ambitious. As it stands, integrating animations into all player models globally requires someone to $IncludeModel them into the default m/f/z_anm.mdl files. Due to many different people wanted to integrate different animations, this leads to a lot of overwriting and compatability issues.

The hopes of this animation extension system is to have all these integrations work together and let the client/server decide which ones they want to do at any given time. As long as the animation base is mounted, clients can enable/disable animation extension files in their GMod to change what animations are integrated. It will also eliminate the issue of clients having to restart their GMod after subscribing to one of the integrated animations.

At the moment the system works by $IncludeModel 'ing extension slots. I have added some official integrations that I use for my addons. They do not take up any slots and are externally applied. You can find them in this collection. If you'd like me to include your model into the collection please make a thread here and I'll have a look.

For Clients
Once you subscribe to this addon, make sure you unsubscribe from any other integrated animation addon. From there, go into Garry's Mod and let it download. Once it completes, enable it and restart the game. You can now enjoy using the animation system.

There is a new context menu widget next to the player model button that will allow you to view the animations of your current model. You can use this to see what other animations you have, and get the names of the sequences. This animation viewer will also allow you to see more than the hardcoded limit of animations that can be listed in the "Edit Icon" entry of the spawn icons.

For Developers
If you'd like to integrate your animations with the animation base it's very simple. Compile the animations as seperate models, and compile a new model that $IncludeModel's those files. The new model must be named after one of the extension slots. You can choose the number yourself. The QC entries are as follows:

$modelname player/wiltos/anim_extension_modX.mdl // Where X is a number from 1 to 20
$IncludeModel "YOUR ANIMATION MODEL PATH HERE"

Example QC:
$modelname player/wiltos/anim_extension_mod5.mdl // The extension name
$IncludeModel "player/dod_player_shared.mdl" // Includes all shared DOD:S Player animations

The register to check if the base installed in any of your addon is a simple table check as such:

wOS.AnimExtension.Mounted[]

You may also do GENDER SPECIFIC inclusions using the following:

$modelname player/wiltos/anim_extension_GENDERLETTER_modX.mdl // Where X is a number from 1 to 20, GENDERLETTER is either f, m, or z
$IncludeModel "YOUR ANIMATION MODEL PATH HERE"

Closing Remarks

If you encounter any bugs or want any particular integrated animations officially supported, making a thread on this workshop page is the way to go. I hope we can get this whole thing off the ground at least until there's some method of $IncludeModel 'ing animations through lua

Keep up to date with wiltOS Technologies by joining our Community Steam group!
Popular Discussions View All (14)
12
Mar 9 @ 9:35am
Any conflicting addons? if so, list them.
lettucewashed
4
Apr 5, 2021 @ 6:11pm
Help please
~LORD~Felwinter
2
Dec 17, 2018 @ 4:35pm
PINNED: ADDONS USING/SUPPORTING THE BASE
King David™
< >
394 Comments
FixBloxYT May 19 @ 11:55pm 
useless
FixBloxYT May 19 @ 11:55pm 
not working
with action extension
Firey Apr 30 @ 5:49am 
its broken it says minus 1 when i type wos_base_help
plz.help Apr 29 @ 9:03pm 
hey, how do i use this? i've made a couple things but i dont know how to implement them, if any help is given thanks
btnoah17 Apr 22 @ 3:40pm 
its not working
Kill_Shot359 Apr 16 @ 1:32pm 
broke animations (and bones) on every playermodel i have.
Coop724 Apr 14 @ 4:05pm 
Does XdreanimasBase Conflict with this?
Ravxnt™ Mar 25 @ 12:09am 
Pretty much makes every PM t-pose when you die, As well as removing ragdoll physics for those Playermodels, I hope there is a way arround this problem, But besides that, Its a pretty good mod
Kaku Jan 14 @ 12:48pm 
Can someone please teach me how to turn weapon models into sweps and help me figure out some of these new wOS animations please? I'm a rookie at coding.
The Red Brain Jan 5 @ 9:43pm 
Does this work with ragdolls?