[FIXED] Civilopedia: you can't move stealth bombers on carriers - you can! (+ No XP)

The_J

Say No 2 Net Validations
Administrator
Supporter
Joined
Oct 22, 2008
Messages
42,066
Location
DE/NL/FR
From here:
It seems you can locate stealth bombers on carriers, but the civilopedia says you can't:

Spoiler :
attachment.php


Additionally it seems that stealth bombers don't get XP from combat.

No savegame yet, will try to get one.
 
So, I worked to finally get these, and I discovered they aren't accruing experience at all, I think it's a bug but there is a possibility it's WAD. Anyway to fix this myself before a patch?
 
Hmm, I've built stealth bombers and didn't notice. Planes are odd in that you don't see "stats" float til they land. And they're super slow...if you launch a stealth bomber from max range of 20 you could go get a snack while it does an attack. Cool animation but I wish you could hold SHIFT and speed it up or something.

Now I gotta build stealths again to test this. :/

Is that +999 science by chance, or is it capped?

Pure chance.

I've had over 2000 science per turn going for space ship - and it was beyond overkill since I teched up faster than I could build and got so many future tech screens I got sick of seeing it. I was also kinda screwing around and built my first nuke, built a GDR, and built one of almost every late game unit just to check them out. I was also pushing culture nicely and couldn't use the 2 free techs from rationalism SP since I teched so fast.
 
I've been poking around in the XML, and in my (not exactly exhaustive) search I haven't found any reason why Stealth Bombers shouldn't be getting upgrades. I have seen (many, many times) them receiving experience (+4 xp each time, regardless of target type), but unlike my Fighters/Jet Fighters (also +4 xp regardless of target type), they can never get any promotions.

Stealth Bombers have their own UNITCLASS, obviously, but they have the same UNITCOMBAT as Bombers (UNITCOMBAT_BOMBER). Checking the Civ5UnitPromotions.xml reveals promotions such as PROMOTION_AIR_SIEGE_1 as being available to UNITCOMBAT_BOMBER, but Stealth Bombers cannot receive it.

I've never built a regular Bomber (either the game didn't last that long or I teched too fast), so I don't know firsthand if they can receive promotions, but I've heard that they can.

Any ideas, anyone? :)
 
If it's a bug in an assignment routine, I'm going to be very sad. I'd really like to be able to get upgrades for my Stealth Bombers! There's nothing like seeing all that xp come up and not be able to do anything with it. :(
 
I have upgraded many regular bombers but never a stealth bomber. Neither has an experience bar to see how they are progressing but regular bombers upgrade normally.
 
There is a bug in UnitPanel.lua which keeps it from displaying earned experience for air units. The call unit:IsCombatUnit() returns false for air units, which causes a number of minor display bugs in various screens. I've recently fixed these in my updates to the More Unit Info mod (http://forums.civfanatics.com/showthread.php?t=388481).

With the fix, I can verify that stealth bombers are in fact gaining experience properly, but for some reason they never get triggered for promotion. Everything in the xml tables looks fine, so this doesn't appear to be fixable. Looks to be some sort of weird bug in the internal promotion handling code.
 
The fact that Stealth Bombers can land on Carriers is covered by the:

<Special>SPECIALUNIT_FIGHTER</Special>

tag in CIV5Units.xml file.

You can remove this from the Stealth Bomber and they won't be able to land on Carriers, but as a consequence they may not be loadable into cities anymore (per CIV5SpecialUnits.xml)

Work with CIV5SpecialUnits.xml for the solution. I'd do it myself, but I'm not much of a programmer...

As a possible solution, I'd recommend creating another called SPECIALUNIT_BOMBER in CIV5SpecialUnits.xml:

<Row>
<Type>SPECIALUNIT_BOMBER</Type>
<Description>TXT_KEY_SPECIALUNIT_BOMBER</Description>
<Valid>true</Valid>
<CityLoad>true</CityLoad>
</Row>

and change <Special>SPECIALUNIT_FIGHTER</Special> to <Special>SPECIALUNIT_BOMBER</Special> for the Stealth Bomber in CIV5Units.xml. Thereby allowing the SB to be stacked in the cities, but not loadable on the Carrier...
 
Is there a good reason while stealth bombers shouldn't be able to land on carriers in the first place? I would rather assume the documentation is wrong and change the text files...

Now if somebody could figure out a way to make the stealth bombers promote, that would be something.
 
Is there a good reason while stealth bombers shouldn't be able to land on carriers in the first place? I would rather assume the documentation is wrong and change the text files...

Now if somebody could figure out a way to make the stealth bombers promote, that would be something.

For gameplay - no; for reality - yes, they are too large to take off and land from a carrier
 
Hello,

I have a stealth bomber on an aircraft carrier. I did not realise this was a bug until i tried to put more on a new carrier and looked up the civlopedia which says it cannot be done.

How i rememeber the bug happening was that I had a regular bomber on a carrier. I had just conquered an city but decided to raze it. While it was razing, I upgraded the bomber that was on my carrier. To reproduce the issues could be as simple as upgrading a bomber on a carrier anytime, which I have not tried.

I have supplied screenshots showing the bomber on the carrier and that it can also attack and also has the heal option (which i think is missing from stealths which are city bound). I have also uploaded a save file which focuses on the bombers turn.

thanks
 

Attachments

  • Stealth1.jpg
    Stealth1.jpg
    175.4 KB · Views: 551
  • Stealth2.jpg
    Stealth2.jpg
    175.7 KB · Views: 394
  • Stealth3.jpg
    Stealth3.jpg
    178.6 KB · Views: 332
  • Stealth Bomber on Carrier.Civ5Save
    Stealth Bomber on Carrier.Civ5Save
    950.8 KB · Views: 222
I can still have Stealth Bombers on carriers in v. 1.0.1.217 when I upgrade carrier based Bombers to Stealth Bombers.
 
Can you still relocate them onto carriers?

Not sure if it then should be considered fixed or not :think:. Because beaming the new stealth bomber away would also not be logical.
...or how is this in civ5? Can you upgrade units outside of cities or only in them?
 
Back
Top Bottom