.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   How to mod AI to attack weak player? (http://forum.shrapnelgames.com/showthread.php?t=2165)

raynor March 2nd, 2001 11:56 PM

How to mod AI to attack weak player?
 
If I understand Mega Evil Empire correctly, the calculation isn't made until the candidate empire's score exceeds 500,000 points. Then, if they are human and their score is more than 70% over the score of the #2 player, all empires in the galaxy declare them Mega Evil, break their treaties with this player and declare war. For the AI, their score has to be 150% over the score of the #2 player. Does this sound correct?

I like MEE. I think it is a good feature. But what I want is a player specific MEE calculation on the other end of the scale. I want the aggressive players to IMMEDIATELY attack any races whose score is less than theirs by a certain threshold. I don't just want the aggressive AI to get a little more angrier than a pacificistic empire. No, I want them the realize that the other player is easy pickings and try to wipe them out early. I haven't found a way to do this by modifying the data files. Does anyone think this can be done? Does anyone else think this would be a good enough idea to suggest to Malfador? All comments welcome.

(Here are the lines excerpted from settings.txt.)

AI Mega Evil Empire Threshold Score Thousands := 500
AI Human Mega Evil Empire Score Percent := 170
AI Computer Mega Evil Empire Score Percent := 250


pathfinder March 3rd, 2001 01:45 AM

Re: How to mod AI to attack weak player?
 
Look at the AI-politics file(s)...

there is setting for declaring war on weaker player(s)...

set that to goto war quicker and maybe also break treaty(ies) faster. not sure what way to go myself to do this...maybe Sundevil will as he did a MOD on this and the AI_anger files..

raynor March 3rd, 2001 04:03 AM

Re: How to mod AI to attack weak player?
 
Thanks for the tip! I'll try some simple changes to that file and let you know what I find out. I imagine I'll be back with more questions tomorrow. http://www.shrapnelgames.com/ubb/images/icons/icon7.gif


All times are GMT -4. The time now is 02:17 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.