Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » FreeStars » Production Queue allocation timing
icon5.gif  Production Queue allocation timing Mon, 01 June 2009 10:55 Go to next message
sirgwain is currently offline sirgwain

 
Chief Petty Officer

Messages: 80
Registered: March 2004
Location: Tucson
Hi,

I have a question about the allocation timing for a production queue.

If you have a ship in the production queue that costs:

100 ironium
10 boranium
10 germanium
10 resources

Being built on a planet with 0 surface minerals and a mining rate of:

1 ironium/year
10 boranium/year
10 germanium/year
10 resources/year

How are the resources and minerals allocated over time? Do all the boranium, germanium and resources required for the ship get allocated the first turn? Do they get allocated as a percentage along with the lowest complete mineral (in this case ironium)?





Come see my Stars! clone, CraigStars!

http://members.cox.net/ilovestars

Report message to a moderator

Re: Production Queue allocation timing Mon, 01 June 2009 11:12 Go to previous messageGo to next message
sirgwain is currently offline sirgwain

 
Chief Petty Officer

Messages: 80
Registered: March 2004
Location: Tucson
I may have found an answer in the freestars source code

http://freestars.svn.sourceforge.net/viewvc/freestars/trunk/ Server/ProdOrder.cpp?revision=18&view=markup

from line 441:

// Can't spend resources till all needed raw materials are on hand.
// for example: 3res 9iron item, with 4 iron on hand, since minerals must be spent before resources, you can only do 1r 4i so far
// another example 5res 4iron with 3 iron you can put in 3res 3iron. If limited to 2res you do 2res 2iron

Report message to a moderator

Re: Production Queue allocation timing Mon, 01 June 2009 15:56 Go to previous messageGo to next message
Daniel is currently offline Daniel

 
Chief Warrant Officer 2
Stars! Nova developer
Stars! Nova developer

Messages: 173
Registered: April 2006
Location: Nowra, Australia
From memory what seems to happen in game is that the percentage progress makes it only as far as the limiting mineral/resource. So in your example you would make 10% progress each year and spend resources&minerals in proportion to that. However there can only be one partially complete item so that blocks the queue (even if you could still build, say, mines) and the remaining resources go to research.


Have fun.

Report message to a moderator

Re: Production Queue allocation timing Mon, 01 June 2009 16:17 Go to previous messageGo to next message
sirgwain is currently offline sirgwain

 
Chief Petty Officer

Messages: 80
Registered: March 2004
Location: Tucson
The freestars code seems to use population for some reason with production items. Do ships and such take crew from the planet population?

Report message to a moderator

Re: Production Queue allocation timing Tue, 02 June 2009 03:13 Go to previous messageGo to next message
Coyote is currently offline Coyote

 
Lt. Commander

Messages: 906
Registered: November 2002
Location: Pacific NW

sirgwain wrote on Mon, 01 June 2009 13:17

The freestars code seems to use population for some reason with production items. Do ships and such take crew from the planet population?


That's probably put in to make room for a future PRT addition...

Report message to a moderator

Re: Production Queue allocation timing Wed, 03 June 2009 11:31 Go to previous messageGo to next message
m.a@stars is currently offline m.a@stars

 
Commander

Messages: 2755
Registered: October 2004
Location: Third star to the left
sirgwain wrote on Mon, 01 June 2009 22:17

The freestars code seems to use population for some reason with production items. Do ships and such take crew from the planet population?

Most sensible commanders use robot ships. Deal

Are you sure Freestars isn't just calculating resources from that pop? Sherlock



So many Stars, so few Missiles!

In space no one can hear you scheme! Deal

Report message to a moderator

Re: Production Queue allocation timing Thu, 04 June 2009 20:47 Go to previous messageGo to next message
sirgwain is currently offline sirgwain

 
Chief Petty Officer

Messages: 80
Registered: March 2004
Location: Tucson
nah, I looked at their code a little more and they have a comment saying it's for future expansion purposes.



Come see my Stars! clone, CraigStars!

http://members.cox.net/ilovestars

Report message to a moderator

Re: Production Queue allocation timing Mon, 26 April 2010 07:27 Go to previous messageGo to next message
finnw is currently offline finnw

 
Crewman 3rd Class

Messages: 9
Registered: October 2005

If ships require crews I wonder how they would react to being ordered to scrap the fleet in deep space

Report message to a moderator

Re: Production Queue allocation timing Mon, 26 April 2010 18:15 Go to previous messageGo to next message
Coyote is currently offline Coyote

 
Lt. Commander

Messages: 906
Registered: November 2002
Location: Pacific NW

It'd be convenient, for example, to have colony ships automatically constructed with population.

Report message to a moderator

Re: Production Queue allocation timing Tue, 27 April 2010 05:10 Go to previous messageGo to next message
m.a@stars is currently offline m.a@stars

 
Commander

Messages: 2755
Registered: October 2004
Location: Third star to the left
Coyote wrote on Tue, 27 April 2010 00:15

It'd be convenient, for example, to have colony ships automatically constructed with population.

Except when you don't want them immediately filled with pop, of course. Sometimes you'll want spares idling around. Other times you'll use them as emergency ore-carriers, fuel boosters, chaff, and what not. Twisted Evil

And then there'd be the slot-conscious players who design their Large Freighters and/or multipurpose Galleons with a Colonization Module. Imagine their surprise if they built, say, 20 of these at their Homeworld and whoosh, all their hard-working population is automagically lifted! Hit Computer Wall Bash Confused Whip



So many Stars, so few Missiles!

In space no one can hear you scheme! Deal

Report message to a moderator

Re: Production Queue allocation timing Tue, 27 April 2010 13:53 Go to previous messageGo to next message
Marduk is currently offline Marduk

 
Ensign

Messages: 345
Registered: January 2003
Location: Dayton, OH
finnw wrote on Mon, 26 April 2010 07:27

If ships require crews I wonder how they would react to being ordered to scrap the fleet in deep space

I expect with surprise and alarm when the ship starts exploding around them. The captain, who by this point has already escaped in his life pod, received the order in private and didn't tell anyone what was going to happen.



One out of five dentists recommends occasional random executions to keep the peasants cowed and servile.

Report message to a moderator

Re: Production Queue allocation timing Tue, 27 April 2010 18:10 Go to previous message
Coyote is currently offline Coyote

 
Lt. Commander

Messages: 906
Registered: November 2002
Location: Pacific NW

Imagine how the chaff crewmen feel! Puppy dog eyes

Report message to a moderator

Previous Topic: Diplomatic restraints
Next Topic: Ship Designer tweaks / enhancements
Goto Forum:
  


Current Time: Sun May 19 05:10:38 EDT 2019