Advertisement
Godcraft

Untitled

Jun 18th, 2015
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | None | 0 0
  1. Reading the code, some major points:
  2. Planets have gravity (although it looks like it requires mass blocks to take affect unless there are changes I missed looks like it does!)
  3. const float GRAVITY_AT_CORE = 4.0f;
  4. const float DEFAULT_GRAVITY_RADIUS_KM = 50.0f;
  5. Gravity varies based on your distance from the core
  6. public Vector3 GetWorldGravity(Vector3D worldPoint)
  7. Planets can have an atmosphere
  8. bool m_hasAtmosphere = false;
  9. float m_maximumOxygen = 0.0f;
  10. Planets can have flora (appear to be randomly generated). There are three densities (LOW, MEDIUM, HIGH).
  11. public void SpawnFlora(Vector3D pos)
  12. Planets have orbitals
  13. Vector3D PlaceToOrbit(Vector3D pos,ref Vector3D gravity)
  14. Atmospheres have visual wavelengths, random shifts from red, blue, and green.
  15. public Vector3 AtmosphereWavelengths
  16. Planets can have mooooons (at varying sizes and distances)
  17. private const int MOONS_MAX = 2;
  18. private const int MOON_SIZE_MIN = 8 * 1000;
  19. private const int MOON_SIZE_MAX = 10 * 1000;
  20. Planets can have polar regions with ice fields
  21. private static MyMaterialLayer CreatePoleLayer
  22. Planets are setup to have specific ore probabilities in 5 to 8 layers.
  23. Planets are setup to generate hills and canyons as features.
  24. Planets have a probability for hostility
  25. <HostilityProbability>0.6</HostilityProbability>
  26. If there is too much pressure inside an atmosphere, you will take damage
  27. if (EnvironmentOxygenLevel > Definition.PressureLevelForLowDamage)
  28. There's an actual sun now, and you can change its day duration. The new sun is optional on world creation. This may only be for ME for now(?).
  29. other changes:
  30. Scenarios now have a hotjoin flag ("Can you join a running scenario?") and a new packet to accommodate this.
  31. New methods for imprecise collision detection between spheres and voxel bodies (probably for "ship hit the planet scotty")
  32. New checks for disabling block destruction. Solar wind will no longer deform blocks if it's set.
  33. Many new world creation fields, and many new debug fields.
  34. Scenarios have new timeout options (3 min, 5, 10, unlimited)
  35. There are new flags to disable blocks in survival mode and to hide them from your toolbar.
  36. New scenario conditions (ALL_OTHERS_LOST)
  37. Scenarios can display different win and lose tips.
  38. New flag to enable station voxels ("Station voxel support")
  39. Scenarios can have live counters (and there's a new settings box for it)
  40. There is a new material type - wood. There are also new models for trees. (this might be ME leakage).
  41. SE will likely eventually get ME's inventory system per code comments:
  42. // TODO: When this Inventory system is working well, remove it and use it as default for SE too
  43. The engine constants for Pi, km, and g have been slightly adjusted (could have side effects for existing precise creations)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement