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MjEqf1hF2!-5ڼ,1rDQw;Ѽ
ßi|䶥Hl X
Dki"qb},V9G[C "2?UGq1*A_k%Vd`R|<U,HlA6ّf-80jRDb=	sA~3])o{' \mϣTw"; #B)E9s9%>7Qֵt8+ܑIuR2ayya1M#_b_!\MMlt
zyȠGa9HY+[u!4x-$
k2W_JZ]5rI2Es5w%<Jp]8Ϊ,%B"؎ca\{b_]yJXE81"#ltLJPH>fMYZți>]Y!1Y&G	)-u(u>`Փ!V)wX,LtbPp4>pio!DN!)I,
Xkp2I'IaB,IԂrwgl\+,s6Qml_]sTS="'kR'K
qB"_r2w<r.ޔaƪ-֊!kqm:}d^Bx7/6'L'AP sGXGDG\ڽzb4r7ܷ<E8]C5HEe&RG0N{q
`L{ngk𼟣E)dalRǐo Zl͸d W68ho!*5y. ~WSM[EDG??
g1}x)co	~д~'}}_Gk~FT䣡jOv;CJ_q.1-,ǿsfZ)$':Uaտn4WYgNb$Yߕm*20p7d:U6VgӸx&ⵃv/ڬܢƔȆO"!&B[ɱ"^p  	:IWhWQֳIe6S~ZT$\-ag@q$4h'K_(aW	¨rwt7+!Λ'洤{vaizjX,V|BWہA!Z
Urvآ5MZ,zqG2y\˒Ki~|	g}:I4(%-cfK "{q"9ޭVxh$܆|ϡv4D\G.<8KB61jh"Q3`!0͝P7/@;{G^wY1JzC{*рpJ{'u@0K<h-h"_V">rϬmIa NtzakROQUNA(y	|8x</f̯W3y{VMƺ:/aWC
k<^P1f1}:N6mcMv|^b7In2hgVMVG~@:u_(D84Y/[Agh&@'x|A(uڑBe dropdown and you're going to choose the P underscore

39
00:02:52,150 --> 00:02:55,930
‫projectile trail as the particle system for this component.

40
00:02:55,930 --> 00:02:59,800
‫So pause the video and create this particle system component now.

41
00:03:02,720 --> 00:03:03,170
‫Okay.

42
00:03:03,170 --> 00:03:09,510
‫So I'm here in vs code and I'd like to close out of the classes I'm not using and go into projectile

43
00:03:09,860 --> 00:03:14,740
‫h and here is where I'm going to add the particle system component.

44
00:03:14,750 --> 00:03:22,400
‫Now I'm going to forward declare this and it's going to be U particle system component pointer and I'm

45
00:03:22,400 --> 00:03:28,040
‫going to call this trail particles since this will be a smoke trail.

46
00:03:28,310 --> 00:03:38,060
‫Now I'm going to give this a U property and make it visible anywhere as is done with our components

47
00:03:38,060 --> 00:03:38,780
‫typically.

48
00:03:38,780 --> 00:03:45,290
‫And I'm going to give this a category and I'll add this to the combat category.

49
00:03:45,290 --> 00:03:46,850
‫So we have a U.

50
00:03:46,850 --> 00:03:49,280
‫Particle System component pointer.

51
00:03:49,280 --> 00:03:52,190
‫It's time to construct this in the constructor.

52
00:03:52,190 --> 00:03:58,040
‫So let's go to projectile CP and scroll up to the constructor and we can add this here.

53
00:03:58,040 --> 00:04:12,770
‫So we're going to say trail particles and use create default sub object using U particle system component.

54
00:04:15,230 --> 00:04:20,420
‫And in the parentheses I will give it some text and call this smoke trail.

55
00:04:22,190 --> 00:04:25,940
‫Now I'm going to need the include for you particle system component.

56
00:04:26,180 --> 00:04:27,920
‫So I have my documentation.

57
00:04:27,920 --> 00:04:29,960
‫I'm simply going to search for you.

58
00:04:29,960 --> 00:04:32,300
‫Particle system component.

59
00:04:33,300 --> 00:04:40,260
‫And click on you particle system component scroll down and here's the include it's in particles slash

60
00:04:40,260 --> 00:04:42,670
‫particle system component H.

61
00:04:42,750 --> 00:04:47,400
‫So I'm going to include that here at the top just under gameplay statics.

62
00:04:47,940 --> 00:04:49,950
‫So I've created my trail particles.

63
00:04:49,950 --> 00:04:52,950
‫I now need to attach them to the root component.

64
00:04:52,950 --> 00:05:02,340
‫So I'm going to say trail particles using setup attachment and I'm going to attach this to root component

65
00:05:03,450 --> 00:05:05,010
‫and now it's attached.

66
00:05:05,010 --> 00:05:09,210
‫So we've created our trail particles and we've attached them to the root.

67
00:05:09,240 --> 00:05:11,880
‫Let's go ahead and compile this now.

68
00:05:11,880 --> 00:05:13,170
‫We're back here in the editor.

69
00:05:13,170 --> 00:05:20,220
‫I'm going to open up BP projectile and here is my trail particles and it's parented to projectile mesh,

70
00:05:20,220 --> 00:05:21,270
‫which is the root.

71
00:05:21,630 --> 00:05:23,880
‫So I'm going to select trail particles.

72
00:05:23,880 --> 00:05:27,810
‫And here in the details panel, I see the template variable.

73
00:05:27,810 --> 00:05:29,070
‫It's under particles.

74
00:05:29,100 --> 00:05:33,240
‫I can select the dropdown and choose projectile trail.

75
00:05:33,240 --> 00:05:37,260
‫So that will set our projectile trail particle system.

76
00:05:37,260 --> 00:05:44,040
‫And if you were curious what projectile trail looks like, we can go back to Asset's Effects and double

77
00:05:44,040 --> 00:05:45,420
‫click Projectile Trail.

78
00:05:45,420 --> 00:05:50,010
‫We took a look at this early on in this section and we saw that this is what it looks like.

79
00:05:50,010 --> 00:05:54,390
‫So this is the particle system that will be attached to the root component.

80
00:05:54,390 --> 00:05:57,540
‫And as you'll notice, it's designed to keep looping.

81
00:05:57,540 --> 00:06:01,410
‫So it's going to keep playing as long as it exists in the world.

82
00:06:01,410 --> 00:06:03,570
‫So let's go ahead and test this out.

83
00:06:03,570 --> 00:06:09,750
‫I'm going to go ahead and hit play and as soon as I can, I'm going to shoot some projectiles and check

84
00:06:09,750 --> 00:06:10,710
‫that out.

85
00:06:10,710 --> 00:06:12,300
‫This looks amazing.

86
00:06:12,510 --> 00:06:19,770
‫Our projectiles now have a smoke trail and if we go and aggro the enemies here, we'll see that their

87
00:06:19,770 --> 00:06:22,230
‫projectiles have smoke trails as well.

88
00:06:22,650 --> 00:06:23,640
‫Perfect.

89
00:06:23,910 --> 00:06:30,000
‫So in summary, we now have smoke trails and our projectiles look quite a bit better.

90
00:06:30,000 --> 00:06:34,680
‫Now, we still need a few effects and we're going to take care of those in the videos to come.

91
00:06:35,100 --> 00:06:36,120
‫I'll see you soon.

