Skill Acquire - Data

16 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€92.78
List Price:  €129.90
You save:  €37.11
£79.40
List Price:  £111.16
You save:  £31.76
CA$136.11
List Price:  CA$190.56
You save:  CA$54.44
A$154.13
List Price:  A$215.78
You save:  A$61.65
S$135.08
List Price:  S$189.12
You save:  S$54.03
HK$782.28
List Price:  HK$1,095.23
You save:  HK$312.94
CHF 90.61
List Price:  CHF 126.85
You save:  CHF 36.24
NOK kr1,085.23
List Price:  NOK kr1,519.37
You save:  NOK kr434.13
DKK kr692.01
List Price:  DKK kr968.84
You save:  DKK kr276.83
NZ$167.80
List Price:  NZ$234.94
You save:  NZ$67.13
د.إ367.19
List Price:  د.إ514.08
You save:  د.إ146.89
৳10,976.08
List Price:  ৳15,366.96
You save:  ৳4,390.87
₹8,339.52
List Price:  ₹11,675.66
You save:  ₹3,336.14
RM473.25
List Price:  RM662.57
You save:  RM189.32
₦141,842.81
List Price:  ₦198,585.61
You save:  ₦56,742.80
₨27,810.04
List Price:  ₨38,935.18
You save:  ₨11,125.13
฿3,647.70
List Price:  ฿5,106.92
You save:  ฿1,459.22
₺3,232.12
List Price:  ₺4,525.11
You save:  ₺1,292.98
B$499.21
List Price:  B$698.91
You save:  B$199.70
R1,908.54
List Price:  R2,672.04
You save:  R763.49
Лв180.65
List Price:  Лв252.92
You save:  Лв72.26
₩135,197.71
List Price:  ₩189,282.20
You save:  ₩54,084.49
₪368.63
List Price:  ₪516.10
You save:  ₪147.47
₱5,633.91
List Price:  ₱7,887.71
You save:  ₱2,253.79
¥15,144.47
List Price:  ¥21,202.86
You save:  ¥6,058.39
MX$1,659.40
List Price:  MX$2,323.22
You save:  MX$663.82
QR364.31
List Price:  QR510.04
You save:  QR145.73
P1,370.91
List Price:  P1,919.33
You save:  P548.42
KSh13,148.68
List Price:  KSh18,408.68
You save:  KSh5,260
E£4,729.52
List Price:  E£6,621.52
You save:  E£1,892
ብር5,680.63
List Price:  ብር7,953.11
You save:  ብር2,272.48
Kz83,612.74
List Price:  Kz117,061.18
You save:  Kz33,448.44
CLP$97,978.20
List Price:  CLP$137,173.40
You save:  CLP$39,195.20
CN¥722.95
List Price:  CN¥1,012.16
You save:  CN¥289.21
RD$5,921.50
List Price:  RD$8,290.34
You save:  RD$2,368.83
DA13,490.83
List Price:  DA18,887.70
You save:  DA5,396.87
FJ$226.12
List Price:  FJ$316.58
You save:  FJ$90.46
Q779.86
List Price:  Q1,091.83
You save:  Q311.97
GY$20,923.51
List Price:  GY$29,293.76
You save:  GY$8,370.24
ISK kr13,946.60
List Price:  ISK kr19,525.80
You save:  ISK kr5,579.20
DH1,013.19
List Price:  DH1,418.51
You save:  DH405.32
L1,763.34
List Price:  L2,468.75
You save:  L705.40
ден5,702.11
List Price:  ден7,983.18
You save:  ден2,281.07
MOP$805.89
List Price:  MOP$1,128.28
You save:  MOP$322.39
N$1,893.44
List Price:  N$2,650.90
You save:  N$757.45
C$3,681.15
List Price:  C$5,153.75
You save:  C$1,472.60
रु13,335.63
List Price:  रु18,670.42
You save:  रु5,334.78
S/370.84
List Price:  S/519.19
You save:  S/148.35
K382.72
List Price:  K535.82
You save:  K153.10
SAR375
List Price:  SAR525.01
You save:  SAR150.01
ZK2,522.76
List Price:  ZK3,531.96
You save:  ZK1,009.20
L461.43
List Price:  L646.02
You save:  L184.59
Kč2,350.75
List Price:  Kč3,291.15
You save:  Kč940.39
Ft36,729.02
List Price:  Ft51,422.10
You save:  Ft14,693.08
SEK kr1,071.30
List Price:  SEK kr1,499.86
You save:  SEK kr428.56
ARS$85,766.82
List Price:  ARS$120,076.98
You save:  ARS$34,310.16
Bs691.04
List Price:  Bs967.48
You save:  Bs276.44
COP$387,583.68
List Price:  COP$542,632.66
You save:  COP$155,048.97
₡50,832.34
List Price:  ₡71,167.31
You save:  ₡20,334.97
L2,468.78
List Price:  L3,456.40
You save:  L987.61
₲737,805.73
List Price:  ₲1,032,957.54
You save:  ₲295,151.80
$U3,781.90
List Price:  $U5,294.82
You save:  $U1,512.91
zł400.73
List Price:  zł561.05
You save:  zł160.31
Already have an account? Log In

Transcript

Welcome back. Once again, everyone, I am temporarily back in my older version of this project that I created in preparation for this course. The reason I'm here is to show you exactly what we are looking to do once again, seeing is believing, right so in this video, our goal is to create the enumerators and struct assets needed for the skills our player will soon acquire. Now these assets will provide important data about each skill, such as its name, its associated image, its man, ACOs, etc, in order for us to build out our skill system, so again, laying down some more groundwork for what's to come. Now what I'm talking about here is if I jump in and play, I'm gonna interact with some of these pedestals and as I interact with this one, I'm gonna gain the electoral spark ability. Now you can see on this Sort of pop up screen that appears we collect that ability there's a man a cost associated with this skill to use it there is a text description for example I'm just gonna collect a few of these I'm not gonna I'm not gonna stop the video for each one of these.

So man Acosta scription man, Acosta scription Okay, got a few these, right? Okay, and when I bring on the screen where we can change out some of these abilities right up here in the upper left portion of our HUD is what ability we have slotted in for our white magic ability slot in our black magic abilities slot. So I can bring up this menu screen right and here it shows the name of each ability, how much each cost in terms of manna that's for our black magic, right? And also for our white magic I can bring up on that and it shows things like the name, the man ACOs and for the black magic We also have to consider like how much damage each things each thing does. So the idea in this video is we're going to build out some of the data structures for all that.

So, with that known, I'm going to jump out of this project and jump back into our current version of the project so we can get started. I'll see you over there. Alright guys, we are back in our project that we were working on previously. And if you notice I'm in my content Metroidvania blueprint neumes folder. And inside of here is where we're going to be adding our first enumeration assets now, he neumes or enumerators for long e neumes. For short, they allow you to access your own custom lists of settings or states.

So what I'm going to use these for is to create a list of display names for things like our white magic and our black magic. So in this folder, I'm going to right click. I'm going to come under a blueprints right here and right in this little flyout We've got this enumeration option. So go ahead and select that. And this first one, I'm just gonna call it E for enumeration underscore be magic that I'm going to double click on this guy to open them up. And this is where we can create our list of names.

So, right along the top here, where it says numerators way over to the right, you've got this new button. I'm going to click that five times 1234 and five. And then I'm going to list My names over here on the left hand side. First Name is going to be none. Second name, I'm going to change to be fireball. Third name will be electro Spark.

Fourth name will be blood lust. Now blood lust is not an actual skill that we're going to implement but I just wanted to fill out our screen with some our black magic selection screen with some sort of dummy skills. And then last one is going to be another dummy skill it's not actually going to be hooked up it's gonna be called arctic blast our Arctic Arctic. You know what, let me check on the spelling of that one between some videos here but I think actually I think that's supposed to be arc dick blast. arctic blast I think that looks more correct. gonna hit Save right there that's going to be our list of names for our black magic skills.

Next I'm going to come back to our content browser. I'm going to right click once again here in some empty space, we're going to come under blueprints, enumeration, and this next one, we're going to call it e underscore w magic for our white magic skills. Double click on this guy to open it up. And just like we did before, I'm going to click this new button 1234 and five times and our names here are going to be None. Next one is going to be Lens of Truth. That's going to be the ability that allows me to see hidden passages or hidden platforms.

Next one is going to be called mist where we are going to be able to transform into mist and pass through gates. Next one is going to be called shield. This is not going to be an ability that we're going to create but it's just going to be a dummy skill to help fill out or white magic selection screen and the next one is going to be called time slow that also will not be a skill that we hook up but in the interest of making a fully fleshed out white magic selection screen, that one will be there as well. Okay, I will hit Save with that. And then we can exit out of each of those created enumerations. One more enumeration that I would like to create down here, right click blueprints.

Enumeration I'm going to call this one e underscore skills. So this is going to be a list of all the different skill names that we will implement within one enumerated list. So double click on this guy gonna dock it across the top and I am going to click on the New button 123456 and seven times. First display name will be a nun. Second display name will be double jump, third display name we will change to be back BAC dash. Next display name will be changed to be fireball next one will be electro Spark.

Next one we will change to be Lens of Truth and the last display name We'll be changed to mist. Let's go ahead and save that guy. Now as a note, we will be using these lists later on to instruct our project the magic lists are going to instruct our game with magical skills the player has slotted the elements list or rather the skills list will be referenced to modify the amount of data sorry if we are not going to create an elements list, nevermind, strike that last one. Okay, so with all those finished, we're going to create a few more asset types here. So we've got three enumerations. Next, I'm going to jump on over to a nother created folder.

Now this newly created folder can be created inside of our Metroidvania Blueprints folder. So I'm just going to right click right here on our Blueprints folder. Going to create a new folder. This one is going to be called damage types. We're going to be creating a new type of blueprint here called damaged types. And this is gonna be coming into play further on down the road when we create some of our black magic skills to damage a dummy enemy, if you will.

So we're going to build that out now just so it's all in place. And to do this inside of this folder, we're going to right click, going to choose a new blueprint class, and it's not one of these common classes, you got to search for it in the search bar down here. So if you do a search for damage type, there is the guide that you are looking for select that and then select this green button. This first one I am going to call b, p underscore damage underscore fire. And then with that selected, I'm just gonna do Ctrl plus W to duplicate it. And I'm gonna call this next one BP damage.

Lightning. I'm gonna have one fireball style attack. So that's going to be the fire one obviously and then we're going to we're going to have Another black magic skill called electro Spark, and that's going to be lightning. Now, I'm not going to be doing anything within these for the time being. So I'm just gonna save these. Again, this is laying some groundwork for what is to come with that out of the way, we can move on over to our structs folder.

And inside of our blueprints structs folder, we're going to be creating something known as a structure asset. Now, a struct or structure or rather, it's known as a struct for short is a collection of different types of data that are related and held together for easy access. You can think of a struct as I heard it referred to as a bucket that holds other variables inside of it. So think of it like that a a bucket that holds a collection of variables. Alright, so we're going to create a struct variable to hold all the attributes related to our magic skills. So inside of here, we're going to run Click, come under blueprints.

And in this little flyout menu, we've got a structure that we can create. And I'm going to name this first one str underscore, skill, data. And then I'm going to double click on this guy to open them up. And if you remember when I was in my older course in preparation for this one where I was interacting with those different skill altars that we could obtain those skills from. As soon as I obtained one of those skills, there was a Widget Blueprint that appeared on the screen that gave some information about the scale that we obtained, like double jump, and then it gave a text description, all this kind of stuff. Well, we need to pull that data from somewhere, we're going to be pulling it from this struct.

So what we got here is some structs that we can name and then assign a variable type to them. So this first one I'm going to call title, ti t l, e, and I'm going to change the variable type, just Lie this on over to be a text variable right there. I'm going to pull this down a little bit because I'm going to be adding a few more variables here, click this new variable button. This next one will be called the scription. This will also be a text variable, another new variable, this one will be called input button. And this is going to be a slight brush, variable type.

So if you just do search for slate, it'll whittle it down and that's the one you're looking for right there a slate brush. Let's do another new variable this one will be called skill icon. That will also be a slight brush. Another new variable this one will be called skill image which is going to be a little bit different from the icon. That will also be a slight brush. Let's do another new variable.

This one will be skill border color. This will be a slate brush as well. Then we're going to do another new variable. This one is going to be skill font color. gonna change this one to be a slate color. So I'm gonna select here and we're gonna change this to be slate color right there.

All right, and actually skill border color. Um, do you know what I'm gonna leave that as slate brush for now I can't remember if we need that to be a brush or a color I want to say it was color but my notes are saying brush right now so I'm just gonna leave it be for the time being. And then we're going to add one more new variable here. This one is going to To be magic skill. And I'm going to put a question mark at the end of this because this is going to be a boolean variable with all of our skill types. Most of them will be magic skills, we're going to have a skill called Miss where we can transform into mist, and another one called Lens of Truth, those are going to be white magic skills.

We're going to have our fireball and our electro spark offensive, black magic skills, those are going to be considered magic skills. However, our back dash and our double jump skills are not going to be considered magic skills. And depending on if it is a magic skill or not on it may cost manna which magic skills will whereas non magic skills like double jump and our back dash will not. Okay, that is going to be enough for that struct. So I'm just gonna save this one, and we can exit on out of here. Then I'm going to create a New struct in the same folder, get a right click here.

Come under blueprints flyout menu, select that structure. This one is going to be called str short for structure, magic attributes. So this structure is going to contain all of the data, the attributes for our various magic skills. So I'm going to double click on this guy. And this first one we are going to call name. This will be a text variable.

Next one new variable. I am going to call icon slate. This will be a slate brush. Another new variable this one we will call manna costs cost. And I'm gonna make this a float variable And I'm gonna peel this down because there's two more I'm going to create here, another new variable, this one is going to be for damage. And I am going to leave that as a float variable type as well.

Then we're going to do one more new variable here and this one is going to be called damage type. And this is going to be set to a damage type. When you whittle it down to damage type, and you select over damage, it is going to give you a little flyout menu here you want to choose the object reference. So choose object reference for now, and we're gonna hit save, and we can exit out of here. So we're soon going to create some variables of this variable type right here in our BP player in order to determine attributes about our specific magic skills that is to come, but we have some of that groundwork in place. For what is to come So guys, that will do it all for this video.

We will see you in the next one

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.