• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Unit Level System

Status
Not open for further replies.
Level 11
Joined
May 26, 2009
Messages
760
Greetings,

The idea of this system is to create a triggered custom experience/level system (in GUI if possible). There will be several units in the map this will be used for and all will have an individual 'experience bar'. I'd like the experience table to be easily customizable for balancing later on. The units' levels should be based on roman numbers and the outcome should look something like the sample image below. There will be about 10 players in the map, where every player will have a maximum of 45 units, that's a total of 450.

attachment.php


Experience Table (Sample)
LevelIIIIIIIVVVIVIIVIIIIXX
Experience*471116222937465667
*Each experience point is equivalent to one kill.
If I forgot some vital information please do tell. I would really appreciate if someone would want to take the request.

Yours Truly,
Princess Chizume
 

Attachments

  • preview1.png
    preview1.png
    89.4 KB · Views: 429
Last edited:
Level 11
Joined
May 26, 2009
Messages
760
That's a good question! At first I didn't think one should be displayed, but with a number like 67 it may a bit unclear how far your unit is leveled. The image below is an alternative example, but 67 dots can be a little much. Another option could be using a dummy skill slot with as many levels as experience points. (I could also add passive skills and information there). Nevertheless, I like the dot alternative. Do you think it's possible to make it like 10 dots and that the dots are colored by percent? or maybe it's easier with a simple straight bar floating under the roman letters?

EDIT: There is no need for a visual experience bar, just displaying the level in roman letters is enough.

Thanks for your interest.

Yours Truly,
Chizume
 
Last edited:
Level 14
Joined
Mar 30, 2009
Messages
971
i will undertake trying to complete this system for you princess Chizume ^^

EDIT: im not so sure about my floating text using skills, but ill probably learn something new :)
EDIT2: do you want it too be MPI or MUI (how many units, if MUI)?
 
Last edited:
Level 11
Joined
May 26, 2009
Messages
760
i will undertake trying to complete this system for you princess Chizume ^^

EDIT: im not so sure about my floating text using skills, but ill probably learn something new :)
EDIT2: do you want it too be MPI or MUI (how many units, if MUI)?

Thank you very much dear sir karland90!

I believe MUI is required for this. The map will consist of 10 players, and each player will have 1 ~ 45 units.

Yours Sincerely,
Princess Chizume
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,285
I hope its not PvP, otherwise I doubt anyone will ever get 60 unit kills from 1 unit unless there is a huge ammount of unit spawns for the players.

Anyway, such a system is easy. All you do is make a struct, attach it to the unit using hashtable. Every kill adds 1 exp to the struct. You make tables for the roman numerals and for the exp. EXP table I advise is a hashtable. Once a new level is reached it levels up which levels up abilities the unit has. On unit death you clean up the struct and remove the unit from the hashtable to stop leaks.
 
Level 11
Joined
May 26, 2009
Messages
760
are the unit's custom values able to be used for this?

Yes this is possible, they won't be used for anything else in my map :)

I hope its not PvP, otherwise I doubt anyone will ever get 60 unit kills from 1 unit unless there is a huge ammount of unit spawns for the players.

Anyway, such a system is easy. All you do is make a struct, attach it to the unit using hashtable. Every kill adds 1 exp to the struct. You make tables for the roman numerals and for the exp. EXP table I advise is a hashtable. Once a new level is reached it levels up which levels up abilities the unit has. On unit death you clean up the struct and remove the unit from the hashtable to stop leaks.

It is PvP, and I'm aware of the fact that they most likely won't reach 60+ unit kills. But neither do they need to. Besides, the actual experience points per level may be changed.

What you have written below sounds nice and easy. However, my skills and experience with triggers and functions are limited, if they weren't I wouldn't have asked this here. :)

Thanks for caring!

Yours Truly,
Princess Chizume
 
Level 14
Joined
Mar 30, 2009
Messages
971
as i stated before i finished the system (alot thanks to that comment of Dr Super Good). thanks to making this system, i learned to make MUI things and use hashtables ^^.

the system is complere and saved as a map (and uploaded in my pastebin), but since i did it first time, i sent a request to Dr Super Good to check the triggering if there arent any mistakes or something i didnt notice (i wouldnt want to send you an imperfect system ^^).

please stand by :)
 
Level 11
Joined
May 26, 2009
Messages
760
as i stated before i finished the system (alot thanks to that comment of Dr Super Good). thanks to making this system, i learned to make MUI things and use hashtables ^^.

the system is complere and saved as a map (and uploaded in my pastebin), but since i did it first time, i sent a request to Dr Super Good to check the triggering if there arent any mistakes or something i didnt notice (i wouldnt want to send you an imperfect system ^^).

please stand by :)

Great! I missed your comment, was afk for a little while between refreshing the site. Oh well! I'm looking forward to seeing it sir. :)

Yours,
Chizume
 
Level 14
Joined
Mar 30, 2009
Messages
971
if anyone knows GUI really good and doesnt mind helping Princess Chizume, then just in case, here is the system i made.

it is badly-made, but works, except that there cant be more that 100 floating texts in game. i dont think it will really help, but maybe it is useful.
 
Level 11
Joined
May 26, 2009
Messages
760
Bump~

A working and sustainable system has not yet been crafted. If you have some spare time at hand and feel kind of nice, then I'd very much appreciate any help I could get.

Yours Sincerely,
Princess Chizume
 
Status
Not open for further replies.
Top