On Thu, 2008-01-03 at 20:29 +1300, Lee Begg wrote:
> On Thu, 03 Jan 2008, Brett Nash wrote:
> > > > Each item adds:
> > > > * A list of:
> > > > ...
> > > > * List of Weightings
> > > > ...
> > > > Then at the end:
> > > > * A list of:
> > > > * Maximum weighting (0 for ignored - no limit on this resource)
> > > > * A GRS to the 'resource'.
> > > >
> > > > So basically instead of a single weight, we get a vector for each item.
> > > >
> > > > The final list would contain a reference to the resource type in use.
> > > >
> > > > The result is so the UI can do things like:
> > > > Scouts * 3 (9 Ironium, 3 Germ, 21 Bor, 1128 Resources)
> > > > Destroyer (50 Ironium, 42 Germ, 122 Bor, 29 Resources)
> > > > ..
> > > >
> > > > Used: 50 Ironium, 45 Germ, 143 Bor, 1157 Res)
> > > > Maximum ( 200 Ironium, 9843 Germ, 145 Bot, 1200 Res)
> > > >
> > > > Using 0 limits it means full costs can be calculated in games like
> > > > Stars!.
> > >
> > > There is already a resource list in the Order frame to specify what
> > > resources will be used in doing the order. So this is already available.
> > > Build Fleet order in Minisec uses this already.
> >
> > Okay, I haven't looked into this, but can you give me an example?
>
> Sure.
>
> Say you are building a fleet. To build the fleet requires 4 units of
> nanoelectronics (resource id 6), 8 units of exoticalloy (id 3) and 2 units of
> fuel (id 1). Then the build order looks like this:
>
> <42> (planet object id)
> <0> (slot number)
> <5> (build order type)
> <3> (number of turns to finish)
> <3> (number of items in the resource list)
> <3><8> (resource id/quantity pair, exoticalloy)
> <6><4> (resource id/quantity pair, nanoelectronics)
> <1><2> (resource id/quantity pair, fuel)
> and now the extra data.
>
> So resources are already there as things used in the performing of this order.
But there is no way of knowing in the client how much the order/object
WILL cost until it's sent?
Which is the issue I was talking about so:
So I want to know: Can I build 3 scouts and a destroyer?
If the order sequence is something like:
Probe a scout,
probe a destroyer,
take a guess:
probe 3 scouts + destroyer
see cost..
That's too many round trips, plus I may need to do it on every
planet/production centre individually.
So I don't think you can do what the stars! system allows. The total
cost is useful (and necessary), but I really do think the ability to be
able to calculate your own costs/limits is very useful.
> Order Parameter that just deals with selecting quantities of resources I
> think
> would be helpful. A useful UI such as the one in Stars! would be possible in
> this case.
>
> > And does it contain enough information to do this sort of thing?
>
> The resource descriptions includes singular and plural name, singular and
> plural units, volume per unit and mass per unit.
Not the resource field, the order fields. From what you say, I would
say it does not.
_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel