• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

leveling stats

Status
Not open for further replies.
Level 3
Joined
Mar 3, 2009
Messages
34
Hey everyone!

I'm working on a RPG - map and i want to create a system, where the heroes do not gain attributes with each lvl - up but skillpoints which can be used to increase their stats.
Is there any possibility to remove all abilities from the level - menu after the current skillpoint ist spent and add three abilities (which each increase stenght, agility and intelligence for one point) plus e.g. 3 new skillpoints?
I saw this feature in an AvP - AoS - map before and it woult be great if i could implicate it in my own map, too.

Hope, anyone can help me!
 
Level 6
Joined
Mar 27, 2009
Messages
195
Hey everyone!

I'm working on a RPG - map and i want to create a system, where the heroes do not gain attributes with each lvl - up but skillpoints which can be used to increase their stats.

first of all i hope i understood what you said; if not tell me^^

to increase the stats manually, you could create a new unit (hero). call is something like "stats" and give it three abilitys. each increases the strength, the agility or the intelligence. after casting one of this spells change the owner of the casting unit to neutral passive or something and add 1/2/3/X point of the chosen stat to your hero.

e.g.:

  • LevelUP
    • Events
      • Unit - A unit gains a level
    • Conditions
    • Actions
      • Unit - Change ownership of (SkillModifier) to (Owner of (Triggering unit)) and change color
  • Increase Stats
    • Events
      • Unit - A unit starts the effect of an ability
    • Conditions
      • (Ability being cast) equal to [Increase X]
    • Actions
      • Hero - Modify [Attribute] of (Your Hero): Add [Amount] points
      • Unit - Change ownership of (Casting Unit) to neutral passive and change color
 
Level 3
Joined
Mar 3, 2009
Messages
34
Hey, thank you, that sounds good ^^.
But do you think, it's possible to replace the original Hero with the dummy on lvl-up (so that the new Skillpoints show up) and to reverse it, when all Skillpoints for the attributes are spent - or maybe just morph the hero?
 
Level 6
Joined
Mar 27, 2009
Messages
195
WE contains a replace action that replaces one unit with another one

  • Unit - Replace (Triggering unit) with a [Unit-Type] using New Unit: XY
but maybe just tell us the maps name which contains that system you wanna create
 
Level 6
Joined
Mar 27, 2009
Messages
195
ok i did something for you; i hope this will work :D



  • LevelUp
    • Events
      • Unit - A unit gains a level
    • Conditions
    • Actions
      • Unit - Add [YourSkillPointSpell] to (Triggering unit)
      • Set skillpoints[INDEX] = (skillpoints[INDEX] + 1)
  • SpentSkillPoints
    • Events
      • Unit - A unit starts the effect of an ability
    • Conditions
      • (Ability being cast) Gleich [YourSkillPointSpell]
    • Actions
      • Selection - Select (Dummy) for Owner of (Triggering Unit)
  • AddAbility
    • Events
      • Unit - A unit starts the effect of an ability
    • Conditions
      • (Ability being cast) Gleich [AddYourSpell]
    • Actions
      • Set skillpoints[INDEX] = (skillpoints[INDEX] - 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • 'IF'-Conditions
          • skillpoints[INDEX] <= 0
        • 'THEN'-Actions
          • Selection - Select (YourHero) for Owner of (Triggering Unit)
        • 'ELSE'-Actions
      • Unit - Add [YourSpell] to [YourHero]


hope this was helpful for you :D (and maybe give me some rep?
reputation.gif
^^)
 
Status
Not open for further replies.
Top