Garry's Mod

Garry's Mod

GoldSrc Impact Effects
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
・・ SEi  [udvikler] 8. juni 2021 kl. 11:46
Bugs
Feel free to report bugs under this discussion.
< >
Viser 1-15 af 47 kommentarer
Raikoh 8. juni 2021 kl. 18:41 
1.) it seems like the base blood impact on any hit can be seen through walls.
2.) the bullet hole seems to suffer the "tile bug" on certain props and doors, not exactly sure what causes that.
・・ SEi  [udvikler] 8. juni 2021 kl. 18:58 
Oprindeligt skrevet af Raikoh:
1.) it seems like the base blood impact on any hit can be seen through walls.
2.) the bullet hole seems to suffer the "tile bug" on certain props and doors, not exactly sure what causes that.

Thanks for your feedback! I made a mistake with the material type, which is now corrected, so the first problem should be fixed now.

I'm unsure what causes the second problem however... I bumped into the same issue the first time I imported the materials, but a restart fixed it. I will try to look into it, but I have a feeling this is a limitation to overwriting these materials.

Only SWEPs allow custom impact materials, as such, I had to reach to overwriting. I really hope this won't cause excessive issues.
Raikoh 8. juni 2021 kl. 19:25 
Oprindeligt skrevet af camper:
Thanks for your feedback! I made a mistake with the material type, which is now corrected, so the first problem should be fixed now.

I'm unsure what causes the second problem however... I bumped into the same issue the first time I imported the materials, but a restart fixed it. I will try to look into it, but I have a feeling this is a limitation to overwriting these materials.

Only SWEPs allow custom impact materials, as such, I had to reach to overwriting. I really hope this won't cause excessive issues.
I dunno quite what the problem is myself but I think this bullet hole replacer mod apparently fixed it? Might help you figure out the issue somehow.
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2219737118
・・ SEi  [udvikler] 8. juni 2021 kl. 20:25 
Oprindeligt skrevet af Raikoh:
Oprindeligt skrevet af camper:
Thanks for your feedback! I made a mistake with the material type, which is now corrected, so the first problem should be fixed now.

I'm unsure what causes the second problem however... I bumped into the same issue the first time I imported the materials, but a restart fixed it. I will try to look into it, but I have a feeling this is a limitation to overwriting these materials.

Only SWEPs allow custom impact materials, as such, I had to reach to overwriting. I really hope this won't cause excessive issues.
I dunno quite what the problem is myself but I think this bullet hole replacer mod apparently fixed it? Might help you figure out the issue somehow.
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2219737118

This seems to be the fix, thank you! I couldn't finish fixing yet and I have to sleep for now, but I'll definitely push a patch tomorrow to resolve this.
Oprindeligt skrevet af camper:
Oprindeligt skrevet af Raikoh:
I dunno quite what the problem is myself but I think this bullet hole replacer mod apparently fixed it? Might help you figure out the issue somehow.
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2219737118

This seems to be the fix, thank you! I couldn't finish fixing yet and I have to sleep for now, but I'll definitely push a patch tomorrow to resolve this.
yo i came here to say what actually fixes it because i just noticed this mod and how it' s got the same problem as the original did, just enable clamp s and clamp t in the vtf for the decal!
Sidst redigeret af 22050hz amen break sample; 9. juni 2021 kl. 3:17
Geisteskrankenchan 9. juni 2021 kl. 3:24 
The ragdolls produce the wall hit effect instead of the blood and it doesn't account for the blood color so the zombies are having red blood instead of yellow
・・ SEi  [udvikler] 9. juni 2021 kl. 7:06 
Oprindeligt skrevet af black cat of ill omen:
Oprindeligt skrevet af camper:

This seems to be the fix, thank you! I couldn't finish fixing yet and I have to sleep for now, but I'll definitely push a patch tomorrow to resolve this.
yo i came here to say what actually fixes it because i just noticed this mod and how it' s got the same problem as the original did, just enable clamp s and clamp t in the vtf for the decal!

Thanks a lot, I pushed a fix with this in mind!
I also changed the subrect vmats to actually represent SubRects, although I'm not sure if that was an issue. Either way, I can't replicate the tile bug, but if anyone still does, please let me know.

Oprindeligt skrevet af Geisteskrankenchan:
The ragdolls produce the wall hit effect instead of the blood and it doesn't account for the blood color so the zombies are having red blood instead of yellow

This is also fixed. Ragdolls now emit blood particles, and zombies/headcrabs/antlions emit yellow blood to better match their original color. This might not work for all addon NPCs, because for some reason "GetBloodColor()" is a serverside function and I'm handling particles client-side.
Sidst redigeret af ・・ SEi; 9. juni 2021 kl. 7:11
Soldier 9. juni 2021 kl. 14:35 
I dunno what's causing this, but I just get this error in the console.

[GoldSrc Impact System] lua/autorun/client/cl_goldsrc_bullets.lua:18: Tried to use a NULL entity!
1. GetClass - [C]:-1
2. GoldSrcDoImpactParticle - lua/autorun/client/cl_goldsrc_bullets.lua:18
3. func - lua/autorun/client/cl_goldsrc_bullets.lua:65
4. unknown - lua/includes/extensions/net.lua:32
・・ SEi  [udvikler] 9. juni 2021 kl. 15:58 
Oprindeligt skrevet af C H U C K L E N U T S:
I dunno what's causing this, but I just get this error in the console.

[GoldSrc Impact System] lua/autorun/client/cl_goldsrc_bullets.lua:18: Tried to use a NULL entity!
1. GetClass - [C]:-1
2. GoldSrcDoImpactParticle - lua/autorun/client/cl_goldsrc_bullets.lua:18
3. func - lua/autorun/client/cl_goldsrc_bullets.lua:65
4. unknown - lua/includes/extensions/net.lua:32

Thank you, fixed.
_appallaches_ 10. juni 2021 kl. 6:15 
why do I have black and purple textures for the place of normal textures in the hole?(sorry my english)
・・ SEi  [udvikler] 10. juni 2021 kl. 7:53 
Oprindeligt skrevet af _appallaches_:
why do I have black and purple textures for the place of normal textures in the hole?(sorry my english)

Try restarting your game, the materials probably didn’t load properly
Also make sure that you don’t have other addons that might replace your bullet holes.
Sidst redigeret af ・・ SEi; 10. juni 2021 kl. 7:56
Oprindeligt skrevet af camper:
Feel free to report bugs under this discussion.
I don't know if this is how it's supposed to be but these impact effects are just appearing on top of the default ones instead of replacing them
・・ SEi  [udvikler] 10. juni 2021 kl. 20:43 
Oprindeligt skrevet af The Pizza is Agressive:
Oprindeligt skrevet af camper:
Feel free to report bugs under this discussion.
I don't know if this is how it's supposed to be but these impact effects are just appearing on top of the default ones instead of replacing them

Thank you for the feedback but my initial aim was to add extra particles rather than replace, so it's easy to toggle and doesn't mess up anything else. I might consider making a separate addon that replaces built in ones but I don't think it's possible to overwrite them in code. So yes, it is the intended effect.
Oprindeligt skrevet af camper:
Oprindeligt skrevet af The Pizza is Agressive:
I don't know if this is how it's supposed to be but these impact effects are just appearing on top of the default ones instead of replacing them

Thank you for the feedback but my initial aim was to add extra particles rather than replace, so it's easy to toggle and doesn't mess up anything else. I might consider making a separate addon that replaces built in ones but I don't think it's possible to overwrite them in code. So yes, it is the intended effect.
you could make use of the built in cl_new_impact_effects command like this does. it doesn't have any particles by default so that should make it easy but it has to always be manually toggled by the client every time they boot up the game unless they add it to a config file or something
・・ SEi  [udvikler] 11. juni 2021 kl. 1:57 
I learn something new every day, thank you. cl_new_impact_effects 1 does seem to just completely remove existing impact particles when nothing new is present, this could be used as a workaround. I'd rather players do this in case they find the existing particles to be annoying, than have to re-enable the cvar every time to see the effects (which is what the addon above does, I suspect).
I'll add this as an option to the Options menu of the addon. Thank you again.
Sidst redigeret af ・・ SEi; 11. juni 2021 kl. 1:57
< >
Viser 1-15 af 47 kommentarer
Per side: 1530 50