• 0

    posted a message on M3 Importer (3ds Max script) - certain files error

    Hi folks, the plugin/scripts are temporariliy up on Rapidshare until NiN includes them into his assets:

    RL Link

    There seems to be an error where the script won't export, if you run into this, try running the script manually in Max ("Run Script..." from the Maxscript tab) so it reloads. Then try exporting again. (Previous feedback says this happens on 3dsMax 32bit, but not 64bit, but just try it yourself).

    Happy testing and remember to post feedback (pics, errors, whatsoever).

    Otacon2k

    Posted in: Third Party Tools
  • 0

    posted a message on M3 Exporter

    He already did, by the way. I sent him the scripts and he will put them to his assets.

    Posted in: Third Party Tools
  • 0

    posted a message on M3 Exporter

    I've updated the scripts recently to support import and export of (working!) lights as well. See this thread for more information. I've asked NiNtoxicated to include it in his assets. If somebody is urgently craving for the scripts, I can also upload them to rapidshare or so, until I've got news from NiN.

    Otacon2k

    Posted in: Third Party Tools
  • 0

    posted a message on M3 Importer (3ds Max script) - certain files error

    I also made some pictures of the workflow: Pic 01: What you see when importing a file (floodlight01.m3 here) into 3dsMax: Pic01

    Pic 02: Floodlight with one of the spots selected: Pic02

    Pic 03: A simple box drawn below the floodlight and activated hardware shading in viewport settings to show light cones: Pic03

    Pic 04: The same file exported with the new export plugin and imported into Galaxy Editor:: Pic04

    Pic 05: The original floodlight01.m3 (left) next to the exported-imported-exported floodlight01.m3 (right). Marauders are there to show sadows cast by the spots. Note: The exported-imported-exported floodlight01.m3 doesn't cast shadows itself (by global illumination, while the original does. This doesn't seem to hae anything to do with the new plugins (must be an error in the old ones as well). The cones of the edited floodlight are not 100% identical to the original ones, but close (I'm gonna look into that further). If you play the animations where the lights switch on/off, the lights switch on/off accordingly, but in the exported-imported-exported floodlight01.m3, the animation of the emissive texture doesn't work. Pic05

    That's it for now,

    greetings, Otacon2k

    Edit: I made some progress in creating custom lights. I was able to put a spotlight onto the SiegeTank model (at the tip of the barrel), create a bone for it and link it to one of the bones of the original model. After keying all spotlight values for the animations, I exported it and voila, I had a light in the Galaxy editor previewer as well. And it was animated! Here some pics (1 - Tankmodel in 3dsMax, 2 - Tank in Previewer (Standard Shader), 3 - Tank in Previewer (Lighting Shader)):

    1: Pic02 2: Pic02 3: Pic02

    There's still some work to do (seems like here the cone angles weren't exported right and stuff), but all in all it works!

    Otacon2k

    News: The Imported lights work ingame as well. Here are some pics of enlightened Siege Tanks:

    Pic01 Pic02 Pic03

    Posted in: Third Party Tools
  • 0

    posted a message on M3 Importer (3ds Max script) - certain files error

    Hi guys,

    I used the easter holidays to dig int the m3-file format as well. I've extended the existing scripts and plugins, so there should be full light functionality by now. The changes in detail:

    1. There's a new import script, which imports lights from models into 3dsMax and shows them as actual lights (point or spotlights, depending on the lights in the model), You can manipulate color, hotspot and falloff angles and should also be able to animate them (as light animations are also imported from the models).

    2. There's a new export script, which exports models with lights, so they should work ingame. Galaxy editor shows them without problems (and with their animations), so there should be no problem. As I'm not that much into 3dsMax (got it only 7 days ago and was just playing with MAXscript), I can't tell for sure if you can animate lights by yourself as well, but somebody could try this and give feedback (when the script is published). I don't expect many problems though, as animated lights from original models (like gun fire effects) are im- and exported fine.

    3. There's a new version of the sc2objects.ms plugin, which has special Starcraft2 Lights defined, as there are still 2 or 3 variables I don't know the purpose of. To hold that data when importing models, those new lights had to be defined.

    I'm still looking into some minor bugs and will publish the scripts soon.

    Greetings, Otacon2k

    P.S.: Thanks to NiNToxicated for writing such a nice script in the first place. Digging through it taught me a lot about MAXscript and made writing the extra stuff not all too difficult.

    Posted in: Third Party Tools
  • To post a comment, please or register a new account.