Tutorial Data Editor - Creating A Hero

Slayer4000X2008

That guy from Canada
Here is a simple guide to help you in creating your own hero for your SC2 map.

First make sure your settings look like this


For this guide I will be turning to Protoss phoenix into a hero.

First you will want to create a new unit to transform into your hero, or just edit one that already exists. To keep things simple I will be editing the one already made.

First you must open 'Object Properties', then change the object type from unit to hero.


Now the unit will have the hero icon in-game, but it won't have levels. Well that's easy to fix.

Change the 'Data Type' to 'Behaviors'. Then right click and select add object. The only part that is required is that the 'Behavior Type' is changed to 'Veterancy'.


Now you need edit the data of the behavior, this part is very basic. Double click the blank section for 'Veterancy Levels'.


Now click the little green X at the top right.


Each number in the index is a level, so if you want your hero to start at level one don't make any changes and just click the X again. Then you need to edit the 'Minimum Experience' for each level, when your hero's experience reaches this number it will no longer be at that level and goes up to the next.


In this image it shows the data for a four level hero (the minimum experience can be made to whatever you want).

We are almost done making our hero, now we need to go back to the 'Unit' 'Data Type'.

Now select the unit you want to make a hero. Double click the behaviors field like we did with veterancy levels. Click the green X again and choose the behavior you just created. And your done you have created your new hero.

[hr][/hr]
P.S. I will be making changes to this later so people may edit their hero's further. Also I hope you did not need images in that final portion, if at least five people request I add some in then I will.
 

Sickduck

New Member
Hi. Thank you for your step by step instructions. I was able to follow no problem. But when i try to add this unit to the feel i am unable. Is there something else i need to do?
 

Slayer4000X2008

That guy from Canada
It could be because you haven't set up the actors for the model. There is another topic that will help you with that. I'm sorry I can't help more because I haven't touched the editor in awhile so this is the best I can do for you.
 

Bdawg

New Member
Bdawg

Hey Ive done exactly as you have and when im in the game. My character (GHOST) shows the level at the top and it says level 1 but when they get kills or give damage there xp does not go up any. Can you tell me how to fix this.

THX BDAWG
 

Slayer4000X2008

That guy from Canada
I can't think of anything that could cause that. Perhaps it's what you were killing. It is possible that not everything will reward experience to the hero. Try killing various types of units and see if anything changes. If not I will recreate a hero using this to find a cause and solution.
 

Bdawg

New Member
Hey I have done everything you have told me to do on this create a hero. When I get to the game and my marine kills someone on veterancy it shows the hero bar but when he gets kills his xp does not go up at all. I've done multiple tests- killed different units and none of them would make him rank up.

Can you help me fix this?
THX
Bdawg
OUT
 

Dave312

Censored for your safe viewing
Here is a couple of things you should check:

1) On the units your hero is killing, check the Combat: Kill Experience and make sure it is greater than 0.
2) On the hero veterancy behaviour, check the property Behaviour: Experience Fraction. The value for Kills should be above 0 for your hero to gain any experience for killing units.
3) On the hero veterancy behaviour, check the property Behaviour: Target Filters. The units your hero is killing must fall within these filters to gain experience.
 

Bdawg

New Member
Hey I Did what you said to do and every unit has xp but when I kill them my bar does not go up. When I scroll over the bar it shows the xp as 0. I dont know what to do he looks like a hero, but does not rank up right.
Thx for your help
Bdawg Out!
 

Slayer4000X2008

That guy from Canada
I would but I no longer have the images and I can't remake them because I don't remember how I did any of this, I don't use the editor anymore.
 

X-maul

AKA: Demtrod
If needed, I can recreate this tutorial. I'll most likely do it in a a week or two, when I have better time, but should not take that long to recreate, especially if you allow me to use your text ;)
 

Siretu

Starcraft 2 Editor Moderator
Staff member
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    It is online though at night
  • The Helper The Helper:
    You would probably have to take a loan to get the Rice cert it is like 14l
  • The Helper The Helper:
    I was hoping you were going to say you wanted to be a cook and wished to open up a Food Truck there are so many opportunities for that here
  • The Helper The Helper:
    you can only open the bar if you sell food and a food truck in the parking lot counts
  • The Helper The Helper:
    here in houston
  • The Helper The Helper:
    most bars are struggling to build food prep and even some I know are doing there own food trucks
  • The Helper The Helper:
    but yeah man you should come to Houston there is so much more opportunity here than San Antonio. Just look at all the homeless people on the Riverwalk and downtown there you cannot even walk down the street without getting mobbed them
  • The Helper The Helper:
    check out this place apparently it is the best roommate site out there roommates.com lol
  • Varine Varine:
    The homeless people reminded me of New York
  • Varine Varine:
    I'll check it out, my lease expires in like a few months so I need to figure something out.
  • Varine Varine:
    I tried to open a food truck in Sandpoint a few years ago but the city said no, then like two years later they passed new laws to encourage it and gave them all fucking tax breaks and shit. And at that point I didn't have enough money to go buy one so I was way too late to the game once other cities realized they could just bring their existing truck there, or sell their brick and mortar.
  • Varine Varine:
    I do like food trucks though, they're way more fun than restaurants and usually I also get some of that tip money there.
  • Varine Varine:
    Restaurants are really hard if you don't have a back up source of income to fund them sometimes, in my experience most owners either got really really lucky, had existing money that allowed them to buy an already successful one, or they have family money to fall back on for loans. It's few and far between to see very inspiring success stories where the person actually got it through hard work and perseverance. I thought about opening one lots and I always just end up not thinking it'll work. I would much rather just find someone that has that money and go work for them
  • The Helper The Helper:
    i am not talking about opening a brick and mortar I am talking about food trucks though I have seen some brick and mortar mexican places open up during covid that are doing good because there food is awesome!
  • The Helper The Helper:
    Food trucks are killing out here because Bars cannot open unless they sell food and the governor ok'd the use of a food truck in front as serving food
  • The Helper The Helper:
    Just not enough food trucks
  • The Helper The Helper:
    a buddy of mine just opened up a food truck and he is killing it but he is a great cook and has awesome food right in the middle of the pandemic too food trucks are immune to pandemic because they are take out in Texas you will always be able to get take out or delivery
  • The Helper The Helper:
    He is in the different food facebook groups in houston and posts videos of him making his food
  • The Helper The Helper:
    he is killing it
  • jonas jonas:
    @Varine with the restaurants, there surely is a lot of luck and hard work but most restaurants fail because they suck. Flair isn't right, economics not well thought through, food is mediocre or sucks, location is bad, etc. If you're thinking about opening one, make sure you're looking at the stories of those that would be playing at your level, don't let your hopes be dragged down by all the subpar restaurants out there.
  • jonas jonas:
    I'm a bit worried about the future of data science, there's an influx of incompetent people hired by incompetent managers, that can't last. But I'm sure smart data scientists will always be useful and hireable. Same as smart security people.
  • jonas jonas:
    My sister in law worked in a vegan food truck, the owners were also making a killing, added several trucks and opened two restaurants over 5 years
  • Ghan Ghan:
    The CompTIA stuff is pretty much crap unfortunately. The places that ask for those low-level certs aren't likely places you want to work. For IT you really want a degree, but in the meantime you need to figure out some way to learn the skills. Cybersecurity is really hot right now so competition is fierce.
  • tom_mai78101 tom_mai78101:
    I realized I don't have anything much to say, other than "Good luck!". Compared to other places, I'm just very lucky we didn't have a lot of surges of cases coming in.

    Members online

    No members online now.

    Affiliates

    Hive Workshop
    Top