Advertisement
Civilization Fanatics' Center  

Welcome to Civilization Fanatics' Center.

You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Civ4 - Project & Mod Development > Civ4 - Better AI

Notices

Reply
 
Thread Tools
Old May 27, 2009, 12:20 PM   #1
peter450
Prince
 
Join Date: Sep 2006
Posts: 392
Stealth destroyer question

I've been pottering about with unitinfo's of late and found a few odd bits here an there

The stand out one so far was the Missile Cruiser AI values

I've spotted another, but not sure if it is or is not a issue so will put to you guys

The Stealth destroyer has the same AI values assigned to it as the destroyer, namely
<UnitAIType>UNITAI_ATTACK_SEA</UnitAIType>
<UnitAIType>UNITAI_RESERVE_SEA</UnitAIType>
<UnitAIType>UNITAI_ESCORT_SEA</UnitAIType>
<UnitAIType>UNITAI_EXPLORE_SEA</UnitAIType>

Now is it me or is the Escort one a bit out of place here? if the unit is invisable to anything but other SD, then if there are no ships capable of detecting them, and these make up the bulk of a escort stack there not going to be seen and the transports are going to get attacked instead no?

Last edited by peter450; May 27, 2009 at 12:21 PM. Reason: .
peter450 is offline   Reply With Quote
Old May 28, 2009, 08:10 PM   #2
Cybah
Emperor
 
Cybah's Avatar
 
Join Date: Jun 2007
Posts: 1,453
Quote:
and the transports are going to get attacked instead no?
i think you are right. the stealth destroyer will only defend if there is an enemy stealth destroyer which can detect it. the transport will be destroyed otherwise.
Cybah is offline   Reply With Quote
Old May 30, 2009, 06:43 AM   #3
Balmipour
Chieftain
 
Join Date: May 2009
Posts: 2
I can confirm you than I recently tried to escort a transport with stealth detroyers, and...
My destroyers watched the enemy regular destroyer, sinking my transport.

It might be considered logical, as it's a stealth unit, not intended to reveal, but I've personnally been REALLY disappointed by this crappy unit.

Plus, it seems to me that "transport" units are the last used when defending, even if they got a better power, no ? (i.e. trireme will protect transport)
If I'm correct, it's really a shame that stealth destroyer behave this way

Anyway, I guess I'll just ban this unit from my personal army, as It seems completly pointless to me now.
Balmipour is offline   Reply With Quote
Old May 30, 2009, 02:42 PM   #4
MadmanAtW
Knight
 
MadmanAtW's Avatar
 
Join Date: Apr 2008
Location: San Leandro, CA
Posts: 579
When looking for the best defender, a transport will have its effective power decreased based on the value of the units it is carrying. So an empty transport will fight just like any other unit of its strength, but a loaded one is put in the queue as though it were much weaker.

So yes, SDs are unfortunately not a way to say "surprise! You shouldn't have attacked my transport!", which is sad, 'cause that would be really cool. Instead they're a way to say "surprise, you shouldn't have left that unit undefended where you thought it was safe!" which can be its own fun but requires different play.
MadmanAtW is offline   Reply With Quote
Old May 30, 2009, 11:47 PM   #5
PieceOfMind
Drill IV Defender
 
PieceOfMind's Avatar
 
Join Date: Jan 2006
Location: Australia
Posts: 9,143
Quote:
Originally Posted by Balmipour View Post
I can confirm you than I recently tried to escort a transport with stealth detroyers, and...
My destroyers watched the enemy regular destroyer, sinking my transport.

It might be considered logical, as it's a stealth unit, not intended to reveal, but I've personnally been REALLY disappointed by this crappy unit.

Plus, it seems to me that "transport" units are the last used when defending, even if they got a better power, no ? (i.e. trireme will protect transport)
If I'm correct, it's really a shame that stealth destroyer behave this way

Anyway, I guess I'll just ban this unit from my personal army, as It seems completly pointless to me now.
Try using stealth destroyers in more "stealthy" roles. Similar to submarines except they're harder again to detect (only other stealth destroyers can see them).

Using them for stack defense is indeed very pointless.
__________________
Tip: Forcing Steam's Offline Mode
Civ4 Mods: Advanced Combat Odds, PIG Mod(discontinued), HEX Mod(discontinued)
Suggestion: Try karadoc's K-Mod: Far Beyond the Sword
Read if bored: Zoom-To-Cursor, Good advice from Kaell for DX11 users, Nvidia beats AMD in Civ V
PieceOfMind is offline   Reply With Quote
Old May 31, 2009, 12:19 AM   #6
jdog5000
Revolutionary
 
jdog5000's Avatar
 
Join Date: Nov 2003
Location: California
Posts: 2,596
Hmmm ... yes, the AI shouldn't be using these as primary escorts since they don't actually defend the transports, but what should it be using at the end of the game?

Right now, Destroyers and Stealth Destroyers are the only Industrial/Modern era ships which might run an escort AI. It's worth noting that attack and reserve ship AI types will also shadow/join transport stacks, but the AI will pump out plenty of its official escorts to travel with it transports.
jdog5000 is offline   Reply With Quote
Old May 31, 2009, 06:16 AM   #7
phungus420
Deity
 
phungus420's Avatar
 
Join Date: Mar 2003
Posts: 6,296
Quote:
Originally Posted by jdog5000 View Post
Hmmm ... yes, the AI shouldn't be using these as primary escorts since they don't actually defend the transports, but what should it be using at the end of the game?

Right now, Destroyers and Stealth Destroyers are the only Industrial/Modern era ships which might run an escort AI. It's worth noting that attack and reserve ship AI types will also shadow/join transport stacks, but the AI will pump out plenty of its official escorts to travel with it transports.
My belief is since you're modding the dll anyway, to give SDDs the ability defend full transports...
__________________
Do not PM me with questions about modding. I will not answer. If you want help with something, start a thread on it, or post in a related existing thread.
phungus420 is offline   Reply With Quote
Old May 31, 2009, 07:32 AM   #8
peter450
Prince
 
Join Date: Sep 2006
Posts: 392
Either that or, just have the AI use regular destroyers as it's primary escorts, i'm sure it won't be an issue if a few stealth destoyers are in the stack/shadowing the stack, but by removing the escort AI routine it should mean the AI will only stack/shadow a transport group with a few of these and the majority of the primary escort ships will be destroyers

Destroyers are the all round best unit for the job i think, they detect subs and can intercept planes, a stealth destoyer can do neither and has only 2 FS which give it only marginally better combat odds, it's more expensive and just does not suit the role of primary escort as well as the standard destroyer

I always toyed with idea of making it into a late game version of the privateer but thats quite a big change, so i have not actually done it
peter450 is offline   Reply With Quote
Old May 31, 2009, 08:54 PM   #9
PieceOfMind
Drill IV Defender
 
PieceOfMind's Avatar
 
Join Date: Jan 2006
Location: Australia
Posts: 9,143
Quote:
Originally Posted by phungus420 View Post
My belief is since you're modding the dll anyway, to give SDDs the ability defend full transports...
I'd prefer if it the rules were left alone.
__________________
Tip: Forcing Steam's Offline Mode
Civ4 Mods: Advanced Combat Odds, PIG Mod(discontinued), HEX Mod(discontinued)
Suggestion: Try karadoc's K-Mod: Far Beyond the Sword
Read if bored: Zoom-To-Cursor, Good advice from Kaell for DX11 users, Nvidia beats AMD in Civ V
PieceOfMind is offline   Reply With Quote
Old May 31, 2009, 09:07 PM   #10
NP300
Prince
 
Join Date: May 2004
Location: North America
Posts: 402
In my personal mod, I solve this problem by making stealth destroyers visible. I just make them more powerful than regular destroyers, particularly against aircraft. I make destroyers upgrade to stealth destroyers. I reserve invisibility for subs.

It really is unrealistic to have stealth destroyers be as stealthy as subs. No naval unit can be as stealthy as subs. Real life stealth destroyers are just more resistant to detection by radar (read: by aircraft). They can still be seen by other ships and, in particular, can still be detected by the sound that they produce well beyond the horizon. In real life subs and listening devices can detect ships thousands of miles away by the sound that they emit.
__________________
Random Invisibility Mod Component: http://forums.civfanatics.com/downlo...=file&id=15313
NP300 is offline   Reply With Quote
Old May 31, 2009, 09:27 PM   #11
MadmanAtW
Knight
 
MadmanAtW's Avatar
 
Join Date: Apr 2008
Location: San Leandro, CA
Posts: 579
I agree with leaving the rules alone overall, though I confess I think it would be cool if you could set your stealth units to "defend" similar to the missions you can put your aircraft on.
MadmanAtW is offline   Reply With Quote
Old Jun 01, 2009, 01:38 AM   #12
jdog5000
Revolutionary
 
jdog5000's Avatar
 
Join Date: Nov 2003
Location: California
Posts: 2,596
Yeah, I'll leave the rules alone here I think ... the only real solution would be adding a stealth defend mission, which just isn't worth the time cost. The AI usage though will be fixed in 0.76.
jdog5000 is offline   Reply With Quote
Old Jun 01, 2009, 11:53 PM   #13
Elkad
King
 
Elkad's Avatar
 
Join Date: Mar 2007
Posts: 918
Is it possible to make a unit less visible, without being completely invisible?

By that I mean make it only visible if a unit moves into the square adjacent, rather than from 2-3 squares away.

A Stealth destroyer could then sneak thru wide-spaced picket lines, but if another ship stumbled on it (or headed for a non-stealth ship in the same stack, like transports it was escorting), it would suddenly see the SD (and the SD would defend properly).

Of course, its outside the scope of BetterAI anyway.
Elkad is offline   Reply With Quote
Old Jun 02, 2009, 05:31 AM   #14
Ninja2
Great Engineer
 
Ninja2's Avatar
 
Join Date: Nov 2005
Location: Denmarkia
Posts: 1,142
The problem goes away if you delete <UnitAIType>UNITAI_ESCORT_SEA</UnitAIType> from the unit xml, right? So as long as Destroyers don't obsolete, the transports will be escorted...

On the same note, you might even consider giving battleships the escort mission? Or will that just make the AI build too many (expensive) battleships?
__________________
Merged Mod: A combination of Wolfshanze's 1850-1920 mod, Dales Combat mod, Influence Driven War and GIR's Partisan mod, all built on top of the Better AI! Download

"The memory of spectacular failure eclipses that of enduring success."
Ninja2 is offline   Reply With Quote
Old Jun 03, 2009, 08:40 PM   #15
jdog5000
Revolutionary
 
jdog5000's Avatar
 
Join Date: Nov 2003
Location: California
Posts: 2,596
Quote:
Originally Posted by Ninja2 View Post
The problem goes away if you delete <UnitAIType>UNITAI_ESCORT_SEA</UnitAIType> from the unit xml, right? So as long as Destroyers don't obsolete, the transports will be escorted...
Correct. I'm convinced this is just a copy-and-paste error by someone at Firaxis moving over the Destroyer def ... it happens.

Quote:
Originally Posted by Ninja2 View Post
On the same note, you might even consider giving battleships the escort mission? Or will that just make the AI build too many (expensive) battleships?
That might cause them to build too many battleships, though I'm not sure about that actually ... Destroyers are better escorts since they can intercept and spot subs, the AI takes this into account. Battle ships will join or shadow assault flotillas in regularly anyway.
jdog5000 is offline   Reply With Quote
Old Jun 04, 2009, 05:25 AM   #16
Roland Johansen
Deity
 
Roland Johansen's Avatar
 
Join Date: Apr 2003
Location: the Netherlands
Posts: 4,281
Quote:
Originally Posted by NP300 View Post
In my personal mod, I solve this problem by making stealth destroyers visible. I just make them more powerful than regular destroyers, particularly against aircraft. I make destroyers upgrade to stealth destroyers. I reserve invisibility for subs.

It really is unrealistic to have stealth destroyers be as stealthy as subs. No naval unit can be as stealthy as subs. Real life stealth destroyers are just more resistant to detection by radar (read: by aircraft). They can still be seen by other ships and, in particular, can still be detected by the sound that they produce well beyond the horizon. In real life subs and listening devices can detect ships thousands of miles away by the sound that they emit.
Heh, funny, I think I've made about the same changes. It makes more sense that way (IMO). But I also agree with the other posters that it is not the kind of changes that the BetterAI mod should be making.
__________________
If in other sciences we should arrive at certainty without doubt and truth without error, it behooves us to place the foundations of knowledge in mathematics.
Roland Johansen is offline   Reply With Quote
Old Jun 04, 2009, 09:01 AM   #17
Minor Annoyance
Emperor
 
Minor Annoyance's Avatar
 
Join Date: Jun 2007
Location: Hamilton, Ontario
Posts: 1,264
I'm wondering if having the stealth destroyer be an escort is intended for it to spot other stealth destroyers for the stack, but it's getting used as a sole defender for everything when really it just counters the one unit. Would UNITAI_COUNTER be better for that purpose?
Minor Annoyance is offline   Reply With Quote
Old Jun 04, 2009, 07:57 PM   #18
jdog5000
Revolutionary
 
jdog5000's Avatar
 
Join Date: Nov 2003
Location: California
Posts: 2,596
Definitely not UNITAI_COUNTER ... that's for land units. It's true that it does spot other SD, but the AI will still build SD and bring them in a stack if we take away UNITAI_ESCORT_SEA, it just won't use them as the main escort.

Last edited by jdog5000; Jun 04, 2009 at 08:27 PM.
jdog5000 is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Civ4 - Project & Mod Development > Civ4 - Better AI > Stealth destroyer question

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stealth destroyer useless Mizar Civ4 - General Discussions 16 Mar 30, 2009 12:00 PM
What units can see stealth destroyer? Raider Civ4 - General Discussions 3 Mar 26, 2009 08:50 PM
Destroyer and Stealth Destoyer? buffalo6542 Civ4 - Bug Reports 3 Jun 22, 2008 09:22 PM
Stealth Destroyer BomberEscort Civ4 - General Discussions 23 Oct 14, 2007 05:00 AM
Stealth Destroyer snow666 Civ4 - General Discussions 0 Aug 05, 2007 02:21 AM


Advertisement

All times are GMT -6. The time now is 08:59 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR