Acceleration GA

Development area for FreeAllegiance's Community Core.
pkk
Posts: 5419
Joined: Tue Jul 01, 2003 7:00 am
Location: Germany, Munich

Post by pkk »

Compellor wrote:QUOTE (Compellor @ Jan 17 2009, 04:57 PM) Actually, I just thought of a way to do that without changing the game code, though I haven't tested it to see how well it would work. The idea is to create a, b, and c variants of each booster. Booster 1a would have 900 thrust, booster 1b would have 990 thrust, ltbooster 1c would have 545 thrust, etc. Comments? I know it would take up a number of tech tree numbers, which might hamper the inclusion of a ninth faction, I dunno.
I can remember such a fix, I'm not sure, it was suggested for Alleg+ years ago. To bad the old phpbb forum is gone. :(
The Escapist (Justin Emerson) @ Dec 21 2010, 02:33 PM:
The history of open-source Allegiance is paved with the bodies of dead code branches, forum flame wars, and personal vendettas. But a community remains because people still love the game.
TheDevil
Posts: 771
Joined: Mon Dec 22, 2008 8:04 pm
Location: London, UK

Post by TheDevil »

Compellor wrote:increases acceleration by 10%, but decreases top boosting speed

I never understood does it only affect the boosting speed or your cruising speed too?
Image
Compellor
Posts: 994
Joined: Fri Jul 06, 2007 12:56 am
Location: Columbus, OH

Post by Compellor »

Only boosting speed.
KGJV wrote:QUOTE (KGJV @ Aug 5 2008, 04:38 AM) top speed = ShipMaxSpeed * (1 + [Booster]maxThrust / ShipMaxThrust)
where ShipMaxSpeed and ShipMaxThrust are the corresponding properties in ICE ship panel ("Max Speed" and "Max Thrust")
See the linked thread for further discussion.
Any job worth doing with a laser is worth doing with many, many lasers. -Khrima
Beyond a shadow of a doubt if you don't watch them like a hawk they will stack their collective balls off - MrChaos on Alleg players
Compellor
Posts: 994
Joined: Fri Jul 06, 2007 12:56 am
Location: Columbus, OH

Post by Compellor »

I'm still not entirely clear how tech defs and successors interact, but I think I've worked the bugs out regardless.
boostdebug.igc - This is CC_03 with new boosters added in. Currently the accel GA versions are marked with "b" or "c", but those could be removed in the final version.
Any job worth doing with a laser is worth doing with many, many lasers. -Khrima
Beyond a shadow of a doubt if you don't watch them like a hawk they will stack their collective balls off - MrChaos on Alleg players
Vlymoxyd
Posts: 985
Joined: Fri Jul 04, 2003 7:00 am
Location: Québec, Canada
Contact:

Post by Vlymoxyd »

I'm against an increase in top speed.

As for the booster idea, if you calculate the right values and that it works, I think it's the way to go. I think a code fix would be best, but this sounds like a good workaround.


I'm just woried about boost acceleration. I don't know the related code, but you'd have to check how it is calculated. I'm pretty sure that a 10% booster max thrust bonus would have an impact on boosting acceleration.
I'm just not sure whether that extra boost accel would be fixing something that is currently broken(the "error" might be currently slowing booster acceleration along with the top speed) or if it's something that would make people boost much faster overall(Since 95% of the time, boosting speed has more to do with the acceleration than with the top speed).
"Désolé pour les skieurs, moi je veux voir mes fleurs!"
-German teacher

Image
http://www.steelfury.org/
Compellor
Posts: 994
Joined: Fri Jul 06, 2007 12:56 am
Location: Columbus, OH

Post by Compellor »

I have discovered a bug in the core posted above. When you launch with one of the 'b' or 'c' boosters, if you return to base the game thinks you've picked up new tech. I think this can be fixed by adding defs to the GA devels, but I need to test that.

If you're worried about practical as opposed to listed top speed, I just tested it with a Rix fig, and there's no change between Booster1/Accel0 and Booster1c/Accel2. The increased thrust makes you burn fuel faster, so while you reach that practical top speed more quickly, you run out of fuel at the same speed. How much more quickly do you run out of fuel? For Booster 1, take your listed fuel, and divide by 1.1 for each GA. So for the Rix fig, it's 8/7.3/6.6, and for a hvy int, it's 15/13.6/12.4 seconds boost duration.
Last edited by Compellor on Thu Jan 22, 2009 5:10 am, edited 1 time in total.
Any job worth doing with a laser is worth doing with many, many lasers. -Khrima
Beyond a shadow of a doubt if you don't watch them like a hawk they will stack their collective balls off - MrChaos on Alleg players
Naboki
Posts: 66
Joined: Wed Aug 18, 2004 7:00 am
Location: Vienna/Austria

Post by Naboki »

i voted for no
cos the acceleration ga is working right, just look at the physical formular of the acceleration and you will see that they are working right. Acceleration is something different then topspeed.
Gappy
Posts: 461
Joined: Wed Nov 08, 2006 7:35 pm

Post by Gappy »

Maybe we should instead change the formula for acceleration (or more specifically, deceleration), so that when you are at max thrust and want to go fast, you decelerate with only your base acceleration, but when you want to stop, you use the full GA for acceleration to stop

When accelerating at max thrust, it should use the 1.2 * accel (assuming Accel 2 GA). When decelerating at max thrust, it should use 1 * accel. When decelerating at 0 thrust, it should use 1.2 * accel
We've upped our standards. Up yours.
Dark_Sponge
Posts: 386
Joined: Sun Dec 23, 2007 4:43 am

Post by Dark_Sponge »

If I understand correctly, the addition of a 3-7% speed increase is a rough hack/attempt to make Accel GA work as it should without changing code. IMO this would be better than the multiple booster solution even if it wasn't 100% perfect.
ImageImageImage
Naboki
Posts: 66
Joined: Wed Aug 18, 2004 7:00 am
Location: Vienna/Austria

Post by Naboki »

Compellor wrote:QUOTE (Compellor @ Jan 16 2009, 11:25 PM) This is irritating and non-intuitive.
If you would change it, it would be against the law of conversation of mass. Highering the top speed with a better acceleration and a certain amount of fuel, is only doable with lowering the mass of the ship. a=f/m
Post Reply