|
|
|
 |
|

February 1st, 2002, 08:55 PM
|
 |
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
"Unit construction only" Space Yards
Ok, from the title of this thread it may not be clear what I am talking about. It has been discussed in several mod threads that it would be neat to be able make a component for a ships that could construct units but not be able to build ships.
The problem is even giving them a slow construction rate doesn't eliminate the possibility that given enough time a ship or base could be constructed.
Someone, I can't remember who or in what thread, mentioned controlling it by resource types. That is, creating a class of yards that was not capable of constructing all three resource types, and then making what you do not want constructable require the resource that this ships cannot build with. I want to discuss this in a little more depth.
My thought is that this would be easier than it appears on the surface. By simply editing the Vehiclesize.txt file and adding 1 organic and 1 radioactive to every hull type that you want to have a standard yard to be required to build you would work for the ship end. Then it would be a matter of making sure that your unit only required one or two of the resources.
For some units this would be easy. Mines for example already only take minerals and rads, so you could add construction of these two to the mine layer component and you could then build mines onsite, but not build ships.
For fighters it would not be so easy, since they have components taht require all three. You would have to modify all the components you would want to be buildable by the mod fighter builder. But it could still be done. You might even end up with race specific yards. Mineral/organic for the organic races, mineral/rad for the crystal races, and probably the standard ones too.
You can also make these specialized yards ship only, or conversly make the standard space yards base only. This would require a base to build a ship, but a ship could be used to build a unit. A logical progresion I think.
I think this idea could be applied to a lot of mods. Sci-fi cross, P&N, Monsters.
I think maybe the AI might have a problem with this though because they may try to build a ship on one of these unit only yards. There would be nothing to restrict putting a ship in the queue, it would simply never get built because the yard caouldn't make use on of the required resources. So this may have to be for human play only.
Comments?
Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
|

February 1st, 2002, 11:40 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: "Unit construction only" Space Yards
Hmmm. I'm trying to think of how I could reconcile the "only uses two resources" bit with my "balanced resource use" ideals.
Going with no-organics on the units might work, but that would tend to cripple organic races, since they can't then use organic weapons & such on their units.
No rads usage on units would go against engines and weapons.
Eliminating minerals would just be plain silly.
I'm not sure how I could work that into P&N 
__________________
Things you want:
|

February 2nd, 2002, 12:05 AM
|
 |
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
Re: "Unit construction only" Space Yards
What I am suggesting would require some changes to the unit components. If you had mineral/organic unit constructors for the organic races, you would have to tweak the unit components (engine/weapons) for those races so that they did not require rads. This could require in some cases a whole set of organic race equivalent components that have the same capabilities. Eg, Organic fighter engines, instead of standard fighter engines.
The non-organic races would be simpler. Simply remove the organic resource from those standard components and give them a mineral/rad unit constructor.
Geo
[ 01 February 2002: Message edited by: geoschmo ]
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
|

February 2nd, 2002, 04:25 AM
|
Major
|
|
Join Date: Apr 2001
Location: Rosario, Argentina
Posts: 1,047
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: "Unit construction only" Space Yards
You don't have to change all resources usage. Only the ones used by the unit you want to build. An only organic or only radiactive figter sounds strange but may work.
|

February 2nd, 2002, 05:03 AM
|
 |
National Security Advisor
|
|
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
|
|
Re: "Unit construction only" Space Yards
quote: Originally posted by geoschmo:
...
You can also make these specialized yards ship only, or conversly make the standard space yards base only. This would require a base to build a ship, but a ship could be used to build a unit. A logical progresion I think.
Yes, although this would also prevent building bases in deep space, unless bases were able to move, or a different base-constructing shipyard component were added.
PvK
|

February 2nd, 2002, 06:15 AM
|
 |
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
Re: "Unit construction only" Space Yards
quote: Originally posted by PvK:
Yes, although this would also prevent building bases in deep space, unless bases were able to move, or a different base-constructing shipyard component were added.
PvK
True. I think the original idea that I was basing this on was not to change the exsisting space yard component, but to be able to add construction ability to specialized "unit only" components, without allowing the construction of ships. So this would still allow you to get your deep space bases.
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
|

February 5th, 2002, 07:00 PM
|
 |
Captain
|
|
Join Date: Sep 2000
Location: USA
Posts: 806
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: "Unit construction only" Space Yards
There is already a "unit construction only" facility. It is called a planet.
Sarcasm aside, though, this means that there is a flag somewhere in the code for "unit construction only." MM just needs to make it available to modders. But as you point out, the AI would need serious reworking to make proper use of this, which is probably why it has not been made available.
__________________
Give me a scenario editor, or give me death! Pretty please???
|

February 5th, 2002, 07:13 PM
|
 |
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
Re: "Unit construction only" Space Yards
That thought did occur to me as well. As alwyas though I am simply trying to find ways of doing things without having to wait for/hope for a code change. 
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
|

February 5th, 2002, 08:09 PM
|
 |
General
|
|
Join Date: Feb 2001
Location: Pittsburgh, PA, USA
Posts: 3,070
Thanks: 13
Thanked 9 Times in 8 Posts
|
|
Re: "Unit construction only" Space Yards
quote: There is already a "unit construction only" facility. It is called a planet.
Sarcasm aside, though, this means that there is a flag somewhere in the code for "unit construction only."
No, it doesn't. It means there's a "can build ships" flag associated with the shipyard facilities and components. Planets can build facilities as well as units.
__________________
Cap'n Q
"Good morning, Pooh Bear," said Eeyore gloomily. "If it is a good morning," he said. "Which I doubt," said he.
|

February 5th, 2002, 09:05 PM
|
 |
Captain
|
|
Join Date: Sep 2000
Location: USA
Posts: 806
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: "Unit construction only" Space Yards
quote: Originally posted by capnq:
No, it doesn't. It means there's a "can build ships" flag associated with the shipyard facilities and components. Planets can build facilities as well as units.
Good point. So if the "can build ships" flag were accessible to modders, then they could make a kind of "unityard" that could build units but not ships. Even better would be if there were a "can build units" flag also, which would allow modders to require planets to build a "unityard" facility before building units. And modders could restrict shipyards to ships only. And modders could then add in a research area for a "general purpose yard" that could build both ships and units. But all of this would confuse the AI, big time!
__________________
Give me a scenario editor, or give me death! Pretty please???
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|