Garry's Mod

Garry's Mod

Prop Destruction
 This topic has been pinned, so it's probably important
crester  [developer] 27 Apr, 2019 @ 12:09am
Suggestions
Here you can offer your ideas about destruction process or something else and i'll perhaps realize them.
< >
Showing 1-15 of 33 comments
Stoque 28 Apr, 2019 @ 9:15am 
This may be too complicated, but what if the health remaining on the object also manipulated its mass? The less health, the less mass.
crester  [developer] 28 Apr, 2019 @ 9:21am 
Originally posted by Another Glass Joe:
This may be too complicated, but what if the health remaining on the object also manipulated its mass? The less health, the less mass.
It's quite easy but i can't understand the sense of it, looking at 1 km cubes, big colomns and other contradictory props.
Last edited by crester; 28 Apr, 2019 @ 9:22am
Copper 28 Apr, 2019 @ 11:50am 
In a PostDrawOpaqueRenderables hook, instead of simply setting the material to a cracked material, set render.Blend to half, set render.MaterialOverride to your cracked material, and then DrawModel the entity again. This will draw the entity as cracked without changing the look of the textures, and it may help to make your cracked material transparent.
»Mr.Kingfisher« 28 Apr, 2019 @ 11:11pm 
multiplayer fix?
crester  [developer] 28 Apr, 2019 @ 11:49pm 
Originally posted by »Mr.Kingfisher«:
multiplayer fix?
works fine for me
crester  [developer] 29 Apr, 2019 @ 3:21am 
Originally posted by Copper:
In a PostDrawOpaqueRenderables hook, instead of simply setting the material to a cracked material, set render.Blend to half, set render.MaterialOverride to your cracked material, and then DrawModel the entity again. This will draw the entity as cracked without changing the look of the textures, and it may help to make your cracked material transparent.
done
Last edited by crester; 29 Apr, 2019 @ 3:24am
crester  [developer] 29 Apr, 2019 @ 8:25am 
Originally posted by »Mr.Kingfisher«:
Originally posted by crester:
works fine for me
not for my server i just reinstalled it and it is still not detecting and taking any damage for those props you normaly can't destroy
it was tested on my local server which core is used everywhere
Copper 29 Apr, 2019 @ 9:02am 
Nice job, thsnks
crester  [developer] 29 Apr, 2019 @ 10:00am 
Originally posted by »Mr.Kingfisher«:
Originally posted by crester:
it was tested on my local server which core is used everywhere
but how can i fix this what can cause this problem that i have?
tell me how have you installed the addon
crester  [developer] 29 Apr, 2019 @ 5:26pm 
Originally posted by »Mr.Kingfisher«:
Originally posted by crester:
tell me how have you installed the addon
i used gmad
what’s a final path for an addon in your server files?
settings for enabling/disabling entire thing
enabling/disablign recover
health mutli, ect

more cracks the more damaged it is
idk if its possible but maybe like cut off edges slgithly completely the more damages?







that also gives me a idea for a seperate addon that makes bullet holes in props that you can see thorugh and shoot through idk if possible though
crester  [developer] 29 Apr, 2019 @ 6:49pm 
Originally posted by zorich_michael:
settings for enabling/disabling entire thing
enabling/disablign recover
health mutli, ect

more cracks the more damaged it is
idk if its possible but maybe like cut off edges slgithly completely the more damages?







that also gives me a idea for a seperate addon that makes bullet holes in props that you can see thorugh and shoot through idk if possible though
we need a custom high quality models for this destruction, btw convars will be done today
Last edited by crester; 29 Apr, 2019 @ 7:39pm
Remis12 30 Apr, 2019 @ 6:58am 
Hammer and Nails like ZS, so you can increase the HP of your props while also pinning them to a wall, maybe for RP or Sandbox.
»Mr.Kingfisher« 30 Apr, 2019 @ 7:28am 
Originally posted by Rhyme:
Originally posted by »Mr.Kingfisher«:
i used gmad
what’s a final path for an addon in your server files?
GarrysModDS\garrysmod\addons\PropDestruction
crester  [developer] 30 Apr, 2019 @ 8:24am 
Originally posted by »Mr.Kingfisher«:
Originally posted by Rhyme:
what’s a final path for an addon in your server files?
GarrysModDS\garrysmod\addons\PropDestruction
same[i.imgur.com]
< >
Showing 1-15 of 33 comments
Per page: 1530 50