Profile image

OBJModelPart

116k PlanariaLab  2 days ago

Downloads

68 downloads
Version 1.11 Part

Mod to add parts that read and display models in OBJ format from local files.
Created to bring custom meshes parts into the game with less effort than creating a dedicated parts mod.
gif

PartSettings
  • OBJPath : Specifies the path to the OBJ file.(model data)
  • MTLPath : Specifies the path to the MTL file.(material data associated with the OBJ)
    (If not entered, it will follow the setting on the obj file side.)
  • Scale : Adjust the display size of the model.
  • Offset : Adjust the position of the model.
  • Collider : If true, the mesh is given a convex mesh collider.
  • ColliderPath : Overwrite the collider shape with another OBJ file.
    (If not entered, the shape of the collider is based on the model used for the display)
  • Input : If value <= 0, the model is hidden.
Supported MTL Tags
  • Kd : MainColor
  • Ka : EmissionColor(The original specification is ambient light, but in this mod it has been changed to emission due the shaders.)
  • Ks : Metallic(The original specification is Specular color, but in this mod it has been changed to metallic due the shaders.Only read the R channel of the RGB.)
  • Ns : Smothness(For this parameter only, specify a value in the range 0~1000.)
  • d : Opacity (1: opaque, 0: completely transparent)
  • map_Kd : main texture name
  • map_Ka : emission map name
  • map_Bump : Normal map name

It is not recommended to publish builds using this mod.
When publishing a build using this mod, please be sure to use models created by yourself or carefully check the terms of use of the model you are using before using it.
I am not responsible for any problems that may occur using this mod.

translation:DeepL

  • Log in to leave a comment
  • Profile image

    @PlanariaLab We've updated our policy since that earlier comment. Players are no longer restricted to fuselage and block parts and are now allowed to use exported crafts from SimplePlanes in both personal and commercial projects under the following conditions:

    • Permission from Creators: If you plan to use community-created models, you must obtain explicit permission from the original creators who uploaded the airplanes, weapons, or other vehicles.
    • Proper Attribution: Please ensure that credit is given to both the original model creators and SimplePlanes within your project, such as in the credits section of your game.
    • Commercial Limitations: The exported models cannot be sold individually or distributed outside the context of your project.
      We appreciate your interest and dedication to the SimplePlanes community. If you have any more questions, feel free to reach out.

    Also, nice job with this mod!

    Pinned 2 days ago
  • Profile image
    1,429 MolotokSP

    a mod so diabolically cracked that the gabe newell of the simpleplanes world responded

    an hour ago
  • Profile image
    54.7k MVC

    @PlanariaLab amazing

    10 hours ago
  • Profile image

    @RestlessGalaxies Thanks for the kind words! SimplePlanes and Juno: New Origins are free for educators.

    +2 14 hours ago
  • Profile image

    @AndrewGarrison you know, Funnily enough, those updates in the policy make the "game" a legit and viable option to actually start learning some basic 3D modelling before moving on to a CAD and/or blender.

    I really do wonder if Simpleplanes can be genuinely developed intl an education software that universities can actually integrate into the syllabus. Might be something the dev team could and should consider, I personally would love to teach children the basics of aerodynamics with Simpleplanes being a part of the actual syllabus instead of some game on the side with vague connection to the subject of Aero...

    +2 16 hours ago
  • Profile image

    @MVC
    The monkey in the thumbnail has no smooth shade attached.
    However, the mod does support custom normal vectors for each vertex on each face as a function of the mod.
    So if properly configured and exported, it should work.

    +1 20 hours ago
  • Profile image
    54.7k MVC

    Smoothshade is working?

    20 hours ago
  • Profile image
    14.9k Randomplayer

    Also let me know when you get it set up so I can check it out:)

    yesterday
  • Profile image
    14.9k Randomplayer

    @jamesPLANESii good luck bro. 3d printing business’s are hard unless your cranking out slop

    yesterday
  • Profile image
    7,034 GrandPrix

    Oh no, I sure hope nothing bad comes out of letting users upload any object file to SimplePlanes.

    +2 yesterday
  • Profile image

    @jamesPLANESii That's fine with us as long as you're getting permission from original authors (if applicable) and giving credit where it's due.

    +1 yesterday
  • Profile image

    @PlanariaLab Thanks for your understanding and proactive approach. If any issues arise with your mod, we’ll contact you. We appreciate your contributions to the community!

    +1 yesterday
  • Profile image

    @NewmanSTAR
    Added it. Try setting Collider to true from the part properties.
    For the time being, it is possible to make OBJs collide with the ground or with normal parts.
    However, due to technical reasons, it is not possible at this time for two OBJs to collide with each other.

    +1 yesterday
  • Profile image

    @NewmanSTAR
    I forgot that mesh colliders can be used for RigidBody as long as they are convex in shape.
    I will try to see if it is possible.

    +1 2 days ago
  • Profile image
    37.5k NewmanSTAR

    The imported model doesn't seem to have the correct hitbox, is it possible to simply create a convex hitbox based on the model to correctly collide with the scene?

    2 days ago
  • Profile image

    @AndrewGarrison Hey question, what's the legality of 3D printing SP models and selling them?

    +1 2 days ago
  • Profile image

    @AndrewGarrison
    Thanks for the reply, I generally understand.
    (I reposted comment because of a misunderstanding. Sorry for the consecutive posts)
    P.S.
    If there are any future problems due to malicious use of this mod, please contact me or remove this mod from the site immediately.
    I don't want others to be infringed by my mod.

    2 days ago
  • Profile image
    2,055 Helimaster

    @PlanariaLab And a practically revolutionary mod, it would be very interesting if this configuration and Mod were for mobile or even in the game, although mods for cell phones are challenging, I really hope this feature is added in SimplePlanes II (second chapter), but congratulations for your dedicated work!! ;)

    2 days ago
  • Profile image

    Great! I can use my dream chaser - vulcan model :D

    2 days ago
  • Profile image

    @llDeadboyll
    >Witch unity version do i need for creating mods/maps ?
    I remember it as 2022.3.9f1.
    If not, after importing ModTools, a warning will appear in the ModBuilderWindow and you should follow it.
    >Mine had always one part black and the rest transparant...
    First, about the black parts.
    If it looks black only on the edit menu, it is probably due to the light source on the game side. Countermeasures are under consideration.
    If parts remain dark in flight, please let me know.
    Next, transparent parts.
    Assuming you are using exportModel from SP.
    In the current exportModel texture, the alpha channel seems to be assigned the intensity of the luminescence.
    However, in this mod, the alpha channel is treated as transparency, so I assume that the parts not set to emission on SP are transparent.
    Please set Emission to 100% in all color palettes when exporting or modify the textures in your paint software.

    2 days ago
  • Profile image

    @JP11
    Ka originally indicates ambient light, but this mod substitutes emission, which is a close item due to shaders.
    If it is not a glowing item, then 0 0 0 is fine.

    +1 2 days ago
  • Profile image
    16.5k JP11

    @PlanariaLab which amount do you recommend I lower it to?
    screenshot click here
    oh yeah and by the way, like in the gif how can you change the reflection type on the obj?

    2 days ago
  • Profile image

    @JP11
    Please open the mtl file and try to lower the value of "ka"

    +1 2 days ago
  • Profile image

    @JP11 Mine had always one part black and the rest transparant...

    2 days ago
  • Profile image

    @PlanariaLab Witch unity version do i need for creating mods/maps ?

    2 days ago
  • Log in to see more comments