Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken ships speed #20

Open
nick87720z opened this issue Nov 20, 2019 · 4 comments
Open

Broken ships speed #20

nick87720z opened this issue Nov 20, 2019 · 4 comments

Comments

@nick87720z
Copy link

Expected Behavior

Different ships (at least of different types) should have different basic speed. At least it is how it was in 1.3.2 (not sure about 1.4.0). E.g. I can't imagine fighter as slow as bomber.

Actual Behavior

While playing 1.4.1, It appeared later, that starting fighter speed is not just lowered, but is same as for starting bomber (that one wiht cost 1500 and 5+1+1 weapon slots). Previously I tried full gameplay with this version, but can't remember wether I got devastator - in original game it had lowest speed with basic engine, but I don't remember if it so in current version (no saves with enough money to try it).

Steps to Reproduce the Problem

Nothing special. Basic bomber could be bought after selling basic missile launcher (btw, not best choice for first mission, more useful at raider bases).

Specifications

astromenace 1.4.1 release
OS - gentoo (ebuild in personal overlay, version bumped from portage openastromenace version)

Game Configuration (optional)

config.xml: https://gist.github.com/nick87720z/dd832a8802cb7b73edd095e19d7238dd
PilotProfile_1.4.data: https://gist.github.com/nick87720z/2feb73039b2f9f59b7374a8a27685569

@viewizard
Copy link
Owner

Hmm... ship's mass/engines should affect on control in case of Sim in SpaceShip Control Mode (Difficulty menu). I'll check this after back to home from work.

@nick87720z
Copy link
Author

nick87720z commented Nov 21, 2019

Confirming my suspection about Devastator speed (I found, I have just enough money for vessel itself).
It has same speed as speed for basic fighter, no matter of thruster type.

@viewizard
Copy link
Owner

I just check related code. Looks like ships speed is not broken, but not balanced. :-)
Here is the speed-related code line for Sim:

sharedSpaceShip->MaxSpeed = GetEnginePower(EngineType) * sharedSpaceShip->Engines.size();

Probably, GetEnginePower(), GetEngineAcceleration() and GetEngineRotatePower() should be revised in order to rebalance ships speed.

@nick87720z
Copy link
Author

Oh, nice. Yet I though about other possible difference between arcade/sim. Instead of to differ by just ignoring engine stats, when in arcade, it could be rather in behavior/control type. E.g. so:

Arcade: just like current sim. Engine power affects maximum speed. Direction change seems to be pretty fast with any engine type though.
Sim: Different control type. Instead of full speed, acceleration is affected, so that even weak chemical thruster can give good speed, just in bigger time. Though it could be third setting as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants