Hi, I loaded the add on as described, but the tool isn't showing up. Does this not work on 2.83?
A downloadable tool
Level Buddy is a CSG level modeling workflow add on for Blender 3D. It takes inspiration from old school editors like UnrealEd and DoomED. Level Buddy reduces iteration time while letting you test out ideas quickly and easily.
- Easy to use tools and interface.
- Auto texture/UV unwrap in world space.
- CSG modeling techniques including additive and subtractive inspired work flow.
- NOT BSP, you are work with poly meshes at all times. When you build the map you get a static poly mesh not a BSP tree of faces.
- Build and export your map to FBX with 1 button, great if you are working with Unity or any external game engine.
- Blender 2.79 now supported. Level Buddy now works with the new version of Blender 2.79.
***Update Version 1.3
- added support for Blender 2.79
- added the ability set floating point precision when rounding vertex positions for CSG operations.
- TextureBuddy is now automatically enabled when LevelBuddy is enabled.
- fixed bug when trying to auto texture a map that had no textures.
- fixed bug of trying to execute TextureBuddy if the addon was not installed/enabled
***Update Version 1.2
- added FBX export options. This is great if you are using Unity or any other external game engine. Build and export with 1 button click.
- added remove material feature that will remove faces with a specific material applied when the map is built.
- added auto UV mapping as an option.
- added option to flip map normals when the map is built.
- added the ability to build the map while in edit mode.
- added in the ability to tag sectors and brushes to a layer (A or B) to fix boolean operation orders where they had problems generating proper openings/connections when the map would be built.
- hid the light setting properties for the time being as they were dependant upon material node setups that were specific to a personal project I was doing. If you still need them you can jump into the code and uncomment out that code in the draw panel function. But in the long run I will be moving them out of this script and into another script.
- added support for Blender 2.78
note: Addon is still in development so there might be a few bugs here and there.
Version 1.0 is still available to download below.
Click download now to get access to the following files:
Log in with itch.io to leave a comment.
Hi, I loaded the add on as described, but the tool isn't showing up. Does this not work on 2.83?
I see now why it doesn't work for me. Its a shame, this was going to be so useful for my project, but I cannot downgrade the version of Blender. If you are ever able to make an update for this, please let me know.
This is such a great little tool, And I'm hoping it hasn't been abandoned, can we get some kind of update? I would gladly pay for continued development!
After spending about a day getting the hang of Level Buddy, I really like the concept, but texturing is... very difficult :/
I suppose I could just unwrap by hand after the map is generated, but that's specifically one of the tasks that i feel is overkill for quake/half life style mapping.
Something that could really help is the ability to have a "detail" layer for some brushes/sectors that will merge with each-others, but not with the non-detail brushes/sectors
Ohhhh I've waited a long time for an addon like this, I'll actually try this in my old 2.7 install to give it a go
Could you update it for 2.8?
You can't use it in 2.8 because it requires the Blender game engine. It is meant for gaming. If Blender decides to bring back the Blender game engine this will be updated to that new version of the Blender game engine. So you are still stuck on blender 2.79 but look on the bright side. The blender game engine is still new on the 2.79 so that's all what is new right now. Whenever the new one comes out then it will be the old. So you're going to still need a second blender launcher to 2.79 if you want to use that so you are still stuck on two of them. If you know what I mean with two software.
how dose this require the game engine? farther down the page Matt mentions something about scripts working a little different but nothing about the blender game engine...
It doesn't require the game engine, but it does require a boolean solver that can deal with coplanar faces. Blender 2.7x had two solvers - BMesh and Carve - which was slower, but could handle coplanar faces. Unfortunately Carve has been removed from Blender 2.8x
So it wouldn't make sense to update until the BMesh solver is up to the task.
Can I use this as a stand-alone software? that would be easier for me...
Nice addon. But how do you start it.
At first I unzipped it in that addon folder of Blender 2.8RC3. No entry for Level Buddy showed up in the user preferenaces addons panel. So I deleted both files and then choose install from file. That worked with getting to the point where I can enable it in user preferences but now when I press the T key no interface for the addon shows up.
So I thought maybe it will only work with the OFFI ICAL version of Blender 2.8 So I deleted 2.8RC3 and downloaded and installed 2.81. I did an install from file again and enabled the addon in user prefs. And still no interface or controls.
I watched both videos and the author just already has the interface up and ready to go. I have enabled it in preferences, but cannot see where to get to it’s controls.
After doing more googling, I discovered that version 1.3 of this addonn was backwardly compatible with blender version 2.79. So I installed it in my 2.79 addons folder. So now I can at least see the interface. But I still do not know what does what. I will have to go thru Matt Lucas’ second video minute by minute and see if I can figure it out.
2.8 handles boolean operations differently and a straight port does not work so I have to look into other options when time permits. Hopefully I will be able to find some time soon to look into it more.
Hi, Does this tool have some configuration to make the transparency and see inside when build map? Like in video: Doom Style Level Editor Tools in Blender 3D 1:18 min or 11:05 min with red edges.
Mine always make close boxes. Maybe an error or I'm making something wrong? I'm using 2.79b.
I've noticed in your video DoomBuddy with options like Play! and some triggering and such. Can I please get a nice copy like that and how?
This is a very well made tool. The Texture Buddy tool in particular saved me a lot of pain and agony on my last project! It's so simple, but it handles almost everything I need (though, it doesn't behave quite so well with slanted geometry).
Please update this addon for blender 2.8
2.8 Support I beg you
Any plans for 2.8 support? It is a big API change rendering this addon incompatible.
This tool is very cool, it would be nice to have it available for blender 2.8
I have to agree, Blender 2.8 is now available. Possible compatibility-breaking bugs may occur if the plugin is used in the latest version.
Great addon, fun to use. One question I have that I'm not sure if it's a Level Buddy question or a blender one cause I'm pretty new to both, how would I go about rotating textures when applying a material to a sector? Any help would be appreciated!
(edit: I'm using auto UV Map. I can rotate the 2d sector UVs manually but then the walls don't end up looking right so I'm confused)
I absolutely adore this addon!
I've tried updating it to work with Blender 2.80 just for fun. I got pretty far, but then I realized that Carve is gone and the newer BMesh Booleans can't handle coplanar faces... :( Apparently it's being worked on, but for now we seem to be stuck on 2.79..
Anyway, thank you for this inspiring tool! It will be great to use it with Armory in 2.8x one day
Matt your a legend!! Thx for this awesome tool! Any plans on updates and support for Blender 2.80?
This is so great. Thank you!
Are you going to upgrade this to 2.80? I have 2.78 on my PC. but I use 2.80 most though. Just wondering if you were plan on upgrading.
I get traceback call errors whenever i try to create any brushes or anything. Please ask for more information if needed, cause this looks like something i'd love to try.
So do I, another Blender plugin that does not work :(
IT DOES WORK!!!
It was my fault for trying to add new selectors or brushes in 'edit' mode. changing back to 'object' mode works perfectly.
what are the errors you are getting? what version of blender are you using?
Hello Blender 2.79b 32bit
It was me not using it correctly, I tried adding new 2D or 3D selector or new brush when in edit mode, changing back to object mode gave no errors so it does work. Sorry, thanks for the plugin and also for taking the time to reply.
Awesome! Really glad that you were able to get around that and thanks for the feedback. I'll have to put in an edit mode check to catch that, super helpful to get user feedback like that so I can smooth out the very rough edges. Thanks again!
what version of blender are using? and what are the traceback call errors you are getting?
Really wish the export button would also export Blender's meshes, rather than just the brushes.
it should export out the final map as well. For my own use I have always used the exported brush volumes as trigger zones but that involves a custom script on unity's side to catch that during the fbx import. It wouldn't be hard to add in a button to say export the built map only though so I will look into that.
Sorry but don't you have a toturial in how to use it (I'm dumb).
Can you upload in github? How about a patreon? Maybe I'm wrong but is seems an abandoned project. Thank you.
Sorry for the inactivity, the script is not abandoned just busy with work and family. Patreon could be interesting just not sure of the best structure setup. I thought about Github as well just didn't see the benefit since it is only two script files. Thanks for the interest in the project and hopefully I'll get some free time to do another update and some documentation soon.
Hey Hi Lucas, thanks for the editor :) Ok I understand you are very busy. Github even if is for two scripts, people can help in add new functionality or fix some bugs or update to a new blender version, maybe this even will help you in you own projects, and I pretty sure this can grow up a little more. BTW github have a wiki for you own repo giving the possibility to add documentation for you project, and its own page (http://github.io/), you can keep simple, all in one place, link to this page. For discussion some comments here, report issues on github. For Patreon, just an idea, not sure though... I think just for the incentive and see how much people are interested to see this grow, donating some bucks monthly for maintenance =) regards.
EDIT: Fix the problem with the exporter my fault :D
Hey I love the tool. Building lots of neat levels. I don't really understand how the texturing works though, and I broke the texturing of one of my levels somehow. Is there a little FAQ or guide about how to texture levels? non-video preferred.
I have a suggestion, the 3d sectors, they should have the same way of applying material for different parts (ceiling, wall, floor) I tried to go around that using multiple brushes with 2d sectors, but it wont work or sometimes blender just crashes.
You tool is really the greatest tool so far.
Hey man, don't you think about starting a Patreon?
This is probably the best add-on I've ever found for BGE.
I have a few questions:
1.are you planning on making parts separable so one can use occluders in BGE so only rooms that are visible will be rendered?
2.do you plan on adding features that are similar to the Hammer Editor?
3.will you add some instances such as PC controller, doors, skybox setup and activators(similar to what you showed off in your videos)?
Last one I promise, is there a more up to date version that maybe is still being tested? I would even be willing to pay for it.
keep up the amazing work.
Is there a way that I can use level buddy but have everything as a separate object so if it is ported to an engine mats can be assigned separately?
I'm testing your tool, and so far it is great. The 2D sectors works perfectly and they are allowing me to make my test level way faster than placing texturized planes. There is just one problem, the 3D sector only supports one material and there is no option to change it, is there a reason why? or do you have any plans to add support to that? (I'll rate this tool once I'm done with my level)
Edit: Brushes and 3D sectors are sharing the same material with the Ceiling.
Hi Dann, Glad you are having fun with Level Buddy. 3D sectors are just normal 3d mesh objects so they can be any shape they want so if you want to add more materials to the object you add them in the same manner as you would any 3d object in blender through the normal material tab. Since this was something that I built for myself without an initial plan to release it I didn't think it was important to duplicate the material window into the level buddy UI but now that so many others are using the add-on it is probably time to revisit the UI. This is also why there is zero documentation which is not great. Hope that helps!
stress alot! Not hard to understand at all. I just drew the map on paper
and boom it was done in just some minutes, didn't have to check for
empty gaps or anything, the only problem I'm having is the one I said
here, good job.
Edit3: I have fixed the issue, it was Unity's fault for not updating the .blend file while in Scene, I even edited your script to see if there was something missing but turns out it was really Unity's fault. anyway Keep up the good work, this Tool can be very usefull to everyone!
Hello, your tool has been great!
I have some problem with UV mapping. It was worked fine and this happened, don't know how to fix:
Hmm that is strange I don't know what is going on fully without being able to look through the actual blend filet. Try this though, after you build the map, make the created map selectable and try running the texture buddy "Auto" mapping on the built map and see if that fixes your UVs. Also on a side note if you are using 2d sectors to make your map you don't need to run texture buddy on them before building your map, if the "Auto UV Map" option is enabled it is done automatically. Now that I think about it if you have been running Texture Buddy on the sectors and then building your map you might be creating multiple uv sets that all get combined together on the built map. Check to see if you have multiple UV Maps on your built Map. If so remove them all and go back to your working layer with all the sectors and run this script. It will cycle through all of your visible objects and remove all of their UV map layers giving you a clean slate. Please let me know if this fixes it for you as it is something I can integrate into the actual tool.
---[open the text editor window in blender and paste the below code, and hit the "Run Script" button at the bottom of the text window]----
scn = bpy.context.scene
for ob in bpy.context.visible_objects:
ob.select = True
scn.objects.active = ob
for n in range(len(ob.data.uv_layers)):
Well, enabling the map on the second layer and running Auto on Texture Buddy did the trick. But if you build the map with Auto UV Map on (and without clicking on Auto like I did), the problem still persist. As far as I know, the final map only had one UVMap, just like every sector and brush. In the meantime, I can live with it. It's just something that started happening after I reinstalled Blender and the Level Buddy tool.
And I must say, it's being incredible useful once you get the hang of it. With automatic UV and exporting, it let me modify the map and send to Unity in a matter of few seconds!
I know this is a very late answer, but for me, Auto UV Map, simply didn't work until i made sure that both level buddy and texture buddy were enabled in my addons, and only level buddy was.
Nice tool, thanks man !
Great tool, but the current version does not appear to work with Blender 2.79. It doesn't show up in the Add-Ons when I import it. A fix would be nice!
Sorry to hear you are having issues. I have not had any issues with it using Blender 2.79. I have done a small update to fix some annoying bugs such as auto enabling the TextureBuddy addon that comes with LevelBuddy. If you do not see it when you install it from the zip filet try using the search tool in the addon panel of blender and it should show up there.
Sorry If I sound like That guy but is there a tutorial some were? I tried to use it and it seems to be a bit finicky on my version of blender "v2.78".
P.s. The errors are as follows, If your interested
Traceback (most recent call last):
File "C:\Users\Samurai Studios\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\LevelBuddy.py", line 742, in execute
File "C:\Users\Samurai Studios\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\LevelBuddy.py", line 235, in auto_texture
File "D:\Blender 2.78\2.78\scripts\modules\bpy\ops.py", line 189, in __call__
ret = op_call(self.idname_py(), None, kw)
AttributeError: Calling operator "bpy.ops.object.texture_buddy_uv" error, could not be found
location: <unknown location>:-1
the error you are getting is because you also need to install the level buddy addon and have it enabled too. It is in the same zip file as level buddy . Hope that helps.
Thank you so much, I Am exited to start using this tool "PROPERLY". Can't believe I didn't notice that was missing.
P.s. Tanks again for replying, its a rarity to me.
sorry no tutorials yet. I do want to do some.
I got the same error. I installed both level buddy and texture buddy.
I just fixed a bug caused by a material not having an active texture that might solve some of the issues you have had. You could download the latest version 1.3 and see if that fixes your errors. I also have installed and ran the tools on blender 2.79 without issues.
Been at this biz for a couple years more than you. But you and I share a primary influence. This is just amazing man. I think I need to finally learn me some blender haha.
this so helpful.
btw. how can you see through walls when you are editing?
In the shading panel enable 'Backface Culling' that lets you see through the back side of faces.
Wow, this is actually super helpful! thank you! might use this for another game someday.
Well where is a blender and where do you find it
how do i use it it wont open
Thanks for the very handy tool!
I am using it to create old-school fps levels. So far the sectors work flawlessly but I had problems with the brushes. Something went wrong during build map so I had to reset the location, rotation and scale of every brush after finishing the layout. This way they did not get distorted during the build process. I leave this here in case somebody bumps into the same problem.
Edit: The problem came back so I looked into the python code. There are 2 functions which do some rounding. I changed both of them to round to 2 decimals instead of 1. This solved the geometry displacement for me.
Edit: I encountered another problem with substractive meshes. Sometimes they break the whole thing for some unknown reason. A simple substract window copy messed up the whole save file. I had to reload a previous state.
I get problems with the substractive mesh too. Did you check if the mesh normals of your substractive brush are pointing outward? Sometimes it solves the problem.
Normals should be okay by default. I suspect there is some limitation in blender or the plugin. Sometimes simple brushes connect in a way that breaks the script. Other times I get a very thin layer on one side of the substracted doorway for example and cannot place a floor under. With some tweaking they work. I will leave the rest for post-edit.
As for the window problem I do not know what was the cause but I remade the whole thing and now it works nicely. I have to admire the simplicity of creating free-form window sockets.
Do you have screenshots?
Well, I can supply one recent if you are still looking at this post:
I originally had a problem with the one brush selected but after going through all the parameters of neighbouring objects and hitting enter on them many of them broke during build. You can see the parameters on the left picture which should not be a problem.
PS: Of course the really interesting thing is that these were carbon copies from the other side which work just fine.
It sounds like an issue with the way the sectors are being combined. Because I basically boolean everything together and booleans do not always give the best geo you can find strange issues like this. Try changing the sector group to see if that helps. Group A gets processed first and then group B so this is one way to get around these kinds of issues. You might need to adjust a neighboring sector instead of the one that is having issues but it is at least one more thing to play around with. I hope this helps and sorry to hear you are having issues.
Unfortunately the whole thing breaks too often for me. Been building a town with brushes but pretty often I end up breaking the build script so I have to hunt down the one part/intersection that causes it (usually one side of a window edge which consists of 4 parts connecting in 45 angles in the corners) and turn it off/remove it. I use incremental values like .25, .5, 1 or 2 for building so I had previously removed all rounding script from the plugin. Now I thought I will download the original once again but modify the digits to 3 to suit my values. Since then the build button crashes the whole program.
Other thing that I tried is to select all the parameters of all the objects near the one faulty and press enter, confirming them. After that a lot more of these brushes broke. So, for now I it would seem that Blender could not position brushes properly thus breaking this plugin. Should this plugin work with 3ds Max so I can abandon this utter garbage app?
I just added the ability to set the rounding level of the vertex positions. Its called 'Map Precision' and can be found by the build map button. This should let you adjust the rounding without having to crack open the script. I have not heard about the build button crashing the whole program, if you can capture an error or shoot me an example blend file I'd love to dig into that and find the problem. I also just fixed a few annoying errors that seemed to pop up a bunch so maybe the latest version is a bit more solid for you. Since I don't work on this full time it gets hard for me to stay on top of it as much as I would like.
Thanks for the update and feedback! Finally got around trying out the new version. Precision update accuracy is a great addition, for me a value of 3 should be good enough. However I had 2 problems at the start:
1. The location precision update does not use the value which was given on the ui, only the cleanup vertex which means that my sectors get displaced because of the original 1 decimal accuracy.
2. For some reason a vertex Y coord of -4.25001 results in -4.251 after rounding. Also, I do not know why these odd values even exist.
1) I must have missed the sector placement precision cleanup, easy fix. Thanks for catching that and letting me know!
2) Floating point numbers are never precise which is why I had the rounding set so high. It seems to get more inaccurate the longer the number is after the decimal point which throws off the Boolean operations and gives errors or incorrect unions. In the old days of Doom they used integers for pretty much everything. If you were able to get away with using only whole numbers I believe you would see fewer if any errors...but the scale of your map would be pretty big and chunky.