Movable Planets?

Home Forums Torn Stars Movable Planets?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #15879
    mdvalley
    Participant

    I added some new features to my megatrucking package that will make the Traffic writers happy. In the old package, you had to Initialize, then tweak some properties before calling LoadShip or UnloadShip. Now those functions will call Initialize on their own if needed and will tweak the values themselves. All that needs to be done to load a ship is to dock it, call UnloadShip and/or LoadShip, and wait for the ship int property “md_epic_podstogo� to hit zero. (And wait a little over a second for the unlock to trigger). Then detach and be on your merry way.

    In addition, tMegaTrucking now has a new function, SetUpFreighter(hship freighter, int megapods, set pods), which will add and configure megapods to a ship, then fill the megapods with the pods from the set. Handy for generating traffic ships. Finally, the player feedback messages are not shown when an AI ship uses the spewer.

    I haven’t uploaded the new package yet because I’ve been behind on testing it and want to give it at least a little time on my machine before unleashing it on yours.

    Barring any unforeseen problems (or worse, feature requests), this package will be the final version, which brings me to the point of the topic. What I am wondering, is it possible to relocate a planet, moon, L-Point, or station in POG alone? As the days pass, these objects should orbit each other, right? I think it would be cool if every time the day updated (i.e., every capsule jump), POG calculated the exact positions of every body on the map and moved them all. It should be possible to compute the x, y, and z location of any map object simply by its initial position (read from the map file) and the day count (from a global variable). I’d also need the masses of each planet, but that’s easy enough to figure from the radius and a guessed density. While I’m at it, I can even calculate out the spacing on the L-Points.

    I think it would make a fun project, and add one more notch on the cool factor in Torn Stars.

    Can it be done in POG without breaking anything?


    [center][url=”http://www.torn-stars.com/”][img]http://www.torn-stars.com/images/mdvalleysig.gif[/img][/url][/center]

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.