Jump to content

Search the Community

Showing results for tags 'rnd'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
    • Welcome Aboard
  • Kerbal Space Program 1
    • KSP1 Discussion
    • KSP1 Suggestions & Development Discussion
    • KSP1 Challenges & Mission ideas
    • KSP1 The Spacecraft Exchange
    • KSP1 Mission Reports
    • KSP1 Gameplay and Technical Support
    • KSP1 Mods
    • KSP1 Expansions
  • Kerbal Space Program 2
    • KSP2 Dev Updates
    • KSP2 Discussion
    • KSP2 Suggestions and Development Discussion
    • Challenges & Mission Ideas
    • The KSP2 Spacecraft Exchange
    • Mission Reports
    • KSP2 Prelaunch Archive
  • Kerbal Space Program 2 Gameplay & Technical Support
    • KSP2 Gameplay Questions and Tutorials
    • KSP2 Technical Support (PC, unmodded installs)
    • KSP2 Technical Support (PC, modded installs)
  • Kerbal Space Program 2 Mods
    • KSP2 Mod Discussions
    • KSP2 Mod Releases
    • KSP2 Mod Development
  • Community
    • Science & Spaceflight
    • Kerbal Network
    • The Lounge
    • KSP Fan Works
  • International
    • International

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


About me


Location


Interests

Found 1 result

  1. Hi everyone, I am currently working on implementing science/research sync for DMP since official multiplayer is always just another major release away(cough). And I am looking for a way to get a List of all available RDTech entries while NOT in the Research and Development screen(as such RDController does not qualify). Currently I am receiving the PartList with PartLoader.LoadedPartsList and iterate over that, but I hope/believe there is a better way I couldn't find so far. Google/KSP API Reference/this subforum didn't yield any results that I could find so I am just throwing out the question. Cheers and thanks! Edit: Derp I believe I found it sunken into a long thread, the solution appears to be: // Available even outside the R&D Building foreach(ProtoRDNode node in AssetBase.RnDTechTree.GetTreeNodes()) { UnityEngine.Debug.Log("Found ProtoRDNode: " + node.tech.techID + " with state: " + node.tech.state); } // Available while having the R&D Building open RDNode[] nodes = UnityEngine.GameObject.FindObjectsOfType<RDNode>(); foreach(RDNode node in nodes) { DarkLog.Debug("Found RDNode: " + node.name + "[id: " + node.tech.techID + "] with state: " + node.state); } I will update the community API wiki with all information I have gathered surrounding ResearchAndDevelopment
×
×
  • Create New...