Aion cgf to Collada(remake script)

Post questions about game models here, or help out others!
Post Reply
teoma
ultra-n00b
Posts: 5
Joined: Wed Mar 11, 2009 10:22 am

Aion cgf to Collada(remake script)

Post by teoma » Thu Apr 16, 2015 10:08 pm

i dont want to bump old topic viewtopic.php?t=3999&f=16 ,cause its too old noone is there anyway,
but the problem still remain unfixed - its impossible to convert all files in folder, as per each .cgf == .dae, cause now if you select all files in folder, and turn them in a loop(for), you get every single file .cgf(In folder) will be attached in new .dae, for example there is x1.cgf; x2.cgf;x3.cgf; when you make a loop like this

Code: Select all

	os.chdir(meshPath)
	for name in os.listdir("."):
		#if name.endswith(".cgf"):
		converter.AddMesh(name), r"%s\%s.cgf" % (meshPath,name))
all you get is x1.dae(normal), but x2=x1.cgf+x2.cgf = x2.dae, means mesh from first model is attach with second model(mesh) and thats not what should be !
I dont rly know python that much to be able to find where is that damn loop that makes that, and even if i find where it is i have no idea of how it could possibly be fixed, so please if someone can fix this ! please.

teoma
ultra-n00b
Posts: 5
Joined: Wed Mar 11, 2009 10:22 am

Re: Aion cgf to Collada(remake script)

Post by teoma » Fri Apr 17, 2015 1:36 pm

anyway BIG thx to the Chrrox i finnaly maded that damn script!

if anyone wants i can share it, or if not just thx Chrrox!

User avatar
CriticalError
double-veteran
double-veteran
Posts: 677
Joined: Sun Jul 05, 2009 2:03 am
Has thanked: 99 times
Been thanked: 37 times

Re: Aion cgf to Collada(remake script)

Post by CriticalError » Fri Apr 17, 2015 9:59 pm

teoma wrote:anyway BIG thx to the Chrrox i finnaly maded that damn script!

if anyone wants i can share it, or if not just thx Chrrox!
so good job dude, share it [bruce]

User avatar
CriticalError
double-veteran
double-veteran
Posts: 677
Joined: Sun Jul 05, 2009 2:03 am
Has thanked: 99 times
Been thanked: 37 times

Re: Aion cgf to Collada(remake script)

Post by CriticalError » Sat Oct 31, 2015 12:41 pm

we still waiting for your modification in script? why don't share it? ask for help and no help others?

Post Reply