Where is Milo? I have a question about Range and Damage.

Starshatter: The Gathering Storm extends the classic space sim by combining fighter and starship combat in a single dynamic campaign game.
Post Reply
User avatar
Furyofaseraph
Posts: 129
Joined: Thu Feb 09, 2006 4:21 am
Contact:

Where is Milo? I have a question about Range and Damage.

Post by Furyofaseraph »

Hello Milo, people of the board,

I was wondering if it would be possible to add a function into weaponry.
Currently a weapon will do X damage up to Y range. No matter how far away a target is, so long as it is within the maximum range it will do constant damage.
What I was wondering is if we could create a relationship between range and damage. Algebraic graphing functions come to mind immediately, but I don't know how possible that will be.

Consider this:
Image

What I propose is having 5 parameters: minimum and maximum range (indicated on the chart as r and R) and a minimum and Maximum Damage (Indicated on the chart as d and D).
The fifth parameter would indicate the relationship between the two. I see two ways of doing this;
method 1) the parameter would indicate a preprogrammed curved relationship.
method 2) the parameter would indicate a formula from which the relationship would be calculated from.

Method 1 would be easier for modders, but would not be as flexible as method 2. furthermore, the game developer would have to anticipate several relationships and program them in to be used.
Method 2, on the other hand, would be incredible flexible, as a person could make whatever relationship he could figure out. however, it could be harder to find the formula you want. unless someone programs a quick calculator to graph such a relationship.

Thanks for reading my proposal,
~Rob
"May thy blade chip and shatter"
Post Reply

Return to “Starshatter: The Gathering Storm”