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 168 invités en ligne.

Utilisateurs en ligne

  • GambitUK
  • Fyron
  • HeberMagalhaes

Languages

  • English English
  • French French

Parcourir les archives

« August 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 » Support & Feedback » Scenarios & Mods » SE:V MODs

AI detecting Crystallurgy and Organic Manipulation...

Soumis par Gideon le Ven, 2007-10-26 18:53 SE:V MODs

I don't know if this has been posted in the bug area under Projects, but I think it should be mentioned here, even if it is.

This is for the AI scripting, not the Data files.

It seems that Sys_Does_Empire_Have_Ability() either does not function, or at least does not return TRUE if the checked player has either Crystallurgy or Organic Manipulation abilities.

I've developed a work-around for my mod, so I'm good, but I thought the rest of the modders might like a heads up.

‹ Unique buildings and ships Homeworld Shipsets - How to? ›
» 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 Captain Kwok
Mod Designer

Re: AI detecting Crystallurgy and Organic Manipulation...

Soumis par Captain Kwok le Ven, 2007-10-26 20:22

You'd want to use Sys_Is_Empire_Research_Tech_Visible since those are tech areas and not abilities.


Space Empires Depot | SE:V Balance Mod

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

Re: AI detecting Crystallurgy and Organic Manipulation...

Soumis par Nevyn le Ven, 2007-10-26 21:21

Empire_Has_Racial_Trait() doesn't work in the AI files?

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

Re: AI detecting Crystallurgy and Organic Manipulation...

Soumis par Captain Kwok le Ven, 2007-10-26 21:55

That's a data file function, not a script function.


Space Empires Depot | SE:V Balance Mod

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

Re: AI detecting Crystallurgy and Organic Manipulation...

Soumis par Gideon le Ven, 2007-10-26 23:37

Captain Kwok wrote:
You'd want to use Sys_Is_Empire_Research_Tech_Visible since those are tech areas and not abilities.

Hmmm...perhaps a better definition of what is considered an Ability is in order, then.

On this exact topic...

I've not messed with this, but maybe you can tell me:

Lets say, for example, I do not have the Organic Manipulation trait, but I aquire a level in Organic Engineering through trade or espionage.

Would Sys_Is_Empire_Research_Tech_Visible() then return true if I checked that against me for the Organic Engineering tech?

Perhaps, does the game simply prevent you from aquiring that kind of tech if you don't have the required trait?

"Only by being constantly at war with evil in all things, including yourself, can you truely know peace."
GidMod

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

Re: AI detecting Crystallurgy and Organic Manipulation...

Soumis par Gideon le Ven, 2007-10-26 23:40

While I'm on the general subject of obscure script commands...

Does Sys_Get_Player_Resources_Received_Per_Turn() return the resources you get as calculated BEFORE or AFTER expendatures for upkeep and build queues?

"Only by being constantly at war with evil in all things, including yourself, can you truely know peace."
GidMod

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

Re: AI detecting Crystallurgy and Organic Manipulation...

Soumis par Isopsyco le Ven, 2007-11-02 07:58

Gideon wrote:
While I'm on the general subject of obscure script commands...

Does Sys_Get_Player_Resources_Received_Per_Turn() return the resources you get as calculated BEFORE or AFTER expendatures for upkeep and build queues?

"Only by being constantly at war with evil in all things, including yourself, can you truely know peace."
GidMod

I think it depends on which script file you place it in. If its in the external events script it should pick up after all the expenditures are finished and your ready to begin your turn. If its in the empire main script I think it would depend again on what part of the script executes first, your expenditure portion or that command. Since there spread out all over several text files its a little messy to track down certain things.
Anyway, thats my best assumption.

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

Re: AI detecting Crystallurgy and Organic Manipulation...

Soumis par Captain Kwok le Ven, 2007-11-02 08:29

Does Sys_Get_Player_Resources_Received_Per_Turn() only returns the total amount of resources received from all sources.


Space Empires Depot | SE:V Balance Mod

» 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 :

  • Any chance of different setup options for each player?
  • Ok What am I missing
  • Research By Percentage SUCKS
  • Balace Mod for Stock SEV Petition
  • Space Empires V 1.74

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 :

  • Adding a new hull - that all empires can use
  • Space Empires V
  • :) SEV has been released in Australia, picked it up from EB Games at lunch today...
  • Different Planet Skins for the FQM
  • Exploit_Splash.jpg
(c) Strategy First, Inc. All rights reserved.