HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Scaling Summons?

09-02-2009, 11:05 PM#1
Sgt_Johnson
I'm working on a new RPG and one of the classes (Necromancer) will be able to summon necro-like stuff such as skeletons, golems... you know what all that is lol.

But anyway is there any possible way to make the summons scale with how powerful the user is? Such as having life and damage and such based off the necromancer's stats. +Rep if anyone can give me a hand with this
09-02-2009, 11:14 PM#2
Michael Peppers
Life and mana:

call SetUnitState(yourunit, UNIT_STATE_MAX_LIFE, yourvalue)
call SetUnitState(yourunit, UNIT_STATE_MAX_MANA, yourvalue)

There's also a function that changes the scaling of the model, but there doesn't seem to be something for damage dealt or armor... I know, it's sad...


EDIT: Shhh... I didn't say anything... the answer is in the post below this... (facepalm)
09-02-2009, 11:17 PM#3
TotallyAwesome
SetUnitMaxState
09-02-2009, 11:39 PM#4
Sgt_Johnson
Quote:
Originally Posted by TotallyAwesome
SetUnitMaxState

I'm a GUI guy with very little JASS knowledge so if you could elaborate I would appreciate that :)
09-02-2009, 11:48 PM#5
Michael Peppers
Quote:
Originally Posted by Sgt_Johnson
I'm a GUI guy with very little JASS knowledge so if you could elaborate I would appreciate that :)

GUI? Ouch, you're in trouble here... he means that you may use one of these three systems:

1
2
3

(And I'm pretty sure there's more of them around)

However, as I said above, the best you can do with these systems is scaling only life and mana, for damage and armor I don't think there are methods other than massive Object Editing or giving damage/armor bonuses via triggers.
09-03-2009, 07:15 AM#6
TheWye
What about using upgrades? You can just increase the level of the upgrade of your units whenever the necromancer guy gets a level or something?

Well at least that's what I did in my first GUI map :p
09-03-2009, 01:53 PM#7
Sgt_Johnson
The summons need to scale with the necromancer's stats, upgrades are out of the question as stats can change, while an upgrade can only keep going up.
09-03-2009, 02:21 PM#8
Sgt_Johnson
http://www.thehelper.net/forums/showthread.php?t=81466

and

http://www.thehelper.net/forums/showthread.php?t=127278

Will both work as I want them to, it will just require some tweaking, thank you all for the help :)
09-03-2009, 02:38 PM#9
moyack
Unit properties is the solution for ALL your needs, but it requires vJASS knowledge to use it.

Conclusion: GUI is fucking your modding interest, learn JASS / vJASS