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

This Month's Specials

Air Assault Task Force- Save $8.00
World Supremacy- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old April 13th, 2001, 03:33 AM

God Emperor God Emperor is offline
Second Lieutenant
 
Join Date: Dec 2000
Location: Australia
Posts: 464
Thanks: 0
Thanked 0 Times in 0 Posts
God Emperor is on a distinguished road
Default Weapons selection and the AI_DesignCreation file

Just wondering whether anyone out there can tell me how to ensure that the AI uses the "best" weapon available.
My observations so far are that the AI equips it ships with the first majority weapon in the AI_DesignCreation file, regardless of whether it does less damage or have less range than a subsequent weapon.

Is this correct? How can we (modders) ensure that the AI selects the best ranged/most damaging weapon?
Reply With Quote
  #2  
Old April 13th, 2001, 07:35 AM
Q's Avatar

Q Q is offline
Colonel
 
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
Q is on a distinguished road
Default Re: Weapons selection and the AI_DesignCreation file

Your observation is correct and at the moment there's no solution to the problem.
The best solution IMO would be a line in the construction vehicle file, that prevents the AI from using a specific design once a specified tech level is available. Like that you could make a ship design for the early game with missiles but once he has lets say shard cannon level V, the AI will not use the missile design anymore.
If you want it to be perfect you could make even multiple tech levels as criteria for the use or not use of a specific ship design and combine them with logical and/or operators.
Another useful change in the hard code would be the possibility to include specific components in the design and not only abilities as it is today.
Reply With Quote
  #3  
Old April 13th, 2001, 07:02 PM

Emperor Zodd Emperor Zodd is offline
Sergeant
 
Join Date: Jan 2001
Location: Syracuse,NY USA
Posts: 320
Thanks: 0
Thanked 0 Times in 0 Posts
Emperor Zodd is on a distinguished road
Default Re: Weapons selection and the AI_DesignCreation file

Suggest this to Aaron.
Reply With Quote
  #4  
Old April 13th, 2001, 08:31 PM
Q's Avatar

Q Q is offline
Colonel
 
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
Q is on a distinguished road
Default Re: Weapons selection and the AI_DesignCreation file

quote:
Originally posted by Emperor Zodd:
Suggest this to Aaron.


Did it, but I am not sure if he read the e-mail.

[This message has been edited by Q (edited 13 April 2001).]
Reply With Quote
Reply

Bookmarks


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 07:58 AM.


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