• 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.
Feb 11, 2007
771
0
Is it possible to make an event that gives to USA 4 strategic bomber when they get a nuke and if they lose these strategic bombers to get new 4 :rolleyes: . For example:

event 999999
trigger = nuke value = 1 (or sth similar)
action a = "great"
command = get 4 strategic bombers


event 99999999999
trigger = nuke value = 1
strategic bombers = 0
event = (previous one)


actiona = get new 4 bombers


sorry for this bad example, but i haven't enough time to make it better.
 
Last edited:

Gen. Skobelev

Werewolf therapist
81 Badges
May 9, 2005
3.387
251
  • Victoria: Revolutions
AFAIK there's no trigger checking if country has nukes. You could make it to check if the country has researched relevant nuclear tech. And giving units is easy, just use add_division command line.
 
Jul 3, 2007
299
0
if u want nukes, just press f12 and type in "nuke" and it will give u a nuke, repeat if u'd like more...
 
Feb 11, 2007
771
0
J the STUD said:
if u want nukes, just press f12 and type in "nuke" and it will give u a nuke, repeat if u'd like more...
I have DAIM combined with arma 1.2 and USA have nukes, but they haven't strategic bombers or rockets (I play as Germany). i saved and then a loaded with USA. i started a serial run of strategic bombers. then a saved and reloaded as germany again. after time USA dropped 3 nukes (in berlin, luxemburg and potsdam). So, can you help me to get such an event or something similar

PS: is it possible somehow to edit the usa_ai file, so they qould build strategic bombers

i looked in this file:

untitled-22.jpg




and:

untitled2-10.jpg



should I edit this to make USA build strategic bombers or rockets
 
Last edited:

Gen. Skobelev

Werewolf therapist
81 Badges
May 9, 2005
3.387
251
  • Victoria: Revolutions
kris4o1993 said:
I have DAIM combined with arma 1.2 and USA have nukes, but they haven't strategic bombers or rockets (I play as Germany). i saved and then a loaded with USA. i started a serial run of strategic bombers. then a saved and reloaded as germany again. after time USA dropped 3 nukes (in berlin, luxemburg and potsdam). So, can you help me to get such an event or something similar

For such event, you could check the Wiki to see how those events are done. They are pretty easy to do. Here's one example:

Code:
event = {
	id = 999999
	random = no 
	country = USA
	persistent = no
	
	trigger = {
		ai = yes
		war = { country = GER country = USA }
	}

	name = "AI_EVENT"
	style = 0	
	
	date = { day = 1 month = february year = 1942 }
	offset = 1
	deathdate = { day = 29 month = december year = 1945 }

	action_a = {
		command = { type = add_division which = "1st Strategic Squadron" value = strategic_bomber when = 2 where = escort }
		command = { type = add_division which = "2nd Strategic Squadron" value = strategic_bomber when = 2 where = escort }
		command = { type = add_division which = "3rd Strategic Squadron" value = strategic_bomber when = 2 where = escort }
		command = { type = add_division which = "4th Strategic Squadron" value = strategic_bomber when = 2 where = escort }
                }
}


PS: is it possible somehow to edit the usa_ai file, so they qould build strategic bombers

Of course. Open the relevant US AI file (I don't have DAIM at the moment so can't tell which file it is), then search for the build scheme
Code:
	# USA Build scheme:
            infantry 	     = 2.000 
            cavalry	     = 0.000 
            motorized 	     = 3.000 
            mechanized	     = 7.000 
            light_armor      = 0.000 
            armor 	     = 12.000 
            paratrooper      = 0.000 
            marine 	     = 6.000 
            bergsjaeger      = 3.000 
            garrison 	     = 0.000 
            hq 	             = 2.000 
            militia          = 0.000 
			     # 35 %

            escort    	     = 5.000 
            multi_role       = 6.000 
            interceptor      = 3.000 
            strategic_bomber = 4.000 
            tactical_bomber  = 6.000 
            naval_bomber     = 5.000 
            cas 	     = 6.000 
            transport_plane  = 0.000 
            flying_bomb      = 0.000 
            flying_rocket    = 0.000
			    # 35 %

            battleship       = 2.000 
            light_cruiser    = 3.000 
            heavy_cruiser    = 2.000 
            battlecruiser    = 2.000 
            destroyer        = 6.000 
            carrier 	     = 6.000 
            submarine 	     = 4.000 
            transport 	     = 5.000 
			    # 30 %
	# NOTE: The sum _must_ be exactly 100%!

Just edit some percentages to the strategic bombers - remember to keep the sum at 100%! I am not sure if USA researches STRAT on its own; if it does not, you should add those techs to the research plan.
 
Feb 11, 2007
771
0
Gen. Skobelev said:
For such event, you could check the Wiki to see how those events are done. They are pretty easy to do. Here's one example:

Code:
*event*




Of course. Open the relevant US AI file (I don't have DAIM at the moment so can't tell which file it is), then search for the build scheme
Code:
	*ai_file*

Just edit some percentages to the strategic bombers - remember to keep the sum at 100%! I am not sure if USA researches STRAT on its own; if it does not, you should add those techs to the research plan.

Thamks a lon Gen. Skobelev :rolleyes: :rolleyes:


PS: here are the USA AI files:
http://rapidshare.com/files/102146504/Desktop.rar.html

can you help me to edit them :(
 
Last edited:

Gen. Skobelev

Werewolf therapist
81 Badges
May 9, 2005
3.387
251
  • Victoria: Revolutions
kris4o1993 said:
Thamks a lon Gen. Skobelev :rolleyes: :rolleyes:

Just a little reminder about that smiley: :click:

;)

PS: here are the USA AI files:
http://rapidshare.com/files/102146504/Desktop.rar.html

can you help me to edit them :(

Hmm what do you want to do with them? Some of them seem to be non-DAIM related. DAIM ones will have note by G'Kar and won't have any builds of strategic bombers. You can just open them with some simple text editor like notepad and then edit the numbers you want for STRAT builds. Not hard to do as long as you keep the build scheme total at 100%.