OBJModelPart
116k PlanariaLab
2 days ago
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.
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
@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:
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!
a mod so diabolically cracked that the gabe newell of the simpleplanes world responded
@PlanariaLab amazing
@RestlessGalaxies Thanks for the kind words! SimplePlanes and Juno: New Origins are free for educators.
@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...
@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.
Smoothshade is working?
Also let me know when you get it set up so I can check it out:)
@jamesPLANESii good luck bro. 3d printing business’s are hard unless your cranking out slop
Oh no, I sure hope nothing bad comes out of letting users upload any object file to SimplePlanes.
@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.
@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!
@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.
@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.
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?
@AndrewGarrison Hey question, what's the legality of 3D printing SP models and selling them?
@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.
@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!! ;)
Great! I can use my dream chaser - vulcan model :D
@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.
@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.
@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?
@JP11
Please open the mtl file and try to lower the value of "ka"
@JP11 Mine had always one part black and the rest transparant...
@PlanariaLab Witch unity version do i need for creating mods/maps ?