Home General Discussion

Anyone tried creating assets for ArmA 3?

1
polycounter lvl 8
Offline / Send Message
Stirls polycounter lvl 8
Gah, I'm tearing my hair out over the rvmat materials and the Oxygen 2 editor. That said, I only started my mod this morning, but it's incredibly complex to import a single asset.

Anyone here have a workflow for it? I'm just approaching the actual testing phase of the weapon, but I don't have high hopes!

EDIT - Wow, this thread blew up. I love polycount.

Replies

  • Drav
    Offline / Send Message
    Drav polycounter lvl 9
    I was just coming here to guess from Arma 2 exporting, it would probably be a very annoying and difficult pipeline, but I think youve found that out already :D
  • Stirls
    Offline / Send Message
    Stirls polycounter lvl 8
    Indeed it is! I used to call Bohemia lazy for not really producing that many "new" models for A3, but now I realize that it's just because they have their entire team trying to navigate that dreadful UI and figure out how to do stuff!

    Fortunately, the actual code which is used for the materials and the weapon trajectories/directories isn't too bad.
  • cptSwing
    Offline / Send Message
    cptSwing polycounter lvl 11
    Oh man, here I was hoping they'd have moved to a FBX pipeline or something similar. Oxygen is a nightmare.
  • kaptainkernals
    Offline / Send Message
    kaptainkernals polycounter lvl 12
    Arma's modding tools are terrible, and I doubt it'll change anytime soon.

    Re, FBX, O2 can finally import FBX files, but it's under the export menu...

    Harry on polycount is one of the few guys here that i know of thats gotten models in:

    Simple material guide
    http://harrysite.net/talk/showthread.php?tid=330

    Material explanations:
    http://harrysite.net/talk/showthread.php?tid=331

    Otherwise, just use the example configs that come with the A3 tools suite. It might take a bit of setup to get it to reference the correct texture files etc.

    And for textures, they have to be .paa, which you can either get a PS plugin for, or use the texview 2 app - the A3 tools don't come with it yet...

    Basically, the A3 tools are a disaster.

    And i wouldn't call BIS lazy, just a incompetent, with really bad decisions made time and time again - it's like they don't learn. Don't get me wrong, Arma is a great game, and platform, but could be so much more...
  • Stirls
    Offline / Send Message
    Stirls polycounter lvl 8
    cptSwing, unfortunately not. Don't even get me started on the animation tools. I wonder if there's a way of importing maya or max animation files..

    kaptainkernals, I haven't seen these tutorials before. They'll be beneficial to anyone hoping to conquer the summit of Mt. Oxygen 2. I agree. It's really odd for such an.. irregular company to be producing such a great AAA game. Well, I'd call it AAA.

    I'm just scripting the animation of my weapon now, but I can tell as soon as it gets into ArmA 3 there'll be hell to pay.
  • praetus
    Offline / Send Message
    praetus interpolator
    Is ARMA 3 set up any different then ARMA 2 for importing? We use VBS2 at work (the military version of ARMA2) so I'm pretty used to the workflow. What exactly are you having trouble with?
  • kaptainkernals
    Offline / Send Message
    kaptainkernals polycounter lvl 12
    A3 is definitely AAA.

    The animation is a whole different thing as well. I don't see the animation editor in the A3 tools either, likely not added yet.

    http://community.bistudio.com/wiki/Arma_3_Modding_Characters

    http://community.bistudio.com/wiki/Category:Arma_3:_Tutorials

    http://community.bistudio.com/wiki/Category:Arma_3:_Editing

    Hopefully those links come in handy, but BIS documentation has never been very complete, or completely helpful. And i've always been amazed that any mods get created for this game, considering the how unnecessarily complex and unrefined the tools and the process are

    Seems they're planning on implementing FBX animation support, so we can always hope we get that.

    Looking forward to seeing the weapon you're getting into Arma, you going to put it up on armaholic when it's done?

    Arma can definitely do with some content created by a pro. A lot of the content is either forward ports of content from Arma1 and before, or it's just badly made in a lot of cases.
  • MainManiac
    Offline / Send Message
    MainManiac polycounter lvl 11
    And i wouldn't call BIS lazy, just a incompetent, with really bad decisions made time and time again - it's like they don't learn. Don't get me wrong, Arma is a great game, and platform, but could be so much more...
    Yep

    The performance of A3 alone is enough to make people think twice about modding it. I don't like when devs tell you that you need better hardware when you shouldn't.
  • Xendance
    Offline / Send Message
    Xendance polycounter lvl 7
    I can imagine that the archaic tool chain of ArmA makes a lot of designers not to apply for work at Bohemia Interactive too. Such a shame really.

    I'm hoping that Visitor at least has been updated. Never used the old one but it seems awful. But I still hope to make a 16 km * 16 km terrain/map of the area around my childhood home :)
  • Stirls
    Offline / Send Message
    Stirls polycounter lvl 8
    praetus wrote: »
    Is ARMA 3 set up any different then ARMA 2 for importing? We use VBS2 at work (the military version of ARMA2) so I'm pretty used to the workflow. What exactly are you having trouble with?

    A whole lot of stuff. Mainly the config.cpp part of things. Never done coding before so it's a real hassle! I don't suppose you'd mind if I sent you a PM with some of my troubles, would you?

    Yeah, Visitor is one of the only things that I may be able to work well with! Looks neat.
  • Justin Meisse
    Offline / Send Message
    Justin Meisse polycounter lvl 18
    Xendance wrote: »
    I can imagine that the archaic tool chain of ArmA makes a lot of designers not to apply for work at Bohemia Interactive too. Such a shame really.

    Working in a production environment is a lot easier than trying to figure it out on your own. It's the difference between reading documentation or asking the person who made the tools show you how to use them.
  • praetus
    Offline / Send Message
    praetus interpolator
    Working in a production environment is a lot easier than trying to figure it out on your own. It's the difference between reading documentation or asking the person who made the tools show you how to use them.

    I can definitely stand behind this statement. When I started 3+ years ago at my job the VBS toolset was not the funnest thing but being able to ask people I worked with to show me the tools/workflow really helped out. Oxygen is pretty backwards, but honestly as modelers we hardly use it. We set up most everything in Max before exporting separate fbx files for all the LODs.

    We'll use O2 it for setting up LODs as well as using Buldozer to preview out RVMAT files. I'd say the programmers use O2 the most for laying out memory points and setting up proper selection groups.
  • Justin Meisse
    Offline / Send Message
    Justin Meisse polycounter lvl 18
    yup, same with me, I've worked with the Gamebryo engine for almost 6 years and I the only complaint I've had about it was as an environment artist, it has some alpha sort issues that require you to place zmode values inside mesh properties.

    I'm sure there are problems with it but I haven't heard anyone articulate an actual reason to hate it. The closest I've gotten where people complaining about the tools and AFAIK gamebryo doesn't really ship with much outside of an exporter & model viewer, the tools & pipeline have to be developed by the studio.
  • kaptainkernals
    Offline / Send Message
    kaptainkernals polycounter lvl 12
    praetus wrote: »
    We'll use O2 it for setting up LODs as well as using Buldozer to preview out RVMAT files.

    Unfortunately the Arma3 tools have introduced new problems, they've scrapped the P drive (at last), but they haven't really gotten around to sorting their tools to cut the P drive out properly. Buldozer isn't there, so you can't review your work, you need to package your mod and get it in game to preview it now - which would be fine, but the process still isn't great - with no proper guide on setting up the new environment

    And a lot of modders have reverted to using a Frankenstein of the A3 tools, with A2 buldozer and P drive setup, and a host of other weird work arounds to get the tools to be somewhat usable. As the A3 tools that BIS have given us, are even less usable than the A2 tools.

    And I agree about the production environment and tools, unfortunately, Arma tool documentations is not always helpful, and the only way you get into it, is with help from the community - the devs don't really give much help on their forums.
  • Stirls
    Offline / Send Message
    Stirls polycounter lvl 8
    they've scrapped the P drive (at last)

    I wish I knew this a few hours ago when I didn't have a mirror drive :|

    However, it is useful for checking textures. Ridiculous that Buldozer needs a mirror drive to run.
  • kaptainkernals
    Offline / Send Message
    kaptainkernals polycounter lvl 12
    Yup, you need to use the addon builder to build your mod to test it:

    https://community.bistudio.com/wiki/Addon_Builder

    Unfortunately not very clear documentations

    This tutorials is clearer:
    http://ohplz.ca/tuts/00/index.html

    (Also a guide to setup P drive, and get buldozer working again), personally I'm staying clear of the P drive, it's just a mirror of a folder anyway, and the only functionality it provided was buldozer.

    Including a list of file extensions you should include in the list of fiels to copy in the options panel of the addon builder. - and just set the Addon Source directory to the folder where your source assets are kept.
  • Xendance
    Offline / Send Message
    Xendance polycounter lvl 7
    Well, if anyone is interested in making addons for the game, I suppose it's better to start crackin' ;)

    http://makearmanotwar.com/
  • kaptainkernals
    Offline / Send Message
    kaptainkernals polycounter lvl 12
    And they've released all the content for A1, and A2 for modders to edit and forward port to A3:

    http://community.bistudio.com/wiki/Public_Data

    And if you grab the A2 content, it'll provide a clearer insight into how weapons, vehicles etc are created for Arma - will be missing A3 specific stuff, but will still be educational.
  • Stirls
    Offline / Send Message
    Stirls polycounter lvl 8
    Jeez, you guys are really helpful! Thanks :D
  • kaptainkernals
    Offline / Send Message
    kaptainkernals polycounter lvl 12
    Happy to help, I've been playing Arma, and messing about in the editors for ages.

    I'm currently waiting on the new Visitor to be released, so I can make a few small maps for specific mission ideas I have.
  • The Mad Artist
    Offline / Send Message
    The Mad Artist polycounter lvl 13
    VBS2 was sold at my last job, so at one point I had to get familiar with creating assets for it as well. Honestly, I don't know anyone that used Oxygen for anything other than setting up LODs and nodes and such. The main hurdle are the config files, but really the way I learned was just taking existing config files and copy and pasting. That, and lots of trial and error. Info online is a bit scarce for anything more complicated that a building, but I came across a few good sites. They are on my comp at home, I'll try to look later tonight and post em here if I can find them.
  • Stirls
    Offline / Send Message
    Stirls polycounter lvl 8
    kaptainkernals good to hear there's a new Visitor being released.


    The Mad Artist that would actually be really helpful. When the concept artist and I were planning, we had no idea how bloody annoying it would be to get weapons and stuff into ArmA. Hopefully assets are a bit easier.
  • The Mad Artist
    Offline / Send Message
    The Mad Artist polycounter lvl 13
    Doing stuff like buildings with moving doors is a good way to start kinda understanding how you set up weapons and vehicles and such. Cuz yeah, it's not very intuitive.
  • Synaesthesia
    Offline / Send Message
    Synaesthesia polycounter
    I'm hanging with the Bohemia guys in their Orlando office right now. I'll have them read this thread, maybe somebody will pop in to help out. :)

    /Edit
    //For what it's worth, they agree that Oxygen sucks. :\
  • ScubaSteve
    Offline / Send Message
    ScubaSteve polycounter lvl 17
    @ stiris....I only use O2 to sort out alpha cards. The rest of the stuff I use 3d studio max. As for animation deals you use dummy nodes to do that.

    I am at Bohemia Interactive. I can help with your questions if need be. There are stories that go a long with the tools.
  • Stirls
    Offline / Send Message
    Stirls polycounter lvl 8
    ScubaSteve wrote: »
    @ stiris....I only use O2 to sort out alpha cards. The rest of the stuff I use 3d studio max. As for animation deals you use dummy nodes to do that.

    I am at Bohemia Interactive. I can help with your questions if need be. There are stories that go a long with the tools.

    Wow! Hey!

    My problems are mostly with the binPBO compiling side of things at this stage, and some of the weapons scripting/code. Is there some sort of legend/key to find out what a lot of the lines mean?

    Also, what's the workflow like for you guys over at BI? I'd love to give a hand at animating with Maya, but I have no idea how to import animations into Oxygen.

    I have a bunch of menial questions, but honestly they'd just clog the thread up and make it harder to navigate. If you don't mind, I'd like to PM you some of 'em.
  • ScubaSteve
    Offline / Send Message
    ScubaSteve polycounter lvl 17
    http://makearmanotwar.com/ btw this is a competition that might be fun for anyone out there. Lot of money to be had.

    I don't know much about the packing stuff and scripting and coding. I have a rough idea. We have designers that do that work.

    Animations depend on what you are doing. The memory point LOD define axis that you can move your objects on. As in barrels of guns or tank turrets yada yada yada. As far as exporting stuff out that was hand animated. Its RTM file. Have not done to much with that. I shall look into it. Its all setup with dummy nodes and moving stuff along its dummy nodes axis. I don't do that much with characters.
  • praetus
    Offline / Send Message
    praetus interpolator
    When it comes to animating characters at work, we use the RTM kit for Maya. For major vehicle or prop animations we use a custom export plugin for Max that was written internally, so I can't share it unfortunately.

    Granted this is for VBS2 but I think O2 is the same either way. To test animations in O2 for characters load up your rigged mesh. Then in the animation window (this can be accessed by pressing Shift+F2 if it's not open) right click in window and click the "From Matrices (all LODs)" Find your RTM file and load it in. You see a ton of stuff get loaded into the window and you can scroll through the info with the up/down arrow keys on your keyboard to run through the animation. A quick note is that if you're messing with a character, the face may not animate properly or look like it isn't rigged. This is normal because all facial animation are handled through some voice plugin in game. They won't always scroll with the animation.
  • kaptainkernals
    Offline / Send Message
    kaptainkernals polycounter lvl 12
    I never realised there were quite so many people either working professionally on VBS, or that there were many A3 players on polycount quite interesting.

    @The Mad Artist, if you find those links you have on your PC that are Arma / VBS guides, I'd be quite interested in seeing them as well.
  • ScubaSteve
    Offline / Send Message
    ScubaSteve polycounter lvl 17
    There are people here in the process of doing documentation. No clue when or if it will be released. I have complained about the lack of documentation as well.

    As far as o2 goes Gnats does a good job at showing stuff in o2.
    [ame="http://www.youtube.com/watch?v=YqFss3fzt5w&list=TLBQt9DsSjTluAW5wJ3_je_U11bcV8Eu6O"]Oxygen2 - Tutorial #1 - ArmAII Editing Tools - YouTube[/ame]
  • kaptainkernals
    Offline / Send Message
    kaptainkernals polycounter lvl 12
    Yeah, got most of his tutorials, and bushlurker etc. But even from them, there are still gaps in knowledge, especially as far as the new physx integration in A3, no explanations on setting up aircraft, or boats, or cars for A3, so even Gnat is busy fighting with wheel colliders and airplaneX etc.
  • The Mad Artist
    Offline / Send Message
    The Mad Artist polycounter lvl 13
    Stirls wrote: »
    kaptainkernals good to hear there's a new Visitor being released.


    The Mad Artist that would actually be really helpful. When the concept artist and I were planning, we had no idea how bloody annoying it would be to get weapons and stuff into ArmA. Hopefully assets are a bit easier.

    Ok, found these. Now these are for Arma2/VBS2, so don't know how much has changed, but these were really helpful for me back in the day. Man it's been awhile since I've messed with VBS2:

    http://community.bistudio.com/wiki/Mondkalb%27s_Addon_Tutorial
    http://tactical.nekromantix.com/wiki/doku.php?id=ofp:modeling:tutorials
  • Stirls
    Offline / Send Message
    Stirls polycounter lvl 8
    praetus hell yes! Thank you for the plugin.

    ScubaSteve this is good news. That competition looks like some fun, we'd enter but I think my coding incompetence is enough to suggest we wouldn't win. Well, not without a proper coder.

    The Mad Artist thanks for the links.
  • Synaesthesia
    Offline / Send Message
    Synaesthesia polycounter
    I never realised there were quite so many people either working professionally on VBS, or that there were many A3 players on polycount quite interesting.

    @The Mad Artist, if you find those links you have on your PC that are Arma / VBS guides, I'd be quite interested in seeing them as well.

    We tend to work on several types of simulator technology at once. Some of the simulators we work with use it, so VBS 2 is a nice breath of fresh air compared to some of the older systems we're accustomed to.
  • Bek
    Offline / Send Message
    Bek interpolator
    Stirls, did you ever have any luck with this? I've just installed the Arma 3 tools myself (following some of the links in this thread, so thanks for all the info everyone)—o2 works but when I launch buldozer, it starts loading but then Arma 3 crashes. I'm on win8 and I've tried setting o2/buldozer to run as admin, no luck.

    Another thing I'm not clear on is where I can get my hands on Arma 3's RVMATS. There are a2 ones on the net but I assume things have changed for a3? The rvmats extracted from arma 3's .pbo's are junk when opened in notepad++ so I assume they're binarized. Am I missing something here?

    Still no further announcements on the Make Arma Not War contest yet either...
  • Stirls
    Offline / Send Message
    Stirls polycounter lvl 8
    Bek wrote: »
    Stirls, did you ever have any luck with this? I've just installed the Arma 3 tools myself (following some of the links in this thread, so thanks for all the info everyone)—o2 works but when I launch buldozer, it starts loading but then Arma 3 crashes. I'm on win8 and I've tried setting o2/buldozer to run as admin, no luck.

    Another thing I'm not clear on is where I can get my hands on Arma 3's RVMATS. There are a2 ones on the net but I assume things have changed for a3? The rvmats extracted from arma 3's .pbo's are junk when opened in notepad++ so I assume they're binarized. Am I missing something here?

    Still no further announcements on the Make Arma Not War contest yet either...

    Hey Bek, I'm just heading out right now but I'll give you a hand with some stuff in a bit. RVMATs are still the ArmA 2 ones, I believe. There's no terrain editor for A3 yet, as it still only supports four different terrain textures and that's it. I'm pretty sure Altis has at least 25-50 different terrain textures.
  • kaptainkernals
    Offline / Send Message
    kaptainkernals polycounter lvl 12
    For those of you doing arma mods, and specifically animation mods / work:

    http://community.bistudio.com/wiki/FBX_to_RTM

    The tools got updated today

    http://dev.arma3.com/techrep-00003
  • Bek
    Offline / Send Message
    Bek interpolator
    Interesting. I asked on the bohemia forum and someone gave me the fix to my buldozer crash; apparently after an update you also need to copy your steam_api.dll to your working directory.
  • Bek
    Offline / Send Message
    Bek interpolator
    Some questions / info:

    So Arma uses X+Y-Z+ it seems. Not sure what tangent basis though; MikkTspace looks quite bad. Looking at BIS job listings suggests they use max so I might try a max tangent space and see how that looks.

    Also when I import my model into o2 it has flipped faces (ctrl+a then W flips them back); but my model also imports mirrored, which is weird. Like the left is now the right side. FBX imports normally (not mirrored) but doesn't import vertex normals with FBX 2013 from modo. FBX 2010 works.

    rvmats seem fairly simple although I'm not yet sure if you can have coloured spec. Having to convert stuff to .paa is silly. Compression seems fairly harsh too (even when having maps x4 res since I believe the .paa converter quarters your maps).
  • praetus
    Offline / Send Message
    praetus interpolator
    In VBS2, the highest texture you can have is 2048. What texture size are you trying to use? As far as I know for me, as long as my texture is 2048 or less, it works fine.

    That's weird for FBX to be screwy like that, but it makes me think it has something to do with Modo's exporter. I have no issue at all exporting from max. The most important thing I can tell you though is you need to triangulate your model when you bring it in to O2. Even if you export a triangulated model, O2 will bring it in somewhat screwy. Use "/" to triangulate as it will recreate the proper triangulation from your export. "\" will triangulate the faces in the opposite direction and it will completely bone any surface normals baked into your normal map.

    Colored spec can be assigned in the RVMAT but it is per face that has the RVMAT applied, not per pixel. Bohemia drives me nuts with the way they use textures as it is incredibly wasteful. Detail maps use a 32 bit texture for a greyscale image that could be in one channel. Ambient shadow uses 24 bit for, again, something that could be thrown into a single channel of a multitexture. And yet with spec, the red channel is useless, green is spec and blue is gloss. Alpha isn't used at all. If there is a way around that, I would love to hear it but the way the run the RVMATs is so wasteful it drives me crazy. I really wish they would give it some type of overhaul.
  • Bek
    Offline / Send Message
    Bek interpolator
    I'm testing a model with 1024x1024 maps but I have something else that's 4096x2048 that I'd like to try. Might have to run that one at 2048x1024... I'm using the ImageToPAA.exe that comes with the tools rather than doing the conversion in o2. It has a flag for size but I can't see what size the outputted .paa's are anyway to verify exactly what is going on.

    And yeah I thought the way _SMDI spec maps worked was strange. I assumed red would be for masking some effect or something obscure but if it truly has no use that is quite odd. Having coloured spec per pixel would be much more useful, so that's a shame.

    What caused me to ragequit testing this the other night was that assigning a different rvmat to a specific selection of faces on a mesh caused the unselected faces using my original rvmat to screw up—it was either assigning my second rvmat everywhere regardless of my face selection or doing something else werid, I can't remember exactly. These are exceptionally frustrating tools.
  • Stirls
    Offline / Send Message
    Stirls polycounter lvl 8
    Heaps of tinkering later.. managed to get something of mine into the game.

    d2rn3ZT.jpg
  • Bek
    Offline / Send Message
    Bek interpolator
    Cool. Do you have transparency on the sight? And if so is it all one mesh? I had troubles assigning the glass rvmat (which was a 2 part rvmat) to certain polygons—it would appear correctly set up in the editor, but in buldozer ALL polygons used the glass rvmat, rather than just those I selected and assigned it to.

    You might have to play around with import file format too, if you're not getting vertex normals in correctly. Doesn't look like you've added your normal map yet either? You've gotta have the _NOHQ tag on the file; and use Y- / 3ds Max TS.
  • praetus
    Offline / Send Message
    praetus interpolator
    When applying any type of transparency to an object (via _ca file or a flat value) make sure to only apply it to the element that is transparent. If only a piece is transparent via alpha, a slight transparency will actually be applied to the entire element. So, you want to break off any part that is transparent to it's own element as well as it's own texture. Otherwise it throws off your entire mesh.
    You might have to play around with import file format too, if you're not getting vertex normals in correctly. Doesn't look like you've added your normal map yet either? You've gotta have the _NOHQ tag on the file; and use Y- / 3ds Max TS.
    Also, make sure to triangulate within oxygen again as sometimes upon import it will quad-ify your mesh for some reason, even if it were previously triangulated. You want to make sure to triangulate via "/" otherwise it will reverse the triangle orientation and screw up your normal maps.
  • hydeman
    Offline / Send Message
    hydeman polycounter lvl 4
    well done Stirls ! i try to import custom 3D elements too, it's very hard
    a tutorial will be awesome
  • Olli.
    Offline / Send Message
    Olli. polycounter lvl 8
    Hey guys did anyone manage to get normals to work properly? I get the best results with triangulate \ in O2. I baked my maps in 3ds max and exported the model with the 2010 version of FBX

    with triangulate \ the mesh seems to be correctly triangulated but the normal is sort of "overcorrecting" the surface. (for example if the mesh is convex and the normal tries to make it flat, it overshoots and the surface becomes convex)

    I think ill try adjusting the levels on my normal map in PS and maybe find some good values



    PS: ive also tried every possible export setting on handplane. Some came close but still very noticably off. (I think source engine was the closest)
    i did the handplane testing on a simple cube mesh with a single smoothing group.

    UPDATE: k after an hour of testing different values ive concluded its not possible to fix the normals by adjusting levels, at least not without breaking out some really insane graph editing stuff and it would take an eternity to find the right values.

    will need to find a different solution
  • Olli.
    Offline / Send Message
    Olli. polycounter lvl 8
    alrighty. I decided to break out the "insane graph editing stuff" after all since nothing else was working. I created a control mesh which was basically a flattened cylinder but with the normals preserved (so a flat plane with a round normal surface)

    I baked normals on to this control mesh from a flat plane, so in max the normals were working as intended and the control mesh was rendering as a flat plane with the normals.

    Next I moved on to oxygen where i realized i cant export explicit vertex normals with the FBX importer (im pretty sure its oxygens fault since i double checked that the normals are indeed exported with the fbx) BUT i managed to import vertex normals with the .obj importer, although even then i had to manually set all the normals to explicit (edit normals>parameters>make explicit).
    Now the only problem is that the .obj importer is a piece of shit compared to the FBX importer, but thats not relevant to the tangent space topic so ill leave that rant for another day.

    now that i had a control mesh, and a normal map which should make the mesh flat, i moved on to photoshop and started a long process of trial and error with the curve editor.. Here's what i came up with:
    PNk6l6j.png
    With this curve, the normal map correctly flattened my control mesh normals. (at least within the available spectrum)

    as you can see almost half of the spectrum is completely unused. If I hadnt spent the last month bashing my head against the wall with this engine I'd have discarded these results as absurd but quite frankly im not the least bit surprised.

    (all values below are approximate)
    To explain the curve a little more, basically what it does is instead of the usually -90 to 90 degree range of normal maps, the range is a lot less. Around -50 to 50 for 0-255. Additionally the "gradient" isnt linear, its slightly curved at the ends. The scale seems linear between around 95-160 and from there it starts to loosen, so one grayscale unit equals a smaller amount of degrees than it does within 95-160. My curve corrects that for the most part, but I made it completely by hand so its obviously not 100% accurate.

    Now if you'll excuse me i have a date with the obj importer.


    edit: I had a lot of trouble getting the obj importer to work properly (invertex faces, mirrored normals, all kinds of creepy stuff) so i might as well post solutions i found here. in order to import a model properly with the .obj importer, first i had to rotate my mesh 180 degrees around the X axis (so its upside down) then I reset xform and exported the .obj with all optimization options off, flip YZ on and all the normal stuff ticked. (also export as quads, its easier to triangulate in o2 since results may vary so you dont have to re-export)

    In o2 you just import the obj with FLIP Y ticked. I also had to triangulate \ (NOT triangulate / as a lot of people in this thread claim to be the correct way)

    the reason you have to rotate the mesh 180 degrees before you export is because if you dont have flipY ticked in the importer, your faces will be flipped, and if you dont have the mesh rotated 180 degrees, flipY will import your mesh upside down, and if you try to rotate it in o2 the mesh will rotate but the normals wont, so itll FUBAR.

    i would give anything to meet whoever implemented this pipeline so i could give them a real good slap on the face.

    edit: also apparently the conventional workflow of "import mesh in to new o2 window > set up selections > copy and paste in to main o2 window in to correct LOD" doesnt work, since the vertex normals appear to be reset when you copy-paste, but fortunately the obj importer doesnt wipe the whole scene when you import something in so you can import directly in to your main p3d
  • Olli.
    Offline / Send Message
    Olli. polycounter lvl 8
    sigh... so yeah after all ive done to fix this, I found out that saving breaks the shading again...

    bxoX2Iq.png
    It seems completely random... Im out of ideas.
  • Bek
    Offline / Send Message
    Bek interpolator
    Resurrecting this thread for great justice:



    As you may have seen in the WAYWO thread I've recently conquered Bohemia's behemoth and imported some stuff into A3, and I've also written a small tutorial covering the process, covering (hopefully) everything you need to get a weapon in-game. I'm no A3 modding expert so it's not an infallible guide but since A3 is somewhat lacking in the tutorial department I figured it was a worthwhile task to contribute in this area. If you notice anything wrong please point it out, and if any area is lacking please let me know and I'll do my best to make it better.
  • Stirls
    Offline / Send Message
    Stirls polycounter lvl 8
    Solid, Ben. Glad to see some proper documentation on it that doesn't suck.
1
Sign In or Register to comment.