﻿1
00:00:25,500 --> 00:00:28,090
welcome to video number 10 in this

2
00:00:28,090 --> 00:00:30,670
series and we're gonna start off by

3
00:00:30,670 --> 00:00:33,239
adding some animation montage to the bus

4
00:00:33,239 --> 00:00:36,070
so that way we can check how the tacks

5
00:00:36,070 --> 00:00:39,180
are playing out for the tutorial I'm

6
00:00:39,180 --> 00:00:41,980
only gonna do a few of the Anna montage

7
00:00:41,980 --> 00:00:45,129
because I added some animations and you

8
00:00:45,129 --> 00:00:46,840
can download them in the the video

9
00:00:46,840 --> 00:00:49,420
description there's a link so be sure to

10
00:00:49,420 --> 00:00:52,540
import those and boss animations and I'm

11
00:00:52,540 --> 00:00:55,629
gonna do let's say three merely

12
00:00:55,629 --> 00:00:59,170
close-range attacks and too far range

13
00:00:59,170 --> 00:01:02,649
attacks just for starters and then the

14
00:01:02,649 --> 00:01:04,420
rest of the animations you can do

15
00:01:04,420 --> 00:01:06,160
animation montage chop up them and plug

16
00:01:06,160 --> 00:01:08,860
them in yourself so to start here I

17
00:01:08,860 --> 00:01:12,100
imported all my animations and I'm gonna

18
00:01:12,100 --> 00:01:14,229
take I don't know let's go check what we

19
00:01:14,229 --> 00:01:19,780
have we got boxing we have cross punch I

20
00:01:19,780 --> 00:01:22,060
like that one so I'm gonna take cross

21
00:01:22,060 --> 00:01:26,020
punch create a demo - I'm gonna type BB

22
00:01:26,020 --> 00:01:31,899
for blue bus maybe a 1 then I'm gonna

23
00:01:31,899 --> 00:01:38,710
get a punch recieve a punch

24
00:01:38,710 --> 00:01:41,590
it's kind of like this the other one I

25
00:01:41,590 --> 00:01:43,920
just made cross punch

26
00:01:43,920 --> 00:01:48,430
I'm gonna check kicking yeah I'm gonna

27
00:01:48,430 --> 00:01:53,020
get a animation montage out of this so

28
00:01:53,020 --> 00:02:00,090
maybe underscore keeping and one more

29
00:02:00,090 --> 00:02:01,720
let's check this one

30
00:02:01,720 --> 00:02:04,890
maybe swiping this is a strong one so

31
00:02:04,890 --> 00:02:07,570
we're gonna take this one and make an

32
00:02:07,570 --> 00:02:11,530
animal - keep the underscore strong or

33
00:02:11,530 --> 00:02:14,080
one because I know there's multiple

34
00:02:14,080 --> 00:02:15,790
melee and there's two hits that look

35
00:02:15,790 --> 00:02:18,160
pretty strong this is the second strong

36
00:02:18,160 --> 00:02:23,740
looking on these fins and strikes so now

37
00:02:23,740 --> 00:02:25,480
let's go get to long-range - looking

38
00:02:25,480 --> 00:02:28,240
attack first we're gonna get worse

39
00:02:28,240 --> 00:02:30,130
fireball that's right I really like this

40
00:02:30,130 --> 00:02:33,100
one so it's gonna shoot a fireball at

41
00:02:33,100 --> 00:02:37,480
the player so create running montage BB

42
00:02:37,480 --> 00:02:41,920
will call it hadouken and we're gonna go

43
00:02:41,920 --> 00:02:45,340
look for

44
00:02:45,340 --> 00:02:51,410
see as this war

45
00:02:51,410 --> 00:02:55,580
yeah let's use that

46
00:02:55,580 --> 00:02:58,160
create animal Taj EP underscore we're

47
00:02:58,160 --> 00:03:01,160
gonna call this debuff because it will

48
00:03:01,160 --> 00:03:03,800
be used to debuff the player so in boss

49
00:03:03,800 --> 00:03:05,990
I'm gonna make a new folder and call it

50
00:03:05,990 --> 00:03:09,680
and a montage go back to animations and

51
00:03:09,680 --> 00:03:11,590
take these any montage we just made and

52
00:03:11,590 --> 00:03:16,460
put them in the right folder now once

53
00:03:16,460 --> 00:03:17,480
they're here we're going to open these

54
00:03:17,480 --> 00:03:27,110
up change the groups of body

55
00:03:27,110 --> 00:03:29,600
okay now let's go back to our boss

56
00:03:29,600 --> 00:03:34,160
folder click on blue bus I need to make

57
00:03:34,160 --> 00:03:36,770
two variables first one we'll call it

58
00:03:36,770 --> 00:03:40,490
alive second one we'll call it is

59
00:03:40,490 --> 00:03:46,870
attacking so here in initialize bus

60
00:03:46,870 --> 00:03:50,030
after you can begin play I'm gonna set

61
00:03:50,030 --> 00:03:52,190
is attacking to treat I mean sorry is

62
00:03:52,190 --> 00:03:55,640
alive we will use this further down in

63
00:03:55,640 --> 00:04:00,230
this tutorial then let's go into our

64
00:04:00,230 --> 00:04:03,080
player distance function and put a

65
00:04:03,080 --> 00:04:08,870
branch and this branch is gonna check if

66
00:04:08,870 --> 00:04:12,230
he's attacking connect the false part of

67
00:04:12,230 --> 00:04:16,640
the branch to the ongoing node and put

68
00:04:16,640 --> 00:04:18,410
is attacking as a condition so while the

69
00:04:18,410 --> 00:04:21,560
attacks were not gonna initiate any

70
00:04:21,560 --> 00:04:23,060
other attack animation so we're gonna

71
00:04:23,060 --> 00:04:25,730
wait for it to be done then in his event

72
00:04:25,730 --> 00:04:29,420
graph or in his player distance I guess

73
00:04:29,420 --> 00:04:31,550
now we could do it here in the event

74
00:04:31,550 --> 00:04:35,540
graph right after close range and long

75
00:04:35,540 --> 00:04:37,280
range we're gonna set is attacking to

76
00:04:37,280 --> 00:04:48,650
truth

77
00:04:48,650 --> 00:04:50,480
next what we're gonna do is delete all

78
00:04:50,480 --> 00:04:55,370
these print strings and play and then

79
00:04:55,370 --> 00:04:59,480
montage what you want to do is promote a

80
00:04:59,480 --> 00:05:03,580
name attached to a variable call it ATT

81
00:05:03,580 --> 00:05:06,080
attached so I know it's my attack

82
00:05:06,080 --> 00:05:09,770
montage then I'm gonna set this variable

83
00:05:09,770 --> 00:05:12,110
add three close-range attacks and two

84
00:05:12,110 --> 00:05:17,240
long-range attacks for this demo can i

85
00:05:17,240 --> 00:05:24,750
connect all this together

86
00:05:24,750 --> 00:05:27,900
and here I'm gonna remove the three and

87
00:05:27,900 --> 00:05:29,190
I'm going to change the c2

88
00:05:29,190 --> 00:05:30,990
but don't forget when you add more you

89
00:05:30,990 --> 00:05:35,420
got to modify this and as you add pins

90
00:05:35,420 --> 00:05:38,940
so I'm gonna drag this down and put it

91
00:05:38,940 --> 00:05:45,700
all into this node

92
00:05:45,700 --> 00:05:47,950
okay and now we're gonna go get her and

93
00:05:47,950 --> 00:05:54,520
a montage for the bus we had really oh

94
00:05:54,520 --> 00:06:01,080
one we had strong oh one and we had

95
00:06:01,080 --> 00:06:04,810
kicking these were three close ones and

96
00:06:04,810 --> 00:06:09,790
then here we had fireball whoops

97
00:06:09,790 --> 00:06:14,380
it was Hadouken and the other one we had

98
00:06:14,380 --> 00:06:20,380
was debuff where he performs a war so

99
00:06:20,380 --> 00:06:22,870
what's gonna happen after this is we're

100
00:06:22,870 --> 00:06:25,180
gonna have a delay and connect the

101
00:06:25,180 --> 00:06:28,180
return value let's see how well this

102
00:06:28,180 --> 00:06:31,120
works and after it's done we're gonna

103
00:06:31,120 --> 00:06:36,580
set is attacking to pulse

104
00:06:36,580 --> 00:06:39,640
so let's see what's gonna happen do we

105
00:06:39,640 --> 00:06:40,750
have to stop it there

106
00:06:40,750 --> 00:06:42,340
do we have to stop him from seeking the

107
00:06:42,340 --> 00:06:49,470
player or not let's hit play

108
00:06:49,470 --> 00:06:54,640
so going to be

109
00:06:54,640 --> 00:06:56,410
he's already roaring but he's moving at

110
00:06:56,410 --> 00:06:59,260
the same time oh look at that he's

111
00:06:59,260 --> 00:07:01,780
tacking me but he's chasing me at the

112
00:07:01,780 --> 00:07:04,060
same time while he attacks that's

113
00:07:04,060 --> 00:07:05,320
because we're not telling him to stop

114
00:07:05,320 --> 00:07:08,110
moving and in fact it's gonna keep

115
00:07:08,110 --> 00:07:13,630
rotating I'm trying to attack me so this

116
00:07:13,630 --> 00:07:15,280
is it for this segment of the video and

117
00:07:15,280 --> 00:07:16,630
the next one we're gonna continue and

118
00:07:16,630 --> 00:07:29,060
fine tune this

119
00:07:29,060 --> 00:07:31,969
before we continue fine-tuning

120
00:07:31,969 --> 00:07:38,269
want to add a health bar to the bus I'm

121
00:07:38,269 --> 00:07:39,769
gonna do that now so I don't got to do

122
00:07:39,769 --> 00:07:41,959
it later and I know we're gonna need it

123
00:07:41,959 --> 00:07:49,389
when we test out attacks and damages so

124
00:07:49,389 --> 00:07:55,039
let's go into widgets and create a new

125
00:07:55,039 --> 00:07:59,860
one

126
00:07:59,860 --> 00:08:02,349
user interface widget blueprint so I'll

127
00:08:02,349 --> 00:08:11,460
call it little boss call it blue busbar

128
00:08:11,460 --> 00:08:13,930
now in here what I need is a progress

129
00:08:13,930 --> 00:08:20,860
bar and we'll put it to size X we'll put

130
00:08:20,860 --> 00:08:26,650
it to 800 I should split to 1000 size

131
00:08:26,650 --> 00:08:31,509
wire let's put it to 15 and let's leave

132
00:08:31,509 --> 00:08:33,669
it around this area and for the anchor

133
00:08:33,669 --> 00:08:36,370
will put it on top then I'll get a text

134
00:08:36,370 --> 00:08:40,450
block a text box sorry wrong one it's

135
00:08:40,450 --> 00:08:46,209
text just this and we'll call them war

136
00:08:46,209 --> 00:08:49,360
requisites name

137
00:08:49,360 --> 00:08:51,489
so I'll put that up here and I'm gonna

138
00:08:51,489 --> 00:08:55,749
do the same thing for the anchor now the

139
00:08:55,749 --> 00:09:01,540
bar here I'll put it to red and let's

140
00:09:01,540 --> 00:09:04,350
see okay

141
00:09:04,350 --> 00:09:06,519
so percentage here we're gonna create

142
00:09:06,519 --> 00:09:10,660
binding and I'm gonna promote this to a

143
00:09:10,660 --> 00:09:19,360
variable I'll call it boss HP and what I

144
00:09:19,360 --> 00:09:21,910
need to do is find the way to set the

145
00:09:21,910 --> 00:09:26,309
guy's HP it has to communicate at least

146
00:09:26,309 --> 00:09:31,420
let me just close this okay going into a

147
00:09:31,420 --> 00:09:34,509
blue box I'm gonna make a variable and

148
00:09:34,509 --> 00:09:37,480
I'm gonna call it health click the

149
00:09:37,480 --> 00:09:43,170
little eyeball and set it to a float

150
00:09:43,170 --> 00:09:46,499
compile that and in initialize boss

151
00:09:46,499 --> 00:09:48,610
we're gonna set it because this is where

152
00:09:48,610 --> 00:09:51,100
we initialize our boss and we said all

153
00:09:51,100 --> 00:09:55,239
of his variables to start with I'm gonna

154
00:09:55,239 --> 00:10:01,769
give my health of let's say 1,000

155
00:10:01,769 --> 00:10:06,079
going back into busbar gonna extend this

156
00:10:06,079 --> 00:10:13,790
and I'm gonna type get actor of class

157
00:10:13,790 --> 00:10:19,710
pass this through

158
00:10:19,710 --> 00:10:22,920
here type in for each together for each

159
00:10:22,920 --> 00:10:29,040
loop for class type in blue get the blue

160
00:10:29,040 --> 00:10:34,290
bus caste blue see you guys to the blue

161
00:10:34,290 --> 00:10:46,279
bus then you get help

162
00:10:46,279 --> 00:10:48,589
you connect this here and you also want

163
00:10:48,589 --> 00:10:55,610
to set the boss HP how did it go let me

164
00:10:55,610 --> 00:11:07,879
just recap this quickly so we have you

165
00:11:07,879 --> 00:11:12,949
want to divide it by 1000 and plug it

166
00:11:12,949 --> 00:11:20,559
into boss HP so let's set this up to 750

167
00:11:20,559 --> 00:11:23,870
just for testing and I'm gonna type

168
00:11:23,870 --> 00:11:28,620
create widget

169
00:11:28,620 --> 00:11:31,050
for the class I'm gonna get blue bus bar

170
00:11:31,050 --> 00:11:45,310
and add viewport

171
00:11:45,310 --> 00:11:47,830
it added really soon but you see at

172
00:11:47,830 --> 00:11:49,630
least it's communicating look at the

173
00:11:49,630 --> 00:11:52,630
health how it's not full and I know it

174
00:11:52,630 --> 00:11:54,460
added up too quickly but we're gonna

175
00:11:54,460 --> 00:11:56,670
make it so that when we enter the level

176
00:11:56,670 --> 00:12:00,430
then it's gonna add it's gonna add it to

177
00:12:00,430 --> 00:12:03,760
viewport afterwards so here if I was to

178
00:12:03,760 --> 00:12:06,040
set this to 500 and play you should see

179
00:12:06,040 --> 00:12:12,820
that his bar is halfway full there so

180
00:12:12,820 --> 00:12:16,000
I'm gonna leave that to 1000 and that's

181
00:12:16,000 --> 00:12:20,350
gonna be that for this segment in this

182
00:12:20,350 --> 00:12:22,570
segment we're gonna do a bit of

183
00:12:22,570 --> 00:12:24,760
fine-tuning while you test it out you

184
00:12:24,760 --> 00:12:27,190
might notice that as he swings his fist

185
00:12:27,190 --> 00:12:29,050
at you it kind of gets in the way of the

186
00:12:29,050 --> 00:12:31,930
camera and there's like this quick blink

187
00:12:31,930 --> 00:12:34,090
like effect like everything goes black

188
00:12:34,090 --> 00:12:35,530
first foot second and goes back to

189
00:12:35,530 --> 00:12:37,840
normal and it's pretty annoying and if

190
00:12:37,840 --> 00:12:40,060
you have the the health bar in your

191
00:12:40,060 --> 00:12:42,580
viewport you just need to disconnect

192
00:12:42,580 --> 00:12:45,760
this because we don't really need to see

193
00:12:45,760 --> 00:12:46,900
it yet we're just working with his

194
00:12:46,900 --> 00:12:48,790
animations and this thing might get

195
00:12:48,790 --> 00:12:51,400
annoying so go in his viewport

196
00:12:51,400 --> 00:12:54,339
click on the mesh and up here type in

197
00:12:54,339 --> 00:12:56,980
collision collision preset set it to no

198
00:12:56,980 --> 00:12:59,830
collision what's gonna happen is check

199
00:12:59,830 --> 00:13:06,310
this out basically his hands are always

200
00:13:06,310 --> 00:13:11,320
gonna go through me see but that doesn't

201
00:13:11,320 --> 00:13:12,820
matter because the collision capsules is

202
00:13:12,820 --> 00:13:14,530
gonna have they're gonna be able to hurt

203
00:13:14,530 --> 00:13:16,660
me we're gonna give them two capsules on

204
00:13:16,660 --> 00:13:19,990
his arms after or not it so let's go in

205
00:13:19,990 --> 00:13:23,350
the event graph first and it's moved

206
00:13:23,350 --> 00:13:27,580
down to see Claire and what I want to do

207
00:13:27,580 --> 00:13:31,050
is put a branch

208
00:13:31,050 --> 00:13:34,560
and put false into that and disconnect

209
00:13:34,560 --> 00:13:37,170
true yet is attacking and put it as the

210
00:13:37,170 --> 00:13:39,690
condition so if this condition is true

211
00:13:39,690 --> 00:13:42,630
what we're gonna do is type in stop move

212
00:13:42,630 --> 00:13:47,820
and it's not movement immediately and

213
00:13:47,820 --> 00:13:50,339
connect that this is gonna stop the

214
00:13:50,339 --> 00:13:53,360
character from moving at all

215
00:13:53,360 --> 00:13:56,190
however we need to reach rigor seek

216
00:13:56,190 --> 00:13:59,070
player at the end of our attack chain so

217
00:13:59,070 --> 00:14:00,480
at the end of this is a whole attack

218
00:14:00,480 --> 00:14:06,510
chain you type in seek clip like that so

219
00:14:06,510 --> 00:14:08,040
now let's check it out also before we do

220
00:14:08,040 --> 00:14:11,520
that let's go to player distance and put

221
00:14:11,520 --> 00:14:13,350
this to a lower value because it

222
00:14:13,350 --> 00:14:15,330
performs a melee attacks way too far

223
00:14:15,330 --> 00:14:18,950
away from you so put that to like 600

224
00:14:18,950 --> 00:14:20,880
but that's a number you can play around

225
00:14:20,880 --> 00:14:23,910
with based on whatever you'd want for

226
00:14:23,910 --> 00:14:28,230
your own battle arena so all he should

227
00:14:28,230 --> 00:14:31,500
be doing is I roaring or doing the

228
00:14:31,500 --> 00:14:33,209
fireball attack but he's gonna keep us

229
00:14:33,209 --> 00:14:35,399
acting every second you probably don't

230
00:14:35,399 --> 00:14:37,649
want that either you probably wanted to

231
00:14:37,649 --> 00:14:39,660
chase you a little bit and yeah every

232
00:14:39,660 --> 00:14:43,290
now and then perform an attack but for

233
00:14:43,290 --> 00:14:44,940
melee you always want them attacking up

234
00:14:44,940 --> 00:14:49,970
close so let's go in the event graph and

235
00:14:49,970 --> 00:14:55,920
add a few pins in long range and set

236
00:14:55,920 --> 00:14:59,460
that to 4

237
00:14:59,460 --> 00:15:01,710
or another way to actually do this is

238
00:15:01,710 --> 00:15:05,760
you remove all these pins let's connect

239
00:15:05,760 --> 00:15:10,090
this one to

240
00:15:10,090 --> 00:15:12,130
I think this is good for the current

241
00:15:12,130 --> 00:15:13,420
example because we don't have too many

242
00:15:13,420 --> 00:15:16,560
nodes but you would put a branch here

243
00:15:16,560 --> 00:15:20,350
put it to true or false and ask for

244
00:15:20,350 --> 00:15:23,020
condition I don't know you would just

245
00:15:23,020 --> 00:15:28,300
say if this is equal to 0 say this one

246
00:15:28,300 --> 00:15:31,870
if not take this one and you would take

247
00:15:31,870 --> 00:15:38,270
one and just pass it down to C player

248
00:15:38,270 --> 00:15:41,480
but right now what I'm gonna do is I'm

249
00:15:41,480 --> 00:15:44,170
gonna go the other way because

250
00:15:44,170 --> 00:15:46,430
off-screen when this tutorial is done

251
00:15:46,430 --> 00:15:48,820
I'm gonna add in all the other attacks

252
00:15:48,820 --> 00:15:52,130
so let's say 2 3 4 5 I'm gonna set them

253
00:15:52,130 --> 00:15:56,090
in to see Claire in fact I might as well

254
00:15:56,090 --> 00:16:00,410
just copy this note and put it here I'll

255
00:16:00,410 --> 00:16:03,320
pass them all through this so he has a

256
00:16:03,320 --> 00:16:07,220
pretty high chance so 2 out of 6 you can

257
00:16:07,220 --> 00:16:15,820
attack so let's give that a shot

258
00:16:15,820 --> 00:16:19,360
so I'm pretty far away from me he

259
00:16:19,360 --> 00:16:23,080
doesn't seem to be carrying it all and I

260
00:16:23,080 --> 00:16:24,630
think I know what's happening

261
00:16:24,630 --> 00:16:30,840
yeah we have set to attacking basically

262
00:16:30,840 --> 00:16:39,870
this is probably not at the right place

263
00:16:39,870 --> 00:16:41,670
said that the one I don't know why it

264
00:16:41,670 --> 00:16:44,130
was at the poor but let's go to player

265
00:16:44,130 --> 00:16:50,610
distance and long range where it says

266
00:16:50,610 --> 00:16:58,440
long range put it above make a new

267
00:16:58,440 --> 00:17:02,900
branch can make it go through true

268
00:17:02,900 --> 00:17:04,650
connect them like so

269
00:17:04,650 --> 00:17:09,630
and then you could do random integer and

270
00:17:09,630 --> 00:17:13,800
range and we'll say min one Max one and

271
00:17:13,800 --> 00:17:16,740
type in equal equal give it that to zero

272
00:17:16,740 --> 00:17:20,010
and put it in condition so 50% of the

273
00:17:20,010 --> 00:17:22,620
time either he attacks you or he chases

274
00:17:22,620 --> 00:17:24,689
you okay if you wanted to play around

275
00:17:24,689 --> 00:17:27,420
with the percentages you would just put

276
00:17:27,420 --> 00:17:31,020
to say two here and if the number is

277
00:17:31,020 --> 00:17:34,440
greater than 1 or equal to 1 then you

278
00:17:34,440 --> 00:17:38,970
seek player but in this case I'm just

279
00:17:38,970 --> 00:17:41,820
leave it to one so it's 50/50 let's see

280
00:17:41,820 --> 00:17:48,660
what that does

281
00:17:48,660 --> 00:17:51,350
there is chasing me now he's attacking

282
00:17:51,350 --> 00:17:54,090
this is a 50% chance of either attacking

283
00:17:54,090 --> 00:17:55,860
or continuing to chase me he's chasing

284
00:17:55,860 --> 00:18:01,590
nice attacking just to demonstrate the

285
00:18:01,590 --> 00:18:03,600
point like she chased me for a longer

286
00:18:03,600 --> 00:18:10,919
time so let's say this was set to 4 and

287
00:18:10,919 --> 00:18:13,710
if I get zero out of this it'll go to

288
00:18:13,710 --> 00:18:16,470
true so if it's true if it'll attack me

289
00:18:16,470 --> 00:18:17,850
if it's not true which has a higher

290
00:18:17,850 --> 00:18:19,950
chance of it being not true

291
00:18:19,950 --> 00:18:23,280
it'll secret Claire so in this case he's

292
00:18:23,280 --> 00:18:25,370
probably gonna run after me a lot longer

293
00:18:25,370 --> 00:18:33,340
more frequently than attacking

294
00:18:33,340 --> 00:18:36,840
look at that I ran all the way to me

295
00:18:36,840 --> 00:18:39,190
that means every second he kept hitting

296
00:18:39,190 --> 00:18:45,460
that see clear note so that's what you

297
00:18:45,460 --> 00:18:48,519
can do in your and your blueprint and I

298
00:18:48,519 --> 00:18:52,230
think I'm gonna leave this this setting

299
00:18:52,230 --> 00:18:56,980
because personally I prefer this but you

300
00:18:56,980 --> 00:18:58,779
guys can modify it and change it up to

301
00:18:58,779 --> 00:19:02,409
whatever you want so this is how you

302
00:19:02,409 --> 00:19:05,619
pretty much set up the boss to choose an

303
00:19:05,619 --> 00:19:07,749
attack whether it's close range or far

304
00:19:07,749 --> 00:19:11,200
ranging and attack the player now the

305
00:19:11,200 --> 00:19:12,999
next thing we're gonna do is go into

306
00:19:12,999 --> 00:19:16,090
third person blueprint actually not even

307
00:19:16,090 --> 00:19:19,299
well go into warrior will go to warrior

308
00:19:19,299 --> 00:19:22,450
blueprint and look for a launch

309
00:19:22,450 --> 00:19:25,570
character right here copy this whole

310
00:19:25,570 --> 00:19:28,539
thing go into blue bus and we're gonna

311
00:19:28,539 --> 00:19:31,570
paste it your motors that two variables

312
00:19:31,570 --> 00:19:33,749
are missing launch force and jump force

313
00:19:33,749 --> 00:19:36,249
delete those and promote these two

314
00:19:36,249 --> 00:19:41,559
variable launch force and promote this

315
00:19:41,559 --> 00:19:46,190
one to jump horse

316
00:19:46,190 --> 00:19:48,710
when you compile set both of them to one

317
00:19:48,710 --> 00:19:52,580
as default values press the X to get

318
00:19:52,580 --> 00:19:57,440
your menu and then just as we did with

319
00:19:57,440 --> 00:19:59,480
the warrior or after each animation

320
00:19:59,480 --> 00:20:01,040
montage you set launch course you could

321
00:20:01,040 --> 00:20:10,290
do that within two

322
00:20:10,290 --> 00:20:15,030
and this one

323
00:20:15,030 --> 00:20:17,010
so you don't really need a camera shake

324
00:20:17,010 --> 00:20:18,920
because remember we deleted the camera

325
00:20:18,920 --> 00:20:21,870
so here I'm going to put that on a 350

326
00:20:21,870 --> 00:20:25,850
and next one I'll put it this is strong

327
00:20:25,850 --> 00:20:28,470
yeah I'll put it 400 and then kicking up

328
00:20:28,470 --> 00:20:29,330
with it

329
00:20:29,330 --> 00:20:36,990
500 and you can go back to your boss

330
00:20:36,990 --> 00:20:39,420
folder and go to block boss animation

331
00:20:39,420 --> 00:20:43,260
movement there's a vendor graph you want

332
00:20:43,260 --> 00:20:45,500
to drag a pin out and type gasps dude

333
00:20:45,500 --> 00:20:52,590
where is it gasps to character connect

334
00:20:52,590 --> 00:20:55,380
it with speed and ask character cast to

335
00:20:55,380 --> 00:20:58,770
blue bus from blue boss what you want to

336
00:20:58,770 --> 00:21:01,440
get is that event called launch their

337
00:21:01,440 --> 00:21:05,250
launcher then disconnect these click on

338
00:21:05,250 --> 00:21:09,710
animation and let's say we go to kicking

339
00:21:09,710 --> 00:21:13,950
now we make the animation notify call it

340
00:21:13,950 --> 00:21:15,420
launch and check where you want to

341
00:21:15,420 --> 00:21:19,530
launch him so I would want to watch him

342
00:21:19,530 --> 00:21:25,530
around this kind of I guess here I don't

343
00:21:25,530 --> 00:21:26,760
know I'm just gonna wing it right now

344
00:21:26,760 --> 00:21:30,090
but I'll fix it up off-screen it's

345
00:21:30,090 --> 00:21:31,530
basically moving these launch nodes

346
00:21:31,530 --> 00:21:36,450
around and then he lands I'm gonna check

347
00:21:36,450 --> 00:21:41,510
melee and see where I wanted launch him

348
00:21:41,510 --> 00:21:43,800
yeah there's no real need to launch him

349
00:21:43,800 --> 00:21:48,840
but I guess I'll do it anyway then I'm

350
00:21:48,840 --> 00:21:53,310
gonna get strong and see when he does

351
00:21:53,310 --> 00:21:57,220
that this foot perfect

352
00:21:57,220 --> 00:21:59,980
lunch

353
00:21:59,980 --> 00:22:04,029
so let's try this out see if there's any

354
00:22:04,029 --> 00:22:10,200
errors

355
00:22:10,200 --> 00:22:17,150
there is it's coming straight at me

356
00:22:17,150 --> 00:22:24,770
look at that no lunching that's funny

357
00:22:24,770 --> 00:22:26,420
probably because we didn't connect it

358
00:22:26,420 --> 00:22:30,260
well I'm an idiot there we go let's

359
00:22:30,260 --> 00:22:36,610
watch him fly

360
00:22:36,610 --> 00:22:39,519
so there is gently running at me trying

361
00:22:39,519 --> 00:22:42,789
to murder me and he doesn't

362
00:22:42,789 --> 00:22:44,529
oh there he's lunching see that he's

363
00:22:44,529 --> 00:22:49,770
sliding a bit

364
00:22:49,770 --> 00:22:51,840
sweet so he's moving around as he's

365
00:22:51,840 --> 00:22:54,330
performing his attacks which is what you

366
00:22:54,330 --> 00:22:57,870
want because you don't want them

367
00:22:57,870 --> 00:23:01,230
standing in the same spot so that's it

368
00:23:01,230 --> 00:23:04,530
for this segment and I'm gonna check my

369
00:23:04,530 --> 00:23:08,520
notes and see what else is left in the

370
00:23:08,520 --> 00:23:11,190
segment's to come if not start a new

371
00:23:11,190 --> 00:23:16,860
video

372
00:23:16,860 --> 00:23:20,270
here's something I noticed while playing

373
00:23:20,270 --> 00:23:23,190
it's when we get really close to the

374
00:23:23,190 --> 00:23:26,370
enemy he attacks us but then he keeps

375
00:23:26,370 --> 00:23:28,110
attacking he won't even bother looking

376
00:23:28,110 --> 00:23:28,680
at us

377
00:23:28,680 --> 00:23:30,810
so watch I'm right behind him and he

378
00:23:30,810 --> 00:23:33,690
keeps attacking but I wanted to face me

379
00:23:33,690 --> 00:23:38,250
and then attack so to get that fix let's

380
00:23:38,250 --> 00:23:40,710
go here next to launch character and

381
00:23:40,710 --> 00:23:43,740
make a new customer then I'm gonna call

382
00:23:43,740 --> 00:23:47,910
this base player I'm gonna go to my

383
00:23:47,910 --> 00:23:51,150
player distance function and I'm gonna

384
00:23:51,150 --> 00:23:57,270
go get basically these three nodes and

385
00:23:57,270 --> 00:23:59,910
face them out here I'm just gonna spread

386
00:23:59,910 --> 00:24:02,310
them out a little bit I'm gonna type

387
00:24:02,310 --> 00:24:05,910
look at get the final look at location

388
00:24:05,910 --> 00:24:09,720
and the one with the player character

389
00:24:09,720 --> 00:24:11,700
I'm gonna put it to target then I'll

390
00:24:11,700 --> 00:24:17,670
type in set actor rotation and put the

391
00:24:17,670 --> 00:24:21,310
return value there

392
00:24:21,310 --> 00:24:25,210
so what this will do I'm just gonna

393
00:24:25,210 --> 00:24:27,610
comment this I'm gonna call it bass

394
00:24:27,610 --> 00:24:32,920
player if he's really close to me I want

395
00:24:32,920 --> 00:24:37,480
him to look at me before he attacks so

396
00:24:37,480 --> 00:24:39,100
going back to the player distance

397
00:24:39,100 --> 00:24:41,280
function I'm gonna copy this branch

398
00:24:41,280 --> 00:24:42,670
paste it here

399
00:24:42,670 --> 00:24:48,430
and I'm gonna get distance and put it up

400
00:24:48,430 --> 00:24:52,210
there so if this is false that means I'm

401
00:24:52,210 --> 00:24:55,600
really close to him then I'm gonna face

402
00:24:55,600 --> 00:25:07,870
player

403
00:25:07,870 --> 00:25:09,820
so let's try to get him to attacking him

404
00:25:09,820 --> 00:25:11,830
for okay well he's doing his melee

405
00:25:11,830 --> 00:25:16,750
attacks I'm gonna get behind him now you

406
00:25:16,750 --> 00:25:23,360
looked at me nice tacking

407
00:25:23,360 --> 00:25:25,460
and from a far range if I can get away

408
00:25:25,460 --> 00:25:31,879
from him in time

409
00:25:31,879 --> 00:25:35,179
he doesn't have the need to flip so he

410
00:25:35,179 --> 00:25:36,619
was doing his fireball attack and see

411
00:25:36,619 --> 00:25:37,789
he's chasing me again

412
00:25:37,789 --> 00:25:39,619
he doesn't have to perform a flip it's

413
00:25:39,619 --> 00:25:43,669
only when I'm close to him so that's a

414
00:25:43,669 --> 00:25:45,649
little fixed for this segment and I'm

415
00:25:45,649 --> 00:25:47,690
gonna dig some more in in the next

416
00:25:47,690 --> 00:25:53,620
segment we'll find two and further

417
00:25:53,620 --> 00:25:56,170
to finish up with this video what I'm

418
00:25:56,170 --> 00:25:58,090
gonna do is make the bosses of bar

419
00:25:58,090 --> 00:25:59,770
appear when we enter the level and

420
00:25:59,770 --> 00:26:02,740
activate him then so he's only active

421
00:26:02,740 --> 00:26:05,590
once we hit the level basically over

422
00:26:05,590 --> 00:26:08,050
surpass the trigger so type in trigger

423
00:26:08,050 --> 00:26:11,890
here get a box trigger and make sure

424
00:26:11,890 --> 00:26:13,930
that this is double click whichever

425
00:26:13,930 --> 00:26:16,809
level you're working on so that look

426
00:26:16,809 --> 00:26:18,809
like that then put the trigger in and

427
00:26:18,809 --> 00:26:22,390
what I want to do is take this trigger

428
00:26:22,390 --> 00:26:29,530
and scale it as much as I can I want to

429
00:26:29,530 --> 00:26:33,490
cover both sides of this level side to

430
00:26:33,490 --> 00:26:36,130
side I'm just gonna lift it up in the

431
00:26:36,130 --> 00:26:42,300
air a bit and then I'm gonna go into

432
00:26:42,300 --> 00:26:45,840
blueprints sublevel edit blue level

433
00:26:45,840 --> 00:26:50,160
I'm gonna right click and type in event

434
00:26:50,160 --> 00:26:54,460
begin overlap that's what I need add on

435
00:26:54,460 --> 00:26:59,320
actor begin overlap then drag a pin up

436
00:26:59,320 --> 00:27:02,559
type in equal twice and you want to get

437
00:27:02,559 --> 00:27:07,929
their character put a branch connect the

438
00:27:07,929 --> 00:27:11,770
condition and the input output then go

439
00:27:11,770 --> 00:27:19,480
to your level select your boss and clear

440
00:27:19,480 --> 00:27:21,130
the reference

441
00:27:21,130 --> 00:27:23,230
now in here we need to add something so

442
00:27:23,230 --> 00:27:27,220
in your blue boss blueprint edit event

443
00:27:27,220 --> 00:27:28,750
begin play you want to delete that and

444
00:27:28,750 --> 00:27:30,730
create a custom event called initialize

445
00:27:30,730 --> 00:27:32,860
I already had it here from a previous

446
00:27:32,860 --> 00:27:36,070
recording so this custom event called

447
00:27:36,070 --> 00:27:37,990
initialize I'm gonna plug it in into a

448
00:27:37,990 --> 00:27:40,270
live I'll compile them and I'm gonna go

449
00:27:40,270 --> 00:27:43,809
into do level drag a pin out of the

450
00:27:43,809 --> 00:27:48,070
reference and type in initialize and I'm

451
00:27:48,070 --> 00:27:49,780
gonna plug that into true so if I test

452
00:27:49,780 --> 00:27:55,520
it out

453
00:27:55,520 --> 00:27:57,529
he's running at me so the only thing

454
00:27:57,529 --> 00:27:59,779
that I'm missing is in blue bus is that

455
00:27:59,779 --> 00:28:02,710
I didn't connect the rest of my chain

456
00:28:02,710 --> 00:28:05,179
now when he activates I should also see

457
00:28:05,179 --> 00:28:13,080
yourself are there you there this

458
00:28:13,080 --> 00:28:15,210
well I hope you guys enjoyed the video

459
00:28:15,210 --> 00:28:17,310
and the next one we're gonna continue

460
00:28:17,310 --> 00:28:19,530
working on this guy so thanks for

461
00:28:19,530 --> 00:28:21,800
watching


