Garry's Mod

Garry's Mod

Prop Destruction
 Ez a téma ki van emelve, tehát valószínűleg fontos.
crester  [Fejlesztő] 2019. ápr. 27., 0:09
Suggestions
Here you can offer your ideas about destruction process or something else and i'll perhaps realize them.
< >
115/33 megjegyzés mutatása
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  [Fejlesztő] 2019. ápr. 28., 9:21 
Another Glass Joe eredeti hozzászólása:
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.
Legutóbb szerkesztette: crester; 2019. ápr. 28., 9:22
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.
multiplayer fix?
crester  [Fejlesztő] 2019. ápr. 28., 23:49 
»Mr.Kingfisher« eredeti hozzászólása:
multiplayer fix?
works fine for me
crester  [Fejlesztő] 2019. ápr. 29., 3:21 
Copper eredeti hozzászólása:
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
Legutóbb szerkesztette: crester; 2019. ápr. 29., 3:24
crester  [Fejlesztő] 2019. ápr. 29., 8:25 
»Mr.Kingfisher« eredeti hozzászólása:
crester eredeti hozzászólása:
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
Nice job, thsnks
crester  [Fejlesztő] 2019. ápr. 29., 10:00 
»Mr.Kingfisher« eredeti hozzászólása:
crester eredeti hozzászólása:
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  [Fejlesztő] 2019. ápr. 29., 17:26 
»Mr.Kingfisher« eredeti hozzászólása:
crester eredeti hozzászólása:
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  [Fejlesztő] 2019. ápr. 29., 18:49 
zorich_michael eredeti hozzászólása:
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
Legutóbb szerkesztette: crester; 2019. ápr. 29., 19:39
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.
Rhyme eredeti hozzászólása:
»Mr.Kingfisher« eredeti hozzászólása:
i used gmad
what’s a final path for an addon in your server files?
GarrysModDS\garrysmod\addons\PropDestruction
crester  [Fejlesztő] 2019. ápr. 30., 8:24 
»Mr.Kingfisher« eredeti hozzászólása:
Rhyme eredeti hozzászólása:
what’s a final path for an addon in your server files?
GarrysModDS\garrysmod\addons\PropDestruction
same[i.imgur.com]
< >
115/33 megjegyzés mutatása
Laponként: 1530 50