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 4 utilisateurs et 204 invités en ligne.

Utilisateurs en ligne

  • goduranus
  • bauscho
  • Randallw
  • Qcontinuum

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

AI adaptation

Soumis par konrad le Lun, 2006-12-04 17:14 Space Empires V General

I've made some changes to how the tech tree
to reflect the game style I want to play.

as follows

1) dupled the cost of colony types (to make it harder to colonize multip[le planet types)

2) moved the Open Warp point component to
Stellar manipulation L5 (not 53) and moved
close warp point from level 30 to 10.
I prefer to start the game with no warp points, but have reasonably early access to
them.

is the research AI capable of handling these sorts of changes or will the computer controlled empires do silly things like research Settellar manipulation to level 35 anyway.

‹ Graviton hellbore Ship upgrade with a bunch of numbers. ›
» 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 maran

1, What did you alter to

Soumis par maran le Lun, 2006-12-04 19:03

1, What did you alter to double the colony types? The Script_AI_Colonytype.txt? or just the strings in the Script_AI_construction.txt? The Get_Ground_Constructions_Percentages bit?

That is what controls how the AI classifies colonies. Myself and Kwok have been doing work on it, he's got some great code in the source code for his balance mod. Take a look at it Smiling

2, From my limited experience with the AI's tech tree. Its the last thing I am looking at, so I am just getting started with it. But I am fairly certain that the AI research's things based on an 'age' like system, it will research to the tech levels set then move on to the next 'age' and do the tech levels set there.

So you moving different rewards or technologies around the tech levels will not affect its choice of what to research, it simply won't get the reward it should do when it gets there.

-EDIT
I should add you can alter this in the Script_AI_Research.txt files, its what I am working on now anyway.

---

Designing an advanced, diplomatic AI + shipset
Consult the great SEV Wiki

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

I altered the base cost of

Soumis par konrad le Lun, 2006-12-04 19:51

I altered the base cost of the technology in

TechAreas.TXT to set the cost of colonies (globally)

I alter the requirements of the component in
Components.txt to make the Warp Point opener and Closers
appear earlier.

I read on this forum that the AI has been coded to have
different research priorities in a no warp point game,
any idea how the configuration files determin this ?

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

Script file for No Warp Point

Soumis par raynor le Lun, 2006-12-04 20:02

Take a look in the following directory:

Utilities\ScriptParser\Se5EmpireScripts

Look at the file Script_AI_Research.txt

Search for 'AI_STATE_NOT_CONNECTED'

if (Sys_Get_AI_State(sys_long_Player_ID) = AI_STATE_NOT_CONNECTED) then
call Add_Tech_Area("Rock Planet Colonization", 1)
call Add_Tech_Area("Ice Planet Colonization", 1)
call Add_Tech_Area("Gas Giant Colonization", 1)
call Add_Tech_Area("Planetary Engineering", 2)
call Add_Tech_Area("Astrophysics", 2)
call Add_Tech_Area("Stellar Manipulation", 35)
call Add_Tech_Area("Planet Utilization", 100)
endif

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

Damm I was formulating that

Soumis par maran le Lun, 2006-12-04 20:20

Damm I was formulating that answer! Oh well here it is anyway...

I see what you mean, well yes tech area's will work as you intend, it will slow down research to reach that tech level.

It will have varying effects on AI's depending on how they set their research goals, could stall some where as others might not notice if they don't go for it early.

As to your second question I did a bit of poking around and In Script_AI_Research.txt it uses one of the AI states to determine what it will do next, for any modders this is a great way to set a lot of things:

// Add_Research_Items

if (Sys_Get_AI_State(sys_long_Player_ID) = AI_STATE_NOT_CONNECTED) then

call Add_Tech_Area("Astrophysics", 2)
call Add_Tech_Area("Stellar Manipulation", 35)
call Add_Tech_Area("Planet Utilization", 100)

The AI_State_Not_Connected means that the AI has no access to colonisable planets, for whatever reason and isn't attacking, defending or building infrastructure. (Can't remember the exact order but its irrelevant to the point)

This code seems to force the AI to set its desired level of stellar Manipulation really high, I am pretty certain the above has all thats needed for warp points to be created correct? If not its probably in the other things it force sets.

Now this will research this technology but whether the AI builds it or not is a whole other matter, set up in the Script_AI_designcreation.txt, Script_AI_globalsetting.txt files and possibly the construction files.

Incidentally I actually could improve my AI code slightly looking at it. I can do this by adding this not connected state, to increase the build priority of a warp point opening ship, when the AI needs it.

---

Designing an advanced, diplomatic AI + shipset
Consult the great SEV Wiki

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

Shh...

Soumis par Captain Kwok le Lun, 2006-12-04 23:21

Don't tell anyone the AI can't use any of the stellar manipulation techs...

-----

Space Empires Depot | SE:V Balance Mod

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

The AI dose use warp

Soumis par konrad le Mar, 2006-12-05 00:36

The AI dose use warp Openers

How Do I know:

I tried a standard game with No Warp Points.

After many turns (while I was still floundering about
looking for warp openers the hard way) I noticed that
some that combat was occuring during some other players
turns So I can only surmize that at least one of the
other races did have warp openers and where begining to
explore the galaxy.

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

Not likely...

Soumis par Captain Kwok le Mar, 2006-12-05 00:41

Well from the scripts there is nothing that tells the AI where or how to use any of the SM techs - they're currently blank functions. It's possible a rebellion event or something arose...

-----

Space Empires Depot | SE:V Balance Mod

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

Pretty easy to check, just

Soumis par maran le Mar, 2006-12-05 04:17

Pretty easy to check, just go to the menu select players and enter the master password. Unselect the player in question and take a peek if anyone has any connections or any orders to create warp points. This may hurt it from a gameplay point of view but at least it will tell you if its worth playing in.

---

Designing an advanced, diplomatic AI + shipset
Consult the great SEV Wiki

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

lol

Soumis par DimmurWyrd le Mer, 2006-12-06 22:48

I know that in no warp point games in SE:IV that there was a ship gets warped to another system special that was putting AI ships into my systems but that otherwise the AI would never use warp point openers (it would use star destroyers and planet killers though just very very rarely.)

not that it matters much for SE:V except that I think that is why combat can occur even with no warp points and without the AI opening any.

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

  • Babylon 5 Wars SEV Mod Update
  • Known SE5 v1.74 Bugs
  • Research By Percentage SUCKS
  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Bad Bookkeeping

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 :

  • A Question About Taking Planets Over...
  • Combat - How are to-hit values calculated?
  • Build and Send
  • More ideas
  • Why no MAP editor?
(c) Strategy First, Inc. All rights reserved.