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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old January 30th, 2001, 03:09 PM

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 Space Combat - Observations and Questions (Aaron/Richard take note)

Thought I would try and tweak the combat AI a bit, so I modified some of the races to use missiles (AI_DesignCreation.txt) and changed the AI and default strategy files to Maximum Weapons Range rather than Optimal Firing Range. I then started up a game on a small map with only the modified races in it (removed the other races from the Races Directory).

After a while I noticed that some races were doing slightly better in space combat than others, so I switched the computer players to human players and had a look. Some of the computer players only had missiles on their ships and all the fleets that existed had Maximum Weapons Range selected as their strategy. I then initiated tactical combat using each of the races.
The result was very interesting. The ships equipped only with missiles began "missile dancing" against the other ships and killed them after several rounds of combat. The ships with mixed weapons kept trying to close to maximum weapons range for their short range weapons (anti-proton beams, DUC's etc) and kept running head first into the missiles launched from the other ships.

This suggests to me that the combat routine will need to be altered to include a calculation of enemy missile strength vs friendly point defence strength, which could be used to switch the Strategy mode to "Dont Get Hurt" if the ratio was too unfavourable. Alternatively, some new strategy may have to be developed (Minimise Damage?).
At this stage I cannot see modifying the txt files will help much, although I am looking to test AI ships packed with higher point defence levels.

Therefore, I am looking at creating a new ship class for the AI (Aegis class?) which would be filled exclusively with missiles and point defence. The current Attack class ship would have its point defence heavily beefed up too.
I have two questions though;
1) Does anyone know whether there are any problems with adding a new ship class to the AI_DesignCreation.txt files?,
2) What does the text "spaces per one" mean in the AI_DesignCreation.txt files? The Default_AI_DesignCreation.txt has point defence as 250 and I'm not sure what it means.
I would appreciate any comments people may have before I start modding.
Regards,

God Emperor

Reply With Quote
  #2  
Old January 30th, 2001, 04:18 PM
Tampa_Gamer's Avatar

Tampa_Gamer Tampa_Gamer is offline
Captain
 
Join Date: May 2000
Location: Tampa, FL USA
Posts: 862
Thanks: 0
Thanked 0 Times in 0 Posts
Tampa_Gamer is on a distinguished road
Default Re: Space Combat - Observations and Questions (Aaron/Richard take note)

God Emporer-

In response to:

(1) the "classes" of ships are called by the AI via their "AI_construction_vehicle" files. Currently, there is no way to have the AI build additional "classes" of ships other than the default "attack," "defense" etc. However, having said that you CAN create different types of "attack" or "defense" ships, etc. See the Darlok and Sergetti design files in the Mod Pack 1.01. You can also further differentiate designs based on hull size (see the Darlok). The only problem is - you cannot tell the AI to build xx number of missile ships, or xx number of Aegis defense ships, etc.

(2) There are a number of good threads on this over the past month, but essentially if I have Point Defense per one = 250. You look at the hull size (e.g. destroyer with a 300kt) and divide it into the xx per one (we think the computer rounds up in most cases). In this case, the AI "should" build 2 PD's into the design if it has researched the component with that ability and has more room. It gets a bit more complicated this, but you really should refer back to those threads for further detail. If you still have questions (we all still do) let me know and I will try to help. I pretty much monitor this board off/on while at work, so I will be here until 6 EST.

Later
-TG

[This message has been edited by Tampa_Gamer (edited 30 January 2001).]
__________________
No bastard ever won a war by dying for his country. He won it by making the other poor dumb bastard die for his country.
-General George S. Patton
Reply With Quote
  #3  
Old January 30th, 2001, 07:39 PM

Baron Munchausen Baron Munchausen is offline
General
 
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Munchausen is on a distinguished road
Default Re: Space Combat - Observations and Questions (Aaron/Richard take note)

Yes, the vulnerability of the "straight ahead" attack style of the AI to missile dancing has been noted both here and on the beta forums many times. So far, none of our suggestions for modifying the way missiles work or re-arranging the default techs of the game has been applied. You should realize, though, that ships which carry only capital ship missiles have vulnerabilities of their own. For example, their main armament is useless against satellites. If a huge fleet of these ships pops through a warp point and finds dozens of heavily armed satellites waiting for them they will be slaughtered since only their point-defense guns will work against the sats. The same problem occurs against a race that relies heavily on fighters. Missiles cannot target fighters either and the "Earth Alliance" mod race would probably wipe the floor with any of the default races that merely had the "missile dance" strategy. It's probably wise not to setup a race to use ONLY missiles. Too bad you cannot tell it what proportion of it's "attack" or "defense" ships should use a particular design so you could maintain a favored style.

[This message has been edited by Baron Munchausen (edited 30 January 2001).]
Reply With Quote
  #4  
Old January 30th, 2001, 08:51 PM
Daynarr's Avatar

Daynarr Daynarr is offline
Lieutenant General
 
Join Date: Dec 2000
Posts: 2,555
Thanks: 5
Thanked 3 Times in 3 Posts
Daynarr is on a distinguished road
Default Re: Space Combat - Observations and Questions (Aaron/Richard take note)

These are excellent observations God Emperor. Also, that is the main reason why I have Sergetti (or the Xi'Chung I am working on) design ships that have either missiles or beam weapons, but not both in the same time. The AI simply moves to the maximum range of its shortest-range weapon and tries to maintain that distance. So basically when a race has missile ships with 1 APB on them, that APB has effect of bringing that ship in range of enemy weapons where it is heavily outgunned (unless faced with the similar design). It is the worst scenario possible for AI (or human in strategic combat). Much better results are displayed by designs that have beams weapons as their primary weapon and missiles as secondary, where this design won't be outgunned by enemy ships in close range (excluding other factors like tech levels, etc.). Of course I prefer to have specialized ships that have either missiles or beams (or torpedoes), simply because they are optimized for their purpose - no unnecessary components on them, they are made either for close combat or missile combat (Xi'Chung have a long range non-missile combat ship, though).

These things can be edited by modding, and I got my hand full so far doing it. This design flaw is one of the reasons why choose to mod the original races in the first place - the original races can be much more fun if they would be more optimized overall. Most of the game text files have lots of things that are obsolete in them and hurt AI, because of the pace the new patches are coming out - it would take too much time for MM to get through them all each time they make changes in the game. This is where the modders could help - if we optimize AI text files, the overall AI would kick a$$.

Just like the Baron said, it would be very helpful if we could tell AI what proportion to use in building a selected style. Also, it would be helpful if we could tell AI to break formation as soon as enemy gets in range of their weapons, so missile ships would break formation and start missile dance, while short-range ships would close in on enemy. It would make combat against AI much harder.
Reply With Quote
  #5  
Old January 30th, 2001, 09:13 PM
DirectorTsaarx's Avatar

DirectorTsaarx DirectorTsaarx is offline
Major
 
Join Date: Dec 2000
Location: Northern Virginia, USA
Posts: 1,048
Thanks: 0
Thanked 0 Times in 0 Posts
DirectorTsaarx is on a distinguished road
Default Re: Space Combat - Observations and Questions (Aaron/Richard take note)

And a side benefit of improving the AI is that strategic combat would be a better option; since strategic combat uses the AI routines for your own ships as well, any improvement to AI combat improves your own strategic combat...

Just in case no-one's pointed that out yet
__________________
L++ Se+++ GdY $++ Fr C+++ Csc Sf Ai AuO M+ MpTM S Ss RRSHP+ Pw- Fq->Fq+ Nd+++ Rp G++ Mm++ Bb---
Reply With Quote
  #6  
Old January 30th, 2001, 09:17 PM

rdouglass rdouglass is offline
Major
 
Join Date: Nov 2000
Location: Biddeford, ME, USA
Posts: 1,007
Thanks: 0
Thanked 0 Times in 0 Posts
rdouglass is on a distinguished road
Default Re: Space Combat - Observations and Questions (Aaron/Richard take note)

quote:
Originally posted by DirectorTsaarx:
And a side benefit of improving the AI is that strategic combat would be a better option; since strategic combat uses the AI routines for your own ships as well, any improvement to AI combat improves your own strategic combat...

Just in case no-one's pointed that out yet



IMO that would not be the case. Since you're both using the same AI files (in strategic combat), ship design, strategy (Max Range, Dont Get Hurt, etc), and formations are really the key factors.

However, I'm not that knowledgeable about modding. If the AI's use their own "Strategic Combat" files, then my argument holds no water....



[This message has been edited by rdouglass (edited 30 January 2001).]
Reply With Quote
  #7  
Old January 30th, 2001, 10:10 PM

Elwood Bluze Elwood Bluze is offline
Private
 
Join Date: Jan 2001
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Elwood Bluze is on a distinguished road
Default Re: Space Combat - Observations and Questions (Aaron/Richard take note)

I'd been wondering how the ranges worked. I thought that if you have a destroyer, fer instance, with CSM and Mesons, that it would fire the missiles, move in for meson fire and dart back out to fire missiles after they are reloaded. So that is not the case?

------------------
Get my latest album: Elwood Bluze "Biscuits and Bullets" Not on sale anywhere!
__________________
I'm back from the Big House, singin' Da Bluze!
Reply With Quote
  #8  
Old January 30th, 2001, 10:35 PM
DirectorTsaarx's Avatar

DirectorTsaarx DirectorTsaarx is offline
Major
 
Join Date: Dec 2000
Location: Northern Virginia, USA
Posts: 1,048
Thanks: 0
Thanked 0 Times in 0 Posts
DirectorTsaarx is on a distinguished road
Default Re: Space Combat - Observations and Questions (Aaron/Richard take note)

rdouglass: let me clarify. I meant that if the AI combat style improves (not just ship design, etc.) to the point where it can hold its own against a player using tactical combat, players could rely more on strategic combat for themselves. There are times when we all have to play in tactical, because the computer doesn't make the same decisions we would and loses even with superior firepower. My personal pet peeves are leaving a carrier at the far side of a battle while it launches fighters for five or six combat turns. This strings the fighters out too much, giving PD cannon a better chance to take them out; if the carrier kept moving with the already-launched fighters, the Last fighters launched wouldn't be so far behind and the attack density is better. My other favorite is when my balanced missile ship/beam weapon fleet decides to blindly follow the leader, so I either end up with missile ships at beam weapon range or beam weapon ships at missile range (that Last one really cheesed me off when attacking a planet once - all my ships stayed at range 12 because the missile ship had been designated leader; not a single beam weapon ship had a chance to fire, and the missiles weren't enough to destroy the colony, so I had to attack again).

Now, I agree that when using strategic combat in fleet vs. fleet situations, the fleet with better ships/better formation/better choice of "strategy" SHOULD win. And this should hold true no matter how good or how bad the AI is at strategic combat, since it all uses the same strategy file. HOWEVER, I have seen superior fleets take unnecessary losses because of silly mistakes; other than the ones I've already mentioned, I've also watched my ships fire on an enemy ship loaded with planetary napalm (obviously, there was no planet in the sector, otherwise I'd WANT to get rid of the planetary assault ship), just because it appeared to be the "heaviest armed" or "biggest" ship (not certain which trigger it was) and left the slightly smaller ship loaded with Graviton Hellbore V's alone long enough for it to do damage. In tactical, I would have left the planetary napalm ship alone (since it couldn't do any damage to my ships) and focused on the Hellbore ship. When the computer is smart enough to do this for me, I'll be much more likely to use strategic combat. Even if it means the AI is better at strategic combat too. Heck, given the fact that I occasionally miscalculate range or lose track of a fighter group or two, the computer may even end up doing a BETTER job, since it never miscalculates or loses track of a ship just because it's outside the "combat window". It would also be nice if "Don't Get Hurt" wasn't interpreted to mean "run to the nearest corner and wait for the enemy to surround you and beat you into flaming pieces of debris". Again, even if meant I had to chase the AI's colony ships all over the map too.

Oh - I've also had my OWN planetary napalm ship destroyed in fleet engagements because it didn't want to break formation and hide in a corner with the supply ship. At least the supply ship is allowed to break formation and hide...
__________________
L++ Se+++ GdY $++ Fr C+++ Csc Sf Ai AuO M+ MpTM S Ss RRSHP+ Pw- Fq->Fq+ Nd+++ Rp G++ Mm++ Bb---
Reply With Quote
  #9  
Old January 30th, 2001, 10:47 PM

rdouglass rdouglass is offline
Major
 
Join Date: Nov 2000
Location: Biddeford, ME, USA
Posts: 1,007
Thanks: 0
Thanked 0 Times in 0 Posts
rdouglass is on a distinguished road
Default Re: Space Combat - Observations and Questions (Aaron/Richard take note)

DirectorTsaarx, That definitely clarifies the issue and I agree with your arguments completely. I too experience the same problems with S Combat and wish that was improved significantly. However, I currently use strategic combat almost all the time since I can generally "whoopa$$" on the Ai in tactical 'cause the AI is weak (and all the reasons you mentioned below). It makes for more challenging games and requires more though with the ship design, formation, etc.

Good post and good topic!!!
Reply With Quote
  #10  
Old January 30th, 2001, 10:54 PM
DirectorTsaarx's Avatar

DirectorTsaarx DirectorTsaarx is offline
Major
 
Join Date: Dec 2000
Location: Northern Virginia, USA
Posts: 1,048
Thanks: 0
Thanked 0 Times in 0 Posts
DirectorTsaarx is on a distinguished road
Default Re: Space Combat - Observations and Questions (Aaron/Richard take note)

Yeah, at the moment I'm not worried about making the game more challenging - each of the top three empires have TWICE my score, and have stayed that way for the Last 50-100 turns. Of course, I've only met one of those three races, and even though we've been at war for the Last 50 turns, neither of us had bothered the other beyond the occasional skirmish in an unclaimed system. Now that I've finally eradicated my other major opponent, though, I expect things will change...
__________________
L++ Se+++ GdY $++ Fr C+++ Csc Sf Ai AuO M+ MpTM S Ss RRSHP+ Pw- Fq->Fq+ Nd+++ Rp G++ Mm++ Bb---
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 01:04 AM.


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