Combat easy mode by limiting opponent thruster power

Post Reply
Bugbear
Posts: 30
Joined: Sun Jan 11, 2015 3:45 am

Combat easy mode by limiting opponent thruster power

Post by Bugbear »

Hi all,
I want to have a crack at improving my combat abilities and I was thinking that a simple way of doing that would be to limit the thruster output of my opponents.

Could anyone give me a pointer as to where in the code would be an appropriate place to insert a multiplier of sorts that could be used to nerf my opponent's maneuverability?

Cheers
nozmajner
Posts: 1079
Joined: Mon Jul 01, 2013 3:25 pm
Location: Budapest HU

Re: Combat easy mode by limiting opponent thruster power

Post by nozmajner »

Hmm, maybe create a thruster equipment that reduces performance (look for bespoke thrusters among the equipment for an example), and find the lua code that generates pirates/attackers, and make them add that equipment to their ships?
FluffyFreak
Posts: 1343
Joined: Tue Jul 02, 2013 1:49 pm
Location: Beeston, Nottinghamshire, GB
Contact:

Re: Combat easy mode by limiting opponent thruster power

Post by FluffyFreak »

Looks around https://github.com/pioneerspacesim/pion ... p.cpp#L558
and in https://github.com/pioneerspacesim/pion ... t.lua#L761

"thruster_power" gets "_cap" appended when it's loaded I think so they're the same values :)
FluffyFreak
Posts: 1343
Joined: Tue Jul 02, 2013 1:49 pm
Location: Beeston, Nottinghamshire, GB
Contact:

Re: Combat easy mode by limiting opponent thruster power

Post by FluffyFreak »

It's all a bit kludgey but I wanted something quick and simple, also the AI probably won't fly well with it
kennworl
Posts: 40
Joined: Thu Jul 13, 2017 9:54 am
Location: Melbourne, Australia

Re: Combat easy mode by limiting opponent thruster power

Post by kennworl »

Another approach might be to get the pirate generator to add weight to the ships. That would have the same effect would it not? Would the AI cope better with that?
nozmajner
Posts: 1079
Joined: Mon Jul 01, 2013 3:25 pm
Location: Budapest HU

Re: Combat easy mode by limiting opponent thruster power

Post by nozmajner »

The main problem is that the thrusts are quite different. Like even if you would fully load, a Wave, Sinonatrix, or Pumpkinseed it would still accelerate better than most of the ships even if they are emtpy. Same with decreasing thrust on the fly. You would need to do quite of reducing to have an effect on some ships, but the same amount would cripple others.
Right now the best acceleration is about 20G full /10G emtpy, (Wave) and the worse is 1.4G/0.6G for the Bluenose. That's way too much difference in my opinion.

Really, the game needs a rebalance. And possibly an upper limit to acceleration in general. Like if your ship would be able to pull 6G empty, even then it won't be "allowed", only the 4G it's rated to. (in-game reasoning: ship structure and squishy crew won't like too much of 6G acceleration)
Post Reply