• 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.
Oct 30, 2006
71
0
Ok, my knowledge of the game files is quite limited.

I'm wondering firstly if it's possible to have the AI use Rocket attacks (and nukes but that doesn't really interest me) or if it's a hardcoded limitation and if it is indeed possible is it as simple as tweak the AI files so they build them?

Of course, the secondary fundamental concern is that the AI then uses them to hammer high IC provinces and not waste them on low Infra/IC provinces.

Is any of the above possible and if so how would i go about doing it?

Thanks very much.

[I'm interesting in this information for future mod projects (for all of us) not necessarily concerning the setting of the vanilla game]
 
Last edited:

unmerged(58571)

Field Marshal
Jul 1, 2006
6.288
0
First, you have to remove the rocket technologies from the intended AI's research ignore list and make sure it is allowed to research secret weapon technologies (but has those is should not research on the ignore list).
Second, you should write an event that, when the target country has researched the appropriate technologies, loads a new build scheme that tells the AI to build rockets.
Third, play a few test games and observe how it uses those rockets.
Fourth, report back your observations.
 
Oct 30, 2006
71
0
Wobbler said:
First, you have to remove the rocket technologies from the intended AI's research ignore list and make sure it is allowed to research secret weapon technologies (but has those is should not research on the ignore list).
Second, you should write an event that, when the target country has researched the appropriate technologies, loads a new build scheme that tells the AI to build rockets.
Third, play a few test games and observe how it uses those rockets.
Fourth, report back your observations.

Sounds like a mission and i'm up for the challenge!

I'll use Germany AI as the test nation, i'll remove the Rocket techs from all of Germany's AI ignore litsts (1936 - 1944).

What i don't know how to do is write an event to trigger a new build scheme (you mean a 'switch' yea) so GER will begin to build and deploy rockets and attack with them. Can i get help with this?

I'll gladly play test numerous games and report the results for subsequent tweaking and when i have the process down i'll write a noob friendly step by step tutorial with explanations.

I'll play as the UK. Sealion aint gonna happen so it's probably the best nation to use to gauge the behavior of GER's rockets.

Thanks for the swift and to the point reply.

Get back to me on the event for the switch (if you know how) and the creation of the switch file (i'm guessing that will be a cut/paste of an existing AI file but with a reconfigured build priority including rockets, yea?).

Lemme know and i'll get right on it.
 

unmerged(58571)

Field Marshal
Jul 1, 2006
6.288
0
Code:
event = {
	id = <insert ID>
	trigger = {
		ai = yes
		technology = 7110 # Flying Rocket, the first V2 tech
	}
	country = GER
	name = AI_EVENT

	date = { year = 1940 }
	offset = 10
	deathdate = { year = 1999 }

	action_a = {
		command = { type = AI which = "<path to your new AI file>" }
	}
}

I would recommend going through your existing switches to make sure one that undoes your build scheme changes is not loaded.