.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 February 5th, 2005, 12:44 PM
Ragnarok-X's Avatar

Ragnarok-X Ragnarok-X is offline
Major General
 
Join Date: Jan 2004
Location: Germany / Bielefeld
Posts: 2,035
Thanks: 33
Thanked 18 Times in 12 Posts
Ragnarok-X is an unknown quantity at this point
Default Forcing the AI to do ships with 3 weapon families

hey, fast question. I want my AI to design ships using 3 weapon families. I can get two families by using the majority and secondary ability, but is it actually possible to get a third weapon in the design, somehow ? In fact i want my ship to use 2 normal weapons, one short and one longrange. A third weapon family is needed because using the general "Point-defense" ability would not work, since i want the AI to use a specific point-defense weapon, and not the one with the most damage output (or however it chooses). I dont have enough AI-Tags for each point-defense weapon as well.

Any suggestions ?!
Reply With Quote
  #2  
Old February 5th, 2005, 03:13 PM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: Forcing the AI to do ships with 3 weapon families

Using AI tags and dummy abilities (like Palace and such) is the only way to achieve it.
Reply With Quote
  #3  
Old February 5th, 2005, 04:17 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Forcing the AI to do ships with 3 weapon famil

As with any valuelss ability, the AI chooses which PDC to use by tech reqs and component level, not by damage or any relevant criteria. Add some dummy tech reqs to the one you want the AI to use (multiple entries for the techs it already requires are perfect), and boost its roman numeral values by 1. This will cause the AI to use it over others.

If you want more detailed info, we are in the process of writing a formal guide to this very topic over on ModWorks:

*link*
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #4  
Old February 5th, 2005, 05:18 PM
Rollo's Avatar

Rollo Rollo is offline
Brigadier General
 
Join Date: Jul 2001
Location: Kiel, Germany
Posts: 1,896
Thanks: 0
Thanked 0 Times in 0 Posts
Rollo is on a distinguished road
Default Re: Forcing the AI to do ships with 3 weapon famil

Quote:
Atrocities: Well written and a strong addition to the 101. Great work Fyron. How did you come by this information?
Quote:
Fyron: Memory of old forum discussions + testing when working on Adamant AI.
oh, sure. just don't give any credit to the guys who found out and told you =P.

Quote:
quoted from other forum: see fyrons link above

Example 1:

Name := Comp W
Number of Tech Req := 1
Tech Area Req 1 := Tech A
Tech Level Req 1 := 3

Name := Comp X
Number of Tech Req := 2
Tech Area Req 1 := Tech A
Tech Level Req 1 := 1
Tech Area Req 2 := Tech B
Tech Level Req 2 := 1

Comp X is "more advanced" because it requires 2 different tech areas. It will be added to the ship design, bypassing Comp W.

I am pretty sure this is wrong. Comp W is more advanced since it requires a total of 3 tech levels. While Comp X needs two tech areas, the total number of level is only 2.

I am 99% sure the AI would pick Comp W in case of of a valueless ability.
__________________
SE4
Devnull Mod Gold:
Version 1.80
Dungeon Odyssey:
Hack and Slash
Version 0.53e
Reply With Quote
  #5  
Old February 5th, 2005, 05:22 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Forcing the AI to do ships with 3 weapon famil

Quote:
Rollo said:
oh, sure. just don't give any credit to the guys who found out and told you =P.
Erm... sorry. Would you like credit? I wasn't trying to steal your limelight, just adding information in one centralized location. I have no idea who posted what, so it is hard to just pull names out of a hat...

Quote:
I am pretty sure this is wrong. Comp W is more advanced since it requires a total of 3 tech levels. While Comp X needs two tech areas, the total number of level is only 2.

I am 99% sure the AI would pick Comp W in case of of a valueless ability.
This has been my experience of how the AI evaluates components... I shall go test it again.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #6  
Old February 5th, 2005, 05:37 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Forcing the AI to do ships with 3 weapon famil

Ok. I don't know what I saw before that lead me to think that number of tech req areas was relevant, but it is not. Updated that linked post. Thanks for the feedback Rollo.

By the way, if you ever feel bored and want to write up little mini tutorials on any specific modding aspect, feel free to submit them to ModWorks.

Edit:
Tested a tie with valued abilities and edited post with results.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #7  
Old February 5th, 2005, 06:41 PM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: Forcing the AI to do ships with 3 weapon famil

I pretty sure it was Timstone who found a connection between the number of tech levels/reqs and AI decisions. Bab5 tread is too long to search, so I hope my memory serves me well.
Reply With Quote
  #8  
Old February 5th, 2005, 09:18 PM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default Re: Forcing the AI to do ships with 3 weapon famil

The problem with adding in AI tags to make the AI add a third weapon is that the AI will add that third weapon at the expense of all other weapons. Or so it has been with the test I ran.
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
  #9  
Old February 6th, 2005, 12:53 AM
Rollo's Avatar

Rollo Rollo is offline
Brigadier General
 
Join Date: Jul 2001
Location: Kiel, Germany
Posts: 1,896
Thanks: 0
Thanked 0 Times in 0 Posts
Rollo is on a distinguished road
Default Re: Forcing the AI to do ships with 3 weapon famil

Quote:
fyron: Erm... sorry. Would you like credit? I wasn't trying to steal your limelight, just adding information in one centralized location. I have no idea who posted what, so it is hard to just pull names out of a hat...
no, i was just pulling your leg

Quote:
Artocities:The problem with adding in AI tags to make the AI add a third weapon is that the AI will add that third weapon at the expense of all other weapons. Or so it has been with the test I ran.

That must have some other cause. It definately works, it has been used for the space monsters since before SE4 Gold came out.

Perhaps there is not enough room in the design left to add weapons. I would need to see the design file and component list to make an educated guess.
__________________
SE4
Devnull Mod Gold:
Version 1.80
Dungeon Odyssey:
Hack and Slash
Version 0.53e
Reply With Quote
  #10  
Old February 6th, 2005, 01:48 AM
Nodachi's Avatar

Nodachi Nodachi is offline
First Lieutenant
 
Join Date: Mar 2002
Location: North Carolina
Posts: 720
Thanks: 0
Thanked 0 Times in 0 Posts
Nodachi is on a distinguished road
Default Re: Forcing the AI to do ships with 3 weapon famil

Wouldn't making the AI Tag a must have ability and then defining how many under misc abilities work without shorting the primary or secondary weapon?
__________________
This is the 21st century, right? Then where the hell is my flying car?
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 11:56 PM.


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