
January 2nd, 2003, 08:34 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: Modding Questions (especially need help for AI)
Quote:
Originally posted by LostCommander:
Yet another question... How exactly is the final maintenence value of a vessel determined? Say with the original maintenance set at 50, a 1K resource cost base (-50% maintenance bonus) of a race with a 125 maintenance aptitude is 250 resources in maintenance per turn. If a component is added (base still costs 1K) that reduces maintenence of a vehicle by 10%, when and where is it applied? Would the base's maintenance be 225, 200, or 75 resources per turn in maintenance costs (or something else entirely)?
Thank you very much!
|
The Maintenance Aptitude trait bonus is subtracted from the base 25% value. 120 MA means you pay 5% maintenance for ships. 50 MA means you pay 75% maintenance. Maintenance reduction abilities on vehicles and components are multiplicative instead of additive. Bases get 50% maintenence reduction. So, a base owned by a race with 120 MA pays 2.5% maintenance.
Note: Ships are hard-coded to have a minimum base maintenance cost of 5%. If you take 120 MA and Merchants culture, you still pay 5%, not 0%.
The maintenance trait can be fixed (made multipilicative instead of additive) by making the base maintenance cost be 100 and giving all ships 75% maintenance reductition (and bases get 95 IIRC, check P&N for the exact value). The MA trait should then have its max increased, and cost per % lowered.
|