.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old March 2nd, 2001, 11:56 PM
raynor's Avatar

raynor raynor is offline
Captain
 
Join Date: Jan 2001
Location: Texas
Posts: 830
Thanks: 0
Thanked 0 Times in 0 Posts
raynor is on a distinguished road
Default 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

Reply With Quote
  #2  
Old March 3rd, 2001, 01:45 AM
pathfinder's Avatar

pathfinder pathfinder is offline
Major General
 
Join Date: Sep 2000
Location: Midlothian, Va, USA
Posts: 2,142
Thanks: 0
Thanked 1 Time in 1 Post
pathfinder is on a distinguished road
Default 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..
__________________
L++, Gd?, $++, Fr-, C---, S*, T?, Sf+++, Tcp, A+, Bb++@, M++, MpB5, MpT, MpD, MpSa, MpM, RV, Pwt, Fqt, Nd-, Rpt, G+, Au, Mmt,S++, Ss+,
Reply With Quote
  #3  
Old March 3rd, 2001, 04:03 AM
raynor's Avatar

raynor raynor is offline
Captain
 
Join Date: Jan 2001
Location: Texas
Posts: 830
Thanks: 0
Thanked 0 Times in 0 Posts
raynor is on a distinguished road
Default 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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


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


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