Tutorial Data Editor - Creating A Hero

Slayer4000X2008

That guy from Canada
Reaction score
23
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
Reaction score
0
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
Reaction score
23
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.
 

Miz

Administrator
Reaction score
424
Moved to Galaxy Editor Resources so that it could be added to the Starcraft 2 Editor site. :thup:
 

Bdawg

New Member
Reaction score
0
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
Reaction score
23
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
Reaction score
0
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
Reaction score
269
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
Reaction score
0
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
Reaction score
23
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
Reaction score
201
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
Reaction score
293
General chit-chat
Help Users
  • No one is chatting at the moment.
  • jonas jonas:
    Good to see you Varine!
  • The Helper The Helper:
    Happy Sunday!
    +1
  • V-SNES V-SNES:
    Happy Sunday!
    +1
  • ToshibaNuon ToshibaNuon:
    Happy sunday!
    +2
  • The Helper The Helper:
    And its Friday!
  • The Helper The Helper:
    Happy Saturday!
    +1
  • V-SNES V-SNES:
    Happy Saturday!
  • The Helper The Helper:
    Happy Monday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    Happy Friday!
    +1
  • tom_mai78101 tom_mai78101:
    Starting this upcoming Thursday, I will be in Japan for 10 days.
  • tom_mai78101 tom_mai78101:
    Thursday - Friday will be my Japan arrival flight. 9 days later, on a Sunday, will be my return departure flight.
    +2
  • The Helper The Helper:
    Hope you have safe travels my friend!
    +1
  • vypur85 vypur85:
    Wow spring time in Japan is awesome. Enjoy!
  • The Helper The Helper:
    Hopefully it will be more pleasure than work
  • vypur85 vypur85:
    Recently tried out ChatGPT about WE triggering. Wow it's capable of giving a somewhat legitimate response.
  • The Helper The Helper:
    I am sure it has read all the info on the forums here
  • The Helper The Helper:
    i think triggering is just scripting and chatgpt is real good at code
  • vypur85 vypur85:
    Yeah I suppose so. It's interesting how it can explain in so much detail.
  • vypur85 vypur85:
    But yet it won't work.
  • The Helper The Helper:
    it does a bad ass job doing excel vba code it has leveled me up at my job when I deal with excel that is for sure
  • vypur85 vypur85:
    Nice! I love Excel coding as well. Has always been using Google to help me. Maybe I'll use ChatGPT next time when I need it.
  • The Helper The Helper:
    yeah whatever it puts out even if it is not perfect I can fix it and the latest version of chatgpt can create websites from pictures it will not be long until it can do that with almost all the tools
    +1

    The Helper Discord

    Staff online

    Members online

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top