This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: playable again with a few problems


Eric McDonald wrote:

Tom Low-Shang wrote:

1. The fuel supply low condition is higher than before. Fighters
run low on fuel at 10 instead of 9 and bombers run low at 21
instead of 18. Is this new behaviour expected?  Fighters and
bombers run low on fuel more frequently the other types, so I
have not seen what happens with other units.

I changed the halfway point calculation to conform to a unit's resupply percentage doctrine a few months ago. Perhaps this is causing the problem. I will look into it later.

Yes, the old halfway point calculation always assumed 50%, ignoring the unit's doctrine. The new one abides by it. The idea is that game designer could build some "extra slack" into a unit's range in case it ran into obstacles on its return journey, or whatever.


From lib/stdunit.g:

(doctrine default-doctrine
  (construction-run (u* 1))
  (rearm-percent 0)
  (resupply-percent 60)
  (repair-percent 75)
  )

You can edit the 'resupply-percent' value in this file if you don't like the shorter tether. Or, if you feel like getting into some game design, you could add a new aircraft doctrine that would put 'resupply-percent' at 50% and leave the other units alone.

Actually, as long as the AI isn't crashing aircraft in the standard game, we could consider making a change to lib/stdunit.g in the CVS repository. Maybe.

Eric


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]