Garry's Mod

Garry's Mod

TF2 Resource Mounting Fix
141 Comments
InvalidVertex  [author] 6 hours ago 
It does, in fact, it was developed on that branch
Durt 7 hours ago 
does this work with the 64 bit branch?
Scanner Man 29 Aug @ 4:09pm 
I have also noticed that when reloading a game, if it has some animation props with particles set with the advanced particle controller, the game crashes. I don't really know how to find a solution to that, or maybe you can fix it in a future update.
LλMBDA Huge SCP / Gmod Fan 27 Aug @ 11:30am 
Oh, The Fire Is Normal, Uhh The Fire Was Only Showing Embers But That Got Fixed Quickly.
InvalidVertex  [author] 26 Aug @ 10:28am 
That's unfortunately a side effect of the addon itself clearing the map to reload the particle systems. Not much I can do about that (that I know of)
Scanner Man 22 Aug @ 7:00pm 
Great, now it's fixed, although now I have the problem that when I load a map already saved from TF2, all the props or ragdolls I put in disappear. The only way to fix it is to reload the map. I don't know why that happens.
no loafing 22 Aug @ 1:15pm 
seems to be fixed on my end!
InvalidVertex  [author] 22 Aug @ 1:09am 
@no loafing
Now that you mention that I'm almost certain that's what's going on.
There's timers that apply the fixes and clean the map shortly after loading it and looking into it it seems that the one for cleaning up the map ran BEFORE the one that applies the particle fixes. Tweaking the timing seems to have fixed it.
Scanner Man 21 Aug @ 8:52pm 
I've been experiencing that bug for a while now, where particles from a specific map don't appear, but I discovered that it can be fixed by saving the map game and then reloading it, although it's tedious to do that every time. A fix for that in a future update would be nice.
no loafing 21 Aug @ 6:58pm 
yeah, i've run into this bug too. this addon despawns all the particles on the map, and tf_applyfixup doesn't restore them, but cleaning up the map does.

if it's any help, when working on another addon, i noticed that loading a pcf again after particle effects from it had already spawned would get rid of them all - could that possibly be what's going on here? the addon is just loading the pcfs too late, after the particle entities on the map have already spawned? ideally, autorun should be loading them as early as possible.
InvalidVertex  [author] 21 Aug @ 1:44pm 
Does running 'tf_applyfixup' and cleaning up the map make the particles start working again?
InvalidVertex  [author] 21 Aug @ 1:37pm 
That's extremely weird, I'll see if I can figure out what's going on.
I wonder if something changed with how particles are handled...
Particles only work when the addon is disabled (example: chimneys on cp_well)
dstrong08 20 Aug @ 2:27pm 
idk if its this addon or not but i uninstalled the other mounting fixes and the hl2 shotgun still looks weird
Torterra18 1 Jul @ 11:09am 
I have TF2 mounted, and I think I don't have any conflicting addons.
InvalidVertex  [author] 1 Jul @ 11:02am 
The only thing I could think that would be causing that would be some type of conflict or TF2 not being mounted, but other than that I have no clue, I'll have to look in to it some more
Torterra18 1 Jul @ 10:25am 
I also just tried applying the fix manually, but it did nothing.
Torterra18 1 Jul @ 10:01am 
It says the particle systems are missing despite it being fixed?
Torterra18 1 Jul @ 8:43am 
So, the particles don't work when I use the Advanced Particle Controller, any clue what is happening?
Saturn's Ring 23 Jun @ 12:41am 
First version of a TF2 mounting fix that's worked thus far without any form of issue on my end. Seriously, massive thank you! :demoticon:
InvalidVertex  [author] 31 May @ 2:53pm 
I believe so, unless GMod changed how it's mounted games recently
Zesty FlopBot 31 May @ 1:49pm 
is this still necessary?
InvalidVertex  [author] 10 Mar @ 5:57pm 
Are you absolutely sure you don't have anything installed that could be causing conflicts? Because I just tested on several maps and the env_fire particle seems normal.
LλMBDA Huge SCP / Gmod Fan 10 Mar @ 4:10pm 
0/10 THIS BREAKS THE ENV FIRE PARTICLE
Snowy 1 Mar @ 7:32am 
thanks a lot, it was conflicting with FF content
InvalidVertex  [author] 1 Mar @ 6:37am 
That honestly sounds like you might have some conflicting textures installed somehow.
This wouldn't be able to fix that, but I'd check your downloads folder and other addons to see if you have anything in there that could be causing issues
Snowy 27 Feb @ 1:30am 
Hello, my brother and i have some problems with the normal and HW Mercs' faces. Their facial textures are all messed up, probably for the same reason that made you make this addon : name conflict. The sniper's face for exemple is all bloody and the Medic got a medical mask on his cheek and neck, among other horrors. Can you fix it with this mod ? Thanks a lot for it by the way , it's very useful
InvalidVertex  [author] 11 Feb @ 1:27am 
OK! Should be fixed now!
InvalidVertex  [author] 8 Feb @ 5:59am 
Alright thanks, I'll see if I can figure out what's going on
crossoverking45 7 Feb @ 6:42pm 
Crustbowl a revamped dustbowl
InvalidVertex  [author] 7 Feb @ 9:40am 
What map is that?
InvalidVertex  [author] 29 Jan @ 12:28pm 
It should
crossoverking45 28 Jan @ 10:48pm 
Those this thing work on workshop maps?
nylarant 22 Jan @ 8:21am 
figured the cause for the shotgun issue: it was an addon that added weapons from the pre-fortress 2 mod. the author of it had forgotten to decompile the models and change the material paths, so it was always overwriting
InvalidVertex  [author] 4 Jan @ 1:43pm 
@NextKurome76TheSoldier
I'd appreciate that
NextKurome76TheSoldier 3 Jan @ 8:39pm 
i created an script that would fix all of the map sound scripts for TF2 maps, such as the train and its bell from well, the saw blades from sawmill and other sounds from nucleus, degrootkeep, doomsday etc...willing to hand that to you so it can be packed into this addon for convenience rather than making my own mod
nylarant 24 Nov, 2024 @ 10:00pm 
i don't have any other ones, so i'm not sure what's causing it
InvalidVertex  [author] 24 Nov, 2024 @ 10:18am 
Do you have any other TF2 fixing addons installed by any chance? Those could be causing issues.
nylarant 24 Nov, 2024 @ 1:14am 
for some reason it seems to be applying the fix automatically on maps like gm_flatgrass and such, which makes the hl2 shotgun use the wrong texture
InvalidVertex  [author] 31 Aug, 2024 @ 7:07am 
I can definitely look into it at the very least, I wasn't aware that was even a thing.
Though no guarantees I'll be able to fix it.
Lucky 27 Aug, 2024 @ 7:12am 
do you think you could extend this to other mountable games? like the portal concrete texture being overwritten by hl2:ep2's
Piengineer12 22 Jun, 2024 @ 3:50am 
Fix confirmed, thank you!
InvalidVertex  [author] 21 Jun, 2024 @ 3:07pm 
Should be fixed now, looks like it was trying to add a nonexistent particle.
Piengineer12 20 Jun, 2024 @ 1:44pm 
It seems that one map in particular, Pandemonium , is causing issues:

[TF2 Multi-Fix] Caching particles...
[TF2 Multi-Fix] Caching map-specific particles...

[TF2 Resource Mounting Fix] lua/autorun/client/tf2_multifix_client.lua:8: bad argument #1 to 'AddParticles' (string expected, got nil)
1. AddParticles - [C]:-1
2. ParseManifest - lua/autorun/client/tf2_multifix_client.lua:8
3. TF2ParticleFix - lua/autorun/client/tf2_multifix_client.lua:26
4. unknown - lua/autorun/client/tf2_multifix_client.lua:31

Timer Failed! [Simple][@lua/autorun/client/tf2_multifix_client.lua (line 31)]
InvalidVertex  [author] 20 Apr, 2024 @ 8:12am 
Seems I forgot to check if the map-specific particle manifest even EXISTS before trying to read it, should be fixed now!
Scanner Man 19 Apr, 2024 @ 9:32pm 
[TF2 Resource Mounting Fix] lua/includes/extensions/string.lua:94: bad argument #1 to 'string_len' (string expected, got nil)
1. string_len - [C]:-1
2. Split - lua/includes/extensions/string.lua:94
3. TF2ParticleFix - lua/autorun/client/tf2_multifix_client.lua:23
4. unknown - lua/autorun/client/tf2_multifix_client.lua:26

Timer Failed! [Simple][@lua/autorun/client/tf2_multifix_client.lua (line 26)]

I don't know why but since your last update I get this error when I log in to tf2 maps
InvalidVertex  [author] 19 Apr, 2024 @ 7:39pm 
Was running game.AddParticles() on the server side, not the client side.
Cosmq 19 Apr, 2024 @ 5:49pm 
and by the way, what exactly was the problem?
Cosmq 19 Apr, 2024 @ 5:49pm 
they work now