Development > Artwork

md2 Problems

<< < (2/4) > >>

Walle:
ok...
its geting closer, now i can export the file in blender, and it looks right i a md2 viewer, but i cant replace laserrifle.md2 with my file (ufo crashes with out error message in the buymeny) and i didnot find md2.pl, only broken links, problems with sourceforge? (edited the file by hand, so the path to the jpg is right).

So my question now is does md2.pl change more than just where the texture is? and can Ufo crash from a modell thats the wrong size?  the error might be that something broke when i edited the file....


**edit**
I exported the file again in blender (no changes) and the file got a lot larger (like 400K) and now the game is not crashing in the buy meny, but crashes when a mission starts. (and no model is showing for the laserrifle in the buymeny).

****


/Walle

Mattn:
ufo should not crash due to a broken model - it should report that the model is broken or something like that - could you upload the model somewhere. then i can check.

mattn

Walle:
I tried my "broken" model again and now the game dont crash but shows the model red(indicating its broken?)? but then i tried to change the path to the texture and the game crached so my editing of the file had broken somehow :roll: ...

but why is the first md2 file i crated with blender 200k and the second one created in blender 400k (created from the same model and texture)?

im going to upload all the files on a server, and where can i get md2.py? (did not work to get it from sourceforge).


**edit**
All the files i have used...
http://wallbing.com/filer/laserrifle.zip

And be nice about my uglymodel... its the first model ive made... =)

**     **

/Walle

Hoehrer:
The md2.pl script is located here:
http://svn.sourceforge.net/viewvc/ufoai/ufoai/trunk/src/tools/md2.pl?view=log

Usage:

--- Code: ---
./md2.pl triax.md2
IN=OUT= "triax.md2"
1 Skins found
Skin 0 old: ".triax.jpg"
Enter new path (Enter=Skip):models/soldiers/ugv_triax/triax.jpg
Skin 0 new: "models/soldiers/ugv_triax/triax.jpg"
--- End code ---


Though recently I've seen some models that use another (relative) path ... gotta ask mattn about that.


--- Quote from: "Walle" ---I tried my "broken" model again and now the game dont crash but shows the model red(indicating its broken?)?
--- End quote ---

When a texture isn't found it used a default (red/black) texture .. i doN#t know which one though.


--- Quote ---but then i tried to change the path to the texture and the game crached so my editing of the file had broken somehow :roll: ...
--- End quote ---

Thsi will always crash, becasue the termination of the string is somewhat picky.


--- Quote ---but why is the first md2 file i crated with blender 200k and the second one created in blender 400k (created from the same model and texture)?
--- End quote ---

That i don't know :-/ but is suspect it's a export-script thing.

Werner

Walle:

--- Quote from: "Hoehrer" ---The md2.pl script is located here:
http://svn.sourceforge.net/viewvc/ufoai/ufoai/trunk/src/tools/md2.pl?view=log

--- End quote ---


Can somebody send this file to me?  i get a "404 Repository not found" when i try to download it

And can somebody look at my model (not my md2 files in the zip that dont work but the normal modeling files i have there) and tell me what i need to change, like moore details/ less details, do like this / dont do like this, etc.   right now i now that my model looks to mutch like laserrifle, and if im going to do some other modeling i want to learn how the model should be like, how mutch details and stuff like that...

http://wallbing.com/filer/laserrifle.zip


/Walle

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version