Staredit Network > Forums > SC2 Assistance > Topic: [SOLVED] Heroes not gaining XP
[SOLVED] Heroes not gaining XP
This topic is locked. You can no longer write replies here.
Mar 27 2012, 12:15 am
By: PunWisp  

Mar 27 2012, 12:15 am PunWisp Post #1



Following this guide here

http://www.hiveworkshop.com/forums/data-editor-656/create-hero-attributes-167754/

I was trying to learn how to make a hero, so I made a new map, and was turning zealots into heroes, to throw around ideas for future stuff. Well, after getting through most of this.. The one big issue I am having is that Heroes don't gain xp from killing units.. And I am having a very difficult time figuring out why. I have it set so it requires 10 xp to go from level 1 to 2, and I have 1 attribute (Strength). Which its very difficult to test everything if units don't give xp.. And this guide doesn't go into much of any depth in that regard besides sharing xp. Apparantly its suppose to be all set up and work after creating the veterancy system. But it doesn't...

I am using lings/drones as fodder for testing the leveling system.


EDIT: Found the issue after looking it up more, the trigger with the default melee options disables xp gain, disabling trigger solves the issue.

Post has been edited 1 time(s), last time on Mar 27 2012, 12:32 am by PunWisp.



None.

Mar 27 2012, 12:36 am DevliN Post #2

Woah

If you have the time, I recommend watching all of OneTwo's tutorial videos starting with this one. They're pretty simple explanations of how to create heroes.

That said, it seems like the issue is that units aren't providing any experience points. Go to the Zergling and Drone units, and find the "Combat: Kill Experience:" field. Set that to 1, or whatever value you want. Now try to kill them to gain experience.

If you still aren't getting any experience, it seems like that would be an issue with the veterancy behavior. Are you sure you have the veterancy added to the hero's "Behavior: Behaviors+"? Though I don't think it is necessary, it may also help to set the unit's "Unit: Flags+" to include "Hero."

Hopefully one or both of those helps.

EDIT:
Nevermind. :awesome:



:devlin: Currently Working On: :devlin:
Myself

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: lil-Inferno