I made a thing that makes holes in stuff. I got Lito to implement it. Now grenades make holes. (G to throw grenades) (Very OP. Just so people can see its significance. Will be reduced later.)
I made a thing that makes holes in stuff. I got Lito to implement it. Now grenades make holes. (G to throw grenades) (Very OP. Just so people can see its significance. Will be reduced later.)
Oh cool !
How you did that ? CSG can be scripted now ?
[quote] Oh cool !
How you did that ? CSG can be scripted now ? [/quote]
No. By the looks of things he calculated what needed to be taken away from the part, and then split the part accordingly.
This reminds me of Battlefield 4. All buildings and stuff can be blown up.
Sept it’s even more dynamic!
Only thing is that it makes a hole as one square. Maybe you can combine some squares together when making the hole to make it more “rounded”? Kinda like this: https://www.youtube.com/watch?v=uurANyRJTfo
Just an idea, though.
[quote] Only thing is that it makes a hole as one square. Maybe you can combine some squares together when making the hole to make it more “rounded”? Kinda like this: https://www.youtube.com/watch?v=uurANyRJTfo
Just an idea, though. [/quote]
Yeah this is cool. My system is a response to this one.
It’s supposed to do the opposite. It doesn’t look as good, but it plays much better. In other words, it’s not just for a tech demo. It’s meant to be used in an actual game on a large scale, and only 1.5x or double the part count of the map over a single round as opposed to, er. a lot more than double.
Do you loop through every part to see which ones are to be “cut”? If you do that, I would suggest getting the nearest parts using FindPartsInRegion3 and then looping through those to see if they need cut, and if so, cut them. This would be MUCH faster than looping through all parts in the map. Also, I can see why it would lag on a larger map and the square cut seems more logical now.
I use region 3s.
Actually, though, the cube done by the region3 is sqrt(3) times larger than the radius or the explosion, then I check within that region to see which ones need to be cut. The box cut out of each part is axis aligned to each part that is cut.
I could actually edit this a little bit to make it make sphericalish holes… I might do that some time.
How would you go about cutting slanted parts? cutting a CFramed square into a WedgePart’s tilted face, for example? I thought of doing a glass shattering effect until I realized the possibilities of someone shooting already shattered glass, and it needing to shatter more, your problems with slants seem to be even worse, or you are approximating slants, or using quads or something?
NOPE NOPE. NOT EVEN WORRYING ABOUT IT.
Like, when do I decide between doing a case like:
and a case like:
Know what I’m sayin’?
I mean, I guess I could always go with case 1 because that would play nicely with other things, But when a player expects it to not be a wedge, when the hole is made inline with the axes, it will look all weird.
Can you please release this?
Also here’s the demo from the house picture
Edit: sofloann and friends had some fun
Edit 2: and then some dude deleted the spawn area. q_q
Just like BattleBlox 3!
Really cool Axis!
I actually made a tool exaclty like this (cut box out of another) and used it A LOT
Its extremely useful.
Things I used it for:
-Explosions making holes (ofc)
-Automatically forming a sea that doesnt overlap land by cutting the ‘land’ boxes out of it
-Covering all surfaces in snow, then cutting off the ‘shadow’ of every part from the collection of snow boxes, and also cutting off box around heat sources (so stuff under cover wont get snow, and fire will melt snow around it, you can see this in my settle and survive place if you wait for winter)
-Making fire that doesnt burn entire parts, but cuts a small piece out of the part and makes that burn (slowly spreading across the part, chipping boxes out)
-Mining game(s?)
You can find my version in some of my games probably (theres many versions, but mainly two major branches, first one is a bit hacky, second is a refactored one that is much prettier) if you want to compare. (my roblox username is ‘Waterlimon’ cuz I changed it)
I tried making it work for wedges but it was buggy so I didnt bother (I assumed the cut off box is aligned with the wedge)
radioaktiivinen, i cry because not for sale http://www.roblox.com/Dynamic-Brick-Cutter-Function-DBC-item?id=23289326
If I ever make Super Bomb Survival 2, I’d want one of its features to be really big maps that use this system. For more variety on how they can be shaped and such. That’d be awesome.