My Titanic Lifeform and his two friends

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Strager

General
10 Badges
Jan 9, 2007
2.072
1.144
  • Crusader Kings II
  • Deus Vult
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Heir to the Throne
  • Europa Universalis III Complete
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Stellaris Sign-up
So I see now that Titanic Lifeforms are limited to three army units in Banks. What if we get multiple planets with the modifier? Is there any way to increase the number of lifeforms I can recruit? Techs? Civics? Are there any other "special" recruitable troops like this?
 

The Founder

Field Marshal
55 Badges
Mar 13, 2013
13.053
3.164
  • A Game of Dwarves
  • Stellaris: Synthetic Dawn
  • Sword of the Stars II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II
  • Stellaris: Federations
  • Surviving Mars
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Surviving Mars: First Colony Edition
  • Crusader Kings III
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall Sign Up
  • Stellaris: Lithoids
  • Age of Wonders: Planetfall - Revelations
  • BATTLETECH
  • Europa Universalis IV
  • Stellaris: Necroids
  • Warlock 2: The Exiled
  • Warlock 2: Wrath of the Nagas
  • Cities: Skylines
  • Stellaris: Nemesis
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Legacy of Rome
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Major Wiki Contributor
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Hearts of Iron IV: Death or Dishonor
  • Ancient Space
  • Stellaris: Distant Stars Pre-Order
  • Imperator: Rome
Titanic Armies are nothing new.
What is also not new, is a static limit of 3 recruitments.
Code:
# Titanic life troops
# Can build on planets with titanic life if you get event + special project there
# Should be very strong and quite expensive, but cannot get attachments and can be built only in limited numbers
# Currently limited to 3. Ideally it would be X * Num of planets you have done the project one, but that is too complex for scripts
titanic_assault_army = {
    damage = 3.0
    health = 5.0
    morale = 2.0
    time = 90
    maintenance = 1.0
    icon_frame = 8
    assault = yes
    
    cost = {
        minerals = 350
        energy = 50
    }
    
    potential = {
        from = {
            NOR = {
                is_species = "ROBOT_POP_SPECIES_1"
                is_species = "ROBOT_POP_SPECIES_2"
                is_species = "ROBOT_POP_SPECIES_3"
                is_sentient = no
            }
        }
        custom_tooltip = {
            text = titanic_troop_limit_tooltip
            planet = { has_planet_flag = titanic_life_can_build }
            owner = {
                has_country_flag = titanic_life_soldiers
            }
        }
    }
    
    allow = {
        custom_tooltip = {
            text = titanic_troop_limit_tooltip
            planet = { has_planet_flag = titanic_life_can_build }
            owner = {
                has_country_flag = titanic_life_soldiers
                NOT = {
                     check_variable = {
                        which = "titanic_life_soldier_count"
                        value = 3
                    }
                }
            }
        }
    }
    
    on_queued = {
        owner = {
            change_variable = {
                which = "titanic_life_soldier_count"
                value = 1
            }
        }
    }
    
    on_unqueued = {
        owner = {
            change_variable = {
                which = "titanic_life_soldier_count"
                value = -1
            }
        }
    }
}

#Can't be built, is spawned on Titanic life planets after special project + event. Partly as reward, partly to ensure having this on multiple planets is always useful.
titanic_guardian_army = {
    damage = 2.0
    health = 8.0
    morale = 2.0
    time = 5
    maintenance = 1.0
    icon_frame = 8

    
    potential = {
        always = no
    }
}
However, the whole mechanic behind tracking how many "Artist Monuments" you have bought and are in use could be adapted to track a countrywide Titanic Army count too.
 

terrycloth

Lt. General
61 Badges
Jun 8, 2016
1.478
416
  • Crusader Kings II: Legacy of Rome
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Europa Universalis IV: Res Publica
  • Magicka
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Dungeonland
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Nemesis
  • BATTLETECH
  • Surviving Mars
  • Imperator: Rome
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Stellaris: Megacorp
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV
  • Victoria 2
  • Warlock: Master of the Arcane
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
Titanic Armies are nothing new.
What is also not new, is a static limit of 3 recruitments.
Code:
# Titanic life troops
# Can build on planets with titanic life if you get event + special project there
# Should be very strong and quite expensive, but cannot get attachments and can be built only in limited numbers
# Currently limited to 3. Ideally it would be X * Num of planets you have done the project one, but that is too complex for scripts
titanic_assault_army = {
    damage = 3.0
    health = 5.0
    morale = 2.0
    time = 90
    maintenance = 1.0
    icon_frame = 8
    assault = yes
   
    cost = {
        minerals = 350
        energy = 50
    }
   
    potential = {
        from = {
            NOR = {
                is_species = "ROBOT_POP_SPECIES_1"
                is_species = "ROBOT_POP_SPECIES_2"
                is_species = "ROBOT_POP_SPECIES_3"
                is_sentient = no
            }
        }
        custom_tooltip = {
            text = titanic_troop_limit_tooltip
            planet = { has_planet_flag = titanic_life_can_build }
            owner = {
                has_country_flag = titanic_life_soldiers
            }
        }
    }
   
    allow = {
        custom_tooltip = {
            text = titanic_troop_limit_tooltip
            planet = { has_planet_flag = titanic_life_can_build }
            owner = {
                has_country_flag = titanic_life_soldiers
                NOT = {
                     check_variable = {
                        which = "titanic_life_soldier_count"
                        value = 3
                    }
                }
            }
        }
    }
   
    on_queued = {
        owner = {
            change_variable = {
                which = "titanic_life_soldier_count"
                value = 1
            }
        }
    }
   
    on_unqueued = {
        owner = {
            change_variable = {
                which = "titanic_life_soldier_count"
                value = -1
            }
        }
    }
}

#Can't be built, is spawned on Titanic life planets after special project + event. Partly as reward, partly to ensure having this on multiple planets is always useful.
titanic_guardian_army = {
    damage = 2.0
    health = 8.0
    morale = 2.0
    time = 5
    maintenance = 1.0
    icon_frame = 8

   
    potential = {
        always = no
    }
}
However, the whole mechanic behind tracking how many "Artist Monuments" you have bought and are in use could be adapted to track a countrywide Titanic Army count too.

It's too complex for a script to subtract 3 from a variable when you complete a project? Are all variables local or something?
 

The Founder

Field Marshal
55 Badges
Mar 13, 2013
13.053
3.164
  • A Game of Dwarves
  • Stellaris: Synthetic Dawn
  • Sword of the Stars II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II
  • Stellaris: Federations
  • Surviving Mars
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Surviving Mars: First Colony Edition
  • Crusader Kings III
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall Sign Up
  • Stellaris: Lithoids
  • Age of Wonders: Planetfall - Revelations
  • BATTLETECH
  • Europa Universalis IV
  • Stellaris: Necroids
  • Warlock 2: The Exiled
  • Warlock 2: Wrath of the Nagas
  • Cities: Skylines
  • Stellaris: Nemesis
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Legacy of Rome
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Major Wiki Contributor
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Hearts of Iron IV: Death or Dishonor
  • Ancient Space
  • Stellaris: Distant Stars Pre-Order
  • Imperator: Rome
It's too complex for a script to subtract 3 from a variable when you complete a project? Are all variables local or something?
No. It is to complex to share the number across multiple scripts, so one can increase them.
If any piece of information has to be shared across more then one script, it always had to be done via country or galaxy flags.

Without those, the Unbidden would not know where thier Portal was parked.

The Enclaves do lessen that a lot. They now can track how often a repeatable option was picked (like the Monument). And have a counter for used up monuments.
They literally have written that they want to do it better but can not for technical reasons. If they do that, asume they literally CAN NOT do it.