Important information: this site is currently scheduled to go offline indefinitely by end of the year.

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
Been thanked: 1 time

Aion cgf to Collada(remake script)

Post by teoma »

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
Been thanked: 1 time

Re: Aion cgf to Collada(remake script)

Post by teoma »

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: 678
Joined: Sun Jul 05, 2009 2:03 am
Has thanked: 104 times
Been thanked: 41 times

Re: Aion cgf to Collada(remake script)

Post by CriticalError »

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: 678
Joined: Sun Jul 05, 2009 2:03 am
Has thanked: 104 times
Been thanked: 41 times

Re: Aion cgf to Collada(remake script)

Post by CriticalError »

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