Jump to content

Recommended Posts

With this tool it is possible to add the legs of the pilot to a cockpit?

Share this post


Link to post
Share on other sites

Mue,

I greatly appreciate this tool.

Swambast / KJakker - Very raw preliminary work on an mortarpit. The pit I made (like I said, very raw) while the mortar was pulled from a 3D online site.

Earmy_pit2.JPG

Earmy_pit1.JPG

  • Like 2

Share this post


Link to post
Share on other sites

Hello, I recently downloaded and installed the addon to blender both 2.79 and 2.80 and they both don't show up on the addon section.

Any solutions?

Share this post


Link to post
Share on other sites
6 hours ago, ChristianRG said:

Hello, I recently downloaded and installed the addon to blender both 2.79 and 2.80 and they both don't show up on the addon section.

Any solutions?

The LOD exporter isn't compatible with blender 2.80. They made a lot of API changes in 2.80. I haven't found the time yet to update the LOD exporter for the newest blender version.
But the exporter should work in 2.79. You run the exporter via File->Export->Strike Fighters 2 LOD. In the User Preferences->Add-ons section the plugin is listed under Supported Level = Testing!

Share this post


Link to post
Share on other sites
On 12/18/2019 at 5:54 AM, mue said:

The LOD exporter isn't compatible with blender 2.80. They made a lot of API changes in 2.80. I haven't found the time yet to update the LOD exporter for the newest blender version.
But the exporter should work in 2.79. You run the exporter via File->Export->Strike Fighters 2 LOD. In the User Preferences->Add-ons section the plugin is listed under Supported Level = Testing!

I can't seem to able to enable the plugin, even with the 2.79. It just doesn't detect the plugin even tho the file is in the aforementioned directory. Is it because I run it on the x64 version instead of the x86 version?

Share this post


Link to post
Share on other sites

Here's a quick installation guide:

1. Start Blender

2. In the Menutab go to "File", then "User Preferences", then "Add-Ons".

3. In the "Add-On"-Window click on "Install Add-On from File..." on the bottom and select the Add-On-File "io_export_sf2_lod.py"

4. Select Support-Level "Testing" and you should see "Import-Export: Strike Fighters 2 LOD Exporter". Check it

5. In the Menutab under "File"->"Export" you should see "Strike Fighters 2 LOD (.lod)". That's it.

Share this post


Link to post
Share on other sites
3 hours ago, Nyghtfall said:

Here's a quick installation guide:

1. Start Blender

2. In the Menutab go to "File", then "User Preferences", then "Add-Ons".

3. In the "Add-On"-Window click on "Install Add-On from File..." on the bottom and select the Add-On-File "io_export_sf2_lod.py"

4. Select Support-Level "Testing" and you should see "Import-Export: Strike Fighters 2 LOD Exporter". Check it

5. In the Menutab under "File"->"Export" you should see "Strike Fighters 2 LOD (.lod)". That's it.

It works now thanks.

So this only works for exporting and not importing?

Share this post


Link to post
Share on other sites

Exactly. You can export anything to a LOD, but you cannot import a LOD into Blender (or 3DMax or whatever)

  • Like 1

Share this post


Link to post
Share on other sites

hi mues, great job, how can i cast shadows in the game? what configuration need the marial?, thanks

  • Like 1

Share this post


Link to post
Share on other sites
10 hours ago, franconinja14 said:

hi mues, great job, how can i cast shadows in the game? what configuration need the marial?, thanks

Transparency of the material must be disabled.

From the lod_exporter_readme.txt:

Quote

-Transparency (if transparency is enabled, then the object doesn't cast and doesn't catch shadow. if transparency is disabled, then the object cast and catch shadow.

And maybe you have to add something like

[Shadow]
CastShadow=TRUE
ShadowCastDist=500
MaxVisibleDistance=500

to the object' .ini file.

Edited by mue
added info about ini file
  • Like 1

Share this post


Link to post
Share on other sites

oh mue! thanks for the plugin, great job, i cant wait the blender 2.8 version of the exporter

see the full aircraft exported with blender

PucaFenix_beta.jpeg

  • Like 1

Share this post


Link to post
Share on other sites
49 minutes ago, hercomandan said:

oh mue! thanks for the plugin, great job, i cant wait the blender 2.8 version of the exporter

see the full aircraft exported with blender

PucaFenix_beta.jpeg

it looks amazing!! can't wait to fly that bird.

Share this post


Link to post
Share on other sites

Just learn about Blender and Virtual 3D Modeling couple days ago.. I Haven't create anything yet.. just slowly learning about  it.
For now, what I can do is scavenging free 3d model, import, export, basic blender tools, what tools for what, put the result in SF Mod, trial and error.. etc.. time consuming and head-scratching.. but its fun! 
Thanks Mr. Mue for this Gem, and Mr.Nyghtfall, who patiently tutoring me. 

Skip Bld.jpg

Skip lod.jpg

img00028.JPG

  • Like 5

Share this post


Link to post
Share on other sites

Can anyone help me? I've made a simple plane just so i can test out how to get all the rudder and stuff working, but when i load it into lod viewer i get this: 

image.png.9b2c663850a8e0cb8fd34dccc2344b81.png

image.png.332021620ba5a1a05a14d0133fecb462.png

the circle in the middle is the fuselage, but for some reason everything else is just a weird cube. 

iirc this was done correctly but maybe this is why its glitched?

 image.png.b7169d06006e96c5f7bc7d033ee83449.png

Share this post


Link to post
Share on other sites

Apply Scale to all objects before exporting the model.

  • Like 1

Share this post


Link to post
Share on other sites

I've enjoyed working with all of Mue's utilities and have found them extremely helpful.

I have a question about the LOD exporter for Blender - When I was working with 3DS Max, the exporter made LODs that worked in both SF1 and SF2. Now that I'm working with Blender, the exporter makes LODs that only work with SF2. My question is: what is the difference between the LODs for 1 and 2 and is it possible to convert down to 1?

Share this post


Link to post
Share on other sites

what is it .... ansi (sf1) and unicode (sf2), if i remember correctly. SF2 reads both, sf1 only reads ansi, again, iirc

  • Thanks 1

Share this post


Link to post
Share on other sites
23 hours ago, Stephen1918 said:

I've enjoyed working with all of Mue's utilities and have found them extremely helpful.

I have a question about the LOD exporter for Blender - When I was working with 3DS Max, the exporter made LODs that worked in both SF1 and SF2. Now that I'm working with Blender, the exporter makes LODs that only work with SF2. My question is: what is the difference between the LODs for 1 and 2 and is it possible to convert down to 1?

There are 9 known version of LODs. It goes v0 to v8. 

Last official 3DSmax exporter makes v5 ones. v8 came with SF2 North Atlantic

Wings over Israel expansion 2010 (not SF2) can use up to v4. IIRC.

You can check the version of a LOD file with a hex-editor. v0 has no "LOD" header and starts right off with the number of nodes at byte 1. All other versions have their version-number in the 8th byte of the file.

I do not use Blender much, so I don't know about the specifics there.

 

  • Thanks 1

Share this post


Link to post
Share on other sites

How would you guys rig the control surfaces of aircraft? I've seen some videos that rig it with empty plain axis's but i'm not sure if thats actually how its done

Share this post


Link to post
Share on other sites
2 hours ago, toot said:

How would you guys rig the control surfaces of aircraft? I've seen some videos that rig it with empty plain axis's but i'm not sure if thats actually how its done

this might be better asked as a seperate  question, not on a thread for a game dev tool

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Similar Content

    • By toot
      I'm making the arava for sf2 and have finished the model and the animations, however when i tried to export it to sf2 (using blender 2.79) i got this:

      this is the model:

      if anyone can help me figure out the issue ill appriciate it
    • By guuruu
      Just have found this video and it's pretty good tool for Blender 3d creators .
      Tried Make Human before, but MB-LAB is just genial. You can very easy create soldier, add him uniform and set in needed pose.
       
    • By crisisloaner
      Hello to all you super modders out there, I have no idea what I'm doing  but have managed to obtain a free 3d model from Turbo_Squid and have managed to use Blender to turn it into a Lod file. Problem is I have no idea what to do next regarding the ini's and skins ...I do not have 3ds and am a complete novice with blender (to be honest,I haven't even read the guidance on it yet !). Any help ion trying to create a viable game object much appreciated !
    • By mue


      View File LOD Exporter for Blender
      I tried to implement the exporter only based on the information I found by investigating LOD files. I'm not a 3D Modeler myself. I only tested the exporter with rather simple object (hierarchies).
      The bottom line is that I have no idea if the exporter works for you. So please give feedback.
      Note: This plugin requires blender version 2.78 or 2.79. It is not compatible with blender versions 2.8+.
      1.) Installation
      Open the Blender User Preferences - Add-ons Tab
      (File -> User Preferences... -> Add-Ons)
      Click "Install from File..."
      Browse to and select the exporter python script "io_export_sf2_lod.py"
      Click "Install from File..." (or double click on the script name)
      In the Add-Ons Tab under Supported Level select Testing and enable "Import-Export: Strike Fighters 2 LOD Exporter"
      The LOD exporter is now installed and enabled. Under File -> Export you should see the menu item "Strike Fighters 2 LOD (.lod)". It's greyed out until an exportable object is selected.
      2.) Usage
      Select the object you want to export and click File -> Export -> Strike Fighters 2 LOD (.lod)
      The file browser opens. In the lower left area you see the LOD exporter options:
      -enable/disable writing the out file (text file with information about the exported object(s)).
      -enable/disable animation export
      -allow decals:
          This option is similar to the option in the original TW-Exporter: "Exporting using AllowDecals=0 causes the vertex to be shared, so it can reduce the size of the .LOD but also causes decals to "bleed" along the edges."
          This dialog setting is used as default for all objects to be exported. However, it can be overwritten by each individual object via the custom object property "AllowDecals" = 0(false) or 1(true)
      The selected object and all child objects are exported.
      Two custom object properties are supported by the exporter:
          -AllowDecals = 0 or 1, This option is similar to the option in the original TW-Exporter: "Exporting using AllowDecals=0 causes the vertex to be shared, so it can reduce the size of the .LOD but also causes decals to "bleed" along the edges."
          -UseFlatNormal = 0 or 1, if set to 1 then all vertex normals are pointing straight up (normal = (0,0,1)) in the objects local coordinate system.
      Please note!
       
      The objects must meet the following requirements:
      -No scaling in the Transform Properties allowed (that means: scale x = y = z = 1.0). If your object has scaling, it should be applied to the mesh (Ctrl-A)
       Scaling is only allowed for animations.
      -A material must be assigned to the object. Only the first material of an object is exported.
      The following material parameters are exported:
          -Diffuse Color (the lod file format also contains ambient color. Currently the exporter set ambient color = diffuse color)
          -Specular Color
          -Specular Intensity
          -Specular Hardness (I think in 3ds Max it's called glossiness)
          -if "Shading -> Emit" > 0.0 then self illumination is enabled
          -Transparency (if transparency is enabled, then the object doesn't cast and doesn't catch shadow. if transparency is disabled, then the object cast and catch shadow. The specific LOD format version the exporter writes, doesn't support arbitrary cast/catch shadow combinations. The other LOD formats I don't understand enough (yet). Sorry!)
          -Alpha
          -Mirror Reflectivity
          -Diffuse texture image name (as diffuse texture the exporter uses the texture where "Influence -> Diffuse -> Color" is enabled)
          -Normal map texture image name("Influence -> Geometry -> Normal" is enabled and the Normal value is also exported)
          -Specular map texture image name("Influence -> Specular -> Intensity" is enabled)
          -Normal and specular map can only be used together with a diffuse map. (If I exported a normal or specular map without diffuse map, then the LOD wasn't shown in the game or the game crashed. I don't know why...)
          
      Animation Export:
          
          This exporter supports the following object animation types: location, rotation and scaling.
          Frames 10, 20, 30, ..., 100 are exported as animation 1
          Frames 110, 120, 130, ..., 200 are exported as animation 2, ...

      3.)Credits:
      Thanks to logan4 and angelp who provided me with specific lod files that helped me to understand the lod file format better.

      4.)Changelog:
      Version 0.1:
      -initial release
      Version 0.2:
      -bugfix: didn't work in blender version 0.79
      Version 0.3:
      -animation support
      -added custom object properties: "AllowDecals" and "UseFlatNormal"
      Submitter mue Submitted 04/30/2018 Category Utilities / Editors  
×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..