Modding questions related to scale and physics

This forum area is to share and discuss modding projects, models, music and other modding activities of Pioneer. Please use the 'Alpha Mods' or 'Beta Mods' folders to upload your files in the Pioneer section in the download area.
Post Reply
Monkeybtm6
Posts: 4
Joined: Tue Mar 17, 2015 3:44 pm

Modding questions related to scale and physics

Post by Monkeybtm6 »

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?
fluffyfreak
Private
Posts: 1292
Joined: Sun Nov 27, 2016 12:55 pm

RE: Modding questions related to scale and physics

Post by fluffyfreak »

Well you're free to fork the engine and rewrite whatever you need to but that's pretty much what it might take.
Monkeybtm6
Posts: 4
Joined: Tue Mar 17, 2015 3:44 pm

RE: Modding questions related to scale and physics

Post by Monkeybtm6 »

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.
fluffyfreak
Private
Posts: 1292
Joined: Sun Nov 27, 2016 12:55 pm

RE: Modding questions related to scale and physics

Post by fluffyfreak »

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[/url] 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.
Monkeybtm6
Posts: 4
Joined: Tue Mar 17, 2015 3:44 pm

RE: Modding questions related to scale and physics

Post by Monkeybtm6 »

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.
Monkeybtm6
Posts: 4
Joined: Tue Mar 17, 2015 3:44 pm

RE: Modding questions related to scale and physics

Post by Monkeybtm6 »

Yeah after trying all this i give up, all i did was create errors and major framerate issues. xDGuess 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.
fluffyfreak
Private
Posts: 1292
Joined: Sun Nov 27, 2016 12:55 pm

RE: Modding questions related to scale and physics

Post by fluffyfreak »

Well good luck :)
Post Reply

Return to “Pioneer Mods”