q3map_surfacemodel to decal walls randomly
Started by Baker
avatar
Baker Rep. 1
#1   15 days ago
Member submitted image
I made some methods to use q3map_surfacemodel to automatically "decal" walls -- in addition to randomly placing bones or rocks or whatever. The bones are from OpenGameArt, the rocks from Sketchfab although I gave the rocks a real texture.
The "decals" are not decals but rather I made a one-side quad .OBJ model = 2 triangles.
Member submitted image
.obj and shader sources and links to the free models page of origin ... www.moddb.com/mods/zircon-engine.
It's funny, initially I was going to edit the q3map2 compiler or -- I have .map pre-processor in my engine that can do many automated tasks -- then I created the quad model and tried it with q3map_surfacemodel and it worked.
As far as I know the model cannot be an .md3 because it has only one quad. Fun fact ... due to obj model orientation being different in Garux/NetRadiant Q3map than classic original q3map2 -- this is because Garux uses assimp library and so does TrenchBroom -- the model coordinates would need rotated 90 degrees to work.
(I use J.A.C.K. map editor and a different q3map2 fork that behaves like original q3map2 -- and I can't easily switch because Garux/NetRadiant q3map2 despises some of my .map sources).
Oh -- and assimpl library used in Garux/NetRadiant and TrenchBroom actually will reject at least some .md3 models converted in .obj to .md3 by Noesis so it seems that .md3 is not a 100% compatibility magic bullet.)
avatar
Baker Rep. 1
#2   14 days ago
Member submitted image
I created that chest in BSP using "carve", haha!
The top is func_door. The beams are the old Q3 lightbeam quad trick on a patch.
Edited 2.62 minutes after the original posting.
avatar
Tig Rep. 2472
#3   14 days ago
@Baker : Lots of interesting things happening here.
Which version / branch of q3map2 are you using exactly? Is there a GitHub source?
avatar
Baker Rep. 1
#4   14 days ago
Hey Tig, I use
github.com/id-tech...ls/map-compiler
but I modified it some because it didn't work with J.A.C.K. and map version 220 out of the box, but that was the main change. I call this q3map2 "IsRyven/q3map2".
The exact one I use is www.moddb.com/mods...ly-6-odds-scale (source included).
I wanted to try to switch to the Garux map compiler (KleskBY the author of QUALKER uses it and so does Hypernoire, so we would all be using the same map compiler) , but there were close to 10 different compile issues for a very edgy map I made that compiles fine with "IsRyven/q3map2". Stuff like a triangle or surface triangle here or there or an MD3 it doesn't like.
Edited 1.37 minutes after the original posting.

Only registered members can post a reply.
Already registered? Sign in.

map-levelsq3
Clear