Apache Raids Seem Too Frequent

Please post any bugs or technical issues found here for official support.
Post Reply
DarkHorse2
Posts: 1070
Joined: Fri Feb 04, 2022 12:08 pm

Apache Raids Seem Too Frequent

Post by DarkHorse2 »

I recently played one game where it occured 3 turns in a row - and multiple times on one these turns :!: :!:

I reviewed the scripts for the Apache Raids and I am suspecting:
1. Events are using an incorrect value for #TYPE.

The Apache Raid events are broken down into 2 sets of events for each group of locations as follows:

1. From Oct 1861, 3%, #TYPE=2
2. From Apr 1862, 5%, #TYPE=2

Additionally, the "From Oct 1861" sets of events do not expire or are removed. (#TYPE=2) (Reoccuring check until end of game)

So, the result is a cumulative effect for these 2 sets of events after Apr 1862 being:
1. 3% chance for a raid; plus another
2. 5% chance for a raid;

So, the cities have effectively an 8% chance of being raided each turn after Apr 1862, with a chance the same cities will be raided multiple times!

I doubt this is what was intended.

1. I would suggest changing the "From Oct 1861" set events to using #TYPE=1 instead. (Multiple check until #TRIGGER is satisfied) While this is not a perfect solution, it at least prevents the "From Oct 1861" events from firing until the end of the game.

Consider the following current event scripts for the set of locations beginning at (11,109).

Code: Select all

{
#NAME= Apache Raids
#POPUP= <<TAG_2>>
#IMAGE=
#SOUND= cavalry_attack.ogg
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 64
#ALIGNMENT_ID= 0
#FLAG_ID= 51
#TRIGGER= 3
#SEASON_FLAG= 0
#DATE= 1861/10/01
#SOURCE_POSITION=
#DESTINATION_RESOURCE= 11,109 [0,3]
#DESTINATION_RESOURCE= 10,107 [0,3]
#DESTINATION_RESOURCE= 5,107 [0,3]
#DESTINATION_RESOURCE= 5,106 [1,5]
#DESTINATION_RESOURCE= 5,110 [0,3]
#DESTINATION_RESOURCE= 8,110 [0,3]
; 1st Line - Union in war, Union side, not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
; 2nd Line - Mexico not in war 
#VARIABLE_CONDITION= 83 [1] [0] [0]
}

{
#NAME= Apache Raids
#POPUP= <<TAG_2>>
#IMAGE=
#SOUND= cavalry_attack.ogg
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 103
#ALIGNMENT_ID= 0
#FLAG_ID= 51
#TRIGGER= 3
#SEASON_FLAG= 0
#DATE= 1861/10/01
#SOURCE_POSITION=
#DESTINATION_RESOURCE= 11,109 [0,3]
#DESTINATION_RESOURCE= 10,107 [0,3]
#DESTINATION_RESOURCE= 5,107 [0,3]
#DESTINATION_RESOURCE= 5,106 [1,5]
#DESTINATION_RESOURCE= 5,110 [0,3]
#DESTINATION_RESOURCE= 8,110 [0,3]
; 1st Line - Union in war, Union side, not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
; 2nd Line - Mexico not in war 
#VARIABLE_CONDITION= 83 [1] [0] [0]
}

{
#NAME= Apache Raids - Increased Frequency 1862
#POPUP= <<TAG_2>>
#IMAGE=
#SOUND= cavalry_attack.ogg
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 64
#ALIGNMENT_ID= 0
#FLAG_ID= 51
#TRIGGER= 5
#SEASON_FLAG= 0
#DATE= 1862/04/01
#SOURCE_POSITION=
#DESTINATION_RESOURCE= 11,109 [0,3]
#DESTINATION_RESOURCE= 10,107 [0,3]
#DESTINATION_RESOURCE= 5,107 [0,3]
#DESTINATION_RESOURCE= 5,106 [1,5]
#DESTINATION_RESOURCE= 5,110 [0,3]
#DESTINATION_RESOURCE= 8,110 [0,3]
; 1st Line - Union in war, Union side, not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
; 2nd Line - Mexico not in war 
#VARIABLE_CONDITION= 83 [1] [0] [0]
}

{
#NAME= Apache Raids - Increased Frequency 1862
#POPUP= <<TAG_2>>
#IMAGE=
#SOUND= cavalry_attack.ogg
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 103
#ALIGNMENT_ID= 0
#FLAG_ID= 51
#TRIGGER= 5
#SEASON_FLAG= 0
#DATE= 1862/04/01
#SOURCE_POSITION=
#DESTINATION_RESOURCE= 11,109 [0,3]
#DESTINATION_RESOURCE= 10,107 [0,3]
#DESTINATION_RESOURCE= 5,107 [0,3]
#DESTINATION_RESOURCE= 5,106 [1,5]
#DESTINATION_RESOURCE= 5,110 [0,3]
#DESTINATION_RESOURCE= 8,110 [0,3]
; 1st Line - Union in war, Union side, not surrendered
#VARIABLE_CONDITION= 103 [1] [100] [0]
; 2nd Line - Mexico not in war 
#VARIABLE_CONDITION= 83 [1] [0] [0]
}

Post Reply

Return to “Tech Support”