• 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.
Applying for service; I already have worked quite alot with the HOI ai, cooperated on CORE and am greatly interested in the World War 1 timeframe. Please tell me if and where you'll need my help; I can start ASAP.
 
Originally posted by Cairo_East
Read your call for help in the Great War mod.

I have a little experience with modding in HOI. If you'd like, I could work on a certain aspect of it. Just tell me what to do.

There is plenty of stuff left to do. Writing tech descriptions, etc. I'll let Allenby fill you in on precisely what is left.
 
Originally posted by emperor dennis
Applying for service; I already have worked quite alot with the HOI ai, cooperated on CORE and am greatly interested in the World War 1 timeframe. Please tell me if and where you'll need my help; I can start ASAP.

I think we may have found a winner!!! Here take your prize emperor dennis. (Hands over a lot of inadequate AI files :D )

As to your 'if' we need you: YES!

Where: scripting AI behavior

Just reply to this if your still interested and we can go from there.
 
You post it. They shall come. :rofl:


Anyways, Belgium is sort of sorted out. What about, France's AI?

(Note I do not know of the French's position and military actions in Africa, unfortunately, perhaps someone can fill in Colonial AI later?)
(NOTE, all the below is takes only the historical into account, ahistorical, Ie. Italy joining the Central Powers, is not thought of, perhaps someone else can fill in some things about such conditions? BTW, these are my thoughts and understandings of the French position in WW1 let me know what you think)


I think:



Land Military- Send majority of troops (we are talking, 60-70%) to the front wherever the Germans are, at begining stage, Metz, and Nancy I believe, (Dijon?) and the provinces directly behind them. France should probably have 50% of their army on borders next to German troops. With 25% directly in reserve. France should also send a few divisions to Belgium to help hold that front. French AI should regard holding Arlon/Brussels/Nancy/Metz/other front positions as priority spots.


(small note, it may be useful to have a complete map of the WW1 interface posted somehwere so we can refer to it for positioning and all that lovelyness)

The rest (probably talking about 10 or so divisions) could just guard the borders with Spain/Italy. (Maybe keep five divisions in Paris)

I personally find it very annoying when the AI keeps a lot of reserves in the Capital, I think we must find a way to reduce this (especially with France)


Navy- France should concentraite on building Battleships/cruisers/destroyers. Mentality was focused on decisive battles along with support (destroyers). Probably build it into the AI to patrol German coast line (specifically in the Altlantic)
(Don't let the French send any Navy into the Baltic)
French Navy should also probably support the British if this is in any way possible (they were inferior in terms of naval power)
I would recommend keeping a small force in the Med. to deal with the Austrians before Italy joins (once Italy joins the war, , the French could either pull back or support them).

IC management- I say 70% of IC should go towards Production (not including provincal production) 20% to tech, and then the rest should go to upgrading provinces, specifically front line, or reserve provinces. We want this AI to be building fortresses all over the damn place (but NEVER at the cost of not having enough IC for troop production)


Production AI- Focus primarily on land warfare. We are talking 80% here, the rest could focus on naval units and air. France was primarily just trying to fill their lines with bodies. They didn't need any more ships. Specifically after the Germans were finally defeated at sea.


Tech AI- Focus on developing tech concerning Infantry, Cavalry, and war experiences (though not as much).


Thats all I have at the moment, what do you guys think?
 
Ofcourse i'm still interested; just tell me wich ai's I have to start with.
 
Originally posted by emperor dennis
Ofcourse i'm still interested; just tell me wich ai's I have to start with.

Well at the moment we need just about everyone coded.

But ones that absolutely need to be done now are: Great Britain, Germany, France, Austria-Hungry, Belgium, Russia, Italy, Ottoman Empire, Romania, Bulgaria, Serbia/Montenegro, the US, and Japan.

These were the historical majors and minors.

For GB: We need their navy to concentrate on the North Sea, English Channel, and to a lesser extent the Med.

We need their army to make sure England it self is adequately protected (to keep stupid AI from launcnihg a Sea Lionesque invasion), but to send most of its land forces to France/Belgium. Second priority goes to defending Egypt, and occupying German Africa.

A decent mix between building ships, soldiers, and tech.

For France: Their navy needs to concentrate on the Med, but send some support to GB in the North Sea/Atlantic.

France's armies need to concentrate on the German border, then a few forces to Belgium's border to aid in the defense there, and then finally the least priority is the Italian border and occupation of German West Africa.

France should contruct a lot of infantry with a moderate attention to tech.

For Germany: We have an event for Germany that lets Germany choose whether to follow the Schlieffen Plan or not, so we may need a AI only event that changes its priorities depending on what it chooses.

First the German Navy will be independent of this decision. Its priority should be gaining superiority in the North Sea and the English Channel, but only if it has the strength to do so, else remain in port. Also a strong presence in the Baltic is needed.

For German the Army:
Case A) (Historical path) Heavy presence along the French and Belgian borders with wanting to occupy Paris. Then a good defensive force along its border with Russia. (Probably a small force should be sent to protect those stupid beach landing areas in Germany to keep one division Entente forces from landing there!).

Case B) (Full Schlieffen Plan) Same as A but with troops shifted to cover the border with the Netherlands also.

Case C) (Russia first) Defensive forces along the border with France, and large concentration of forces along the Russian German border.

German should produce a lot of infantry, very few ships, and a moderate attention to tech.

Russia's priority should be their border with AH and Germany, and a small force along the Turkish border. Their navy should try to gain advantage in the Baltic and Black Seas. They should produce infantry/cavalry type forces with a very small tech budget.

AH should keep a small force along its Italian border, a large force against its border with Russia, and a large force with its border with Serbia/Montenegro.

Its navy should concentrate on the Adriatic Sea. AH should build lots of ground units, and with a small to modest attention to tech (bigger than Russia's but not by much).

Serbia/Montenegro: Build infantry/Cavalry like mad, and keep everything along the border with AH (perhaps a small force along the Bulgarian border).

Bulgaria: Build ground units, and concentrate on the border with Romania and Serbia (small force agianst Greece's border too).

Belgium: conentrate on building ground units like mad, and defend the border with Germany.

Japan: Take German posessions in Asia, then it should go to sleep content with its gains there.

US: before war, small tech investment and NO unit buildup. When at war: building units (ships/ground units) at an insane rate. Then concentrate in France.

For the Ottoman Empire: (3 choices) (Same as germany we may need to have AI events only to change OE's AI characteristics)

Choice A) Join the Central Powers (Historical), concentrate on Egypt with a strong defensive force in Iraq, and beach landing areas. Another good size force along the Turkish Russian border in the Caucuses.

Choice B) Neutral (Unhistorical choice 1) small investment in tech, and light buildup of forces, but do nothing but protect borders.

Choice C) Entente (Unhistorical choice 1) concentrate on building units and placing them on the Bulgaria border.

Italy: (Same as OE and Germany, three chocies that may need AI only events to change characteristics)

Choice A) (Historical-Entente) navy should try to break into the adriatic sea. land forces concentrate on AH's border.

Choice B) (join CP's) Navy in the Med. Land forces protect Libya and move into French North Africa and british Egypt. And then protect Italy itself with a modest force along France's border. (vanilla Hoi AI might be good enough for this choice with a modest changes to it.)

Choice C) Neutral. Do very little except modest tech investment and small unit construction with favoring of the navy.

Everyone else left in the world should have a small tech budget, and limited unit construction. But be mostly asleep. (So you could create one or two of these and just copy and past to the rest.)

emperor dennis: perhaps if you send StephenT a PM telling of your new role as AI guru he can send you the latest copy of our alpha version so you can tinker.
 
Or perhaps that NightY fellow?

But it should be good enough for emperor dennis to be able to test the AI, with appropriate countries and map.
 
Well, if it's okay with you guys I'll start working on good Central Powers' AI first and then do the Allies and Neutrals afterwards. It could be that I need to make some ai events and i'll post them accordingly as well. On tech: it would be a major help if someone would be so kind to give me the id's of techs each nation has to research cause I don't know this tech tree at all...yet. For now I'm gonna twinker a bit with the game as it seems most things of the original HOI have changed so I'll probablly need to start differently on this AI as well.
 
Originally posted by Cairo_East
Due to my minimal experience modding, I would like to tackle an "easy" one like Bulgaria. I think I could get that done by the end of the week without much fuss.

Is that OK with everyone?

That's fine
icon14.gif


Great suggestions for those AIs, Matt - I think you got them pretty spot on :)

Poppy.jpg
 
I've just been doing a bit of playing around with the Germany ai to see if I could get them to actually invade Belgium...

It took some doing, but I eventually managed to persuade them into Arlon by making the following changes:
Code:
front = { 
    recklessness		= 3 
    distrib_vs_ai		= even 
    distrib_vs_human		= even 

    enemy_handicap		= { } 
    passivity			= { } 

    reserve_prop		= 0.2 

    panic_ratio_vs_ai		= 1.5 
    panic_ratio_vs_human	= 1.2 

    enemy_reinf_days		= 2 

    base_attack_odds		= 1.4 
    min_attack_odds		= 1.1 
    max_attack_odds		= 3.0 
    reinforce_odds		= 0.9 
    withdraw_odds		= 0.5 
    }
In other words, increase their recklessness to the maximum and make them attack if the odds in their favour are only 1.4 to 1. :)

I also increased their country priority to 250 against Belgium, and tweaked the combat line (who they will declare war on) to be:
combat = { FRA RUS BEL POL BLR UKR }

Still nowhere near perfect, however, since they took Arlon then stopped. :mad: I think there's a lot to do for our new AI gurus!
 
Originally posted by StephenT
Still nowhere near perfect, however, since they took Arlon then stopped. :mad: I think there's a lot to do for our new AI gurus!

Would it be possible to set some sort of 'path' that the German Army should advance along in conducting the Schlieffen Plan, so that they try to go round Paris? So they go to Arlon first, then to Brussels, and so on...

Poppy.jpg
 
Originally posted by Cairo_East
All right, I've got a first-draft of the Bulgaria.ai file. Do I just post it here as text, or should I e-mail it to someone?

Post it here if you like :)

Poppy.jpg
 
Sorry for the delay, that pesky "social life" got in the way. Anyways, here's the first draft. Bulgaria is heavy on infantry production and builds up troops along Serbia, with a significant number along Greece as well. I left the standard priorities garrison in the script even though it is overriden by the country priorities code. Try it out and see what happens.

#
# TGW: Hearts of Iron
#
# By Mike McGrew
#
# AI file for Bulgaria
#

# 100 = Total warmonger, 0 = absolute pacifist
war = 60
strat_redeploy_threshold = 20
combat = { SER }
influence = {
SER ROM GRE TUR U11
}

max_front_ratio = 4.0
max_garrison_prop = 0.2
min_garrison_prop = 0.1

construction = {

max_factor = 0.2

AA_batteries = no
coastal_fort = no
max_coastal_level = 2

ic_at_war = yes
ic_end_year = 1946
}

military = {

relative_build_scheme = yes

infantry = 60
cavalry = 15
motorized = 5
mechanized = 0
panzer = 0
paratrooper = 0
marine = 0
bergsjaeger = 5
# 85 %
fighter = 5
strategic_bomber = 0
tactical_bomber = 0
naval_bomber = 0
dive_bomber = 0
transport_plane = 0
torpedo_plane = 0
# 5 %
battleship = 0
carrier = 0
destroyer = 6
cruiser = 3
submarine = 0
transports = 1
# 10 %
}

technology = {

endgoal = {}
preference = {}

electronics = 1.3
armor = 0.4
infantry = 3.6
industry = 1.2
rocket = 0.1
nuclear = 0.1
heavy_aircraft = 0.1
light_aircraft = 0.8
naval = 0.5
submarine = 0.1
artillery = 1.5
naval_doctrine = 0.1
land_doctrine = 1.9
air_doctrine = 0.5
}

garrison = {

defend_overseas_beaches = no

# PRIORITIES:
beach_1 = 50 beach_2 = 50 beach_3 = 50 capital = 100 human_border = 200 war_target = 150
opposing_alliance = 100
claim_threat = 150 unstable_border = 50
key_point_prio_mult = 0

# Borders with specific countries
country_priorities = {
SER = 200
ROM = -1
GRE = 80
TUR = -1
}

}

front = {
recklessness = 2 # 0-3
distrib_vs_ai = even
distrib_vs_human = even

enemy_reinf_days = 6

reserve_prop = 0.2
panic_ratio_vs_ai = 1.5
panic_ratio_vs_human = 1.2
base_attack_odds = 1.6
min_attack_odds = 1.1
max_attack_odds = 3.0
reinforce_odds = 1.0
withdraw_odds = 0.5
}
 
I'd have this:
PHP:
# Borders with specific countries
country_priorities = {
SER = 160
ROM = 30
GRE = 90
TUR = 10
}

And frankly, ship production is a waste of resources, I'd set it to zero...

To others, expect my first AI drafts within a few days...


To StephenT:
Were you playing your AAR with the files you posted a link to at a post above, with no leaders?
If it is, thats the main reason why Germans aren't advancing on west front, if tahts not the case - you are playing with set up leaders - than I have a lot of work to do;)
 
Good guess - there are no leaders in the game at present. (Kaiser Bill, we need you back!). Interestingly, though, I just noticed that Soviet Russia does have leaders - the WW2 USSR ones - which might explain why they are doing so well against the Whites...