Garry's Mod

Garry's Mod

893 ratings
[Retail-Like] API
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Scenic, Realism
File Size
Posted
Updated
6.347 MB
4 Jun, 2023 @ 7:05am
28 Dec, 2023 @ 7:51am
11 Change Notes ( view )

Subscribe to download
[Retail-Like] API

Description

PLEASE READ:
This is nothing more but the API/Base for my animation replacements. I can't stand uploading each with its own version of the necessary LUA code so here it is.


DEV STUFF:
If you wish to use animations made by me with your models, and since this API is necessary for them to work, I included all existing animation files here within this base for you to use. You can find a short list of animation files below:
  • rl_combine_soldier_anims.mdl - Retail-Like Combine Soldier animations,
  • rl_police_animations.mdl - Retail-Like Metropolice animations,
  • bl_combine_soldier_anims.mdl - Beta-Like Combine Soldier animations,


COMMANDS:
  • retail_like_anims_override_default_weapons
    Set if default weapons should be overridden. Setting this command might temporarily lag your game as it will reload your spawn menu.

  • retail_like_anims_npc_vjfix
    Enable a VJBase SWEPs fix for NPCs using Combine animations.

  • retail_like_anims_snpc_vjfix
    Enable a VJBase SNPCs fix for SNPCs using Combine animations.


CREDITS:
  • Me - Coding/Animating,
  • Valve - Half-Life 3.
Have Fun! :B1:
PRESS ME \/ -- Item Donation.
If you feel like my shi**y job is worth something.
tags: npc ai hl2 retail animations replacement
68 Comments
< BLANK > 10 Sep @ 7:07pm 
idk why ppl suddenly start floating and stop floating with any retail-like animation mods
even breaks with model manipulator
LA MUERTE 19 Aug @ 9:14am 
Yo Filzo, I found a compatibility bug with this addon (including the combine + metrocop retail-like API) and ZBase. Humanoid Combine NPCs spawned from ZBase will have floating broken animations. Tried to make the three addons the first loaded ones but no dice.
PotPam 4 Aug @ 3:39pm 
Ah, it seems that the problem isn't from an addon, but a map specifically. As the addon works perfectly fine outside of said map.

Link to the map: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2983142894

In case the link doesn't work: The map's name is Stack [MW2019] by Neeko
PotPam 4 Aug @ 3:33pm 
[[Retail-Like] API] lua/autorun/server/retail_like_anims_s.lua:1367: attempt to call method 'GetActivity' (a nil value)
1. ANPlusEventHandle - lua/autorun/server/retail_like_anims_s.lua:1367
2. ANPlusEvent - lua/autorun/server/retail_like_anims_s.lua:1448
3. v - lua/autorun/server/retail_like_anims_s.lua:1458
4. unknown - lua/includes/modules/hook.lua:96 (x2)

Do you perhaps know what's causing this? I suspect its an addon conflict, so I'll check into it myself while awaiting for your answer
WARHAMMER 40K:austo yaggo 4 Aug @ 11:47am 
pretty sick ngl
filz0  [author] 4 Aug @ 12:21am 
Aye, np Mr. Warhammer 40K.
WARHAMMER 40K:austo yaggo 3 Aug @ 8:43pm 
damn im a dumb ass mb and thanks
filz0  [author] 3 Aug @ 4:37pm 
It makes animations animate.
WARHAMMER 40K:austo yaggo 3 Aug @ 3:44pm 
whats does this do?
Daenthio 1 Aug @ 5:44pm 
When I uninstall and reinstall this mod aswell as a mod that uses this, it works for the rest of the time I have the game open. Once I close and reopen the game, it doesn't work unless I uninstall and reinstall this. I don't have any other animation replacements, and I find this to be really annoying and time-consuming to do every time. Any fix?