mikeoverbay / TankExporter

A middle ware app for editing World of Tank tank models.
68 stars 18 forks source link

Doesn't want me to make a cool skin :( #91

Closed Sparton385 closed 1 year ago

Sparton385 commented 1 year ago

So i was just making a custom skin for the is-6, and i wanted to test to see if it still worked, I changed the gun and the tracks entirely, but everything else was just added/edited.

Screenshot 2023-08-18 193401

and when i changed the file type from 2013 to 2009, it was good, then when i tried to import it i got this error

error screenshot

I dont really know what I did that messed it up, but i imagine i did something i wasnt supposed to.

Sparton385 commented 1 year ago

System.IndexOutOfRangeException: Index was outside the bounds of the array. at Tank_Exporter.modFBX.get_component_index() at Tank_Exporter.modFBX.process_fbx_data() at Tank_Exporter.modFBX.import_FBX() at Tank_Exporter.frmMain.m_Import_FBX_Click(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.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)

Saw someone else post something similar, so i dont know if will help but here

Sparton385 commented 1 year ago

image

alright i got it to work sort of, by literally removing the muzzle from the 705a i had, it works, no matter what i do, as long as i dont slide the hull over or anything it works, but the one part i want the muzzle, doesnt want to

Sparton385 commented 1 year ago

The above picture is after removing the actual muzzle from blender, and having a blank, sorry this image

Sparton385 commented 1 year ago

nah i figured it out, im pretty retarded, i had one to many file types, so see the top right with each object, i had to many and had to reduce it to both tracks and road wheels, hull, turret, and gun for a total of 7 objects.

Sparton385 commented 1 year ago

close to final, currently need to mess with textures/texture paths. image

Thanks for the easy to use app, really makes the work 1000 times easier!

Sparton385 commented 1 year ago

Alright so as i was messing around the the textures, i found this out image image So when i have the textures on it is happy, when i dont, well it aparently isnt happy. the regular is6 tho is good image image

Sparton385 commented 1 year ago

if this helps, when i mirror the parts on blender, it flips them when i change between the textures image image

mikeoverbay commented 1 year ago

The gun is backwards in the game. In fact all skinned models are backwards as far as the actual geo is concerned. I flip the model by inverting some of the matrix values to fix this for the FBX export. This can make them render inside out in other apps so its important that the tool you use is set to render both sides of the model and never change the models matrix. I hope this helps.