mrwonko / Blender-Jedi-Academy-Tools

Blender Importer and Exporter for the Ghoul2 model/animation format (.gla/.glm) by Raven Software, created with Jedi Knight: Jedi Academy in mind.
17 stars 6 forks source link

Can't import SoF 2 models easily #9

Open Nitestokeh opened 9 years ago

Nitestokeh commented 9 years ago

When I try to import .glm, it says "File not found! (no .gla?)" Was this script intended only for JA or am I doing something wrong?

spoilt-exile commented 9 years ago

Unfortunately this plugin usage is a bit complicated. You must use blender 2.6.3 but not above 2.6.x; You must extract JA game asset pk3 entirely and define it location as parametr during import.

Nitestokeh commented 9 years ago

Thanks for such quick reply. I have everything extracted and location defined, yet something's still wrong.

spoilt-exile commented 9 years ago

AFAIK there is some limitation in extracted folder name (!). It should be just 'gamedata' or something else. I'll check this at evening on my home pc. Plugin works fine there.

P.S. Path to game data folder should contain only english chars.

mrwonko commented 9 years ago

Yeah, it's built with Jedi Academy in mind. If your paths are not relative to a subfolder of GameData that also contains the file you're importing (e.g. you're importing C:/JKA/GameData/base/models/mymodel.glm which references models/myskeleton.gla, which will be taken to be relative to C:/JKA/GameData/base based on the /GameData/ in the path) you'll have to set the basepath property on import.

So if you're importing C:/SOF2/models/mymodel.glm you'll want to set the basepath to C:/SOF2/.

This plugin is part of a Plugin Suite which also contains some documentation that you may want to read.