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

Utilisateurs en ligne

  • Randallw
  • Astorax
  • Jozsf

Languages

  • English English
  • French French

Parcourir les archives

« July 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

How to mod the AI?

Soumis par jjse le Ven, 2007-08-24 17:45 Space Empires V General

I have a question which arisen from another post of mine, since it isn't the same topic I am creating a new thread.

I would like to mod the AI so it will accept gifts even if it is very angry or murderous. Is there a way? If so, how?

If that isn't possible, is there a way to magically switch a planet's ownership from me to an AI opponent?

‹ Unable to close the deal Warp Point Defense ›
» 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: How to mod the AI?

Soumis par Captain Kwok le Ven, 2007-08-24 18:42

There's some general information at the SE wiki:
http://wiki.spaceempires.net/index.php/AI_and_Script_Editing_%28SEV%29

It's pretty basic, but gives you an overview on how the scripts work, including which ones to compile etc.

The info you'd be interested in are the [Empire Name]_Main_Script.txt, which has each AI's anger levels for various political items. You can change the anger values to accept a gift. After, follow the outline on the wiki for re-compiling the scripts and where to put them.

-----

Space Empires Depot | SE:V Balance Mod

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

Re: How to mod the AI?

Soumis par Barnacle Bill le Dim, 2007-08-26 04:27

Captain Kwok wrote:
The info you'd be interested in are the [Empire Name]_Main_Script.txt, which has each AI's anger levels for various political items. You can change the anger values to accept a gift.

What is the range of valid values for AI anger, and how do they correspond to the "mood" you see in the game. In the game, there seems to be a spectrum with "murderous" on the bad end and some more positive terms on the other end, but there also seems to be a seperate spectrum with things like "fearful" in it.

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

Re: How to mod the AI?

Soumis par Captain Kwok le Dim, 2007-08-26 08:11

If you look in the source file Script_AI_Politics.txt, you'll see a function, Calculate_Current_Anger, that converts a player's anger level into its mood against each of the other players.

The Balance Mod AI has additional moods which are created as a combination of anger and fear, which is where you'll see moods like co-operative or fearful etc.

-----

Space Empires Depot | SE:V Balance Mod

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

Re: How to mod the AI?

Soumis par Barnacle Bill le Dim, 2007-08-26 15:28

Captain Kwok wrote:
The Balance Mod AI has additional moods which are created as a combination of anger and fear, which is where you'll see moods like co-operative or fearful etc.

I'm using Unnamed's mod, but the Script_AI_Politics.txt provided therein says it is from (or at least based on) Balance Mod v1.05. I see the function and how it switches in the alternate moods based on point count. Is this just chrome, though, or is there an actual difference in AI diplomacy between (for example) "Murderous", "Insatiable" & "Terrified".

In Script_AI_GlobalSettings.txt (again from Unnamed's mod), the AI_Set_Political_Treaty_Elements function looks to be using the "anger" as a number rather than the moods.

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

Re: How to mod the AI?

Soumis par Captain Kwok le Dim, 2007-08-26 18:20

It's does, but indirectly. In the Balance Mod, the anger level for various political items are modified by the same variables as the mood description. A lot of that infrastructure was present in the v1.05 scripts but has since been improved in the latest incarnations.

You can read a bit more about it here:
http://www.captainkwok.net/balancemodfaqs.php

-----

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 :

  • Tweaking the planet art without going all the way to FQM
  • Governmet mod/patch/addon
  • Space Empires V 1.74
  • Research By Percentage SUCKS
  • Shipsets, Empires, and dead AIs

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 :

  • How I beat bugged ground combat
  • 3 questions from a newbie
  • Best Beam Weapon in game
  • Game will not save
  • It would be nice to have a welcome mat.
(c) Strategy First, Inc. All rights reserved.