Incorrect Money Cost for Units With Increasing Costs

Moderator: Pocus

Post Reply
redrum68
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 51
Joined: Sat Nov 25, 2017 9:05 pm

Incorrect Money Cost for Units With Increasing Costs

Post by redrum68 »

If you play say Rome, have enough equipment to build multiple early legions, and then queue up multiple early legions they appear to only cost the current price but once you end the turn more money is taken then what it showed when queuing the units. When queuing units with increasing costs, it should include ones that are already in the queue so the projected costs are correct.
Pocus
Ageod
Ageod
Posts: 7515
Joined: Tue Oct 02, 2012 3:05 pm

Re: Incorrect Money Cost for Units With Increasing Costs

Post by Pocus »

Regions queues are processed in a random order though, so you can't know if Latium queue of legions will be processed before or another region queuing legions.
And it would anyway mean calculating the outcome of all your queues beforehand, a task that involve a fair amount of work.
AGEOD Team - Makers of Kingdoms, Empires, ACW2, WON, EAW, PON, AJE, RUS, ROP, WIA.
redrum68
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 51
Joined: Sat Nov 25, 2017 9:05 pm

Re: Incorrect Money Cost for Units With Increasing Costs

Post by redrum68 »

Does the order really matter when queuing them? Could you just look at all existing legions that are queued across all regions plus all those in the field and the next one you add to the queue should include the cost increase for all of those.
Pocus
Ageod
Ageod
Posts: 7515
Joined: Tue Oct 02, 2012 3:05 pm

Re: Incorrect Money Cost for Units With Increasing Costs

Post by Pocus »

That's the issue, it involves semi heavy calculations. Because for the program, it's not only legions added, it will mean checking each and every unit ever created, for all nations, at all time, if I start checking that.
AGEOD Team - Makers of Kingdoms, Empires, ACW2, WON, EAW, PON, AJE, RUS, ROP, WIA.
redrum68
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 51
Joined: Sat Nov 25, 2017 9:05 pm

Re: Incorrect Money Cost for Units With Increasing Costs

Post by redrum68 »

But doesn't it already check all the units in the field? This would just be adding into that calculation all the units that are already in the queue across all owned regions.

Currently shown price = base * number multiplier (usually 10% or 25%) * number of that type of unit in the field

Proposed shown price = base * number multiple * (number of that type of unit in the field + number of that type of unit already queued in call owned regions)
Post Reply

Return to “Field of Glory: Empires - Tech Support”