Forum > Noggit

Custom WMO crash

<< < (3/3)

Ohai:

--- Quote from: "PhilipTNG" ---
--- Quote from: "Skarn" ---MirrorMachine crashes on models which polycount exceeds 65k.
--- End quote ---

I'm using MirrorMachine too, maybe noggit crash ~65k, but ingame as gameobject spawn it works fine as long as I don't go above 88k total triangles. I don't have the original object files, kinda deleted them when I was done figuring out how high I could push it. lol.

Like if I went too high, this would happen:


No crash, it just didn't render.

Here's what it looks like spawned in same place but different heights:


And object with wireframe:

--- End quote ---

Hey nice spaceship and music, and how do you spawn a wmo without noggit, gm commands or you insert some SQL or??

PhilipTNG:

--- Quote from: "Ohai" ---Hey nice spaceship and music, and how do you spawn a wmo without noggit, gm commands or you insert some SQL or??
--- End quote ---

I put the wmo into the GameObjectDisplayInfo.dbc naturally and put it into both my Core's DBC folder and my Patch's DBFilesClient folder.  Then made an entry in the SQL World DB's `gameobject_template` table with the wmo display id and some name to help me remember what it was and an ID like 140500 and set the type to 11, regular m2 objects use 6 usually.

restarted core, client, went ingame and on Trinity Core I did the command
.gobject add 140500

Unlike M2's you can't scale the WMO in either noggit or the database(it may be possible through some custom core scripting but by default you can't.) So your size will be dependent on your 3D Data before you put it through the WMO Generator you used.

Ascathos:
WMOs as gameobjects is an extremely unfavorable deed, try to keep gameobjects as minimal as possible. Too many cause massive lags.

Ohai:
Thanks for the help guys, yeah seems the problem was the wmo I was rushing wanted to see it ingame made some halfass wmo lol:p now its working but I still get a crash here and there I think its the ADTs

Is there any way to use the hole tool and not get the whole map/area machine gunned with holes everywhere? I was just testing it right now to see if its possible to get just 1 hole, Ive put the mouse on a chunk ctrl + LBM once, and there were holes elswhere??

Navigation

[0] Message Index

[*] Previous page

Go to full version