Community
All Features
Overview of all exisiting features.
Arcade
Play various games in the arcade.
Awards
Earn awards for different tasks.
Bug Tracker
Report site related bugs the right way.
Credits
Everything related to credits.
Groups
A list of user run groups you can join.
Help Center
Official regulations and help documents.
Member List
A list of all registered members.
Latest Announcements
Staff Recruitment | September 2022
Changelog #34 - 03/04/2022
April Update - Index Redesign and Unlock Content Experiment
Support
Shop
Upgrade
Log In
Create Account
NulledBB
General
Gaming
Garry's Mod
E2 destructible props
Create an account
Login
PrivateAlps.net - Offshore Cloud Services | VPS/RDP/VPN - Dedicated Servers - Webhosting - TOR Services - Auto Deploy
ADULTSLAYER.STORE 💎 #1 PORN SHOP | 700+ Hot Products: Brazzers, Teamskeet, Pornhub, NaughtyAmerica, Many More! | 💸 Secure PayPal & Card Payments | Satisfaction Guaranteed! 🔥
Garry's Mod
E2 destructible props
Submitted by Essyrev,
25-01-2021, 01:05 AM
, Thread ID: 195412
Thread Closed
Reply
25-01-2021, 01:05 AM
#1
@name Destructible props
interval(1)
findIncludeClass("prop")
findIncludeClass("entity")
findInSphere(entity():pos(),100000050)
N = findToArray()
for(I = 1, N:count()) {
N[I, entity]:makeHealth()
N[I, entity]:setMass(N[I, entity]:mass()-N[I, entity]:getDamage())
N[I, entity]:setHealth(N[I, entity]:mass())
}
entity():setColor(vec4(0))
noDupl ications()
Health points depend on the weight of the item, so you can fix it by increasing its weight.
More
RE: E2 destructible props
25-01-2021, 01:24 PM
#2
What is this meant for isnt this taken from a steam workshop file i think so
More
Users browsing this thread: 4 Guest(s)