Jump to content
Age of History 3
  • 0
Khorzyi

Introduction to the Holy Roman Empire. And Expansion of the Holy Roman Empire

Question

Łukasz, I want to ask if it will be possible to join the Holy Roman Empire or, playing as its emperor, personally connect new countries to it?

Share this post


Link to post
Share on other sites

9 answers to this question

Recommended Posts

  • 0
31 minutes ago, Łukasz Jakowski said:

Não e possível

I think you could have "Acceptable Zone" when you are the Emperor if you put "Cultures" in the game it would be much easier if only a certain country with the "Germanic" culture could try to join the HRE

Share this post


Link to post
Share on other sites

  • 0
17 minutes ago, Kiwi said:

I think you could have "Acceptable Zone" when you are the Emperor if you put "Cultures" in the game it would be much easier if only a certain country with the "Germanic" culture could try to join the HRE

but Italian countries were also in the HRE...

Share this post


Link to post
Share on other sites

  • 0
55 minutes ago, Joaoj said:

mas os países italianos também estavam no HRE...

Os países italianos teriam a cultura Germânica 

Share this post


Link to post
Share on other sites

  • 0
On 7/18/2024 at 10:39 PM, Łukasz Jakowski said:

It is not possible

if it does not bother you, would it work if you create several outcome/trigger for it ? 

  • x civ join/leave HRE
  • x civ vassal join/leave HRE
  • x country become emperor

Maybe it wont work, but just try at least for modding

Share this post


Link to post
Share on other sites

  • 0
Posted (edited)
  • countries - Represent each country with attributes such as name, status (e.g., member of HRE or not), etc.
  • Holy Roman Empire - Manage a list of member countries and provide functionality to add or connect countries.
  • Game Logic - Implement the rules and interactions for joining or connecting countries.

simplified Java example demonstrating these concepts:

 

Define Basic Classes

1. Country Class

public class Country {
    private String name;
    private boolean isMemberOfHRE;

    public Country(String name) {
        this.name = name;
        this.isMemberOfHRE = false;
    }

    public String getName() {
        return name;
    }

    public boolean isMemberOfHRE() {
        return isMemberOfHRE;
    }

    public void joinHRE() {
        this.isMemberOfHRE = true;
    }

    public void leaveHRE() {
        this.isMemberOfHRE = false;
    }

    @Override
    public String toString() {
        return name + (isMemberOfHRE ? " (HRE Member)" : " (Not a member)");
    }
}

 

2. HolyRomanEmpire Class

import java.util.ArrayList;
import java.util.List;

public class HolyRomanEmpire {
    private List<Country> memberCountries;

    public HolyRomanEmpire() {
        memberCountries = new ArrayList<>();
    }

    public void addCountry(Country country) {
        if (!country.isMemberOfHRE()) {
            country.joinHRE();
            memberCountries.add(country);
            System.out.println(country.getName() + " has joined the Holy Roman Empire.");
        } else {
            System.out.println(country.getName() + " is already a member of the Holy Roman Empire.");
        }
    }

    public void removeCountry(Country country) {
        if (country.isMemberOfHRE()) {
            country.leaveHRE();
            memberCountries.remove(country);
            System.out.println(country.getName() + " has left the Holy Roman Empire.");
        } else {
            System.out.println(country.getName() + " is not a member of the Holy Roman Empire.");
        }
    }

    public void listMembers() {
        if (memberCountries.isEmpty()) {
            System.out.println("The Holy Roman Empire has no members.");
        } else {
            System.out.println("Holy Roman Empire Members:");
            for (Country country : memberCountries) {
                System.out.println(country);
            }
        }
    }
}

3. Main Class

public class Main {
    public static void main(String[] args) {
        // Create countries
        Country germany = new Country("Germany");
        Country austria = new Country("Austria");
        Country france = new Country("France");

        // Create Holy Roman Empire instance
        HolyRomanEmpire hre = new HolyRomanEmpire();

        // Add countries to the HRE
        hre.addCountry(germany);
        hre.addCountry(austria);
        hre.addCountry(france);

        // List HRE members
        hre.listMembers();

        // Remove a country from the HRE
        hre.removeCountry(france);

        // List HRE members after removal
        hre.listMembers();
    }
}

 

Edited by zdislav
bad gramar

Share this post


Link to post
Share on other sites

  • 0
Posted (edited)
On 7/18/2024 at 10:54 PM, paul2kdj said:

Why though 

it is possible but programing and game development is hard and that make it "impossible" and i think the age of history 3 is made in java and java syntax is clunky

 

also impossible can mean very difficult. also  not able to occur, exist, or be done.

Edited by zdislav

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Popular Now


  • Our picks

    • AoH3 – Help with translation of the Game
      Hi, I need your help translating the Age of History 3 to your native language.
      Your translation into your native language would be very helpful! ❤️

      In the attachment is a file with new texts in the game to be translated.
       

      How to make translation:

      In the file there is list of texts in the game

      The Left side is the key, do not change it!

      The right side of each line after = is the translation to your language

       

       

      Example:

      ChooseAnAdvisorToHire = Choose an Advisor to Hire

      ChooseAnAdvisorToHire is the key, don't change it

       

      Correctly made translation:

      ChooseAnAdvisorToHire = Your translated text
      ClickToHireAnAdvisor = Your translated text
      ClickToFireAnAdvisor = Your translated text

      etc.

      ShiftClickToInvestXTimes = Shift + Click to invest {0} times

      In the place of {0} will be placed number or text

      PerformTheActionXTimes = Perform the action {0,choice,0#{0} times|1#{0} time|1<{0,number,integer} times}

       

       

      For now the game is translated to: Only English language!

       

      translation.txt
    • Bloody Europe II | New update
      Bloody Europe II - it's a mod with a huge map of Europe.

      In these mod is:
      -Giant map of Europe (4434 provinces) + big map of Europe (2637 provinces) + large map of German Empire (937 provinces)

      -Large count of scenarios from ancient times to alternative future

      -New fonts and music

      -Plenty of new civilizations, form civs and union

      -You will see changes in the game code that will change the game significantly
    • Events - Common events for every civilization in the game
      Hi,
      in this topic, I am interested in your ideas for events that can happen for every Civilization in the game.
      I'm also interested in Missions for every Civilization.

      Here is some example, have more than 10k army, have more than 5000 gold, build 10 buildings, recruit an Advisor, increase tax efficiency 20 times, be largest  producer of some resource in the world, unlock 5 Civilization legacies etc.
      • 195 replies
    • First preview of the Alpha version of Age of History 3
      First preview of the Alpha version of Age of History 3, YouTube.
      Release date: When it's ready 😛 Subscribe for more!



       





       
    • Land units - Ideas AoH3
      AoH3 will have different types of land units.

      In this topic we will write ideas for new land units. 

       

      So the AoH 3 will have new battle system.


      Representation of the battlefield in the game.


      Land units will be grouped into 3 types. Each unit will have a different recruitment cost, attack, defense, movement speed and upkeep.

      Groups determine the placement of units on the battlefield.


       

      Each unit can be unlocked by researching technology and then upgraded.

       

      Here is the current list of units with upgrades:

      First line:

      Warrior -> Light Footmen -> Heavy Infantry -> Infantry -> Line Infantry -> Modern Infantry

      Hoplites -> Spearmen -> Pikeman -> Elite Pikeman -> Musketeer -> Riflemen -> Mechanized Infantry -> Modern Mechanized Infantry

      First line side:

      Horseman -> Elite Horseman -> Cavalry -> Tank -> Modern Tank

      Second line:

      Archer -> Bowmen -> Crossbowman -> Elite Crossbowman

      Canon -> Field Cannon -> Artillery -> Modern Artillery

      Early Airplane -> Airplane -> Modern Airplane

       

      This is a very early version, so maybe something should be changed?

      Or maybe an idea for a new type of unit with upgrades? I'm waiting for your suggestions.

       
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games