Teardown

Teardown

Voxel Spawner
83 Comments
Gaper-Bingzoid 19 Oct, 2023 @ 2:29pm 
this from 2021, the year the workshop was introduced.
stop fucking begging
Burnt Lacquer 15 Oct, 2023 @ 1:31pm 
you should make a voxel spawner thats better than creative mode
poopy31016 17 Jun, 2023 @ 12:58pm 
beluga?
Fat Morty 3 Mar, 2023 @ 12:54pm 
oh nvm its already a gun
Fat Morty 3 Mar, 2023 @ 12:53pm 
can you make a pixel gun? please
Daniel W  [author] 23 Jan, 2023 @ 12:59pm 
No, it was me hoping Cyborg would see that it shouldn't really be useful 😅
Tortola 23 Jan, 2023 @ 8:32am 
The owner just came a year later just to announce something that most of the people who use this mod already know, epic.
Daniel W  [author] 23 Jan, 2023 @ 6:11am 
Just remember, this was before voxel spawning was actually a thing. I'm just using sprites and some 10/10 collision detection
BLU66 22 Jan, 2023 @ 1:34pm 
very useful
rare endangered spycrab 1 Apr, 2022 @ 9:35am 
I thout that I had this and commeted
Tortola 20 Feb, 2022 @ 5:22am 
oh ok
Daniel W  [author] 19 Feb, 2022 @ 11:55am 
You can but you need to edit the mod to do so.
You're best off using an actual voxel spawner as the experimental API now supports spawning voxels. This mod was made a few months ago so it doesn't actually spawn voxels, it just spawns 6 sprites and puts it in a cube shape.
Tortola 18 Feb, 2022 @ 1:20pm 
i can change the size?
Worldsfastesttapper 10 Feb, 2022 @ 1:09pm 
how do you change the size?????
BigBadVoodoo24k 26 Jan, 2022 @ 6:07pm 
where do i go to get to the lua file?
Currentcall 20 Jan, 2022 @ 10:59am 
wouldn't it be cool if you could just place 1 voxel, and select the material too, so you could select soft, and hard metal and more, is something like that possible? i don't think that would be hard. (but i'm probably grossy underestamating that)
Koi 19 Jan, 2022 @ 9:08pm 
honestly this is the kinda stuff that gave gmod. One day maybe a combination of all similar ideas in a either single mod, or modpack
Tank_Lover9999 13 Jan, 2022 @ 1:21pm 
there needs to be a Tool that basically spawns ANY props in the game including props from other Workshop maps
Daniel W  [author] 26 Dec, 2021 @ 6:44pm 
Correct ;)

But I am planning on having a way to make custom shapes, I'll work on this soon (maybe)
Jduke 26 Dec, 2021 @ 5:45pm 
@line_law it was possibly a joke. Meaning hes never gonna do it
Femboy Sarah 14 Dec, 2021 @ 4:59pm 
line_law, it simply is not possible with the current version of the game.
line 14 Dec, 2021 @ 4:51pm 
why a few years? it doesnt take you to reenginer teardown completly from scratch to spawn a vehicle
Daniel W  [author] 13 Dec, 2021 @ 10:17pm 
In a few years, yes.
Abztracts 13 Dec, 2021 @ 8:53am 
Can you make it spawn vehicles and vehicle mods?
Crepper441 13 Dec, 2021 @ 8:04am 
can you make that you can spawn vehicles???
Damyn 12 Dec, 2021 @ 5:12pm 
You do not know how long i waited for this!
Daniel W  [author] 12 Dec, 2021 @ 5:46am 
Because it's a proof of concept and I do not plan on making a user interface to change things. It takes less than a minute to modify a line of code.
kingdempa 12 Dec, 2021 @ 2:47am 
i dont wana edit my lua files why does this mod need so much
triginta 11 Dec, 2021 @ 11:26pm 
also its great how 50% of the time (varies on the map) if you fall on it you get either bounced a few yards or a few miles (also varies on the map)
triginta 11 Dec, 2021 @ 11:18pm 
also sorry my eyes must have done the thing where it isnt there then when someone says it is it is there, or steam was just bugged, idk lol
triginta 11 Dec, 2021 @ 11:17pm 
tysm!
vilueramartin 11 Dec, 2021 @ 11:12pm 
SIMPLE HAIL PLZ
Kalinite 11 Dec, 2021 @ 11:11pm 
oh and that line too the other one you sent just now didnt load
Kalinite 11 Dec, 2021 @ 11:11pm 
mark the line down so people dont get confused
Daniel W  [author] 11 Dec, 2021 @ 11:11pm 
And if you want to change the size, change "voxSize" in Voxel.lua on line 4 to
voxSize = 0.1 -- this is the actual voxel size teardown uses

There may be issues with collision though so if there is then just remove "VoxelManager:Update()" in main.lua on line 86
Daniel W  [author] 11 Dec, 2021 @ 11:07pm 
I did say it before but all you need to do is change "rndColor()" to "{1, 1, 1, 1}"
This is in main.lua on line 63:

VoxelManager:AddVoxel(TransformCopy(voxHighlight:GetTransform()), false, rndColor())
change to
VoxelManager:AddVoxel(TransformCopy(voxHighlight:GetTransform()), false, {1,1,1,1})
triginta 11 Dec, 2021 @ 9:57pm 
asking again: is there a way to remove the random colors and make it just the original sprite png file?
StarKiller3678 11 Dec, 2021 @ 9:27pm 
Pro Tip: Spawn multiple on top of each other and then jump on top, youll get launched!
vilueramartin 11 Dec, 2021 @ 7:17pm 
add simple hail plz
NeoLand30 11 Dec, 2021 @ 7:02pm 
cool
Daniel W  [author] 11 Dec, 2021 @ 6:06pm 
The reason it's hollow is because I hide the faces when you spawn them but I don't enable them when you despawn them. I need to figure out a good method for that as I've not found one
ecam 11 Dec, 2021 @ 1:41pm 
With the Teardown modding abilities right now, you can't actually spawn real voxels, so you have to use sprites. if you want to actually spawn things use a mod called knedmod as it is a third party mod that injects into the game. This is a really good start though. :steamthumbsup:
Kalinite 11 Dec, 2021 @ 12:55pm 
to make it more real they should check if the block is still there, now its hollow
Kalinite 11 Dec, 2021 @ 12:54pm 
yeah. sprites.
The Mafia 11 Dec, 2021 @ 12:43pm 
This isnt a voxel spawner by definition, its using sprites and not actual voxels. But its a good start
Kalinite 11 Dec, 2021 @ 12:42pm 
WE'VE DONE IT
WE'VE CRACKED THE CODE
PROBABLY WITH PLANKS
WE CAN MOD WITH VOXEL SPAWNERS
NoIsNo1 11 Dec, 2021 @ 10:32am 
Yo so it's possible to spawn voxels ingame?
eon⌨ 11 Dec, 2021 @ 9:56am 
YES!! FINALLY!!! IVE ALLWAYS WANTED THIS:steamhappy:
Daniel W  [author] 11 Dec, 2021 @ 5:47am 
And the speedboost thing definitely isn't a bug... I 100% planned on it..
Daniel W  [author] 11 Dec, 2021 @ 5:45am 
The reason the voxel is 1 metre is because the collision doesn't work with anything below that. If you want to change the colour, find where I spawn the voxel and you'll see "rndColor()", change that to "{1, 1, 1, 1}" for white.