Garry's Mod

Garry's Mod

Prop Destruction
 Tämä aihe on kiinnitetty, joten se on todennäköisesti tärkeä
crester  [kehittäjä] 27.4.2019 klo 0.09
Suggestions
Here you can offer your ideas about destruction process or something else and i'll perhaps realize them.
< >
Näytetään 1-15 / 33 kommentista
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  [kehittäjä] 28.4.2019 klo 9.21 
Another Glass Joe lähetti viestin:
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.
Viimeisin muokkaaja on crester; 28.4.2019 klo 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  [kehittäjä] 28.4.2019 klo 23.49 
»Mr.Kingfisher« lähetti viestin:
multiplayer fix?
works fine for me
crester  [kehittäjä] 29.4.2019 klo 3.21 
Copper lähetti viestin:
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
Viimeisin muokkaaja on crester; 29.4.2019 klo 3.24
crester  [kehittäjä] 29.4.2019 klo 8.25 
»Mr.Kingfisher« lähetti viestin:
crester lähetti viestin:
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  [kehittäjä] 29.4.2019 klo 10.00 
»Mr.Kingfisher« lähetti viestin:
crester lähetti viestin:
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  [kehittäjä] 29.4.2019 klo 17.26 
»Mr.Kingfisher« lähetti viestin:
crester lähetti viestin:
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  [kehittäjä] 29.4.2019 klo 18.49 
zorich_michael lähetti viestin:
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
Viimeisin muokkaaja on crester; 29.4.2019 klo 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 lähetti viestin:
»Mr.Kingfisher« lähetti viestin:
i used gmad
what’s a final path for an addon in your server files?
GarrysModDS\garrysmod\addons\PropDestruction
crester  [kehittäjä] 30.4.2019 klo 8.24 
»Mr.Kingfisher« lähetti viestin:
Rhyme lähetti viestin:
what’s a final path for an addon in your server files?
GarrysModDS\garrysmod\addons\PropDestruction
same[i.imgur.com]
< >
Näytetään 1-15 / 33 kommentista
Sivua kohden: 1530 50