Jump to content

Scarsz

Members
  • Posts

    73
  • Joined

  • Last visited

Reputation

20 Excellent

Profile Information

  • About me
    Rocketry Enthusiast

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I've been working on getting FusTek parts in RO. Got all the parts sized and massed correctly (based on the closest reallife ISS modules). Just need to fix one part and get descriptions finished.
  2. Thanks very much, works great! Any idea on how to play a sound?
  3. Sorry for the noob questions, I'm still learning c#. How would I make the for loop wait 1 second before looping again? And how can I get it to play my sound file just before the loop? [COLOR=#009695]using[/COLOR][COLOR=#333333] System[/COLOR][COLOR=#333333];[/COLOR] [COLOR=#009695]using[/COLOR][COLOR=#333333] System[/COLOR][COLOR=#333333].[/COLOR][COLOR=#333333]Collections[/COLOR][COLOR=#333333].[/COLOR][COLOR=#333333]Generic[/COLOR][COLOR=#333333];[/COLOR] [COLOR=#009695]using[/COLOR][COLOR=#333333] System[/COLOR][COLOR=#333333].[/COLOR][COLOR=#333333]Linq[/COLOR][COLOR=#333333];[/COLOR] [COLOR=#009695]using[/COLOR][COLOR=#333333] System[/COLOR][COLOR=#333333].[/COLOR][COLOR=#333333]Text[/COLOR][COLOR=#333333];[/COLOR] [COLOR=#009695]using[/COLOR][COLOR=#333333] UnityEngine[/COLOR][COLOR=#333333];[/COLOR] [COLOR=#009695]namespace[/COLOR][COLOR=#333333] Airlock[/COLOR] [COLOR=#333333]{[/COLOR] [COLOR=#009695]public[/COLOR][COLOR=#009695]class[/COLOR][COLOR=#3364a4]AirlockPressure[/COLOR][COLOR=#333333]:[/COLOR][COLOR=#3364a4]PartModule[/COLOR] [COLOR=#333333]{[/COLOR] [COLOR=#333333][[/COLOR][COLOR=#333333]KSPField[/COLOR][COLOR=#333333]([/COLOR][COLOR=#333333]guiName [/COLOR][COLOR=#333333]=[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#f57d00]Pressure[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#333333],[/COLOR][COLOR=#333333] isPersistant [/COLOR][COLOR=#333333]=[/COLOR][COLOR=#009695]false[/COLOR][COLOR=#333333],[/COLOR][COLOR=#333333] guiActiveEditor [/COLOR][COLOR=#333333]=[/COLOR][COLOR=#009695]true[/COLOR][COLOR=#333333],[/COLOR][COLOR=#333333] guiActive [/COLOR][COLOR=#333333]=[/COLOR][COLOR=#009695]true[/COLOR][COLOR=#333333],[/COLOR][COLOR=#333333] guiUnits [/COLOR][COLOR=#333333]=[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#f57d00]kPsa[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#333333])][/COLOR] [COLOR=#009695]private[/COLOR][COLOR=#009695]int[/COLOR][COLOR=#333333]Pressure[/COLOR][COLOR=#333333]=[/COLOR][COLOR=#f57d00]100[/COLOR][COLOR=#333333];[/COLOR] [COLOR=#009695]public[/COLOR][COLOR=#009695]string[/COLOR][COLOR=#333333]mySoundFile[/COLOR][COLOR=#333333]=[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#f57d00]Depressurise[/COLOR][COLOR=#f57d00]/[/COLOR][COLOR=#f57d00]PressureChange[/COLOR][COLOR=#f57d00].[/COLOR][COLOR=#f57d00]mp3[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#333333];[/COLOR] [COLOR=#333333][[/COLOR][COLOR=#3364a4]KSPEvent[/COLOR][COLOR=#333333]([/COLOR][COLOR=#333333]guiActive [/COLOR][COLOR=#333333]=[/COLOR][COLOR=#009695]true[/COLOR][COLOR=#333333],[/COLOR][COLOR=#333333] guiName [/COLOR][COLOR=#333333]=[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#f57d00]Depressurise[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#333333])][/COLOR] [COLOR=#009695]public[/COLOR][COLOR=#009695]void[/COLOR][COLOR=#333333]ActivateEvent[/COLOR][COLOR=#333333]()[/COLOR] [COLOR=#333333]{[/COLOR] [COLOR=#3364a4]ScreenMessages[/COLOR][COLOR=#333333].[/COLOR][COLOR=#333333]PostScreenMessage[/COLOR][COLOR=#333333]([/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#f57d00]Depressurising[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#333333],[/COLOR][COLOR=#f57d00]5.0f[/COLOR][COLOR=#333333],[/COLOR][COLOR=#3364a4]ScreenMessageStyle[/COLOR][COLOR=#333333].[/COLOR][COLOR=#333333]UPPER_CENTER[/COLOR][COLOR=#333333])[/COLOR][COLOR=#333333];[/COLOR] [COLOR=#333333]Events[/COLOR][COLOR=#333333][[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#f57d00]ActivateEvent[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#333333]][/COLOR][COLOR=#333333].[/COLOR][COLOR=#333333]active[/COLOR][COLOR=#333333]=[/COLOR][COLOR=#009695]false[/COLOR][COLOR=#333333];[/COLOR] //play [COLOR=#009695]for[/COLOR][COLOR=#333333]([/COLOR][COLOR=#009695]int[/COLOR][COLOR=#333333]i[/COLOR][COLOR=#333333]=[/COLOR][COLOR=#333333]Pressure[/COLOR][COLOR=#333333]-[/COLOR][COLOR=#f57d00]1[/COLOR][COLOR=#333333];[/COLOR][COLOR=#333333]i[/COLOR][COLOR=#333333]>[/COLOR][COLOR=#333333]=[/COLOR][COLOR=#f57d00]0[/COLOR][COLOR=#333333];[/COLOR][COLOR=#333333]i[/COLOR][COLOR=#333333]--[/COLOR][COLOR=#333333])[/COLOR] [COLOR=#333333]{[/COLOR] [COLOR=#333333]Pressure[/COLOR][COLOR=#333333]=[/COLOR][COLOR=#333333]i[/COLOR][COLOR=#333333];[/COLOR] [COLOR=#888888][I]//[/I][/COLOR][COLOR=#888888][I]Wait[/I][/COLOR][COLOR=#888888][I]2[/I][/COLOR][COLOR=#888888][I]seconds[/I][/COLOR][COLOR=#888888][I]before[/I][/COLOR][COLOR=#888888][I]looping[/I][/COLOR][COLOR=#888888][I]?[/I][/COLOR] [COLOR=#333333]}[/COLOR] [COLOR=#333333]Events[/COLOR][COLOR=#333333][[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#f57d00]DeactivateEvent[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#333333]][/COLOR][COLOR=#333333].[/COLOR][COLOR=#333333]active[/COLOR][COLOR=#333333]=[/COLOR][COLOR=#009695]true[/COLOR][COLOR=#333333];[/COLOR] [COLOR=#333333]}[/COLOR] [COLOR=#333333][[/COLOR][COLOR=#3364a4]KSPEvent[/COLOR][COLOR=#333333]([/COLOR][COLOR=#333333]guiActive [/COLOR][COLOR=#333333]=[/COLOR][COLOR=#009695]true[/COLOR][COLOR=#333333],[/COLOR][COLOR=#333333] guiName [/COLOR][COLOR=#333333]=[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#f57d00]Pressurise[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#333333],[/COLOR][COLOR=#333333] active [/COLOR][COLOR=#333333]=[/COLOR][COLOR=#009695]false[/COLOR][COLOR=#333333])][/COLOR] [COLOR=#009695]public[/COLOR][COLOR=#009695]void[/COLOR][COLOR=#333333]DeactivateEvent[/COLOR][COLOR=#333333]()[/COLOR] [COLOR=#333333]{[/COLOR] [COLOR=#3364a4]ScreenMessages[/COLOR][COLOR=#333333].[/COLOR][COLOR=#333333]PostScreenMessage[/COLOR][COLOR=#333333]([/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#f57d00]Pressurising[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#333333],[/COLOR][COLOR=#f57d00]5.0f[/COLOR][COLOR=#333333],[/COLOR][COLOR=#3364a4]ScreenMessageStyle[/COLOR][COLOR=#333333].[/COLOR][COLOR=#333333]UPPER_CENTER[/COLOR][COLOR=#333333])[/COLOR][COLOR=#333333];[/COLOR] [COLOR=#888888][I]//[/I][/COLOR][COLOR=#888888][I]This[/I][/COLOR][COLOR=#888888][I]will[/I][/COLOR][COLOR=#888888][I]hide[/I][/COLOR][COLOR=#888888][I]the[/I][/COLOR][COLOR=#888888][I]Deactivate[/I][/COLOR][COLOR=#888888][I]event[/I][/COLOR][COLOR=#888888][I],[/I][/COLOR][COLOR=#888888][I]and[/I][/COLOR][COLOR=#888888][I]show[/I][/COLOR][COLOR=#888888][I]the[/I][/COLOR][COLOR=#888888][I]Activate[/I][/COLOR][COLOR=#888888][I]event[/I][/COLOR][COLOR=#888888][I].[/I][/COLOR] [COLOR=#333333]Events[/COLOR][COLOR=#333333][[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#f57d00]ActivateEvent[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#333333]][/COLOR][COLOR=#333333].[/COLOR][COLOR=#333333]active[/COLOR][COLOR=#333333]=[/COLOR][COLOR=#009695]true[/COLOR][COLOR=#333333];[/COLOR] [COLOR=#333333]Pressure[/COLOR][COLOR=#333333]=[/COLOR][COLOR=#333333]Pressure[/COLOR][COLOR=#333333]+[/COLOR][COLOR=#f57d00]100[/COLOR][COLOR=#333333];[/COLOR] [COLOR=#333333]Events[/COLOR][COLOR=#333333][[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#f57d00]DeactivateEvent[/COLOR][COLOR=#f57d00]"[/COLOR][COLOR=#333333]][/COLOR][COLOR=#333333].[/COLOR][COLOR=#333333]active[/COLOR][COLOR=#333333]=[/COLOR][COLOR=#009695]false[/COLOR][COLOR=#333333];[/COLOR] [COLOR=#333333]}[/COLOR] [COLOR=#333333]}[/COLOR] [COLOR=#333333]}[/COLOR] Any help is greatly appreciated
  4. I did see a thread in the plugin dev forum where a few people tried it out. The furthest it got was replacing thr helmet with a sphere. It seems possible but complicated. I'm currently working on my first plugin, but when thats done I may take up where the thread left off... I expect replacing the model would be simple(ish) but that rigs and animations will prove very hard.
  5. Yeah you need to add a mesh collider to your visual mesh and sellect your collider
  6. Just upload the .blend to a websitr like Dropbox or mediafire and pm me the the link.
  7. If your still not happy with the texture I could make you one tomorrow.
  8. Great looking part! A good atart is to have a UV map with gaps between the islands(if your lazy like me use the smart unwrap and set the gap to 0.03). Then bake an Ambient Occlusion map, here is a tutorial: http://vimeo.com/70983975. This should give you a good base to start on. What you do next depends if your going for stock or realistic texturing. Hope this helps
  9. The problem your having is with you thrustTransform. If you don't have one: 1)make an empty in unity and change its name to thrustTransform 2)make it a child of the engine model 3)rotate it so the blue arrow is facing down 4)move its inside you engine bell hope this helps
  10. Sorry, I got side tracked. Antares and Cygnus are complete! I remodled the AJ26-62. Dragon01 is creating RO configs for this mod so I decided I will at least complete prometheus and Pegaus. I got an exam gap so I should be able to complete all the modeling in a few weeks. But I really don't think I have time for Minotaur.
  11. Thanks for your help but... The scale is 1. I exported it from blender with 100 times scale due to the way .fbx works but I've dont that with all my parts. Other parts, stock and my own are working. I'm a bit confused. Edit: I fixed the first problem, the parts show up fine now, I think it was to do with the names of the meshes. However when I click deploy nothing happens
  12. Looking good! I started modeling the CECE. I love the nozzle, but It does mean the high poly is very high poly! If anyone has any plan views or technical drawings of this engine it would be much appreciated. You don't have to use it if you don't want.
  13. I modeled the Cygnus solar panels a while ago and decided to get them in game. Here is the models hierarchy The part ingame (middle white solar panel,the texture is very bright, not an issue with the game). However when clicked on the part doesn't appear in the editor. PART { // --- general parameters --- name = Cygnus Solar2 module = Part author = NovaSilisko // --- asset parameters --- mesh = model.mu rescaleFactor = 1.2 // --- node definitions --- // definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0 // --- editor parameters --- TechRequired = advElectrics entryCost = 4100 cost = 380 category = Utility subcategory = 0 title = Cygnus Solar 3 Panel manufacturer = Titan Sciences description = The OX-4 is similar in design to the SP series solar panels, but without the heavy casing. // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision attachRules = 0,1,0,0,1 // --- standard part parameters --- mass = 0.0175 dragModelType = default maximum_drag = 0.2 minimum_drag = 0.2 angularDrag = 1 crashTolerance = 8 maxTemp = 3200 MODULE { name = ModuleDeployableSolarPanel pivotName = pivot animationName = deploy sunTracking = false resourceName = ElectricCharge raycastTransformName = sunCatcher chargeRate = 2 powerCurve { key = 206000000000 0 0 0 key = 13599840256 1 0 0 key = 68773560320 0.5 0 0 key = 0 10 0 0 } } } The CFG is from the stock game so I am assuming I've gone wrong with the hierarchy or setting up the animations. Any help is greatly appreciated
  14. AlmightyR, if you wqnt/need any help modeling or texturing I am happy to help. That is quite a long list and to make all of them on your own is quite a lot as engines are some of the most complicated models for ksp.
×
×
  • Create New...