News:

And we're back!

Main Menu

Why can't I build heavy cruisers? HOI2DD

Started by jimmy olsen, April 14, 2009, 10:54:58 AM

Previous topic - Next topic

jimmy olsen

I threw together a United Commonwealth by editing a Canadian Jan 1st '36 save game for an AAR I plan on doing at Pdox and everything is working perfectly except for one thing, I can't build heavy cruisers and I can't understand why. :unsure:

I've got the tech


The code for heavy cruisers looks the same as for light cruisers.
Quote
        battleship = { 1 0 }
        light_cruiser = { 2 1 0 }
        heavy_cruiser = { 2 1 0 }
        battlecruiser = { 1 0 }
        destroyer = { 2 0 1 }
        carrier = { 2 1 0 }
        escort_carrier = { 0 }
        submarine = { 0 }
        nuclear_submarine = { 0 }
        transport = { 0 }


But I can't build them. :(
It is far better for the truth to tear my flesh to pieces, then for my soul to wander through darkness in eternal damnation.

Jet: So what kind of woman is she? What's Julia like?
Faye: Ordinary. The kind of beautiful, dangerous ordinary that you just can't leave alone.
Jet: I see.
Faye: Like an angel from the underworld. Or a devil from Paradise.
--------------------------------------------
1 Karma Chameleon point

ulmont

Posting a link to the save would be useful.

garbon

"I've never been quite sure what the point of a eunuch is, if truth be told. It seems to me they're only men with the useful bits cut off."
I drank because I wanted to drown my sorrows, but now the damned things have learned to swim.

Caliga

0 Ed Anger Disapproval Points

jimmy olsen

It is far better for the truth to tear my flesh to pieces, then for my soul to wander through darkness in eternal damnation.

Jet: So what kind of woman is she? What's Julia like?
Faye: Ordinary. The kind of beautiful, dangerous ordinary that you just can't leave alone.
Jet: I see.
Faye: Like an angel from the underworld. Or a devil from Paradise.
--------------------------------------------
1 Karma Chameleon point

Grey Fox

Next time, put the freaking game name in the fucking title.
Colonel Caliga is Awesome.

jimmy olsen

Quote from: ulmont on April 14, 2009, 10:59:21 AM
Posting a link to the save would be useful.
I'll see if I can attach it to gmail file.
It is far better for the truth to tear my flesh to pieces, then for my soul to wander through darkness in eternal damnation.

Jet: So what kind of woman is she? What's Julia like?
Faye: Ordinary. The kind of beautiful, dangerous ordinary that you just can't leave alone.
Jet: I see.
Faye: Like an angel from the underworld. Or a devil from Paradise.
--------------------------------------------
1 Karma Chameleon point

jimmy olsen

It is far better for the truth to tear my flesh to pieces, then for my soul to wander through darkness in eternal damnation.

Jet: So what kind of woman is she? What's Julia like?
Faye: Ordinary. The kind of beautiful, dangerous ordinary that you just can't leave alone.
Jet: I see.
Faye: Like an angel from the underworld. Or a devil from Paradise.
--------------------------------------------
1 Karma Chameleon point

garbon

"I've never been quite sure what the point of a eunuch is, if truth be told. It seems to me they're only men with the useful bits cut off."
I drank because I wanted to drown my sorrows, but now the damned things have learned to swim.

grumbler

QuoteWhy can't I build heavy cruisers? HOI2DD
Operator error.
The future is all around us, waiting, in moments of transition, to be born in moments of revelation. No one knows the shape of that future or where it will take us. We know only that it is always born in pain.   -G'Kar

Bayraktar!

jimmy olsen

Quote from: grumbler on April 14, 2009, 11:16:27 AM
QuoteWhy can't I build heavy cruisers? HOI2DD
Operator error.
While I assume I made some kind of mistake somewhere, but that doesn't really help me unless I know what it is.

ulmont, sent you the file
It is far better for the truth to tear my flesh to pieces, then for my soul to wander through darkness in eternal damnation.

Jet: So what kind of woman is she? What's Julia like?
Faye: Ordinary. The kind of beautiful, dangerous ordinary that you just can't leave alone.
Jet: I see.
Faye: Like an angel from the underworld. Or a devil from Paradise.
--------------------------------------------
1 Karma Chameleon point

ulmont

Quote from: jimmy olsen on April 14, 2009, 11:24:37 AM
ulmont, sent you the file

Take a look at the "allowed_divisions" section of the file.  Here's England:

Quote from: ENG
    allowed_divisions = {
        infantry = yes
        cavalry = yes
        light_armor = yes
        armor = yes
        marine = yes
        bergsjaeger = yes
        garrison = yes
        hq = yes
        militia = yes
        interceptor = yes
        strategic_bomber = yes
        tactical_bomber = yes
        transport_plane = yes
        battleship = yes
        light_cruiser = yes
        heavy_cruiser = yes
        battlecruiser = yes
        destroyer = yes
        carrier = yes
        escort_carrier = yes
        submarine = yes
        transport = yes
        }

And here's Canada:

Quote from: CANallowed_divisions = {
        infantry = yes
        cavalry = yes
        light_armor = yes
        armor = yes
        garrison = yes
        hq = yes
        militia = yes
        interceptor = yes
        tactical_bomber = yes
        battleship = yes
        light_cruiser = yes
        destroyer = yes
        carrier = yes
        submarine = yes
        transport = yes
        }
adding a "heavy_cruiser = yes" line should fix it.  You will end up needing to do the same for the other types of units at some point.

jimmy olsen

Quote from: ulmont on April 14, 2009, 11:56:58 AM
Quote from: jimmy olsen on April 14, 2009, 11:24:37 AM
ulmont, sent you the file

Take a look at the "allowed_divisions" section of the file.  Here's England:

Quote from: ENG
    allowed_divisions = {
        infantry = yes
        cavalry = yes
        light_armor = yes
        armor = yes
        marine = yes
        bergsjaeger = yes
        garrison = yes
        hq = yes
        militia = yes
        interceptor = yes
        strategic_bomber = yes
        tactical_bomber = yes
        transport_plane = yes
        battleship = yes
        light_cruiser = yes
        heavy_cruiser = yes
        battlecruiser = yes
        destroyer = yes
        carrier = yes
        escort_carrier = yes
        submarine = yes
        transport = yes
        }

And here's Canada:

Quote from: CANallowed_divisions = {
        infantry = yes
        cavalry = yes
        light_armor = yes
        armor = yes
        garrison = yes
        hq = yes
        militia = yes
        interceptor = yes
        tactical_bomber = yes
        battleship = yes
        light_cruiser = yes
        destroyer = yes
        carrier = yes
        submarine = yes
        transport = yes
        }
adding a "heavy_cruiser = yes" line should fix it.  You will end up needing to do the same for the other types of units at some point.

Thanks :hug:

Shouldn't the computer automatically do that though once I've researched the technology?
It is far better for the truth to tear my flesh to pieces, then for my soul to wander through darkness in eternal damnation.

Jet: So what kind of woman is she? What's Julia like?
Faye: Ordinary. The kind of beautiful, dangerous ordinary that you just can't leave alone.
Jet: I see.
Faye: Like an angel from the underworld. Or a devil from Paradise.
--------------------------------------------
1 Karma Chameleon point

ulmont

Quote from: jimmy olsen on April 14, 2009, 12:07:22 PM
Shouldn't the computer automatically do that though once I've researched the technology?

I think that's the difference between 'activate_unit_type' and 'new_model'.  The first one I think only fires for the baseline tech, and I'm assuming you started with great war heavy cruiser tech.  After that, new techs are just giving you new models of a type you aren't allowed to build.

Caliga

No.  As with all Paradox games, you are required to edit the source code.  :)
0 Ed Anger Disapproval Points