viewizard / astromenace

Hardcore 3D space scroll-shooter with spaceship upgrade possibilities.

Home Page:https://viewizard.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Broken ships speed

nick87720z opened this issue · comments

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

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.

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.

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.

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.