Sigma88Mods

how to science

Jun 3rd, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. 10:21 <JPLRepo> ResearchandDevelopment scenario
  2. 10:22 <Sigma88> Meaning that you can balance the science on your planet on the idea players will need to visit x biomes and then they need to change body
  3. 10:22 <Sigma88> Ok
  4. 10:23 <Sigma88> Wait, is there some kind of trigger?
  5. 10:23 <Sigma88> Like "on science"?
  6. 10:23 <JPLRepo> probably the easiest thing you can do
  7. 10:24 <JPLRepo> is register to GameEvents.OnExperimentDeployed
  8. 10:24 <Sigma88> Ah yes
  9. 10:24 <JPLRepo> it passes in the experiment data
  10. 10:24 <JPLRepo> you can then modify it
  11. 10:24 <Sigma88> Ok, I'll take a look later so maybe I will ping you again :)
  12. 10:25 <Sigma88> For now I can start fiddle with that
  13. 10:25 <JPLRepo> I'll only be around for about an hour.
  14. 10:25 <JPLRepo> but send me tell's
  15. 10:25 <Sigma88> Np,
  16. 10:25 <JPLRepo> so that gameevent gets the ScienceData
  17. 10:25 <Sigma88> Thanks!
  18. 10:25 <JPLRepo> you can look at the biome etc
  19. 10:25 <JPLRepo> and change the values
  20. 10:25 <JPLRepo> Nps
  21. 10:25 <Sigma88> Perfect
  22. 10:26 <Sigma88> And I can check how much science has been obtained from the whole planet
  23. 10:26 <Sigma88> Right?
  24. 10:28 <JPLRepo> you'd have to check the ResearchandDevelopment class
  25. 10:28 <JPLRepo> I'd have to go look
  26. 10:28 <Sigma88> But doesn't ksp already check how much science you got in the past for that experiment in that biome/situation?
  27. 10:29 <Sigma88> Can't I just do that for all the biomes/situations on current planet
  28. 10:29 <Sigma88> ?
  29. 10:33 <Sigma88> I'll try and let you know about the results
  30. 10:33 <Sigma88> Now I've got to go
  31. 10:33 Sigma88 is now known as SigmaNomz
  32. 10:34 <JPLRepo> yes.
  33. 10:35 <JPLRepo> the ResearchandDevelopment class I an pretty sure
  34. 10:35 <JPLRepo> there's a public method
  35. 10:36 <JPLRepo> GetNextScienceValue
  36. 10:36 <JPLRepo> and SubmitScienceData
  37. 11:18 <SigmaNomz> 👍
Advertisement
Add Comment
Please, Sign In to add comment