[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - [Blender/IQM] Export crash bug workaround

[Blender/IQM] Export crash bug workaround

Discuss the creation of various model formats for Quake engines, and related matters to modeling.

Moderator: InsideQC Admins

[Blender/IQM] Export crash bug workaround

Postby leileilol » Mon Apr 07, 2014 11:04 pm

Image
Eventually you'll lead to a vague 'out of range' crash if you create new skeletal characters based on another mesh (like say a pre-rigged base mesh or two more dark elves based on one particular dark elf).

- You'll want to activate the Unreal PSK exporter addon (which comes standard with Blender 2.6), however we won't be using this to export PSKs. More on this later.

- Duplicate your mesh. Clear the parent and keep the transformation on the duplicate.

- On this duplicate, enter Edit mode, and on the Tools at the left, scroll down to see Unreal Exporting options and click "Remove Vertex Groups"

- Parent that to the same armature but with Empty groups this time.

- Enter Weight Paint mode. Transfer weights, with All and Vertex selected. This will take your old weights over from your broken mesh over to your duplicate, but in a more 'sane' way.
Image

- Now export your duplicate to IQM!






BUT BLENDER HAS A "REMOVE ALL VERTEX GROUPS" BUTTON ALREADY!!! WHY USE UNREAL PSK EXPORTER'S!?
Blender's function doesn't remove vertex groups that are malformed and out of range. The PSK exporter can do this which helps greatly with this repair.

WHY USE WEIGHT PAINT TO DO THE COPYING WHEN YOU CAN USE BLENDER'S COPY FUNCTION?
Because "Copying Vertex Groups to Active object" also copies the malformed ones! Transfer weights is much safer.
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: [Blender/IQM] Export crash bug workaround

Postby goldenboy » Tue May 06, 2014 5:10 pm

Potentially very helpful, thanks for posting this.

Can you explain in a simple sentence what the actual problem is, though? Something about bad vertex groups? Where do they come from?
User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel

Re: [Blender/IQM] Export crash bug workaround

Postby leileilol » Wed May 07, 2014 8:07 pm

It could potentially happen if you've refactored your armature to have less bones since weighting. In my case, it was removing a bunch of finger bones.
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: [Blender/IQM] Export crash bug workaround

Postby goldenboy » Wed May 07, 2014 9:05 pm

I see. Removing bones will leave bad vertex groups.

Thanks for the Unreal exporter trick.
User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel


Return to Modeling

Who is online

Users browsing this forum: No registered users and 1 guest