[REL] Blender importer/exporter for PAPA files - v0.5

Discussion in 'Mod Discussions' started by Raevn, June 15, 2013.

  1. ephoscus

    ephoscus Member

    Messages:
    93
    Likes Received:
    1
    Re: [REL] Blender importer/exporter for PAPA files - v0.3

    @tylerseacrest
    Cheers! I'll give that a go - I think the step I missed was installing the zip directly - I had created the folders myself.
  2. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Re: [REL] Blender importer/exporter for PAPA files - v0.3

    Anyone good with matrix rotation math? I'm not having much success with the bone rotations.
  3. ozonexo3

    ozonexo3 Active Member

    Messages:
    418
    Likes Received:
    196
    Re: [REL] Blender importer/exporter for PAPA files - v0.3

    Just tell what you need and we will see ;) Can you send me bones data? I dont have access to my PC right now to look into PAPA files, but maybe i can help
  4. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Re: [REL] Blender importer/exporter for PAPA files - v0.3

    Got it!


    Turns out, I was waaaaaaaay overcomplicating things. Now just need to fix up the exporter.

    Attached Files:

  5. mushroomars

    mushroomars Well-Known Member

    Messages:
    1,655
    Likes Received:
    319
    Re: [REL] Blender importer/exporter for PAPA files - v0.3

    Thanks for doing all this raevn.
  6. KNight

    KNight Post Master General

    Messages:
    7,681
    Likes Received:
    3,268
    Re: [REL] Blender importer/exporter for PAPA files - v0.3

    I r excite.

    Mike
  7. brandonpotter

    brandonpotter Well-Known Member

    Messages:
    966
    Likes Received:
    389
    Re: [REL] Blender importer/exporter for PAPA files - v0.3

    Sooo wicked :D

    Cant wait for a 3DS Max version :3
  8. rorschachphoenix

    rorschachphoenix Active Member

    Messages:
    507
    Likes Received:
    89
    Re: [REL] Blender importer/exporter for PAPA files - v0.3

    I am too!
  9. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
  10. shadowmint

    shadowmint New Member

    Messages:
    17
    Likes Received:
    7
    Re: [REL] Blender importer/exporter for PAPA files - v0.3

    Oh no, this is awesome work.

    Why? Because of this magic:

    Code:
    /Applications/blender.app/Contents/MacOS/blender -b --python auto.py --python-text "target=blah/blah.papa"
    
    That's right, you can use blender as a scripting tool to do things like, say, load units, rotate them to a specific coordinate, render an icon, etc. As a batch.

    Very, very useful being able to do that as one step.
    thatothermitch likes this.
  11. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    Re: [REL] Blender importer/exporter for PAPA files - v0.4

    I've uploaded v0.4. The exporter still messes up bones with rotation, but they import fine now. Given Uber will soon release papatran, I'm putting work on the exporter on hold. Matrix math does my head in.
  12. menchfrest

    menchfrest Active Member

    Messages:
    476
    Likes Received:
    55
    Re: [REL] Blender importer/exporter for PAPA files - v0.4

    So I can't really help with most of this modding stuff, but I can do matrix math, I can take a look at it if you want.
  13. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    New version out, still no export love for rotated bones, but the importer should now be able to import certain .papa files it couldn't before (such as the terrain meshes).
  14. boethewicht

    boethewicht New Member

    Messages:
    2
    Likes Received:
    3
    Hey guys,

    Big thx for the import-tool for blender :D

    I´m totaly new to blender and want to get some images of the units and buildings for a german RTS-Info-Site.

    So, i wonder if the .papa Object files include the textures?
    If so, how can i make a own rendering of any object with the original in-game textures?

    greetz
  15. accuso

    accuso New Member

    Messages:
    9
    Likes Received:
    0
    hi guys...

    i am fairly new to blender and therefore a newb... i wanted to ask a few basic questions about the importing tool...

    first off... how do i get the textures correct... basicly i am importing the papa-file for a certain unit (for example the delta commander with delta.papa)

    the mesh is working correctly... but the animations are missing completly as well as all the textures for the units... therefore i got the mesh and the bones in blender... but have to make my own materials and animations... which is kind of very hard work for a newb who just wants to try things out :-D

    am i doing something wrong? do i need certain settings and addons?? could you please give us a quick walkthrough your addon :-D or some hints?

    thank you in advance :-D

    edit:

    i kind of fixed some textures... for the commander i come up with this...

    [​IMG]

    but when i use the same options with a tank and the textture for the tank i come up with this... -.-

    [​IMG]


    any idea what this might be ???
  16. Gorbles

    Gorbles Post Master General

    Messages:
    1,832
    Likes Received:
    1,421
    At a guess it's not importing the UVmap correctly. Though that's the neatest UV mishap I've seen, in other games they tend to be much uglier.
  17. accuso

    accuso New Member

    Messages:
    9
    Likes Received:
    0
    the same problem accurs with most of the structures and other units as well... either PA is generating the files and ressource another way around for some units... or i have outdated files somehow -.-

    has anyone imported to json files and the mashed to 3ds and is willing to post them??
  18. thepilot

    thepilot Well-Known Member

    Messages:
    744
    Likes Received:
    347
    It's working nicely!
    In the spirit of open source, you should make the codebase public.
  19. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    The importer/exporter it's python scripts or you mean raevn need to upload it on github?
  20. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    The files are just python scripts in plain text, so are freely viewable and editable. I suppose I should stick some kind of license on them as per viewtopic.php?f=72&t=49634.

    It's working for the adv. tank for me:

    Attached Files:

Share This Page