SUPPORT ACCOUNT CLANS
Welcome, Unregistered.
 

Thread: Blender Model import/export scripts

Page 12 of 20 FirstFirst ... 28910111213141516 ... LastLast
Results 221 to 240 of 394
  1. #221
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Aug 2009
    Location
    Somewhere.
    Posts
    709
    It wasnt the script it was the model.
    If you look at the outliner.(One of the window types.)
    You can see an object called Plane.
    After deleting that the export worked just fine. (Right click that and choose delete.)
    I couldnt figure what it was.

    Also a question for theli.
    Does it matter if the scene has cameras or lamps in it?
    Do these affect the export in any way?
    I havent tried that and always export without them just in case.
    Last edited by Yuichi; 03-20-2010 at 05:02 PM.

  2. #222
    Offline
    Account Icon
    Join Date
    Aug 2009
    Posts
    66
    Oops, sorry that I didn't post the entire error.

    Code:
    ==========================export start=======================================
    Traceback (most recent call last):
      File "C:\Program Files (x86)\Blender Foundation\Blender\.blender\scripts\k2_ex
    port.py", line 657, in handle_button_event
        CreateK2Mesh(mesh_filename.val)
      File "C:\Program Files (x86)\Blender Foundation\Blender\.blender\scripts\k2_ex
    port.py", line 360, in CreateK2Mesh
        write_block(file,'mesh',create_mesh_data(mesh,vert,meshindex))
      File "C:\Program Files (x86)\Blender Foundation\Blender\.blender\scripts\k2_ex
    port.py", line 116, in create_mesh_data
        meshdata.write(struct.pack("<B",len(mesh.materials[0].name)))
    IndexError: list index out of range
    I'm assuming that the mistake is really simple since I'm a noob at this. Also, when using the exporter I'm unsure of what animation file to use?

    Anyways, here's a link to the blend if anyone can assist. Thanks!
    http://www.mediafire.com/?jyolmzbjjnu
    Last edited by Solidsneak; 03-21-2010 at 12:21 AM.

  3. #223
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Kyiv, Ukraine
    Posts
    1,873
    Quote Originally Posted by Yuichi View Post
    It wasnt the script it was the model.
    If you look at the outliner.(One of the window types.)
    You can see an object called Plane.
    After deleting that the export worked just fine. (Right click that and choose delete.)
    I couldnt figure what it was.

    Also a question for theli.
    Does it matter if the scene has cameras or lamps in it?
    Do these affect the export in any way?
    I havent tried that and always export without them just in case.
    yeah, it tries to export all objects of type 'Mesh' in current scene + first object of type 'Armature', lamps and cameras should not matter
    i'll think i'll add 'export selected only' somewhere in the future :-/


    Solidsneak, you need to have material assigned to your meshes

  4. #224
    Offline
    Account Icon
    Join Date
    Jun 2009
    Posts
    11
    thanks that worked!!

    the model was a ground plane i used for rendering, i had it invisible (moved to the second 'layer') while working on the mesh.

  5. #225
    Offline
    Account Icon
    Join Date
    Jun 2009
    Posts
    11
    still no full success, when i overwrite the .model file in the game, i have the new mesh, but no animations.
    i can see the particles and effects moving (e.g. when i attack or taunt), but the mesh doesnt follow...

  6. #226
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Aug 2009
    Location
    Somewhere.
    Posts
    709
    Interesting...
    I dont know what to do about that.
    Its the same thing over here when I try it with the model you uploaded.
    I hope theli knows more about this

  7. #227
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Kyiv, Ukraine
    Posts
    1,873
    t1ck , triangulate your mesh before exporting... script triangulates automatically but loses vertex groups then .. i'll see if i can fix that in script ...
    for now just make sure your meshes dont have quads before exporting

  8. #228
    Online
    S2 Staff Member S2 Games Staff
    Join Date
    Jul 2009
    Location
    Location, Location!
    Posts
    2,619
    Can anyone separate this into two models? I have no clue how to use blender, plus I tried importing it and it didn't seem to work right (animation looked all screwed up and there was a big box around the whole thing).
    savageTurret.zip

    It's already divided into multiple meshes I think, just need to save them as separate models so I can make the top rotate.

    S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
    -----------------------------



  9. #229
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Kyiv, Ukraine
    Posts
    1,873
    BlacRyu, in fact there are more then two .. like .. each leg is a separate mesh
    http://dl.dropbox.com/u/4443078/temp/turret_legs.model
    http://dl.dropbox.com/u/4443078/temp/turret_gun.model

    on a side not: i updated scripts a bit

  10. #230
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Oct 2009
    Location
    The middle of nowhere.
    Posts
    195
    I cannot for the life of me get exporting to work at all.

    Could someone explain to me what could cause this error?

    TypeError: Mathutils.DotVecs(): expects (2) vector objects of the same size
    Last edited by RocketLLama; 03-30-2010 at 02:53 AM.

  11. #231
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Kyiv, Ukraine
    Posts
    1,873
    RocketLLama , what version of blender are you using?
    i have no idea why that line of code fails for you
    it would help if you upload (pm it if don't want make it public) your .blend file

  12. #232
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Oct 2009
    Location
    The middle of nowhere.
    Posts
    195
    Yeah i figured the line of code would matter, but it was super late last night.

    Im fairly sure im using version 2.49.

  13. #233
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Kyiv, Ukraine
    Posts
    1,873
    Quote Originally Posted by RocketLLama View Post
    Yeah i figured the line of code would matter, but it was super late last night.

    Im fairly sure im using version 2.49.
    the problem is - while deleting some parts of a mesh you deleted faces but that left some vertices which do not belong to any face anymore...
    you can get rid of those orphaned vertices this way:
    select mesh, switch to edit mode, select all , deselect vertices with material1 assigned, delete

  14. #234
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Oct 2009
    Location
    The middle of nowhere.
    Posts
    195
    Quote Originally Posted by theli View Post
    the problem is - while deleting some parts of a mesh you deleted faces but that left some vertices which do not belong to any face anymore...
    you can get rid of those orphaned vertices this way:
    select mesh, switch to edit mode, select all , deselect vertices with material1 assigned, delete
    Thanks
    Last edited by RocketLLama; 03-30-2010 at 04:42 PM.

  15. #235
    Offline
    Account Icon
    Join Date
    Mar 2010
    Posts
    47
    Can anyone help me to change color of rune model plz? Really raped by blender T___T Or just tell me which steps to do :-s I've tried to change model's color, and when I export, it tells me face has no textures >"< Even when I just import and export, did nothing, I still got this error

  16. #236
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Kyiv, Ukraine
    Posts
    1,873
    Quote Originally Posted by So`lare View Post
    Can anyone help me to change color of rune model plz? Really raped by blender T___T Or just tell me which steps to do :-s I've tried to change model's color, and when I export, it tells me face has no textures >"< Even when I just import and export, did nothing, I still got this error
    models has very little to do with color ... you need to edit textures for what you want to achieve

  17. #237
    What version of hon hod manager works with the retail release of HON now? I used to have mods working before they release the big UI update in beta about a month ago and I want to get them working again since I bought the game.

  18. #238
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Ottawa, Canada, Earth, Sol Sector, Alpha Quadrant, Milky Way, Local Group, Universe
    Posts
    5,408
    Read. The. Forums.

  19. #239
    Offline
    Account Icon
    Join Date
    Sep 2009
    Posts
    1,423
    Can someone just explain to me how to install these scripts to blender? cause the link u gave leads to Blender's web page, I have no idea where to go next. just pls give me the step to step instructions in using these scripts. that way, it'd be easier. :/

  20. #240
    Offline
    Account Icon
    Join Date
    Jan 2010
    Posts
    3
    Excuse me, where can i download a s2z Importer for 3ds max or milkshape 3d??

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •