Joined: Sat Jun 12, 2004 12:53 am Posts: 2884 Location: _____________________________ Current Scorched3d Rank: 1 _____________________________ *clink*
Berem, I haven't had much time to work on this lately, but I'll attach my most recent one to try. Off the top of my head, I can't remember which (if any) of the problems you're having might have been addressed, but since I may not get back to it anytime soon, I thought I'd just post it for you.
Let me know how you make out.
cbx
Attachments:
File comment: This is *not* a "release" - just here for trials. ;) s3dexport.zip [2.93 KiB]
Downloaded 37 times
To be honest, I don't fully understand that page, but it sounds like it provides the answers you need. - Deathstryker
She doesn't stimulate me mentally or physically... I need at least one of those - Anonymous
Joined: Sun Aug 21, 2005 9:23 pm Posts: 106 Location: Hungary
Helo I tried it and the problem is the same, u have some scripts maybe what i dont have and these mod_meshtool, and mod_flags are these, because the script cant import these, when I start exporting in blender, because I dont have like this. You can check the error msg too. So if you can post me these scripts, or what else these plz send me in email, or here.
Joined: Sat Jun 12, 2004 12:53 am Posts: 2884 Location: _____________________________ Current Scorched3d Rank: 1 _____________________________ *clink*
I can't test right now, but try the following:
- delete the import mod_meshtools and mod_flags lines
- after the "import Blender", add a line that reads:
Code:
from Blender import *
cbx
btw: Worst case, if you downgrade to a Blender version <2.40 it should work, however, I do want to fix this, just haven't had much time.
Thanks for the feedback though.
To be honest, I don't fully understand that page, but it sounds like it provides the answers you need. - Deathstryker
She doesn't stimulate me mentally or physically... I need at least one of those - Anonymous
Joined: Sun Aug 21, 2005 9:23 pm Posts: 106 Location: Hungary
Hi I dont haste you in fix this problem, because I use untill the Milshape, after this script will work I will use blender, because it have more acessory.
Post subject: Reapair MS3D ASCII exporter for S3D :D
Posted: Mon Sep 25, 2006 10:43 am
Charred
Not Signed Up For Stats
Joined: Sun Aug 21, 2005 9:23 pm Posts: 106 Location: Hungary
Hi I repaired the S3D export script I show the changes in pictures too .
There was two module in the script what you called cbx550f this two module is mod_meshtool, and mod_flags, these modules in the newest blender you cant find because it is placed in one file called meshtool.py, so let talk the screenshots The pictures show only the modflags change to meshtool, but but dont forget the mod_meshtool syntaxes changed too this is only examples. And last I posted the repaired script too
Attachments:
File comment: After the changes myproblemsolution.jpg [ 106.93 KiB | Viewed 901 times ]
File comment: The bad imported modules and the problem source myproblem.jpg [ 133.59 KiB | Viewed 901 times ]
"For the Emperor!!!!"
Last edited by Berem on Mon Sep 25, 2006 9:05 pm, edited 1 time in total.
Joined: Sun Aug 21, 2005 9:23 pm Posts: 106 Location: Hungary
I solve a problem, and there is an another why WHY MEEEE I ask Here it is the exporter script make coded the exported models txt file, so I cant use it in schorch Here I post two pictures what shows you what my problem is.
Pls help because my milkshape is expired and I dont wana buy it.
Attachments:
File comment: When I opened a modell whit notepad what was exported with milkshape I saw this good.JPG [ 137.14 KiB | Viewed 900 times ]
File comment: When I opened the file with notepad I saw this another problem.JPG [ 335.38 KiB | Viewed 900 times ]
Joined: Sun Aug 21, 2005 9:23 pm Posts: 106 Location: Hungary
Really if you said, but scorched saic, for this unknown file type, maybe I gived some special parameter in blender, or I dont gived, dunno, because I cant texture my modells in blender, with biturn converter, I see my modells, but they dont have the texture, what I gived them, so somebody sohwme what do I wrong.
Joined: Sun Aug 21, 2005 9:23 pm Posts: 106 Location: Hungary
Now its works, so as you said, but there are missed some lines of the end of the model if you open it after export, I think thats the cause why I cant use at first time, now I inserted to the end and its worked, only I need to learn how to texture with blender, and how to use blender good for scorched modelling. And here are the missed lines:
Joined: Sun Aug 21, 2005 9:23 pm Posts: 106 Location: Hungary
Now I solwed the unkown fileformat problem. The problem source was in the material lines, it was this:
...
file.write(str(material.hard) + "\n") # MS3D "shininess" = blender "gardness" (I think)
...
You thinked bad, because shininess is emit so I changed the line to this and putted in the following things what I before asked from you :
.....
file.write(str(material.emit) + "\n") # MS3D "shininess" = blender "emit" (I think)
.....
file.write('\nBones: 0\n') # we don't need no stinking bones for Scorched! file.write('\nGroupComments: 0\n')
file.write('\nMaterialComments: 0\n')
file.write('\nBoneComments: 0\n')
file.write('\nModelComment: 0\n')
....
now its correct, after export I opened with wordpad, and there was everithing correct in the file there was no missing things And here is the corrected script to
Joined: Sat Dec 18, 2004 7:20 pm Posts: 2015 Location: USA
The bones are for when you make a model to play in the game as or an animated model for the game. SO even if your making a weapon model they still need to be there for the game engine to say "it looks right"
Beware the VOID
When in doubt on why your mod broke...
it's all Bobirov's fault.
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum