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.
[11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
[2026-4-13. : 3:31 pm]
Vrael -- it only costs 50% of my post-tax salary for life and in return I get to also become a drone whose sole purpose is CAPITALISM
[2026-4-13. : 3:30 pm]
Vrael -- pssht, you're still using a phone? I just record 100% of my life using my ElonBrainChip
[2026-4-13. : 2:13 pm]
NudeRaider -- bro I don't go anywhere without my phone to record anything significant
[2026-4-13. : 1:28 pm]
Vrael -- Zoan
Zoan shouted: not if u wer there
id say even if you were there its tricky, human memory can be very faulty
Please log in to shout.


Members Online: DarkenedFantasies, anoeth47, Sie_Sayoka