Turks:Reno Pillar Battle AI script issue

  • Thread starter Thread starter LegacyHero
  • Start date Start date
Status
Not open for further replies.
L

LegacyHero

Guest
Hi all,

I am currently fiddling with Proud Clod's enemy AI features, and I only have rudimentary knowledge of the battle scripts -- nothing to the depth and degree I wish I had -- too much to grasp for me. 

Anyway, I wanted to edit Reno's AI during the pillar battle where he would use more than just 3 attacks.  Reno goes through his script of targeting a non-disabled character and placing a pyramid on them every few or so turns, but during the turns in between he can either use his staff attack, or his Electromag Rod.  So I tried editing that part of the script to give him a couple more attacks:  Bolt & Turk Light.  I added these attacks in the "Animations" section designating them as "OC" attack ID animation, because that's what it was in the Gongaga/Gelnika script for his magic attacks. 

Anyway, I rewrote the script as follows:

10   0140
60   00
90
11   00A0
01   00A0
60   01
30
90
11   00C0
60   00
90
11   00E0
60   00
90
01   00E0
60   03
45
70   0059
12   2070
01   00E0
87
90
02   2070
00   4000
80
02   2070
00   401F
80
60   01
40
51
70   004C
11   00C0
01   00C0
60   00
30
90
11   00E0
01   00E0
60   01
30
90
72   001C
01   00A0
60   03
01   00C0
30
42
70   01DD
00   0140
60   00
40
70   01A9
81
60   03
34
60   00
71   00DA
12   2070
60   00
87
90
02   2070
00   4000
80
52
02   2070
00   401F
80
60   00
40
50
70   00D4
12   0020
10   4023
80
60   01
90
12   0020
10   4024
80
60   01
90
12   0020
10   4000
80
60   00
90
12   0020
13   4160
80
02   0020
03   4180
80
90
60   20
61   015D
92
10   0140
60   01
90
11   00A0
60   00
90
72   01A5
72   00DF
60   01
71   0141
12   2070
60   01
87
90
02   2070
00   4000
80
52
02   2070
00   401F
80
60   00
40
50
70   013B
12   0040
10   4023
80
60   01
90
12   0040
10   4024
80
60   01
90
12   0040
10   4000
80
60   00
90
12   0040
13   4160
80
02   0020
03   4180
80
90
60   20
61   015E
92
10   0140
60   01
90
11   00A0
60   00
90
72   01A5
72   0146
60   02
71   01A5
12   2070
60   02
87
90
02   2070
00   4000
80
52
02   2070
00   401F
80
60   00
40
50
70   01A2
12   0060
10   4023
80
60   01
90
12   0060
10   4024
80
60   01
90
12   0060
10   4000
80
60   00
90
12   0060
13   4160
80
02   0020
03   4180
80
90
60   20
61   015F
92
10   0140
60   01
90
11   00A0
60   00
90
72   01A5
91
72   0066
00   0100
60   00
40
70   01DD
93   Reno “Try and break it if you can.”
10   0100
60   01
90
00   0140
60   00
40
70   0242
00   0120
70   0202
12   2070
02   0080
90
60   20
61   0163
92
10   0120
60   00
90
72   0242
12   2070
02   20A0
82
90
81
60   04
34
60   00
71   023E
60   20
61   0163
92
72   021C
60   01
71   023E
60   20
61   0021
92
72   022A
60   02
71   023E
60   20
61   0370
92
72   0238
60   20
61   015C
92
72   0241
91

The part I mainly edited starts at

72   0242
12   2070
02   20A0

In the original script it basically said if Random Mod 3 = 0 (aka 1/3 chance) do Electromag Rod on random enemy; otherwise use his short staff attack.

So I tried to rewrite it as 1/4 chance do Electromag Rod, 1/4 chance short staff, 1/4 chance cast Bolt, and 1/4 chance perform Turk Light on random enemy.

What I get is that Reno does absolutely nothing in between his Pyramid attacks EXCEPT occasionaly he will use the Electromag Rod -- so that part's right.  But he won't use any of the other attacks, and instead just waits to use Pyramid again.

Can anybody provide me any feedback on how to correct this part of the script to do what I wanted or post a rewrite itself so I can copy & paste?

Sorry for being a novice at this.  I just can't grasp the nuances of battle script editing.
 
Status
Not open for further replies.
Back
Top