All language subtitles for 78. Adding a Health Regeneration Meta Upgrade

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian Download
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,256 --> 00:00:06,400 Let's Create another metre upgrade and what I want to do for this one is I want to make the play 2 00:00:06,656 --> 00:00:09,216 Recover one health every 3 00:00:09,472 --> 00:00:11,008 30 seconds 4 00:00:11,264 --> 00:00:13,824 First thing we need to do is 5 00:00:14,080 --> 00:00:20,224 Set up a minute upgrade your I'm going to duplicate the experience game here 6 00:00:20,480 --> 00:00:21,248 I'm going to call this 7 00:00:22,016 --> 00:00:28,160 Health region Surrey name health regeneration I do like to spell things out 8 00:00:28,416 --> 00:00:34,560 Regent Health regeneration and I'll call the ID health regeneration by the way 9 00:00:34,816 --> 00:00:40,960 This is some advanced and I didn't want to do this is part of course but if I was doing this as part of my full game 10 00:00:41,216 --> 00:00:47,360 I would simply use the filename as the ID because then I don't have to duplicate a piece of data 11 00:00:47,616 --> 00:00:53,760 Also the benefit of doing Dad is that since the IDS and the file names of the same you can 12 00:00:54,016 --> 00:00:58,880 Load the file based on the ID only which is very useful so 13 00:00:59,392 --> 00:01:00,909 Again I didn't do that in his course but 14 00:01:00,911 --> 00:01:03,259 Subtitled by online-courses.club We compress knowledge for you! 15 00:01:03,260 --> 00:01:04,000 That's just a hint for you in case you want to 16 00:01:04,256 --> 00:01:05,280 You want to give it a try 17 00:01:06,048 --> 00:01:09,632 Sorry because I'm going to make this more expensive put up to 200 18 00:01:10,144 --> 00:01:16,288 Actually maybe maybe they should actually be turned down so that they can actually be attainable would you 54 19 00:01:16,544 --> 00:01:19,616 Experience game cost and 100 for the health region 20 00:01:20,640 --> 00:01:22,688 It shouldn't be that hard to get on 100 21 00:01:24,224 --> 00:01:28,576 And I'm going to call this tidal health I'll call the title health regenerate because that's 22 00:01:29,344 --> 00:01:31,648 Only displayed in a game is not really code 23 00:01:31,904 --> 00:01:34,208 Regenerates one 24 00:01:34,464 --> 00:01:36,768 Health every 30 seconds 25 00:01:39,584 --> 00:01:40,352 Perfect 26 00:01:40,608 --> 00:01:42,656 Alright so that's 27 00:01:43,424 --> 00:01:45,472 We can actually make this multilevel 28 00:01:45,984 --> 00:01:48,800 So let's make it a Max quantity of 3 29 00:01:49,568 --> 00:01:52,640 Yeah so we can regenerate 3 Health every 30 seconds 30 00:01:53,408 --> 00:01:58,784 Can I get a Max quantity of three again this game is not going to be very balance but I'm just building content 31 00:01:59,040 --> 00:02:00,064 You can see how it works 32 00:02:00,576 --> 00:02:05,184 Alright so we got to experience again let's go to our Meadow 33 00:02:05,440 --> 00:02:07,488 Progression autoload here 34 00:02:08,000 --> 00:02:10,304 Open up that script 35 00:02:11,072 --> 00:02:14,400 Actually we don't need to be here we need to be in Meadow menu 36 00:02:14,656 --> 00:02:16,192 Yes right ok here we go 37 00:02:16,960 --> 00:02:23,104 So yeah in Armada menu I need to add another item to this array which is the 38 00:02:23,360 --> 00:02:28,736 Health regeneration like so and I should be all that we need to do to get that 39 00:02:28,992 --> 00:02:30,016 In place 40 00:02:30,528 --> 00:02:32,832 Now I need to actually listen for 41 00:02:33,344 --> 00:02:38,720 The timer in order to add health of the place I'm going to go to the play script 42 00:02:39,232 --> 00:02:41,024 And in here 43 00:02:41,792 --> 00:02:46,144 We need to we need to listen to the arena time manager difficulty 44 00:02:46,912 --> 00:02:47,936 Increased 45 00:02:48,704 --> 00:02:52,544 And actually I might create a different signal for this so I'm going to say 46 00:02:53,056 --> 00:02:58,688 Now I'll just keep it Arena difficulty increase will listen for that because that is 47 00:02:58,944 --> 00:03:00,480 Ticking every 5 seconds 48 00:03:00,736 --> 00:03:02,272 So I go in my player 49 00:03:03,040 --> 00:03:09,184 It might be wise to create a different signal that represents a time instead of a difficulty increase because if I 50 00:03:09,440 --> 00:03:15,584 Change the difficulty interval from 5 and 4 ml of a sudden my mouth everywhere is wrong so that is a 51 00:03:15,840 --> 00:03:16,864 When I can exchange 52 00:03:17,120 --> 00:03:17,888 And 53 00:03:18,656 --> 00:03:21,728 So we need a reference to the arena time manager 54 00:03:22,496 --> 00:03:23,776 In the player script 55 00:03:24,288 --> 00:03:26,080 So I'm going to create an export variable 56 00:03:27,360 --> 00:03:29,408 Add export via 57 00:03:29,664 --> 00:03:32,224 Arena time manager 58 00:03:32,480 --> 00:03:33,760 And atom typing mode 59 00:03:34,272 --> 00:03:37,856 And then on ready I'm going to say Irina time manager dot 60 00:03:38,624 --> 00:03:40,416 Arena difficulty increase 61 00:03:44,000 --> 00:03:45,024 Dartconnect 62 00:03:45,280 --> 00:03:46,816 On Arena 63 00:03:52,704 --> 00:03:56,288 On Arena difficulty increased and then I'll create that function 64 00:04:04,992 --> 00:04:06,272 And then we're 65 00:04:06,528 --> 00:04:09,600 Getting the difficulty in here as an Int 66 00:04:10,624 --> 00:04:11,136 Ok 67 00:04:11,648 --> 00:04:13,952 And then what we're going to do in here is going to say if 68 00:04:14,720 --> 00:04:17,536 Are we going to save our is 30 69 00:04:18,047 --> 00:04:20,607 Well it's a is 30 seconds 70 00:04:20,863 --> 00:04:22,399 Interval is equal to 71 00:04:23,423 --> 00:04:26,495 And then in parentheses difficulty 72 00:04:27,007 --> 00:04:29,055 The useless percent which is mad 73 00:04:29,311 --> 00:04:30,847 6 74 00:04:31,615 --> 00:04:33,919 = 0 what does the saying is that 75 00:04:34,943 --> 00:04:38,783 This difficulty is evenly divisible by 6 76 00:04:39,551 --> 00:04:40,319 Then 77 00:04:41,087 --> 00:04:41,855 We are 78 00:04:42,111 --> 00:04:48,255 That is a 30-second interval it makes sense because the difficulty increases every 5 seconds so 79 00:04:48,511 --> 00:04:54,655 When it gets to 6 That's 30 seconds when it gets to 12 that's a minute but what the model does 80 00:04:54,911 --> 00:04:59,007 Return the remainder in South the remainder is 0 and that means it's a whole 81 00:04:59,263 --> 00:05:04,639 It's it's fully divisible and therefore it is a 30-second chunk 82 00:05:05,151 --> 00:05:07,455 So that we can say if is 30 83 00:05:08,223 --> 00:05:11,039 Second interval we can take our health component 84 00:05:11,551 --> 00:05:13,855 And I'm going to do something a little bit happy here 85 00:05:14,111 --> 00:05:16,927 UNIS a health component damage and -1 86 00:05:17,695 --> 00:05:19,743 Now I am going to change that someone to go my 87 00:05:20,511 --> 00:05:21,791 Health component 88 00:05:23,583 --> 00:05:24,095 Here 89 00:05:24,351 --> 00:05:25,119 And 90 00:05:25,375 --> 00:05:26,399 I'm going to call 91 00:05:28,959 --> 00:05:31,775 A function heal and I will do heal amount 92 00:05:33,311 --> 00:05:36,383 And I'm basically I am going to call damage 93 00:05:36,895 --> 00:05:38,431 With -1 94 00:05:39,455 --> 00:05:45,599 And then what I'm going to do is this health changed this is unfortunately not named properly 95 00:05:45,855 --> 00:05:46,623 Didn't really 96 00:05:47,135 --> 00:05:51,487 Armed designers with the idea that the player could heal 97 00:05:52,255 --> 00:05:57,119 What I'm going to do is I'm going to change this signal I'm going to find it everywhere that is used 98 00:05:57,887 --> 00:06:00,703 And then I'm going to change it to health 99 00:06:01,727 --> 00:06:03,007 I'm making a new signal 100 00:06:03,775 --> 00:06:05,567 Health increased 101 00:06:06,079 --> 00:06:07,615 Or rather help decrease 102 00:06:09,663 --> 00:06:12,223 And then I'll admit that in here so say if 103 00:06:12,479 --> 00:06:14,271 Damage amount 104 00:06:15,295 --> 00:06:16,063 Is 105 00:06:16,319 --> 00:06:17,599 Greater than zero 106 00:06:17,855 --> 00:06:20,671 Then we're going to say health decreased 107 00:06:22,719 --> 00:06:28,863 So health change for fire everytime the health changes where is health decreased will only 108 00:06:29,119 --> 00:06:35,007 Emit when the damage amount is greater than 0 and then in my hip flash component 109 00:06:35,775 --> 00:06:37,567 This can change to health 110 00:06:38,335 --> 00:06:39,359 Decreased 111 00:06:39,615 --> 00:06:41,919 And this can be renamed to on 112 00:06:42,431 --> 00:06:42,943 Health 113 00:06:43,711 --> 00:06:44,479 Decreased 114 00:06:44,735 --> 00:06:45,759 Like cell 115 00:06:46,527 --> 00:06:47,807 And then or player 116 00:06:48,575 --> 00:06:51,391 We can change this to help decrease as well so health 117 00:06:58,559 --> 00:06:59,839 On health decreased 118 00:07:00,095 --> 00:07:03,935 And then we do need to create one for health changed 119 00:07:07,007 --> 00:07:10,335 And the reason we need to separate them as because we only want to play the hit 120 00:07:10,847 --> 00:07:13,407 Effect when the player 121 00:07:14,175 --> 00:07:20,319 Takes damage so we're nearly all those to health decreased and then I do need to take this update 122 00:07:20,575 --> 00:07:22,879 How to spray out and put it into 123 00:07:23,391 --> 00:07:28,767 Bank on health changed because whether the player is healing or 124 00:07:29,023 --> 00:07:30,047 Being damaged 125 00:07:30,559 --> 00:07:32,351 We do need to update their health display 126 00:07:33,119 --> 00:07:37,727 Ok so now if I search for health changed in a whole project with ctrl shift f 127 00:07:37,983 --> 00:07:42,591 So always have been health changed again when it's damaged but only mental health decreased 128 00:07:43,359 --> 00:07:44,383 When 129 00:07:46,431 --> 00:07:48,735 When it's when the thing is taking damage 130 00:07:49,503 --> 00:07:51,295 Parents are back in our player 131 00:07:52,063 --> 00:07:58,207 So in this Arena difficulty increased within a call health component damage one but now 132 00:07:58,463 --> 00:07:59,999 We need a check if 133 00:08:00,767 --> 00:08:03,583 We're to get the amount of healing that should happen so 134 00:08:04,095 --> 00:08:04,863 Yes 135 00:08:05,119 --> 00:08:06,655 Well that's not far 136 00:08:06,911 --> 00:08:07,935 Seal 137 00:08:08,447 --> 00:08:09,215 Upgrade 138 00:08:09,471 --> 00:08:10,495 Quantity 139 00:08:11,263 --> 00:08:16,639 Actually was called health Regent quantity health regeneration quantity 140 00:08:17,663 --> 00:08:18,687 Is equal to 141 00:08:19,455 --> 00:08:20,991 Meta progression 142 00:08:23,295 --> 00:08:24,319 Get 143 00:08:25,087 --> 00:08:26,367 Upgrade count 144 00:08:26,623 --> 00:08:29,183 And this is health regeneration 145 00:08:31,231 --> 00:08:37,375 Ok so we're getting the number of health regeneration they were going to say if health regeneration quantity 146 00:08:37,631 --> 00:08:40,447 Is greater than 0 then in here 147 00:08:41,215 --> 00:08:45,055 A heal by health regeneration quantity 148 00:08:45,823 --> 00:08:51,967 I'm going to change the description of this whole region to regenerate one health per level 149 00:08:54,783 --> 00:08:59,647 So that way it's it's indicating that if you have three of them at all recover three hell 150 00:09:00,415 --> 00:09:04,255 Ok now I'm actually going to change the experience cost to zero 151 00:09:05,023 --> 00:09:07,071 Well let's keep it 100 152 00:09:07,327 --> 00:09:10,655 And what am I doing my medication as I'm actually going to 153 00:09:11,679 --> 00:09:14,495 A Miracle on experience collected in a ready method 154 00:09:14,751 --> 00:09:18,847 With an absurd number so that I have a bunch and I'm going to play the game 155 00:09:19,359 --> 00:09:20,639 Play lips 156 00:09:21,407 --> 00:09:26,527 I forgot to connect to the arena time manager so go to my main go to player 157 00:09:27,039 --> 00:09:30,111 I'm going to pass the arena time manager into that export 158 00:09:30,367 --> 00:09:31,647 Export variable 159 00:09:31,903 --> 00:09:38,047 It's so now and I'm going to my upgrade I should see that I have an absurd amount of experience to use and when I 160 00:09:38,303 --> 00:09:40,351 What is I can purchase the health region 161 00:09:40,863 --> 00:09:47,007 Up to three times and it goes to Max just like so and now I'm going to go in test and see if 162 00:09:48,031 --> 00:09:54,175 If this actually works someone intentionally take damage and then as soon as I hit the 30-second Mark I should be back up to 163 00:09:54,431 --> 00:09:54,943 Call health 164 00:09:57,759 --> 00:10:01,100 Actually damaged me and that's probably because I am calling 165 00:10:01,101 --> 00:10:03,273 Subtitled by online-courses.club We compress knowledge for you! 166 00:10:03,274 --> 00:10:06,207 The wrong method so I probably didn't replace my damage here 167 00:10:06,463 --> 00:10:12,607 Right this is supposed to be here now alright I'm just going to change this to 1 168 00:10:13,119 --> 00:10:14,911 Just for testing purposes 169 00:10:15,423 --> 00:10:18,239 And so now every 5 seconds I should be healing 170 00:10:21,311 --> 00:10:27,455 Ok and then I have a bug right here where I'm not passing in the correct heel amount so as to heal amount 171 00:10:27,711 --> 00:10:29,247 Type it isn't 172 00:10:30,015 --> 00:10:36,159 And then the final thing we need to do is we actually need cab the current health so we want to do 173 00:10:36,415 --> 00:10:39,487 Handheld is equal to clamp so it's to a class A 174 00:10:39,999 --> 00:10:42,047 Current house is equal to clamp 175 00:10:42,559 --> 00:10:45,375 And then we're going to take the current health miles to damage amount 176 00:10:45,631 --> 00:10:48,959 Greenock Lambert between 0 and we're going to Claire between 177 00:10:49,215 --> 00:10:49,983 Max health 178 00:10:52,799 --> 00:10:58,943 Ok so now everything should be in working order if I go to my upgrades I've got the hell II 179 00:10:59,967 --> 00:11:00,991 And so now 180 00:11:01,759 --> 00:11:04,063 I should be healing the proper amount 181 00:11:08,415 --> 00:11:14,559 Yep ok so everything is working now so I'm going to put everything back in place 182 00:11:14,815 --> 00:11:20,959 Go back to my player change this back to mod 6 and then in my medic progression 183 00:11:21,215 --> 00:11:27,359 To remove this on experienced collected in for good measure I'm going to go to my user data folder delete that 184 00:11:27,615 --> 00:11:31,967 Save running again and make sure everything is back in order 185 00:11:32,479 --> 00:11:38,623 Alright so everything looks good and that is the health region m up 14812

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.