Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
DynamiteKaitorn

3D Enemy causing issues [DON'T BOTHER READING I'M AN IDIOT XD]

Question

Posted (edited)

For some reason when I attempt to produce a 3D model for an enemy, it wont appear in-game yet summoning the weapon models I made (separate from the hud ones) spawn just fine. I even attempted to spawn the enemy in via GZDB:BF and it causes it to crash.

 

 

Log of said crash:

Spoiler

***********SYSTEM INFO***********
OS: Microsoft Windows 10 Home
GPU: NVIDIA GeForce GTX 960
GZDB: R3004

********EXCEPTION DETAILS********
D3DERR_INVALIDCALL: Invalid call (-2005530516)
   at SlimDX.Result.Throw[T](Object dataKey, Object dataValue)
   at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue)
   at SlimDX.Direct3D9.Mesh..ctor(Device device, Int32 faceCount, Int32 vertexCount, MeshFlags options, VertexElement[] vertexDeclaration)
   at CodeImp.DoomBuilder.GZBuilder.MD3.ModelReader.CreateMesh(Device device, MD3LoadResult& result, List`1 verts, List`1 indices) in w:\dev\GZDoom-Builder\Source\Core\GZBuilder\md3\ModelReader.cs:line 1001
   at CodeImp.DoomBuilder.GZBuilder.MD3.ModelReader.ReadMD3Model(BoundingBoxSizes& bbs, Dictionary`2 skins, Stream s, Device device, Int32 frame) in w:\dev\GZDoom-Builder\Source\Core\GZBuilder\md3\ModelReader.cs:line 324
   at CodeImp.DoomBuilder.GZBuilder.MD3.ModelReader.LoadModel(ModelData mde, List`1 containers, Device device) in w:\dev\GZDoom-Builder\Source\Core\GZBuilder\md3\ModelReader.cs:line 123
   at CodeImp.DoomBuilder.GZBuilder.MD3.ModelReader.Load(ModelData mde, List`1 containers, Device device) in w:\dev\GZDoom-Builder\Source\Core\GZBuilder\md3\ModelReader.cs:line 55
   at CodeImp.DoomBuilder.Data.DataManager.ProcessModel(Int32 type) in w:\dev\GZDoom-Builder\Source\Core\Data\DataManager.cs:line 923
   at CodeImp.DoomBuilder.Map.Thing.UpdateCache() in w:\dev\GZDoom-Builder\Source\Core\Map\Thing.cs:line 570
   at CodeImp.DoomBuilder.Map.Thing.UpdateConfiguration() in w:\dev\GZDoom-Builder\Source\Core\Map\Thing.cs:line 564
   at CodeImp.DoomBuilder.Windows.ThingEditFormUDMF.thingtype_OnTypeChanged(ThingTypeInfo value) in w:\dev\GZDoom-Builder\Source\Core\Windows\ThingEditFormUDMF.cs:line 764
   at CodeImp.DoomBuilder.Controls.ThingBrowserControl.typeid_TextChanged(Object sender, EventArgs e) in w:\dev\GZDoom-Builder\Source\Core\Controls\ThingBrowserControl.cs:line 401
   at System.Windows.Forms.Control.OnTextChanged(EventArgs e)
   at System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e)
   at CodeImp.DoomBuilder.Controls.NumericTextbox.OnTextChanged(EventArgs e) in w:\dev\GZDoom-Builder\Source\Core\Controls\NumericTextbox.cs:line 209
   at System.Windows.Forms.Control.set_Text(String value)
   at System.Windows.Forms.TextBoxBase.set_Text(String value)
   at System.Windows.Forms.TextBox.set_Text(String value)
   at CodeImp.DoomBuilder.Controls.ThingBrowserControl.typelist_SelectionsChanged(Object sender, EventArgs e) in w:\dev\GZDoom-Builder\Source\Core\Controls\ThingBrowserControl.cs:line 304
   at CodeImp.DoomBuilder.Controls.MultiSelectTreeview.OnSelectionsChanged() in w:\dev\GZDoom-Builder\Source\Core\Controls\MultiSelectTreeview.cs:line 158
   at CodeImp.DoomBuilder.Controls.MultiSelectTreeview.ProcessNodeRange(TreeNode startNode, TreeNode endNode, MouseEventArgs e, Keys keys, TreeViewAction tva, Boolean allowStartEdit) in w:\dev\GZDoom-Builder\Source\Core\Controls\MultiSelectTreeview.cs:line 1401
   at CodeImp.DoomBuilder.Controls.MultiSelectTreeview.OnMouseDown(MouseEventArgs e) in w:\dev\GZDoom-Builder\Source\Core\Controls\MultiSelectTreeview.cs:line 1001
   at System.Windows.Forms.TreeView.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.TreeView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

 

Edit: Turns out I'm dumb enough to not convert the model correctly...GG me

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0
7 minutes ago, DynamiteKaitorn said:

Edit: Turns out I'm dumb enough to not convert the model correctly...GG me

Nah. It means that you are smart enough to figure out the problem yourself and fix it.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×