HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

ABOUT HEROES-How do you set max lvl?

05-07-2007, 10:56 PM#1
Dooblivion
Normally when a hero levels up he cannot go past 10 but in some games like defi4anc3 he can go up to about 100. How do you do that???

I'd also like to know how you restrict some items to some heros like defi4anc3 were the mage example can't pick up a sword.

AND SOMETHING ELSE THAT'S NOT ABOUT HEROS : How do you make human workes deal 0 damage to trees with harvest ability.

ADDED: I want to make it that player units gives gold when you kill them just like creeps. I put the amount of gold given when they die but it doesn't work.
05-07-2007, 11:01 PM#2
Ignitedstar
You should prepare for spamville.

Anyways, since I may be the only one who will help and not spam like a bunch of haters...

To change the max level of heroes, go to Advanced on the file menu and click on Game Constants. You'll find it in there, as well as a bunch of other cool things to play around with, like the amount of EXP needed to gain levels, etc.

Classifying items like Defi4nc3 takes a lot of triggering work. I can get to the specifics, but maybe someone one here can do it better then I can explain it.

Instead of reducing the damage, why you don't make the life of the tree 9999999 or something? There's another way, but that's the least complicated.
05-07-2007, 11:23 PM#3
Dooblivion
nice ty you realy helped with my map but for the tree part its because i want them to get destroyed by heroes just like tree tag. So if I put them 9999999 hp how are the heros destroy them with there 100dmg attacks? And no im not making there attack higher.
05-07-2007, 11:58 PM#4
Dil999
My friend is currently working on a really simple inventory system allowing for different hero classes and alot of other stuff I'm too lazy to tell you about now.
I'm not sure if he's releasing it to the public, but ill post again if he is.
05-08-2007, 12:25 AM#5
Ignitedstar
Quote:
Originally Posted by Dooblivion
nice ty you realy helped with my map but for the tree part its because i want them to get destroyed by heroes just like tree tag. So if I put them 9999999 hp how are the heros destroy them with there 100dmg attacks? And no im not making there attack higher.

Okay. Well, when you look at the Harvest ability, there's a field that says "Damage to Trees". That's most likely the damage that is done to trees. Just set it to zero. Is that what you want?

Your fourth question:

You have to trigger it. Go to the trigger editor and under Initialization(it's always there), create a trigger and make it Player - Turn Player Flag On/Off. Set the correct player in there and when their units die, the player who killed the unit will recieve gold.
05-08-2007, 12:31 AM#6
Dooblivion
ya that's what I want but the minimum is 1 damage to trees. And could you be more precise on how to turn player flags on/off because im really not so good sory. Thank you alot for the rest you're very useful. Tell me some of your posts and i might add them to reputation.
05-08-2007, 12:45 AM#7
Undead_Lives
You can add to his reputation by clicking the little checkmark thingy in his posts in this thread.
05-08-2007, 01:10 AM#8
Conquestor
Set the damage to trees to 1, and then give the trees 100 hp, with 100 hp a second regeneration.

For the bounty question,

Trigger:
Melee Initialization
Collapse Events
Map initialization
Conditions
Collapse Actions
Collapse Player Group - Pick every player in (All players) and do (Actions)
Collapse Loop - Actions
Player - Turn Gives bounty On for (Picked player)
05-08-2007, 02:15 AM#9
DarthRevansith
about the item things you can do something like that :
Trigger:
bah
Collapse Events
Unit - A unit Acquires an item
Collapse Conditions
(Item-type of (Item being manipulated)) Equal to Orb of Frost
Collapse Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Unit-type of (Triggering unit)) Not equal to Arthas (wielding Frostmourne)
Collapse Then - Actions
Item - Remove (Item being manipulated)
Else - Actions
i didn´t test it, but i think it should wor..... in that trigger only arthas can get the item. or you can edit all the items and make oly certain units to be able to aquire like "artifact" items... so you have lots os possibles... at your choice

Trigger:
bah
Collapse Events
Unit - A unit Acquires an item
Collapse Conditions
(Item-class of (Item being manipulated)) Equal to Artifact
Collapse Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Unit-type of (Triggering unit)) Not equal to Arthas (wielding Frostmourne)
Collapse Then - Actions
Item - Remove (Item being manipulated)
Else - Actions
in that trigger only arthas can pick up artifacts, so if you can just edit artifacts to be items for mages for example and add more than one guy in the condition.
05-08-2007, 09:10 AM#10
Anitarf
You should use (item being manipulated) in the condition instead of (last created item).
05-08-2007, 10:32 PM#11
Dooblivion
thank you all for answering all my questions for this post. I hope you can help me again if i have questions.
Thank you again
05-08-2007, 11:24 PM#12
Hydrolisk
Make SURE that you use the Search button next time.
And remember the tutorials section.
And the Resources section.
05-08-2007, 11:24 PM#13
Hydrolisk
Make SURE that you use the Search button next time.
And remember the tutorials section.
And the Resources section.