Search the Community

Showing results for tags 'unity'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
    • The Daily Kerbal
  • Kerbal Space Program 2
    • KSP 2 Discussion
  • General KSP
    • KSP Discussion
    • Suggestions & Development Discussion
    • Challenges & Mission ideas
    • The Spacecraft Exchange
    • KSP Fan Works
  • Gameplay and Technical Support
    • Gameplay Questions and Tutorials
    • Technical Support (PC, unmodded installs)
    • Technical Support (PC, modded installs)
    • Technical Support (PlayStation 4, XBox One)
  • Add-ons
    • Add-on Discussions
    • Add-on Releases
    • Add-on Development
  • Community
    • Welcome Aboard
    • Science & Spaceflight
    • Kerbal Network
    • The Lounge
  • Making History Expansion
    • Making History Missions
    • Making History Discussion
    • Making History Support
  • Breaking Ground Expansion
    • Breaking Ground Discussion
    • Breaking Ground Support
  • International
    • International
  • KerbalEDU Forums
    • KerbalEDU
    • KerbalEDU Website

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Skype


Twitter


Location


Interests

Found 57 results

  1. Memory Mapped Files The closest example to this technique is kRPC, which I experimented with about a year ago when developing my F-22 drone racer. I discovered there was a significant delay between the server and client however. I was drawing a Vector3 representation every frame at my vessels position, which would fall further and further behind the craft as it's velocity increased. I have used Unity's uNet client and local server and have not experienced this lag before, which has me stumped on the cause. I would be interested to chat with someone who knows more about this mod, or anyone who has also experienced this. Because of the lag I was experiencing with kRPC, I decided to build my own "bridge" using Memory Mapped Files. These allow multiple processes to share memory space, which can be used to store several different types of data structures. While these are easily the fastest way to send data, there is one major complication for this project. Mmap files are only supported in .net 4+, while KSP targets 3.5. My solution to this is to start a custom process at launch, which handles the memory map "bridge", then I send/receive values via the process's i/o stream. This allows me to send hundreds of values back and forth each frame, at 50+ ksp fps, which is perfect for the time being. My next goal however is to send much larger data structures over the bridge. I really want to get camera feeds from KSP into Unity, so that I can begin implementing VR control into my mods. I have successfully sent a Texture 2D byte array from a camera across the bridge on a frame-by-frame basis, but the problem is when I need to incorporate the process i/o. Converting the array to a string every frame gives less then 2fps in Unity. The solution to this is to get mMap files working in .net 3.5. I tried many different ways before settling on the additional process, with no luck. I do have a potential solution however, but could use some input from any .net guru's out there. Inverse Kinematics The IK code is all custom, but it's pretty amature. I rely on SOHCAHTOA and the law of cosines for everything. Unity gives me a lot of cheats that aren't available in real time. Vector3.distance for example easily gives me the distance between two points. It all works though, and I plan to expand it out to more joints. The neck arm also allows rotational target matching. PID Controller Servos Each servo has it's own tunable PID loop which uses the error between the actual and IK servo angles as its process controller. This output sets the speed of the servo on a frame-by-frame basis. I only have a basic knowledge of PID tuning, so if anyone out there would like to share some advice it would be greatly appreciated. Gait Sequencing & Steering Right now the only gait sequence that exists is walking at a set speed. Steering is the last thing I still need to do. I wrote some simple stride length adjustment code, which allows setting the desired stride length for both the right and left legs at the beginning of each stride. The actual steering is adjusted by a PID loop which decreases one side's stride length by a percentage of its default length. So my stride length is 2 meters, and the steering PID can shorten that by up to 5%. Terrain Mapping & Active BalanceThe hexapod now has full terrain mapping and navigation capabilities. Instead of using the vessel height to position the ground and foot targets, each foot target is now placed on the ground directly beneath it.Each hip target is now set according to the ground position of it't foot. There are two ways of setting the hip targets. Right now the hip targets are set at the average height of all the foot ground positions plus the target height. I've realized since recording the video it would be best to just set the hip targets so that the vessel is always the target height above the ground. Or some combination of the two. The first method helps going up hill, while the second is preferable for down hill. Also setting the hip height half way between the highest (foot ground + target height) and the lowest would be the way to insure each foot has the best chance of hitting it's target when going over extremely rugged terrain.The vessel also knows if it is traversing up a hill, is level, or traversing down a hill, and sets the color of the ground accordingly. Right now nothing changes according to that, but eventually the gait will respond to the different slopes. I tried taking it out to the mountains but I still need to find a way to orient the gyroscope to a level surface, even when the launch point is not level. The triangle begin drawn on the ground represents the leg group that is actually moving the hexapod forward. VR Implimentation As soon as I can get the camera feed from KSP to display to a render texture in Unity, I will be able to start moving forward with VR implementations. I have several things that will be pretty easy to accomplish right off the bat. I will be able to have the robotic head match the rotation of the HMD head, and display the camera feed to a HUD. I will also be able to control the arms of the mech using touch controllers. I have some thoughts on getting VR to work natively in KSP as well. This has been done before, with mixed results. I'd like to see if I could do better. Collaboration and Testing Let me know if you'd like to contribute in any way. If you'd like to help and know any Unity/C# that would be great, but I could use help with tuning and design as well. There are a lot of variables that need to be tweaked, as well as design changes to the mechs themselves. Let me know if you have any interest in helping and I can probably find something for you to do. There is also the potential for a real life counterpart. This is something I would definitely need help with, as my hardware skills are almost non-existant. I am planing on buying a frame in the near future, and would love to have some help implementing my Unity controller in the real world. If this interests you, there is lots of info already on this thread page. TODO Veering while walking Turning in place Terrain Mapping Traversing slopes Quadrapod/Bipedal Mech Jumping/Extended flight Thanks for checking it out, lots more to come.
  2. Hi, when I launch KSP with Steam, it shows me this window and crash. https://imgur.com/a/fUwmEvv EDIT: I don't have any mods and if I run KSP_64.exe it shows me a same error EDIT 2: I tried to reinstall game - same problem
  3. I stopped working on my mods for some time, however I want to update them for 1.8. Thankfully the parts work just fine in terms of functionality, the problem is that the textures now look very strange. It looks as if half of one part has one shader while the other half has a different one. This doesn't happen with all parts, so I'm at a loss about what might be going on here. Any input would be greatly appreciated. Below are some images of the weird looking textures Strange dividing line: Another strange dividing line: Normal looking one, for comparison:
  4. Buenas: Algo ha debido pasar con la última actualización de Kerbal con la expansión "Breaking Ground", porque resulta que cuando aterrizo en Muna o Minmus, si me acerco a alguna "anomalía" para tomar muestras, el juego se "crashea", y aparece un mensaje de Unity. Es más, si tras esto, vuelvo a entrar y cargo partida, y voy a algún Kerbal sobre la superficie, también crashea….. Es desesperante.... ¿Le pasa a alguien más también?????
  5. I'm trying to follow DMagic's UI tutorial, and I am currently trying to get my head around interfaces - and buttons. I can call any public function with OnClick(), but I'm not sure how to send that event to the KSP assembly. What I've thought of are setting some variable to a certain value and checking every once in a while through the interface if that variable has changed, and calling a GameEvent which gets picked up by the other assembly (I'm not sure if that's possible). Would either of these methods work, or is there a better way to do this?
  6. Useful Tips & Great KSP Content to Use with KerbalEdu KerbalEdu + KSP community: remarkable real world learning both in game & in the forums, human exploration, real rocket history, powerful aerodynamics & n-body gravitation models, beautiful artistry, physics studies, power of collaborative exploration & design. This topic thread is a summary of remarkable & inspiring KerbalEdu relevant KSP content that the KSP community has created. You are welcome to post your recommended additions. A few example ideas: Study Friction by Exploring with KSP Study Atmospheres, Airships & 'Rockoons' while Exploring with KSP Compare Jupiter & its moons to a transit accurate n-body gravitation model of M class star system TRAPPIST1 Quick TGdesk KerbalEDU Reference Links: How to view lesson slides on TeacherGaming student app How to edit a lesson How to install the TeacherGaming Student App Section 1) 'EDU Helpful Mods & Tools' Listed below are select KSP Tools & Mods that I work with frequently in KerbalEdu this is just a tiny example of EDU Relevant KSP Community MODS & Crafts since KSP has mods to do just about everything, these are just some I use often with KerbalEDU: Note: "Mods" are what you place in your GameData folder to add tools or otherwise change the Kerbal environment "Mods" come in versions so (usually) use the version of the Mod that was built for or most closely matches your KerbalEDU version, e.g. 1.3.x or 1.4.x etc. that said, I do use some 1.5.1 mods with 1.4.5 *.craft files are things you make in the VAB (Vehicle Assembly Building) or SPH (Space Plane Hangar) surprise complications: *.craft files are not always in the main Ships folder...they often are in a Ships folder inside your Saves folder Craft Manager is a mod that can help deal with that...e.g. load ships from anywhere *.craft files will ONLY load if all the parts are available, so *.craft with KerbalEDU function tools, energy spheres etc WILL NOT load in stock KSP ( KerbalEDU has its own Mod folders EDUegg & KerablEDU Mod folders after all ) so make sure all mods a *.craft needs are in your game data folder before KSP launch...for example, this include Tantares for EHC mission VI. ( & here are links to spreadsheet lists of many more mod combinations I sometimes use: TRAPPIST1, PlanesOnOtherPlanets ) KerbalX craft sharing; example modest Mod load FAR craft for 1.3.1: SU-35, Lockheed UAV, MiG-23 there are many unusual & amazing craft (including trucks, submarines, aircraft carriers with catapults & landing cables, helicopters, Interstellar Endurance, Star Trek ships, etc. often using additional mods. KSP's built-in DEBUG menu & 'Cheats': ALT-F12 easily toggle infinite propellant, electricity, unbreakable joints, no thermal destruction, etc if needed to focus time on a specific lesson topic that is not related to fuel mass, or limited electric, etc. Community created Online tools: @OhioBob's remarkable "Make your own Atmospheres for KSP" & "Modeling Atmospheres in KSP" (advanced real atmospheric modeling discussion/lesson) other solar constants RemoteTech Player’s Guide Visual RemoteTech Planner for KSP Satellite Spacing Calculator.xlsx link to a great online list of KSP mods sortable by category: Community Mods and Plugins Library Convenience Mods: CKAN (the meta mod to 90% of the time manage most of the rest of your mods & DLC missions? ) (CKAN merged the pull request to recognize the new KerbalEdu 1.4.5 build ID, so make sure to update your CKAN ) Draggable Navball (yes, the old version still works even in 1.4.5) Craft Manager Boot Print Tracks: (a.k.a. 'See! I really was there, but then....') EVA footprints! with Kopernicus Backport & Kopernicus Expansion Continued: KEX-EVAFootprints-1.7.1-5.zip Control Mods: TimeControl (e.g. students can slow down scenarios for better study or control ) TweakScale MechJeb2, MechJebForAll HyperEdit RCS Build Aid Editor Extensions Redux Recover and/or splice a craft from save files (.sfs): ShipSaveSplicer (verified working in 1.3.1 but not yet figured it out in 1.4.5) instructions: Other potentially helpful tools for Students: Science related: KerBalloons Trajectories Kerbal Engineer Redux (KerbalEdu comes with some of the code but I find the up to date full version more useful especially if other mods are installed) CorrectCoL (note this excerpt from post: "Stockalike CoL indicator for stock Aerodynamics, accounts not only for ILiftProviders. Please, don't try it with FAR (mod disables itself if FAR is found)." ) Kerbal Wind Tunnel ( only 1.4.5+ also support for FAR Continued is in development ) Transfer Window Planner, Astrogator Useful Tools: Landing Height All Y'All Continued - One-Button Common Action Grouping Surface Mounted Lights KAS EVA Enhancements Continued Easy Vessel Switch Take Command Continued Kerbal NRAP - Procedural test weights! DebugStuff Some Popular Aircraft & IVA Parts Packages: B9 Procedural Wings (see B9 collection via CKAN ) Procedural Parts Airplane Plus R 24. works fine in 1.4.5 Nice MKseries Body ASET IVAs: ALCOR, , MK1 Cockpit, MK1-2 Pod, MK1 Lander Can I use the 1.5.1 version in 1.4.5 with Textures Unlimited v.1.2.3.17 (on windows use -force-d3d11 ) ASET Props & Avionics I use the 1.5.1 version in 1.4.5 Some Rocket Models (both historic & current): Launchers Pack SLS RealScaleBoosters (good for RSS, TRAPPIST-1. If using in Kerbin System add the 'stockalike' configs to reduce rocket power = no longer 'realistic delta-v' models ) RaiderNick maintains a bunch of historic rocket packs FASA with RO FPS & Physics Frame Time Ratio management: KerboKatzUtilities Mods that alter parameters that break some EDU event triggers in some Missions or change the solar system which obviously breaks all stock scenarios/missions/training : FAR (Ferram Aerospace Research) 1.3.1 & FAR Continued for 1.4.x+ by @dkavolis...here is an _old_video of FAR aero model experiments... also note until a working transform exception can be created, do not use the EDU force Indicator with FAR: Realistic Atmospheres RSS (Real Solar System) SLIPPIST-1 RO (Realism Overhaul meta mods) 1.3.1 & 1.4.5 now supported! RO & RP 1 Installation for 1.6.1 x64 KerbalEDU ONLY: Principia ( possible conflict with KJR ) precise n-body iterations...can even observe very nice real date & time solar eclipses in RSS: TRAPPIST-1, now a very good n-body gravitation model matching observed published planet transit data Fun (for example with a Kerbal School Club or extra-curricular event ): Planetary Domes We even assembled 'Bob's Bubble' @Thrimm: great for containing Kerbals & objects while kids practice EVA controls etc in space (or falling in atmosphere ;-)...here are some screenshots: Chatterer & Chatterer Extended Ship Sounds, docking sounds (search in CKAN) Omicron Flying Car (included this here because you can climb around inside these parts which is different...concept related to 'external command seats') Pood's Skyboxes or Oinker's Skyboc Brighter v2 or make me a properly aligned one with constellation markers using Space Engine (fyi for those newer to Kerbal...following KSP forum (and Github) members with mods you find interesting is one good way to find relevant KSP content, for example...linuxgurugamer has taken over maintaining a bunch of interesting mods ) Visual improvement mods: planetshine distant object enhancement heavier hitting = more strain your gpu but fun 'visual' mods: Astronomer's Visual Pack (AVP) SVE & SVT for the default Kerbol System RSSVE for RSS: note: works for 1.3.1 ONLY scatterer (we love it, but this is _the one_ biggest FPS slow down hit for our systems) again the above is just a tiny sample of KSP community made mods, for those new to Kerbal, there are many more fun or useful mods by the KSP community...depending on class topic...lots of great aircraft parts mods Section 2) 'Easier Useful Tips' General notes: KerbalEDU versions 1.3.1 & 1.4.5 have been more stable, less buggy, & more useful in my environment than prior versions especially when used with mods...Taking time to upgrade to 1.4.5 strongly recommended EDU Mission Editor tips can be found at link. (note the TG mission editor recently went offline ~ 2019 July...waiting to hear from TG the reason why) These observations are based on KerbalEDU in the Windows 10 (updated slow release channel) environment running on 2nd & 3rd gen Intel I7 chips (e.g. 2700k & 3820qm) with older GPUs ( e.g. Radeon HD 6970 or 6950 or NVIDIA Quadro K3000m, or K2000m ) this post aims to cover the most common & biggest "in practice" issues: Please reply with your top additional insights & I will add them to this summary. EDU Relevant DLC missions: (to be determined) DLC is not currently included in KerbalEDU licences so requires additional purchase ( & 'install' = it is a "SquadExpansion" mod folder dropped into GameData) KSP "Making History" expansion DLC 1.4.0 DOES run its version of 'missions' in KerbalEDU 1.4.5 DLC missions are seperate & different from KerbalEDU missions DLC is not included by default with KerbalEDU. TT/SQUAD & TG should look into tax deduction opportunities for releasing this to KerbalEdu licenses...useful stock missions for grade schoolers. DLC 1.4.0 will run in even x32 KerbalEDU 1.4.5 RAM limitations BUT in Windows environment one must use -force-d3d11 to keep x32 KSP.exe RAM use at around 2.5 GB : see this topic Unity engine flags that I use all the time in the windows 10 environment: helps easily switch focus to other window programs (e.g. file explorer) while keeping KSP on the screen -popupwindow helps reduce memory use if stuck using x32 KerbalEDU, also good x64 KSP performance in KerbalEDU 1.4.5 when used with Textures Unlimited: (use at least the version for 1.5.1 with KerbalEDU 1.4.5. Gives nice shading of parts plus removes the 'blue icons' issue in VAB & SPH when using DX11 with 1.4.5) -force-d3d11 Here is a screenshot of what a shortcut to launch KerbalEDU looks like with these two flags (you can use as many or as few flags as you want): Community KerbalEDU youtube channels: EDU explore & observe channel includes playlists of select top remarkable EDU Aero-Astro content we have found so far on youtube...here are a few examples of amazing & beautiful real rocket history & astronomy from the playlists: Community Kerbal youtube channels especially relevant to KerbalEDU: Tutorials: Scott Manley @illectro (links to his "tutorial playlist"...he has other interesting KSP playlists as well). two examples in box below of EDU relevant KSP talk through tutorials with key distinctions students could study at home History: Bob Fitch e.g. "Project Alexandria: the history of human spaceflight from the 1500s all the way to today, carried out in Real Solar System." and other series Matt Lowne @Matt Lowne has some interesting 'real' craft history explored in KSP & a 'special box' & 'related channels' that list KSP players making interesting KSP youtube content. (note: any may need a brief edit before use in the classroom, etc.) Example KSP Youtube Tutorials & History What is KerbalEDU v. KSP: TIPS for when you encounter unusual lags: New Portal: TGdesk KerbalEDU 1.3.1 & 1.4.5+ integration = REQUIRES INTERNET CONNECTION TO LOGIN EACH TIME but is PORTABLE & CAN BE RUN FROM USB DRIVES (versions 1.2.2 and earlier were "installer" based = not portable and only required internet 'once' for activation): Section 3) 'More Technical Useful Tips' TG App & KerbalEDU: adding various forms of EDU Missions & KSP Community Mods to "TeacherGaming\games\kerbaledu\" Where are...? in the "TeacherGaming\games\kerbaledu\" Changes While 'In-Game' etc. = About GameData, & EduMission .sfs Files & Kerbal Folders & KerbalEDU missions (note: these are different from KSP "Making History DLC" missions): USB drives & GameData & KerbalEdu 1.3.1 & 1.4.5 TGdesk login Portability: This is helpful when you are building your class/lesson plan...you can make & keep 'master" KerbalEDU folders or even just the GameData folder. Then copy these to your student computers (efficient ways to do that vary depending on the complexity of lesson mods, # of student computers) TGdesk versions of KerbalEDU ( = 1.3.1 & 1.4.5 ) are portable so you can easily copy/revert to whole preconfigured folders & you can even give each student a USB drive with KerbalEdu & your custom GameData folder (or even let advanced students modify their own GameData folder to meet their needs for the project)...students can run KerbalEdu from their USB drive from any sufficient spec computer with an internet connection. Saves, Ships, & GameData folders generally contain all you need to make one whole KerbalEDU 'install' folder the same as another (using the same kerbalEDU version, of course) if you do not want to copy the entire 2+ GB all the time). for example, I often create a folder "1Var" and put just the Saves, Ships, GameData & CKAN folders in dedicated folders for various configs...e.g. KerbalEDU, KerbalEduFAR, KerbalEDUroRSSprincipia, KerbalEduTRAPPIST1, KerbalEduPrincipia, etc...then you can just copy the folders as needed or drop junction links... Here is a screenshot showing an example folder structure: Enjoy Exploring! & the KerbalEDU Flight Recorder ;-) Section 4) 'Archived/Outdated...relevant history' Original Portal: KerbalEDU mission links: KerbalEDU made the original Mission Editor that uses its own EDU event system. stock KSP now also has a Mission Builder in its 1st 'extra cost' expansion. The Making History Expansion missions do run ok in KerbalEDU but are NOT linked to KerbalEDU event system.
  7. Hello, I've been programming for just over two years now, and I'm most confident in C#. I've been trying to create games but I just don't have the knowledge of skills to model 3D unity. Any tutorials suggestions to build my unity skills great.
  8. Hey guys. I've been having some trouble with Unity lately. (I'm using Beale's beginner modelling tutorial) Whenever I drag the model and collider OBJs with its textures into Unity, the materials folder does not appear. I don't know if there is a work around it (AKA Beale's way isn't the only way.) But if anyone has a clue as to why it's not working, that would be great.
  9. So whilst trying to put together some new model for a current mod I opened the project in unity (5.4.1) which I had built the entire mod in originally only to find tat the 'Part Tools' in the inspector is broken. I have no function for the KSP Part Tools (script) no option to set 'game data directory', no option to 'write', Nothing! The little expand arrow expands nothing, there is no option. As you can imagine I find this concerning as presently I can creating no new models as a result. So far I have tried: Re-installing the latest PartTools (both onto my machine and into the project). Restarting my machine (numerous times!) un-installing and re-installing my current version of Unity (5.4.1) Installing the latest version of Unity (5.5.1) and importing the project there. The result is the same; my KSP part tools script in the inspector has no functions/options. I have google'd and scoured the site and I can't see any solutions, any clues?
  10. I'm using Unity 2017.1.3p1 Personal and am seeing different .anim file structures based on the following: 1. Project Settings ---> Editor ---> Asset Serialization Mode = Force Text (KSP fails to load part) 2. Project Settings ---> Editor ---> Asset Serialization Mode = Force Binary and then do Project Settings ---> Editor ---> Asset Serialization Mode = Force Text (part and animation work fine after editing) In scenario 2 I remove material from the attribute and change classID from 23 to 21 for it to work. Is this a known Unity problem, a known work around or am I just doing something wrong? Thanks [snip]
  11. This thread will instruct you on how to create Kerbal parts using animated meshes, known in Blender as Shape Keys and known in Unity as Blend Shapes. Disclaimer: This guide assumes you already have a basic understanding of modeling, animation and creating simple Kerbal parts. Why??? The benefit of using animated meshes over regular scaling or rotating of a part allows you to yield complex animations from a single object, regardless of its shape. In the Kerbalverse, these parts are most noticeable with inflatable habitats. To my understanding, the only few on the market are those created by myself. With that said, I am hoping this will encourage others to take advantage of our new ability to use Blendshapes in Kerbal thanks to the hard work of @Shadowmage and his Textures Unlimited plugin, which allows for the loading of Asset Bundle-based models. Asset bundle based model loading is currently the only way to accomplish having these parts in Kerbal. For example, it would not be possible to create the egg-shape of the KEAM (BEAM module recreation) if I were to just scale a cylinder. The end resulting animation and shape would not be appropriate. See wireframe example of the KEAM's expansion using a single object: To start, create your model as normal. Create your desired animation with your object using Shape Keys (if Blender) (please Google for simple tutorials on this if you are unsure about animating with Shape Keys. The idea is very similar to animating a regular object. Where you would hit the I key for keyframe over the timeline, you instead do it over a new Shape Key on the side menu). If using Blender, it's best to save the .blend file within your Unity project location and work from that file within Unity. If you prefer or require FBX format for any various reason, ensure you have the "Baked Animation" option checked under the Animation tab in your export options. Check "Key All Bones" if using bones for anything. Inside Unity, you only need to verify your BlendShapes numbers under the Skinnded Mesh Render component of the animated object match the numbers in Blender. Warning: I noticed some issues above 9 Shape Keys where it seems that Unity only recognizes a total of 10. Avoid going above 9. It is very important to note, if you are using a model that contains any sort of part triggers, layers, or tags, like an Airlock or a Ladder, is is MANDATORY that you set up your part tags EXACTLY as shown in the following picture or they WILL NOT WORK when loaded in Kerbal: The final result on your model must still contain the proper tags and layers, for example with an airlock / hatch: To create the prefab ("Asset Bundle object file," as I call it), simply drag the ROOT part of your model FROM the hierarchy into the project folder window below. This action will create a prefab file. Select this prefab file so that you are viewing the preview of it in preview window. There is an AssetBundle "tag" location on the bottom of this window. Select the dropdown and create a new name for your asset bundle. Click KSPAssets on the top toolbar of Unity and select Asset Compiler. Click "Create" for your asset bundle, followed by Update and then Build. This outputs an assetbundlename.ksp file to your Unity project's "Asset Bundle" folder, one directory up from your Assets folder. The final step is to rename your finished asset bundle file to have an extension of .smf instead of .ksp Finally, drop your .smf file into your Kerbal addon folder inside GameData along with its textures and config file and as long as you have Textures Unlimited installed, the .smf file will be loaded like a normal part. I hope this can be of great help to the community or even just one person as I would love to see more complex animations in the Kerbal universe! Thanks!!!
  12. How should I install blueprints like the one for the REESES seat it is a unity file and not made completely into a mod
  13. Hi, I'm a student games programmer in my final year of University. I absolutely love KSP as it has given me a greater understanding of the difficulty and science behind real life space missions! I really want to make a simple 2D space sim game in order to buff out my portfolio (and for fun of course!). I've looked everywhere on the internet and forums for suggested methods of programming realistic gravity physics for orbiting etc. The problem is the methods I try are inconsistent or unrealistic... Looking at KSP it looks like they calculate trajectories and then put the ship on rails effectively so (relatively) wonky game engine physics don't change the orbit paths. I was just wondering if anyone knew how Squad achieved this, or if any developers who saw this could shed some light? Thank you very much, Jason.
  14. Hi modding gurus, Inspired in part by MacLuky and the undersized MHdlc LEM, I want to add a seat in to the stock MK1 and Mk2 Landercan IVAs - as it has been proven that there is plenty of space! Yes I can add a seat via crew capacity - but I want to see the little green lasses and laddies properly. I'm also not interested in additional props like ASET. I have installed Unity, and part tools, added a passenger seat prop, or a pilot seat from the props and 'wrote' the .mu file. Changing the part's CFG for number of seats and for Internal model doesn't seem to work as no IVA shows up? I'm assuming it isn't as simple as this what I assumed. Do I need to be working with both the part and the internal in the same scene? As I've only been loading in the internal. Do I need to include texture files as well? Or do I need to add the seat to the internal in blender and then export to unity? Kinda really starting from scratch here sorry. I've seen that there are a few hour plus videos. I don't have much time, like 30 mins a day to do any 'work' or gameplay, so pointing me at the best tutorial for this would be appreciated if that would be more beneficial. Thank you! Peace.
  15. So i made my texturing on a mesh directly in unity, without uv mapping in 3d software. And i set my material to ksp shader, and hit write. Unity Part Tools exported the image textures used on materials but in game it didn't work. Could it be done without UV maps or/ with untextured UVs ? And the materials to be an image texture, applied on the mesh in unity?
  16. Forgive me, I'm brand-new to Unity. I'm wanting to create new cockpit internals using RPM and ASET, I'm encountering a problem when I upload the Mk 1-2 cockpit, or at least that what I assume I'm uploading when I choose "PodCockpit." When I do that, I end up with the props and the "Size2PodBorder" locating outside of the interior model. On top of that, the Size2PodBorder seems skewed Here's a screenshot: https://ibb.co/e9BUAn If you zoom in to the location of the Move Tool, you'd see the base internal props. I haven't done anything else to the basic structure of it, and it runs fine when I boot up KSP. The same thing is happening when I uploaded with RPM and ASET props included. I tried it on others, and it's happening on Cupola but strangely enough not on the Mk 1 Pod cockpit. Any ideas?
  17. I'm currently setting up a new computer and want to get back to KSP modding. I'd like to use Unity on Debian 9 and I've got some experience with Unity 5.4.1f1 on Debian 8 but it did not end very well last time. Before I install anything I'd like to know if other modders are running Unity on Linux (successfully)? If so, what version of Unity? Does anyone know where to get Unity 5.4.0p4 for Linux? Couldn't find it here.
  18. Hey guys, so I try to add a few parts to KSP for fun. It all works great but now that I want to add a bumpy texture I run into an issue. It works in Blender and Unity but is very bright and flickering in KSP (The control thing up top). I generate a normal map from a bump map in Unity and as mention it works well inside the Unity editor as you can see below. The texture I use besides the normal map is just the regular on is use for the other parts aswell. Maybe that's the problem? I read another forum post where somebody said I would need to somehow mix the specular and the color texture into one? I'm not sure what that means. Thanks for your help! The Solution: Somehow the Unity internal Normal map generator from greyscale images doesn't work well with KSP. I downloaded the software xNormal and it works flawlessly when I generate normal maps with it. What a pain that was.. Nope, I changed two things at once and the real reason it didn't work before was I exported my textures to TGA files. THat works on regular textures but bump maps apperently go wild using these. Using MBM as a texture format works!
  19. Just trying to gauge Best Practices while I'm upgrading the Unity projects for a large-ish mod I'm maintaining (I'm not very experienced with Unity). Do people use a single Unity project into which they put all of their parts (albeit in different scenes)? Or do people use one Unity project per part? Or something entirely different? The current layout is a bit of a mish-mash, some parts are grouped into a single Unity Project, others are in their own so I'm trying to see what the best way forward is. As far as I can see: Keeping each part (or small set of related parts) in separate projects: Pros: Fast loading allows multiple people to work on the project as long as they don't work on the same parts no need to worry about global namespace Cons: Need to maintain Unity project settings and add-ons and plugins (such as PartTools) separately for each project, taking up additional space in the repository and bigger chance for misconfiguration Maintaining a single Unity project (and separating parts into suitable directories): Pros: A single unity project easy to double-check global settings (eg, "Visible Metafiles" or the PartTools "GameData") single copy of plug-ins/addons potential for shared assets Cons: Slow loading more chance for conflicts if multiple people are working on the project more care needed to keep namespace "clean" (ie, must name all assets uniquely) What do people think?
  20. hello all, unfortunately I have already made some attempts so far without success. The model in Blender shows the geometric focus quite differently from Unity. so the Kerbal-pilot does not sit on the chair but higher up. - What am I doing wrong, is there a solution? thanks a lot in advance ! full album - https://imgur.com/gallery/CHcF3
  21. Does anyone know how/if you can replace the default sun texture in 1.3.x? A few releases ago I was able to edit an asset file to get this... I've tried editing the sharedassets10.asset file (which I "think" is the right one) but I'm not having any luck. I'm thinking I just need the right editor, maybe the one's I've tried (UAE, UAV) aren't compatible with the newest version of Unity? I've also tried various sunflare mods (which are all awesome!) but the flares are still superimposed on top of the default sun texture. Or maybe there's a way to create a ghost in Scatterer that blocks the default sun, but I haven't figured it out yet. Seems the default sun texture always has priority. Anyway, thoughts and suggestions very much appreciated, thanks!!! -S
  22. Having been modding silently in the background here for several months. My latest creation is a RL10-b1 engine based on 2 photographs I have found online. Its made to scale and has the same performance characteristics. RL10-b1 is a big engine for a deep space thruster. its 2.24 meter nozzle and 4.11 meters long and produces 110 kn of thrust at 4600 m/s exhaust velocity an amazing weight of 277 kilograms. The concept of this engine is that if you are using INRU to resource your engines on things like dirty ice balls, comets or asteroid belt objects the end products are going to be hydrogen and oxygen. This is the engine to have. http://www.aerospaceguide.net/rocketengines/RL10B-2.html This version has the extended nozzle I have alot of detail in the nozzle, composed of conic sections with 96 sides per section, 192 trigs per section and interior and exterior. Plus the aluminum rings that hold the radiators on the outside. so each engine has about 4 conic section profiles so this is around 3000 trigs, plus the trigs for connection, piping going in and out of the engine. The photo shows irregularity in the lip of the bell, I used this to my advantage so that 24 of the pieces form the exterior limit. This lowered the collidor trig count considerable. All and all the RL10-b engine is more like anything in the stock game, and it works. But I need a base engine for a big off-world base lander. Blender has a Edit tool called duplicate that allows on to make exact copy of center engine to six equilateral hexagon position engines. Kept my collder mesh the count low be enshrouding the array so that only a few point on the engine stick out. So I figured I would make a three engine combo and seven engine combo. The three engine combo worked. but the seven engine combo gave me this when I imported it into Unity. Meshes may not have more than 65534 vertices or triangles at the moment. Mesh 'Circle' will be split into 2 parts: 'Circle_MeshPart0', 'Circle_MeshPart1'. UnityEditor.DockArea:OnGUI() Uh-oh, I broke Unity. No meshes were made. Apparently unity could not calculate the collider mesh, too many trigs.
  23. I'm experimenting with Kopernicus's ring shader, which means I am finally forced to use the Unity Editor. The shader source file itself is in the Kopernicus repository, but the project used to compile the shader is in a separate shader-export repository. To work properly, the compilation project needs to access the source, but I don't want to have to worry about manually copying files back and forth as I make changes. The natural solution is a symbolic link from the compilation project to the real file in Kopernicus. At first this worked fine, but at some point something unknown to me changed, and now when I compile the shader, Unity also replaces my symbolic link with a regular file copy of the shader source. As far as I can tell, nothing I've done has requested this behavior. Since I'm editing the real one in the Kopernicus repository, the next time I trigger a compile, my latest changes aren't reflected, which is inhibiting my efforts to "learn by doing." Is there a way to tell Unity not to mess with files I haven't requested it to touch? Alternately, can I compile shaders for Unity without using the Unity Editor (a very attractive option since it also seems to consume 100% CPU when idle)? A command-line solution would be ideal.
  24. Hello guys ! I'm currently working with @HuXTUS on a part. Adding a diffuse and a bump/normal map is very easy but what's up about specular ? Shaders have no slot for that. I just found an 1 year old discussion about that : Is it still the way to add specular ? And moreover, does someone has a great tutorial on how to add this alpha channel to the diffuse (not sure it works with JPG and PNG should be a mess for the game, no ?) Hope to see some help quickly Thanks
  25. Hello, I am now trying to configure @EmbersArc's KRE NDS docking port for my mod, but without the lid, in Unity. I made the changes in Blender, and now I'm trying to get the docking node to work. What is happening is the docking ports don't dock, but just rest on each other. This is my config: PART { name = CapsuleDockingPort1 module = Part author = EmbersArc mesh = model.mu rescaleFactor = 1.07 node_stack_bottom = 0.0, -0.385, 0.0, 0.0, -1.0, 0.0, 1 node_attach = 0.0, -0.385, 0.0, 0.0, -1.0, 0.0, 1 TechRequired = advMetalworks entryCost = 8400 cost = 400 category = Coupling subcategory = 0 title = KASA Docking System manufacturer = 7D Exploration Technologies Inc. & Kerbobulus Corp. description = A very advanced docking port. Fully compatible with the Clamp-O-Tron Docking Port system. attachRules = 1,1,1,1,0 mass = 0.05 dragModelType = default maximum_drag = 0.25 minimum_drag = 0.25 angularDrag = 0.5 crashTolerance = 10 maxTemp = 2000 // = 3400 bulkheadProfiles = size1, srf tags = berth capture connect couple dock fasten join moor socket stagingIcon = DECOUPLER_VERT stagingIcon = DECOUPLER_VERT MODULE { name = ModuleDockingNode referenceAttachNode = dockingNode deployAnimationController = 1 nodeType = size1 staged = False stagingEnabled = False } MODULE { name = ModuleAnimateGeneric animationName = Extend Docking Ring actionGUIName = Toggle Docking Ring startEventGUIName = Extend Docking Ring endEventGUIName = Retract Docking Ring allowAnimationWhileShielded = False } } Unity file (Unity 5.4.2p4) Texture Model