Notifications
Clear all

To all SSC Station occupants

Thank you for the donations over the past year (2024), it is much appreciated. I am still trying to figure out how to migrate the forums to another community software (probably phpbb) but in the meantime I have updated the forum software to the latest version. SSC has been around a while so their is some very long time members here still using the site, thanks for making SSC home and sorry I haven't been as vocal as I should be in the forums I will try to improve my posting frequency.

Thank you again to all of the members that do take the time to donate a little, it helps keep this station functioning on the outer reaches of space.

-D1-

Modding questions related to scale and physics

(@monkeybtm6)
New Member

So im new here but ive known about pioneer for a long while. very impressive project.

But ive got some questions related to modding and possibly editing the source code.

Im curious if i can edit the scale of celestial bodies or distances between them?

Like scale things down where star systems are only about 1000/2000 KM in size, i know its not realistic but that's the point.

Also is there a way to edit the Newtonian physics to either remove it entirely or just tweak it to have inertia dampeners?

Quote
Topic starter Posted : March 17, 2015 11:52
(@fluffyfreak)
Noble Member

Well you're free to fork the engine and rewrite whatever you need to but that's pretty much what it might take.

ReplyQuote
Posted : March 17, 2015 12:29
(@monkeybtm6)
New Member

Was afriad of that but alright.

Still poking around the source code im a bit unsure where the system generation code is, i assume thats where scale information would be located.

ReplyQuote
Topic starter Posted : March 17, 2015 12:40
(@fluffyfreak)
Noble Member

Ah well we're happy to help even if you do fork the project 🙂

 

You want to be looking in the "galaxy" subproject, specifically the files "StarSystemGenerator.h/cpp" and suchlike. That'll give you a place to start anyway, it is quite complicated, partly because of the usage of fixed point maths which I have terrible trouble following.

 

For code related questions you might also want to post on the developer forum or drop into the IRC channel (details on the website) to speak to people.

 

You could also try creating a custom system and placing the bodies very close together, however 2000km or so is going to be VERY close and you will find planets getting strange details and properties if you push the engine as it does try to calculate a lot of things like density, and the size of the atmosphere based on the initial properties that you give the planets.

ReplyQuote
Posted : March 17, 2015 13:20
(@monkeybtm6)
New Member

Well i'm not much of a programmer myself, mostly i know some scripting basics and playing around with variables.

Was hoping that changing a few variables here or there, or making a simple script mod to get the desired results.

I probably wouldn't make a full project fork until i actually had something to show or had a good basis for a direction to take this in.

 

I'm aware of paragon is a bit of a more arcadey fork of this project and probably would be what i am looking for but, not a fan for the retro sci-fi style its going for.

ReplyQuote
Topic starter Posted : March 17, 2015 13:36
(@monkeybtm6)
New Member

Yeah after trying all this i give up, all i did was create errors and major framerate issues. xD

Guess ill have to search elsewhere and let the experts handle this, maybe someone will come along and make a fork that has what i desire in it eventually.

ReplyQuote
Topic starter Posted : March 17, 2015 15:46
(@fluffyfreak)
Noble Member

Well good luck 🙂

ReplyQuote
Posted : March 18, 2015 00:35