﻿1
00:00:26,240 --> 00:00:30,900
welcome to video number 11 and in this

2
00:00:30,900 --> 00:00:33,380
video what I'm gonna go through is

3
00:00:33,380 --> 00:00:36,000
there's a bit of fine tuning left on the

4
00:00:36,000 --> 00:00:38,400
boss and then we're gonna give them

5
00:00:38,400 --> 00:00:40,710
collision capsules that are gonna damage

6
00:00:40,710 --> 00:00:47,309
our night character a warrior and I

7
00:00:47,309 --> 00:00:48,690
realized that there was one more thing

8
00:00:48,690 --> 00:00:50,910
that I needed to add on the melee class

9
00:00:50,910 --> 00:00:53,580
so I will be making an extra melee video

10
00:00:53,580 --> 00:00:56,250
and it's not an optional one you need to

11
00:00:56,250 --> 00:00:57,660
watch it because otherwise you won't be

12
00:00:57,660 --> 00:01:02,850
able to complete the whole game so be

13
00:01:02,850 --> 00:01:05,700
sure to watch the next extra video and

14
00:01:05,700 --> 00:01:09,270
it's gonna be called melee combat so

15
00:01:09,270 --> 00:01:13,740
let's continue with our boss here so go

16
00:01:13,740 --> 00:01:15,990
in the boss blueprint and if you notice

17
00:01:15,990 --> 00:01:17,820
my graph here looks a bit different than

18
00:01:17,820 --> 00:01:20,190
yours probably that's cuz I expanded

19
00:01:20,190 --> 00:01:23,280
this switch on integer and I added more

20
00:01:23,280 --> 00:01:27,810
combos in there I just made more animal

21
00:01:27,810 --> 00:01:30,479
touch and everything else is pretty much

22
00:01:30,479 --> 00:01:34,890
the same and here I switched the player

23
00:01:34,890 --> 00:01:37,860
distance function to one I put it to

24
00:01:37,860 --> 00:01:40,500
three because I don't want my boss to

25
00:01:40,500 --> 00:01:43,500
attack too often the little fine-tuning

26
00:01:43,500 --> 00:01:47,130
aspect is here face player we're gonna

27
00:01:47,130 --> 00:01:50,849
call this in the boss's animation so I'm

28
00:01:50,849 --> 00:01:53,940
just gonna do a few of them or maybe I

29
00:01:53,940 --> 00:01:58,349
might do all of them so for example if I

30
00:01:58,349 --> 00:02:02,700
go into Hadouken one

31
00:02:02,700 --> 00:02:05,189
here when he's charging it's for certain

32
00:02:05,189 --> 00:02:08,610
you're gonna be able to dodge so let's

33
00:02:08,610 --> 00:02:11,849
say at this point he looks at the player

34
00:02:11,849 --> 00:02:15,209
and then he fires it so I'm making you

35
00:02:15,209 --> 00:02:18,230
notify and I'm gonna call it bass player

36
00:02:18,230 --> 00:02:22,680
the same title as our as our custom

37
00:02:22,680 --> 00:02:27,540
event then let's say I'll put one here

38
00:02:27,540 --> 00:02:30,090
two and I have animation trails in mind

39
00:02:30,090 --> 00:02:31,700
so you probably don't have them in yours

40
00:02:31,700 --> 00:02:38,209
let's say here I could add a face player

41
00:02:38,209 --> 00:02:43,590
and then all these melee attacks this

42
00:02:43,590 --> 00:02:46,530
one I'll leave it anything with one hit

43
00:02:46,530 --> 00:02:49,549
I won't make him face the player in them

44
00:02:49,549 --> 00:02:51,480
because I don't see the point it's just

45
00:02:51,480 --> 00:02:54,060
one hit but like a big hit like this

46
00:02:54,060 --> 00:02:57,390
where he holds a little bit here I can

47
00:02:57,390 --> 00:03:03,560
add a face player and these combos to

48
00:03:03,560 --> 00:03:06,989
let's say halfway through the combo oops

49
00:03:06,989 --> 00:03:10,350
I'm free to the combo he can face the

50
00:03:10,350 --> 00:03:16,280
player

51
00:03:16,280 --> 00:03:18,680
if you don't have these animal ties made

52
00:03:18,680 --> 00:03:21,050
you can do them on your own I just

53
00:03:21,050 --> 00:03:27,170
wanted to have them all in this one to

54
00:03:27,170 --> 00:03:33,690
multiple attacks

55
00:03:33,690 --> 00:03:37,260
later when we refine him further what

56
00:03:37,260 --> 00:03:39,990
I'm gonna do is these attacks where he

57
00:03:39,990 --> 00:03:42,930
strikes the player multiple times well

58
00:03:42,930 --> 00:03:45,600
they're only gonna be accessible to him

59
00:03:45,600 --> 00:03:48,000
when you use a bit lower on health and

60
00:03:48,000 --> 00:03:58,080
we'll make them do more damage too

61
00:03:58,080 --> 00:04:01,610
and this is my favorite one

62
00:04:01,610 --> 00:04:05,550
streetfighter kick so I probably wanted

63
00:04:05,550 --> 00:04:08,520
to face player than lunch so it's a

64
00:04:08,520 --> 00:04:13,530
really scary looking attack he's gonna

65
00:04:13,530 --> 00:04:17,310
face player right before each lunch this

66
00:04:17,310 --> 00:04:29,169
was called hurricane kick the

67
00:04:29,169 --> 00:04:32,560
this will be the ultimate attack so what

68
00:04:32,560 --> 00:04:34,479
I'm gonna do now is I'm going to go into

69
00:04:34,479 --> 00:04:38,110
this animation blueprint and I'm gonna

70
00:04:38,110 --> 00:04:43,599
go get that notify bald-faced player and

71
00:04:43,599 --> 00:04:45,279
I forgot to comment this so I'm gonna

72
00:04:45,279 --> 00:04:52,629
call this launch and get the custom

73
00:04:52,629 --> 00:05:00,150
event called face player

74
00:05:00,150 --> 00:05:03,680
I'm a comment listen call it faceplant

75
00:05:03,680 --> 00:05:08,639
so with that out of the way what we can

76
00:05:08,639 --> 00:05:10,650
hear I'm just gonna do a quick demo to

77
00:05:10,650 --> 00:05:14,040
show you what I did and I'll end the

78
00:05:14,040 --> 00:05:16,680
video segment for this and we'll

79
00:05:16,680 --> 00:05:19,020
continue on with the next so as I

80
00:05:19,020 --> 00:05:25,500
approach him see it turned in the middle

81
00:05:25,500 --> 00:05:27,479
of his attack yeah it turned like that

82
00:05:27,479 --> 00:05:30,240
so it's a bit more dangerous for me so

83
00:05:30,240 --> 00:05:32,580
the best bass players I put the easier

84
00:05:32,580 --> 00:05:33,960
it is because I can stay behind him and

85
00:05:33,960 --> 00:05:36,360
keep attacking him but this just makes

86
00:05:36,360 --> 00:05:37,889
it more challenging it tells me to dodge

87
00:05:37,889 --> 00:05:40,590
more and I sped up my dodge animation

88
00:05:40,590 --> 00:05:42,720
because the other one I found it was too

89
00:05:42,720 --> 00:05:46,440
slow just for gameplay I know it doesn't

90
00:05:46,440 --> 00:05:49,770
look so real a guy in heavy armor so

91
00:05:49,770 --> 00:05:51,870
we'll continue on with the next segment

92
00:05:51,870 --> 00:05:54,600
on the bus in this segment I'm gonna

93
00:05:54,600 --> 00:05:58,169
continue working on our bus so in my

94
00:05:58,169 --> 00:06:01,560
Google bus character blueprint as you go

95
00:06:01,560 --> 00:06:07,110
to his viewport and want to take off is

96
00:06:07,110 --> 00:06:08,940
animation blueprint so I'll put it to

97
00:06:08,940 --> 00:06:12,060
none and I'm gonna compile next I'm

98
00:06:12,060 --> 00:06:16,410
gonna get capsule capsule collision and

99
00:06:16,410 --> 00:06:20,370
I'll call this right fist duplicate this

100
00:06:20,370 --> 00:06:24,690
and call it left fist

101
00:06:24,690 --> 00:06:28,690
now take both of them and drag and drop

102
00:06:28,690 --> 00:06:32,919
them under mesh so here we can have

103
00:06:32,919 --> 00:06:35,440
access to the sockets this is right fist

104
00:06:35,440 --> 00:06:40,270
so I'm gonna get right hand right there

105
00:06:40,270 --> 00:06:43,240
and for left this time I'm gonna go get

106
00:06:43,240 --> 00:06:47,410
left hand I'm gonna zero out all these

107
00:06:47,410 --> 00:06:52,800
values up here

108
00:06:52,800 --> 00:06:55,650
and I'm gonna adjust these fists these

109
00:06:55,650 --> 00:07:00,240
capsules properly and I'm gonna scale

110
00:07:00,240 --> 00:07:02,430
them up too right now I'm gonna leave

111
00:07:02,430 --> 00:07:05,430
them quite big so this overlaps the

112
00:07:05,430 --> 00:07:07,740
player it can hurt him but later when

113
00:07:07,740 --> 00:07:09,539
it's time to adjust it a bit I'll do it

114
00:07:09,539 --> 00:07:23,240
then

115
00:07:23,240 --> 00:07:27,340
okay now in this capsule you can type in

116
00:07:27,340 --> 00:07:30,380
collision and you're gonna see custom

117
00:07:30,380 --> 00:07:32,479
presets like collision presets are you

118
00:07:32,479 --> 00:07:34,819
set it to custom and then put it to no

119
00:07:34,819 --> 00:07:36,530
collision do the same thing for the

120
00:07:36,530 --> 00:07:40,340
other fist so put it to custom and then

121
00:07:40,340 --> 00:07:43,849
no collision then we're gonna go in his

122
00:07:43,849 --> 00:07:49,780
event graph and I'm gonna comment this -

123
00:07:49,780 --> 00:07:56,599
it's my flow strange attacks and these

124
00:07:56,599 --> 00:08:00,650
are my long-range effects so I know the

125
00:08:00,650 --> 00:08:04,490
quote that follows it's about that okay

126
00:08:04,490 --> 00:08:06,560
now what we need is something that

127
00:08:06,560 --> 00:08:09,949
enables and disable the collision on

128
00:08:09,949 --> 00:08:14,570
these two so like these and you want to

129
00:08:14,570 --> 00:08:17,900
get both

130
00:08:17,900 --> 00:08:21,260
drag a wire out type set collision

131
00:08:21,260 --> 00:08:28,379
enabled copy-paste that

132
00:08:28,379 --> 00:08:30,849
top-1 we can cut it to collision enabled

133
00:08:30,849 --> 00:08:33,760
and the bottom one to no collision to

134
00:08:33,760 --> 00:08:38,529
make two custom events will call this

135
00:08:38,529 --> 00:08:47,410
left fist actually II call left fist in

136
00:08:47,410 --> 00:08:49,480
a book revision that fist and then this

137
00:08:49,480 --> 00:08:54,130
one we're gonna call it we call right

138
00:08:54,130 --> 00:08:58,840
fist

139
00:08:58,840 --> 00:09:01,180
I put another underscore so it's easier

140
00:09:01,180 --> 00:09:06,830
to read

141
00:09:06,830 --> 00:09:18,020
remove the word copy

142
00:09:18,020 --> 00:09:25,120
okay now that we have this and actually

143
00:09:25,120 --> 00:09:27,230
yeah we're gonna need more of these

144
00:09:27,230 --> 00:09:32,450
actually disconnect left wrist copy

145
00:09:32,450 --> 00:09:42,940
paste both of these connect left wrist

146
00:09:42,940 --> 00:09:46,530
so this is the label collision left

147
00:09:46,530 --> 00:09:50,890
enable collision right now we get it

148
00:09:50,890 --> 00:09:54,070
disabled the collisions too so you could

149
00:09:54,070 --> 00:09:56,260
copy these two custom events are based

150
00:09:56,260 --> 00:10:00,880
on connecting to the ones below and then

151
00:10:00,880 --> 00:10:05,740
we're gonna change their names so you

152
00:10:05,740 --> 00:10:07,540
want to remove the word copy obviously

153
00:10:07,540 --> 00:10:18,120
and change e to D for disabled

154
00:10:18,120 --> 00:10:20,160
so now we have events that can be fired

155
00:10:20,160 --> 00:10:26,399
to turn those collisions on and off I'm

156
00:10:26,399 --> 00:10:30,350
gonna comment this I'm gonna call it

157
00:10:30,350 --> 00:10:32,279
this division

158
00:10:32,279 --> 00:10:38,129
a /d for enable and disable one more

159
00:10:38,129 --> 00:10:40,769
thing go back to viewport click on the

160
00:10:40,769 --> 00:10:44,129
capsule for right fist and do you want

161
00:10:44,129 --> 00:10:48,769
to type in collision again here it says

162
00:10:48,769 --> 00:10:52,529
object type world dynamic we're gonna

163
00:10:52,529 --> 00:10:54,120
change this later when we're dealing

164
00:10:54,120 --> 00:10:58,529
damage put everything to ignore but put

165
00:10:58,529 --> 00:11:02,339
vehicle to actually put pawn to overlap

166
00:11:02,339 --> 00:11:04,470
with vehicle to overlap and put

167
00:11:04,470 --> 00:11:07,259
destructible to overlap do the same

168
00:11:07,259 --> 00:11:11,970
thing for that fist so put everything to

169
00:11:11,970 --> 00:11:14,730
ignore except for pawn vehicle

170
00:11:14,730 --> 00:11:16,079
indestructible we're gonna leave those

171
00:11:16,079 --> 00:11:20,100
on overlap next thing we're gonna do is

172
00:11:20,100 --> 00:11:22,559
go back to his event graph I'm just

173
00:11:22,559 --> 00:11:25,620
gonna move this to the side I'm gonna

174
00:11:25,620 --> 00:11:34,040
make a bunch of constraints

175
00:11:34,040 --> 00:11:35,690
and what these are gonna do it they're

176
00:11:35,690 --> 00:11:37,310
gonna tell me when the fists are getting

177
00:11:37,310 --> 00:11:44,930
turned on or off so I'll say II right

178
00:11:44,930 --> 00:11:49,850
and then D right for disabled right and

179
00:11:49,850 --> 00:11:58,130
right will be read and who will be left

180
00:11:58,130 --> 00:12:01,550
I shall put it yellow and red yellow

181
00:12:01,550 --> 00:12:06,470
when it's on red when it's off and this

182
00:12:06,470 --> 00:12:09,170
one green when it's on and blue when

183
00:12:09,170 --> 00:12:16,920
it's off

184
00:12:16,920 --> 00:12:23,020
this is the left and this is a left

185
00:12:23,020 --> 00:12:25,420
now to get this working I'm only gonna

186
00:12:25,420 --> 00:12:29,100
do it for I guess the first three

187
00:12:29,100 --> 00:12:32,860
montage these three and you guys can do

188
00:12:32,860 --> 00:12:36,070
for as many as you have placed so going

189
00:12:36,070 --> 00:12:40,959
into okay unreal froze so what I'm gonna

190
00:12:40,959 --> 00:12:42,580
do is I'm gonna stop the video segment

191
00:12:42,580 --> 00:12:44,589
and I'm gonna continue I don't know why

192
00:12:44,589 --> 00:12:52,150
this happens a lot

193
00:12:52,150 --> 00:12:54,160
okay so I realized the animation

194
00:12:54,160 --> 00:12:56,440
blueprint sometimes goes haywire for

195
00:12:56,440 --> 00:12:58,240
some reason when there's a taboo on it

196
00:12:58,240 --> 00:13:00,640
so I reconstructed everything pretty

197
00:13:00,640 --> 00:13:05,160
much and here I don't know if I put a

198
00:13:05,160 --> 00:13:07,500
animation blueprint on them again

199
00:13:07,500 --> 00:13:10,810
but I'll leave that there and I'm gonna

200
00:13:10,810 --> 00:13:13,839
save that so in the event graph this is

201
00:13:13,839 --> 00:13:15,790
what I had set up I kind of changed the

202
00:13:15,790 --> 00:13:17,440
names a little bit it's just to hurry up

203
00:13:17,440 --> 00:13:23,380
and continue on recording and now we're

204
00:13:23,380 --> 00:13:26,140
gonna need to go into the animation

205
00:13:26,140 --> 00:13:29,380
blueprint which hopefully yeah it didn't

206
00:13:29,380 --> 00:13:35,339
crash so let's go into I had mentioned

207
00:13:35,339 --> 00:13:37,570
okay I hope it doesn't crash again

208
00:13:37,570 --> 00:13:43,300
anyways let's go after this maybe old

209
00:13:43,300 --> 00:13:49,550
one let's open that up

210
00:13:49,550 --> 00:13:54,050
so his right tan I want to enable right

211
00:13:54,050 --> 00:13:54,730
there

212
00:13:54,730 --> 00:13:59,720
so I'd notify we're gonna say P rights

213
00:13:59,720 --> 00:14:05,730
and then D right

214
00:14:05,730 --> 00:14:08,339
while we're here let's just make some

215
00:14:08,339 --> 00:14:16,740
more notifies he left and D left these

216
00:14:16,740 --> 00:14:20,010
are just for his fists I'm gonna delete

217
00:14:20,010 --> 00:14:22,410
these two because I only want the right

218
00:14:22,410 --> 00:14:27,690
one so it gets enabled at lands and it

219
00:14:27,690 --> 00:14:34,720
gets disabled again around here

220
00:14:34,720 --> 00:14:36,670
it may be a good practice to make sure

221
00:14:36,670 --> 00:14:39,819
it's disabled so you start with disabled

222
00:14:39,819 --> 00:14:46,199
and may rule it and disable it once more

223
00:14:46,199 --> 00:14:51,819
now I'm gonna go get strong one and I'm

224
00:14:51,819 --> 00:14:54,509
gonna add the same types of not advice

225
00:14:54,509 --> 00:14:59,740
this time is this left hand so I need to

226
00:14:59,740 --> 00:15:07,110
enable not even here Rocksmith be here

227
00:15:07,110 --> 00:15:11,370
so enable the left the action is done

228
00:15:11,370 --> 00:15:14,949
disable it I'm gonna copy this and I'm

229
00:15:14,949 --> 00:15:19,540
gonna paste at the start now let's go

230
00:15:19,540 --> 00:15:23,730
after the next one kickin

231
00:15:23,730 --> 00:15:26,309
okay this is a different one because he

232
00:15:26,309 --> 00:15:29,639
utilizes his feet so basically what I

233
00:15:29,639 --> 00:15:31,109
did with the arms where I attached

234
00:15:31,109 --> 00:15:32,699
capsules and I'm enabling and disabling

235
00:15:32,699 --> 00:15:35,160
them you would do the same thing with

236
00:15:35,160 --> 00:15:37,769
the feet because he's not attacking with

237
00:15:37,769 --> 00:15:39,889
his hands really that's what this feet

238
00:15:39,889 --> 00:15:42,449
but if we can do is we can kind of keep

239
00:15:42,449 --> 00:15:46,829
this although I recommend you do that

240
00:15:46,829 --> 00:15:49,319
with his feet I'm gonna enable and

241
00:15:49,319 --> 00:15:51,749
disable his hands because they cover a

242
00:15:51,749 --> 00:16:00,359
large amount so yeah I guess the

243
00:16:00,359 --> 00:16:02,160
capsules are enabled and then they're

244
00:16:02,160 --> 00:16:07,150
gonna get disabled right here

245
00:16:07,150 --> 00:16:09,250
so I'm gonna disabled left and disabled

246
00:16:09,250 --> 00:16:12,040
right but I'm gonna copy these actually

247
00:16:12,040 --> 00:16:17,260
I'm gonna go in by one copy paste copy

248
00:16:17,260 --> 00:16:23,830
and paste so that's out of the way I

249
00:16:23,830 --> 00:16:28,690
don't need to enable or disable here the

250
00:16:28,690 --> 00:16:31,779
next thing I need to do is click here

251
00:16:31,779 --> 00:16:37,390
and let's check the events on component

252
00:16:37,390 --> 00:16:40,960
begin overlap I need one of that and I

253
00:16:40,960 --> 00:16:43,000
also need it for the right fist on

254
00:16:43,000 --> 00:16:46,480
component begin overlap now we're gonna

255
00:16:46,480 --> 00:16:47,589
take care of this in the next segment

256
00:16:47,589 --> 00:16:49,450
when we add to it but in the meantime

257
00:16:49,450 --> 00:16:52,300
let's just test out and make sure the

258
00:16:52,300 --> 00:16:56,050
animation is triggering triggering the

259
00:16:56,050 --> 00:17:03,209
fists on and off

260
00:17:03,209 --> 00:17:05,220
hopefully in Oliviana mission because I

261
00:17:05,220 --> 00:17:07,980
have so many it doesn't I'm gonna pause

262
00:17:07,980 --> 00:17:09,750
the video and I'm gonna set it up for

263
00:17:09,750 --> 00:17:10,260
all of them

264
00:17:10,260 --> 00:17:12,539
and then with the start again get one

265
00:17:12,539 --> 00:17:16,919
more shot okay I'm gonna pause the video

266
00:17:16,919 --> 00:17:23,520
and I'll set it all up okay so I

267
00:17:23,520 --> 00:17:25,860
finished up setting up all Deanna and

268
00:17:25,860 --> 00:17:37,130
montage so let's see

269
00:17:37,130 --> 00:17:46,110
oh right missing another crucial step

270
00:17:46,110 --> 00:17:47,850
i hate when i forget things like that

271
00:17:47,850 --> 00:17:51,980
there's just so much going on and it's

272
00:17:51,980 --> 00:17:58,110
here we're missing your right knee right

273
00:17:58,110 --> 00:18:10,670
knee left and do that

274
00:18:10,670 --> 00:18:14,270
okay now I'm gonna go get my typing

275
00:18:14,270 --> 00:18:19,700
ecole left you call right I'm basically

276
00:18:19,700 --> 00:18:24,650
calling the events I mean earlier I'm

277
00:18:24,650 --> 00:18:30,200
gonna get D call left deke alright so

278
00:18:30,200 --> 00:18:31,900
dick alright is here

279
00:18:31,900 --> 00:18:37,610
Eco left right they're equal writers up

280
00:18:37,610 --> 00:18:45,240
here and the last one down here

281
00:18:45,240 --> 00:18:48,750
so I'm going to comment this to fist

282
00:18:48,750 --> 00:18:53,010
call or collision and I'm just going to

283
00:18:53,010 --> 00:19:03,860
save this and press play

284
00:19:03,860 --> 00:19:05,659
there you go all these colors are

285
00:19:05,659 --> 00:19:08,059
appearing things are getting turned on

286
00:19:08,059 --> 00:19:11,600
and off as collisions they're getting

287
00:19:11,600 --> 00:19:14,630
triggered so I'm gonna stop this segment

288
00:19:14,630 --> 00:19:16,789
here and the next segment we're gonna

289
00:19:16,789 --> 00:19:19,610
make it detect the player all right so

290
00:19:19,610 --> 00:19:23,110
for this segment let's start by going to

291
00:19:23,110 --> 00:19:27,250
the blue balls blue print and in fist

292
00:19:27,250 --> 00:19:31,130
fist collision okay what I wrote fist

293
00:19:31,130 --> 00:19:33,710
collision I'm gonna delete all the

294
00:19:33,710 --> 00:19:40,340
prints next we had made these two boxes

295
00:19:40,340 --> 00:19:43,549
earlier and other character I'm gonna

296
00:19:43,549 --> 00:19:47,419
type get class Oh actually I'm gonna

297
00:19:47,419 --> 00:19:50,860
type in let's see if this might work

298
00:19:50,860 --> 00:19:53,690
stat equal equal and then type I get

299
00:19:53,690 --> 00:20:03,020
player character

300
00:20:03,020 --> 00:20:08,100
and put two branches

301
00:20:08,100 --> 00:20:11,370
and connect the condition I don't know

302
00:20:11,370 --> 00:20:14,190
thank you do the both yeah you can so if

303
00:20:14,190 --> 00:20:19,220
it's true you print

304
00:20:19,220 --> 00:20:22,970
left Claire it's because the left face

305
00:20:22,970 --> 00:20:26,420
left fist is overlapping the player and

306
00:20:26,420 --> 00:20:31,640
then here right Claire and right we'll

307
00:20:31,640 --> 00:20:36,890
color it red so this doesn't work I have

308
00:20:36,890 --> 00:20:42,400
another method to try

309
00:20:42,400 --> 00:20:49,480
now let's go and get hit by that guy

310
00:20:49,480 --> 00:20:56,039
oh look at that detected me

311
00:20:56,039 --> 00:20:58,360
just to make sure that it really is

312
00:20:58,360 --> 00:21:08,710
working I'm gonna go into warrior and

313
00:21:08,710 --> 00:21:10,900
I'm gonna make a custom event then I'm

314
00:21:10,900 --> 00:21:14,520
gonna delete later but this is for test

315
00:21:14,520 --> 00:21:21,340
let's call it just an event here

316
00:21:21,340 --> 00:21:24,770
so this custom event we're gonna call it

317
00:21:24,770 --> 00:21:27,930
the test

318
00:21:27,930 --> 00:21:31,400
and it's Prince

319
00:21:31,400 --> 00:21:34,010
I'm gonna call it

320
00:21:34,010 --> 00:21:38,490
I'm hit

321
00:21:38,490 --> 00:21:40,560
so I could delete these two print

322
00:21:40,560 --> 00:21:43,190
strings from the blue box blueprint and

323
00:21:43,190 --> 00:21:48,990
here and get player character I need to

324
00:21:48,990 --> 00:21:56,090
do get fast

325
00:21:56,090 --> 00:21:58,640
and then I'm gonna type equal equal from

326
00:21:58,640 --> 00:22:05,550
this

327
00:22:05,550 --> 00:22:07,230
I'm not none even need this actually I

328
00:22:07,230 --> 00:22:09,840
don't know what I'm doing actually no I

329
00:22:09,840 --> 00:22:13,050
don't what I'm doing yeah yeah we're

330
00:22:13,050 --> 00:22:18,929
gonna tighten or your underscore DP and

331
00:22:18,929 --> 00:22:23,130
connect to go to these the reason why

332
00:22:23,130 --> 00:22:24,420
you're doing this is because later

333
00:22:24,420 --> 00:22:27,540
you're gonna have a a mage character so

334
00:22:27,540 --> 00:22:29,010
when it's warrior well you're gonna

335
00:22:29,010 --> 00:22:31,050
trigger something in the warrior and if

336
00:22:31,050 --> 00:22:32,370
it's made you're gonna trigger something

337
00:22:32,370 --> 00:22:35,460
in the mage drag another pin from here

338
00:22:35,460 --> 00:22:40,470
untied cast to a warrior like this into

339
00:22:40,470 --> 00:22:46,679
true and you want to copy paste act like

340
00:22:46,679 --> 00:22:49,590
that integer then we made an event

341
00:22:49,590 --> 00:22:53,400
called test you want to get that for

342
00:22:53,400 --> 00:22:58,170
both you could have two events one that

343
00:22:58,170 --> 00:23:00,420
says I'm hit with left wrist I met with

344
00:23:00,420 --> 00:23:12,330
right fist but I'm just gonna do this

345
00:23:12,330 --> 00:23:16,790
okay let's let him beat us up

346
00:23:16,790 --> 00:23:22,920
oh nothing there you go

347
00:23:22,920 --> 00:23:28,630
took a hit

348
00:23:28,630 --> 00:23:30,429
I think it's only one of these Pistons

349
00:23:30,429 --> 00:23:35,649
doing it and the reason being it's

350
00:23:35,649 --> 00:23:42,920
probably because this

351
00:23:42,920 --> 00:23:45,500
or maybe we should do treatments just to

352
00:23:45,500 --> 00:23:49,240
be sure shot about this it's copy this

353
00:23:49,240 --> 00:23:56,830
so test copy and I'm gonna color it red

354
00:23:56,830 --> 00:23:59,950
I've been test get test copy and hit

355
00:23:59,950 --> 00:24:15,120
play again

356
00:24:15,120 --> 00:24:17,070
okay well looks like one of his fists

357
00:24:17,070 --> 00:24:19,860
isn't working so that's something to

358
00:24:19,860 --> 00:24:25,690
troubleshoot

359
00:24:25,690 --> 00:24:27,880
it's probably this other class right

360
00:24:27,880 --> 00:24:35,390
here

361
00:24:35,390 --> 00:24:55,660
other glass

362
00:24:55,660 --> 00:24:58,590
they're not works that's what was needed

363
00:24:58,590 --> 00:25:00,730
now he's hitting me with both of his

364
00:25:00,730 --> 00:25:05,170
fists so you really needed to get this

365
00:25:05,170 --> 00:25:09,040
other actor here and connect this

366
00:25:09,040 --> 00:25:10,360
together this thing looks like a mess

367
00:25:10,360 --> 00:25:16,330
but it's clean it up

368
00:25:16,330 --> 00:25:31,240
I can also delete these two contestants

369
00:25:31,240 --> 00:25:32,740
by the end of this you're gonna have

370
00:25:32,740 --> 00:25:35,500
wires everywhere these look nice but not

371
00:25:35,500 --> 00:25:42,800
these guys

372
00:25:42,800 --> 00:25:45,230
so actually I'm just going to leave

373
00:25:45,230 --> 00:25:48,610
those test events on for now

374
00:25:48,610 --> 00:25:50,810
we'll get rid of them like there are the

375
00:25:50,810 --> 00:25:56,080
time comes

376
00:25:56,080 --> 00:26:00,580
so that's it that's kind of it for this

377
00:26:00,580 --> 00:26:02,800
segment one more thing you might want to

378
00:26:02,800 --> 00:26:04,740
do is invariably create two variables

379
00:26:04,740 --> 00:26:10,540
call this min dmg and make another one

380
00:26:10,540 --> 00:26:15,550
called max the energy and convert both

381
00:26:15,550 --> 00:26:19,330
of them into floats what we're gonna do

382
00:26:19,330 --> 00:26:21,490
with these is set up the minimum damage

383
00:26:21,490 --> 00:26:24,160
and maximum damage for each attack so if

384
00:26:24,160 --> 00:26:27,850
I move all this to the side these both

385
00:26:27,850 --> 00:26:29,200
of these variables are gonna be set

386
00:26:29,200 --> 00:26:32,440
right here right after lunch force so

387
00:26:32,440 --> 00:26:37,180
you could set set min damage and set max

388
00:26:37,180 --> 00:26:41,920
damage unless you just want your attack

389
00:26:41,920 --> 00:26:44,920
do Willett 820 damage at each time if

390
00:26:44,920 --> 00:26:47,350
you wanted to do between let's say I

391
00:26:47,350 --> 00:26:49,990
don't know 18 and 24 well this is the

392
00:26:49,990 --> 00:26:51,430
method to go with otherwise you only

393
00:26:51,430 --> 00:26:54,070
need one variable and that variable

394
00:26:54,070 --> 00:26:56,440
could be called the damage but I always

395
00:26:56,440 --> 00:27:00,520
like to go with 2 so sometimes you don't

396
00:27:00,520 --> 00:27:04,650
know how much you're gonna get hit by

397
00:27:04,650 --> 00:27:07,390
what you do after is basically and put

398
00:27:07,390 --> 00:27:11,200
the values o I'm gonna stop the video

399
00:27:11,200 --> 00:27:13,290
segment here and I'm gonna continue

400
00:27:13,290 --> 00:27:18,190
doing this grunt work and in the next

401
00:27:18,190 --> 00:27:19,840
video segment I'm gonna see what else

402
00:27:19,840 --> 00:27:26,650
we're gonna refine on them

403
00:27:26,650 --> 00:27:28,660
to finish this video we're gonna be

404
00:27:28,660 --> 00:27:32,230
doing some sphere tracing this is so we

405
00:27:32,230 --> 00:27:34,780
can every time we get hit we didn't

406
00:27:34,780 --> 00:27:39,070
spawn a sprite or a particle so I'm

407
00:27:39,070 --> 00:27:40,630
gonna start by making the particle first

408
00:27:40,630 --> 00:27:42,490
I'm gonna duplicate if you're going to

409
00:27:42,490 --> 00:27:45,430
start your content and this isn't your

410
00:27:45,430 --> 00:27:48,130
starter content particles take the

411
00:27:48,130 --> 00:27:52,270
explosion and duplicate it or call it P

412
00:27:52,270 --> 00:27:58,000
underscore fist sprite and then in here

413
00:27:58,000 --> 00:28:02,190
take a fireball spark fire light smoke

414
00:28:02,190 --> 00:28:06,390
in fact you could just delete this

415
00:28:06,390 --> 00:28:08,950
because for this you won't be needing

416
00:28:08,950 --> 00:28:11,320
them then right-click and go color

417
00:28:11,320 --> 00:28:15,280
initial color put it over color over

418
00:28:15,280 --> 00:28:17,890
life and uncheck it so now this thing is

419
00:28:17,890 --> 00:28:22,240
white now what we can do is we'll save

420
00:28:22,240 --> 00:28:29,260
this and let's go into blue bus here in

421
00:28:29,260 --> 00:28:31,120
the overlap by the way see this thus

422
00:28:31,120 --> 00:28:33,580
we're gonna be making so I'm just gonna

423
00:28:33,580 --> 00:28:34,930
leave it on the side as a reference but

424
00:28:34,930 --> 00:28:39,760
I'll remake it with you guys so and

425
00:28:39,760 --> 00:28:42,340
these are the event begin overlap I'm

426
00:28:42,340 --> 00:28:46,000
just gonna disconnect this stuff and I'm

427
00:28:46,000 --> 00:28:48,160
gonna delete test copy I'm gonna go into

428
00:28:48,160 --> 00:28:50,640
warrior blueprint in the event graph and

429
00:28:50,640 --> 00:28:53,770
delete the events from here to just

430
00:28:53,770 --> 00:28:59,340
gonna compile save this and save the bus

431
00:28:59,340 --> 00:29:03,280
now you have to go into your Anna

432
00:29:03,280 --> 00:29:09,960
montage let's say you go into MIDI one

433
00:29:09,960 --> 00:29:12,929
now I need to make 200 notifies I

434
00:29:12,929 --> 00:29:14,730
already made it right here but that's

435
00:29:14,730 --> 00:29:17,009
because I placed it in all of the

436
00:29:17,009 --> 00:29:19,019
animation notifies so it took a while

437
00:29:19,019 --> 00:29:22,980
but this is a good one so for example

438
00:29:22,980 --> 00:29:27,090
you have L trace you need our trace and

439
00:29:27,090 --> 00:29:30,059
L trace these are two notifies that get

440
00:29:30,059 --> 00:29:32,159
triggered for example let me show you

441
00:29:32,159 --> 00:29:35,990
something that looks like a total mess

442
00:29:35,990 --> 00:29:39,720
yeah that's yeah this one so here's the

443
00:29:39,720 --> 00:29:44,759
animation now look at the notifies total

444
00:29:44,759 --> 00:29:47,249
mess right here what's happening is you

445
00:29:47,249 --> 00:29:51,779
see where it says L trace this is where

446
00:29:51,779 --> 00:29:54,840
it's gonna fire a spear and check if

447
00:29:54,840 --> 00:29:56,340
there's a character in front of it if

448
00:29:56,340 --> 00:29:57,869
the player is in front of it if it is

449
00:29:57,869 --> 00:30:00,389
it's gonna spawn a hit sprite and then

450
00:30:00,389 --> 00:30:04,039
you see the next one here our trace well

451
00:30:04,039 --> 00:30:09,059
check this so right here it's gonna fire

452
00:30:09,059 --> 00:30:11,129
another one straight and check if

453
00:30:11,129 --> 00:30:13,679
there's something here if there is and

454
00:30:13,679 --> 00:30:15,119
it's the player it's gonna spawn a

455
00:30:15,119 --> 00:30:18,619
sprite so I put a bunch of those and

456
00:30:18,619 --> 00:30:20,460
this stuff you see here it's

457
00:30:20,460 --> 00:30:23,299
enable/disable collision all this stuff

458
00:30:23,299 --> 00:30:28,320
so it's a multiple hit attack now let's

459
00:30:28,320 --> 00:30:33,119
go back into the boss blueprint and here

460
00:30:33,119 --> 00:30:36,059
I made trace right and trace left so

461
00:30:36,059 --> 00:30:37,799
I'll make new custom events for this

462
00:30:37,799 --> 00:30:40,379
tutorial right click and type in custom

463
00:30:40,379 --> 00:30:47,150
event and let's call it

464
00:30:47,150 --> 00:30:52,060
our underscore trace and copy-paste it

465
00:30:52,060 --> 00:30:54,740
you want to call this one L on your

466
00:30:54,740 --> 00:30:59,240
support race once your animation

467
00:30:59,240 --> 00:31:02,030
notifies are done and you made those two

468
00:31:02,030 --> 00:31:04,580
custom events go to your bosses

469
00:31:04,580 --> 00:31:07,610
animation blueprint and go and call

470
00:31:07,610 --> 00:31:11,960
those two animation notifies so it was

471
00:31:11,960 --> 00:31:17,720
our trace and L trace then we're gonna

472
00:31:17,720 --> 00:31:19,970
go get those two custom events we just

473
00:31:19,970 --> 00:31:24,820
made and it was our underscore race and

474
00:31:24,820 --> 00:31:29,870
L wonder sport race I'm just gonna

475
00:31:29,870 --> 00:31:35,000
disconnect the pin and connect the right

476
00:31:35,000 --> 00:31:38,840
ones together so I got our trace up here

477
00:31:38,840 --> 00:31:41,960
and L trace down there I'm gonna call

478
00:31:41,960 --> 00:31:48,860
this this tracing I'm gonna close the

479
00:31:48,860 --> 00:31:50,540
animation blueprint because it's not to

480
00:31:50,540 --> 00:31:53,570
do evil things to unreal and crash some

481
00:31:53,570 --> 00:31:57,290
reason now coming back here I won't work

482
00:31:57,290 --> 00:31:58,910
on the left one I'll work on the right

483
00:31:58,910 --> 00:32:05,570
one first so type in fear trace it

484
00:32:05,570 --> 00:32:08,860
sphere trace by channel

485
00:32:08,860 --> 00:32:13,360
so here what I need is first stuff oh

486
00:32:13,360 --> 00:32:18,610
not bad Channel sorry its sphere trace

487
00:32:18,610 --> 00:32:21,340
for object that's the one now here it's

488
00:32:21,340 --> 00:32:23,500
object types you drag this and make

489
00:32:23,500 --> 00:32:28,330
array select pawn then in radius will

490
00:32:28,330 --> 00:32:33,690
put 64 I'll connect these together and

491
00:32:33,690 --> 00:32:35,950
and out it

492
00:32:35,950 --> 00:32:39,360
we hit break the hit result put a branch

493
00:32:39,360 --> 00:32:42,250
and where it says hit actor type in

494
00:32:42,250 --> 00:32:46,450
equal twice and then type and get player

495
00:32:46,450 --> 00:32:51,639
character plug that in right there put

496
00:32:51,639 --> 00:32:55,149
it into the condition then what you want

497
00:32:55,149 --> 00:32:59,470
is spawn emitter at location and you

498
00:32:59,470 --> 00:33:02,440
want to get type in fist and you should

499
00:33:02,440 --> 00:33:05,409
have it this sprite you want to spawn

500
00:33:05,409 --> 00:33:09,159
this and you want to spawn it at the hit

501
00:33:09,159 --> 00:33:12,519
location rotation I'll leave it as 0 but

502
00:33:12,519 --> 00:33:14,649
if it doesn't look good and will change

503
00:33:14,649 --> 00:33:18,340
something up in here now the next thing

504
00:33:18,340 --> 00:33:23,260
is this so you're gonna copy paste that

505
00:33:23,260 --> 00:33:30,700
code and I'm gonna explain it and so

506
00:33:30,700 --> 00:33:32,740
first you get this is right trace so

507
00:33:32,740 --> 00:33:36,580
we're gonna get right fist and from it

508
00:33:36,580 --> 00:33:40,389
you need to drag a pin and type in get

509
00:33:40,389 --> 00:33:42,549
world location that's what this is so

510
00:33:42,549 --> 00:33:46,019
that's a little weight then you need to

511
00:33:46,019 --> 00:33:52,659
also get world rotation okay so this is

512
00:33:52,659 --> 00:33:56,830
out of the way next you drag a pin from

513
00:33:56,830 --> 00:34:00,240
here and type in get forward vector

514
00:34:00,240 --> 00:34:05,019
which is right here and what you want to

515
00:34:05,019 --> 00:34:09,820
do is multiply this by foot okay so

516
00:34:09,820 --> 00:34:12,669
that's out of the way to and then this a

517
00:34:12,669 --> 00:34:16,240
vector plus vector node so you connect

518
00:34:16,240 --> 00:34:19,659
these two together this goes to the end

519
00:34:19,659 --> 00:34:24,429
and this goes to the start and I think

520
00:34:24,429 --> 00:34:29,050
our chain is pretty much completed

521
00:34:29,050 --> 00:34:33,030
and here you can type in I don't know

522
00:34:33,030 --> 00:34:39,070
strive with 1000 and debug type for

523
00:34:39,070 --> 00:34:42,940
duration so this is just for the right

524
00:34:42,940 --> 00:34:46,120
fist trace so we can copy/paste this

525
00:34:46,120 --> 00:34:51,060
whole code and call it for the left fist

526
00:34:51,060 --> 00:35:02,510
I'm going to eat my old one

527
00:35:02,510 --> 00:35:09,090
on the side here

528
00:35:09,090 --> 00:35:11,460
so let's play and give that a shot and

529
00:35:11,460 --> 00:35:17,690
see what happens

530
00:35:17,690 --> 00:35:19,430
I'm just gonna run into them and let him

531
00:35:19,430 --> 00:35:23,660
hit me so you see that the green ones

532
00:35:23,660 --> 00:35:26,089
are hits the red ones are miss but this

533
00:35:26,089 --> 00:35:29,480
is going really far and like the sprites

534
00:35:29,480 --> 00:35:34,580
are okay

535
00:35:34,580 --> 00:35:37,820
so what I'll do is here I can produce

536
00:35:37,820 --> 00:35:42,160
this - I don't know maybe 300 will do

537
00:35:42,160 --> 00:35:44,180
this you just play around with whatever

538
00:35:44,180 --> 00:35:46,340
satisfies you and when you're gonna have

539
00:35:46,340 --> 00:35:48,200
actual characters in there in the

540
00:35:48,200 --> 00:35:49,730
animation make sure that the landing

541
00:35:49,730 --> 00:35:52,970
point at least one area where they're

542
00:35:52,970 --> 00:35:54,380
pointing straight in front of them and

543
00:35:54,380 --> 00:35:55,610
that's where you want to get the trace

544
00:35:55,610 --> 00:35:59,090
from like this guy it's gonna be all

545
00:35:59,090 --> 00:36:02,180
over the place some of them are gonna be

546
00:36:02,180 --> 00:36:05,600
flying back like that you see you don't

547
00:36:05,600 --> 00:36:06,830
want that you want them all going in the

548
00:36:06,830 --> 00:36:12,170
front and if I turn off debug and set it

549
00:36:12,170 --> 00:36:14,510
to none you're gonna see all the hit

550
00:36:14,510 --> 00:36:16,840
sprites appeared without all the messy

551
00:36:16,840 --> 00:36:30,560
lines

552
00:36:30,560 --> 00:36:33,110
if that's too big well you can always

553
00:36:33,110 --> 00:36:41,550
set the scale of the hit sprite

554
00:36:41,550 --> 00:36:44,660
and I think it was set world scale 3d

555
00:36:44,660 --> 00:36:51,420
and you could just add that better 0.4

556
00:36:51,420 --> 00:37:21,230
you do throw this one too

557
00:37:21,230 --> 00:37:25,570
yeah there you go

558
00:37:25,570 --> 00:37:30,180
so this pretty much ends this video and

559
00:37:30,180 --> 00:37:34,150
in the next one you know every time I

560
00:37:34,150 --> 00:37:35,410
have to make a next one I'm not too sure

561
00:37:35,410 --> 00:37:37,780
what I gotta do so I got a plan a bit

562
00:37:37,780 --> 00:37:40,300
and then I'll see what it is that I'm

563
00:37:40,300 --> 00:37:45,310
gonna cover perhaps we'll work on his

564
00:37:45,310 --> 00:37:48,450
abilities like debugging the player or

565
00:37:48,450 --> 00:37:51,700
maybe is ultimate that'd be a good one

566
00:37:51,700 --> 00:37:53,890
to make him uses ultimate when his

567
00:37:53,890 --> 00:37:56,680
health is low so we're gonna do some

568
00:37:56,680 --> 00:37:59,530
damage to this guy too but maybe not

569
00:37:59,530 --> 00:38:01,150
with our attack combos with just a click

570
00:38:01,150 --> 00:38:04,690
of a button maybe I don't know anyway so

571
00:38:04,690 --> 00:38:06,160
thanks for watching and I'll see you in

572
00:38:06,160 --> 00:38:08,670
the next video


