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

User login

  • Create new account
  • Request new password

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • news aggregator

Search

Who's online

There are currently 6 users and 112 guests online.

Online users

  • Ziller
  • bearclaw
  • GambitUK
  • Shrike
  • evader23
  • Karaya

Languages

  • English English
  • French French

Browse archives

« Août 2008  
Lu Ma Me Je Ve Sa Di
        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
Home » news » forums » Space Empires V » Space Empires V General

How to mod the AI?

Submitted by jjse on Fri, 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 ›
» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Captain Kwok's picture
Mod Designer

Re: How to mod the AI?

Submitted by Captain Kwok on Fri, 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

» login or register to post comments
Barnacle Bill's picture

Re: How to mod the AI?

Submitted by Barnacle Bill on Sun, 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.

» login or register to post comments
Captain Kwok's picture
Mod Designer

Re: How to mod the AI?

Submitted by Captain Kwok on Sun, 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

» login or register to post comments
Barnacle Bill's picture

Re: How to mod the AI?

Submitted by Barnacle Bill on Sun, 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.

» login or register to post comments
Captain Kwok's picture
Mod Designer

Re: How to mod the AI?

Submitted by Captain Kwok on Sun, 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

» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Now on STEAM

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

Popular content

Today's:

  • Any chance of different setup options for each player?
  • Balace Mod for Stock SEV Petition
  • Patch 1.44 Deutsch
  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V 1.74

All time:

  • 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

Last viewed:

  • Happiness still backwards
  • Research By Percentage SUCKS
  • Space Dock suggestion
  • Antares Mod
  • Warmasters Hangout
(c) Strategy First, Inc. All rights reserved.