Accueil Crush your enemies... and create an EMPIRE!!! Space Empires V -- BUY NOW!!!

Connexion utilisateur

  • Créer un nouveau compte
  • Demander un nouveau mot de passe

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • agrégateur de nouvelles

Rechercher

Qui est en ligne

Il y a actuellement 3 utilisateurs et 180 invités en ligne.

Utilisateurs en ligne

  • Mynhardt
  • MondoMage
  • crazydog

Languages

  • English English
  • French French

Parcourir les archives

« December 2008  
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Accueil » news » forums » Space Empires V » Space Empires V General

Is there a way to count facilities?

Soumis par Daedalus le Mer, 2007-01-24 15:58 Space Empires V General

Is there any way to count the number of facilities on a planet?

Like a Get_ function? I believe there is one that works system wide (Sys_Get_Facility_Count_In_System), but I didnt notice one for a planet. Am I missing one?

Thanks

‹ We have a new Demo AI Team Mode Intel Still Broken ›
» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.
Image de teh phear

Re: Is there a way to count facilities?

Soumis par teh phear le Mer, 2007-01-24 16:05

There may be one for the robotoid factory or planetary sheild or spaceyard!!! SPACEYARD! yes, check that!

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de Thy Reaper
Mod Designer

Re: Is there a way to count facilities?

Soumis par Thy Reaper le Mer, 2007-01-24 21:49

Nope, won't be there. The Spaceyard's limit is hard coded, and you can build any number of robotoid facilities. The only reason no more than one robotoid works is because the modifier ability's amount2 has a certain number, and only one ability of that kind with that number will be applied.

As far as I know, no function exists that does this, though you may want to look through the list of function in the Docs folder.

-----
Watch for my mod - codename: Dimensions - coming by Summer, 2007!

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Is there a way to count facilities?

Soumis par Fallen Haven le Mer, 2007-01-24 22:30

The construction script DOES count how many facilities of each types there is on each planets (it count the abilities though). That's why you can set a limit on how many facilities of each types there can be on a planet. It does not prevent them from existing, just from being built by the AI after the limit is reached.

call Add_Facility_Construction_Percentage("Facility type", % of space, Max per location)

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

How to Count Facilities

Soumis par Omnius le Jeu, 2007-01-25 09:55

If you want to know how many of each type of facility you have in total go to a colony and open up the construction queue. You will see that among the data about each facility type on the left is the amount of facilities already constructed and how many are in the construction queue. As for how many are on any planet I guess the old fashioned counting does the trick faster than any function you'd have to program.
Omnius

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de Rilo57

Re: Is there a way to count facilities?

Soumis par Rilo57 le Jeu, 2007-01-25 14:03

Thy Reaper wrote:
The only reason no more than one robotoid works is because the modifier ability's amount2 has a certain number, and only one ability of that kind with that number will be applied. quote]

Does this work for other things to control how many of them will work, by using the amount2 field?

SEV, more than a feeling.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: How to Count Facilities

Soumis par Daedalus le Jeu, 2007-01-25 15:15

Omnius wrote:
If you want to know how many of each type of facility you have in total go to a colony and open up the construction queue. You will see that among the data about each facility type on the left is the amount of facilities already constructed and how many are in the construction queue. As for how many are on any planet I guess the old fashioned counting does the trick faster than any function you'd have to program. Omnius

If I am doing it, I can't program any logic around it, and the game won't know.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Is there a way to count facilities?

Soumis par Daedalus le Jeu, 2007-01-25 15:20

Fallen Haven wrote:
The construction script DOES count how many facilities of each types there is on each planets (it count the abilities though). That's why you can set a limit on how many facilities of each types there can be on a planet. It does not prevent them from existing, just from being built by the AI after the limit is reached.

call Add_Facility_Construction_Percentage("Facility type", % of space, Max per location)

I think this is only good when it comes to AI programming.

Let me try to explain better. I am trying to get around the "1 shipyard" facility problem.

So, by doing this, I would create two facility types. One: a "Construction Yard", which, as far as game mechanics work, does nothing but sit there and look pretty. You can fill a planet up with these.

The second facility would be a "traditional" shipyard. However, Instead of constructing with X # of resources a turn, this would build with X * (# of construction yards on planet) resources a turn.

I would need a function to return the number of a facility on that planet.

Does that help?

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de Thy Reaper
Mod Designer

Re: Is there a way to count facilities?

Soumis par Thy Reaper le Jeu, 2007-01-25 15:26

Yes. Combat sensors, ecms, the talismans, stealth armor, etc. all use abilities that would not usually stack, but each component has a unique Amount2 on the applicable abilities. Only one of each component with a given unique number is counted.

Using this, you could have two components that both provide the same, unstackable attack bonus, but each provide a stackable defense bonus, for example.

-----
Watch for my mod - codename: Dimensions - coming by Summer, 2007!

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Is there a way to count facilities?

Soumis par Fallen Haven le Jeu, 2007-01-25 17:00

Daedalus wrote:
Let me try to explain better. I am trying to get around the "1 shipyard" facility problem.

What's the point of having multiple shipyard on a planet? One fast shipyard will do exactly the same as two normal ones. You basically want more production, look into ways to boost shipyard buildrate... Did you know that SY buildrate is based on how much population you have on the planet, and that it's not a formula? Did you know that the shipyard stats are used regardless of a shipyard being on the planet? A planet with or without shipyard build at the same rate, the only difference in having one is a boolean variable that state you can build ships on that planet...

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Is there a way to count facilities?

Soumis par Daedalus le Ven, 2007-01-26 09:08

Fallen Haven wrote:
What's the point of having multiple shipyard on a planet? One fast shipyard will do exactly the same as two normal ones. You basically want more production, look into ways to boost shipyard buildrate... Did you know that SY buildrate is based on how much population you have on the planet, and that it's not a formula? Did you know that the shipyard stats are used regardless of a shipyard being on the planet? A planet with or without shipyard build at the same rate, the only difference in having one is a boolean variable that state you can build ships on that planet...

Yes, I am completely aware of all of this.

I want, for all intents and purposes, the ability to create more than one facility with ship yard capabilities, for game dynamics other than population bonuses, etc.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de Grendel

multiple shipyards?

Soumis par Grendel le Ven, 2007-01-26 09:13

What about building 1 or more bases with a space yard component? that should do the trick... And you save space for other planet facilities.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de pikcachu20

Re: multiple shipyards?

Soumis par pikcachu20 le Ven, 2007-01-26 09:21

Grendel wrote:
What about building 1 or more bases with a space yard component? that should do the trick... And you save space for other planet facilities.

I don't think the space yard component is stackable. It's still a great idea though, it seems to take longer to build on a base ship then on a planet..

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Is there a way to count facilities?

Soumis par Fallen Haven le Ven, 2007-01-26 09:27

Daedalus wrote:
Yes, I am completely aware of all of this.

I want, for all intents and purposes, the ability to create more than one facility with ship yard capabilities, for game dynamics other than population bonuses, etc.

But why? Is it to make a planet dedicated to ship building? In that case you could create a larger space yard facility that take more space and significantly boost production. That might work better than try to stack shipyards on a given planet... You could also make it so you need a given planet tonnage to make use of that facility so the "mega space yard" don't get built on tiny planets...

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de Grendel

Re: Is there a way to count facilities?

Soumis par Grendel le Ven, 2007-01-26 09:29

Yes, but with smaller ships you can build fleets in a planet. Place 10 space yard bases in a planet, use emergency build, and you´ll get a full fleet in a few turns. The planet, with its extra built rate, can be used to build the capital ship of the fleet.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Is there a way to count facilities?

Soumis par Daedalus le Ven, 2007-01-26 10:50

Fallen Haven wrote:
But why? Is it to make a planet dedicated to ship building? In that case you could create a larger space yard facility that take more space and significantly boost production.

No, it is not. That is easily done now, anyway.

I want different types of facilities to have different construction abilities, but it is not possible currently to have more than one building that has "Ship yard" capabilities. If there was another way around it, I could count the particular facilities and have the main one perform all of the construction.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Is there a way to count facilities?

Soumis par Fallen Haven le Sam, 2007-01-27 09:52

Daedalus wrote:
I want different types of facilities to have different construction abilities, but it is not possible currently to have more than one building that has "Ship yard" capabilities. If there was another way around it, I could count the particular facilities and have the main one perform all of the construction.

So it's different facilities to build different things... Something like one for units, one for ships or special ones for organics and cristalline?

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Is there a way to count facilities?

Soumis par Daedalus le Mer, 2007-01-31 16:00

No, something like a "town" that produces a little of everything, including a space yard functionality, and a "City" that produces a little more of everything, etc...

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

Now on STEAM

Now on STEAM!Space Empires V via STEAMSpace Empires IV via STEAMSTEAM online by Valve Corporation

Contenu populaire

Aujourd'hui :

  • Research By Percentage SUCKS
  • What does Environmental Resistance do?
  • OK Ship Mod
  • Space Empires V
  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List

Depuis toujours :

  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V
  • Gritty Galaxy Fleet Clash
  • Damn Dirty Bugs/Annoyances
  • Space Empires V: General Thoughts, Observations, and Suggestions

Dernier accès :

  • SE5_20060929-13.jpg
  • What does Environmental Resistance do?
  • Make new technology replace old technology
  • 1.35 bug list
  • New version of Genesis SE5 map editor
(c) Strategy First, Inc. All rights reserved.