• 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.

Custom Xp?

Status
Not open for further replies.
Level 3
Joined
Jul 18, 2007
Messages
23
Hi.
i looked thu the tuts. but can't find any about Xp.
Is it possible that i can make a Creature give a custom amount of xp?


thx.


~Jinseru
Even a devil may cry, when he loses a loved one
 
Level 4
Joined
Dec 15, 2007
Messages
108
better would be
set in advanced - game play constance - hero xp table all to 0

then

  • disable xp
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • Hero - Make Player 1 (Red) Heroes gain 0.00% experience from future kills
          • Hero - Make Player 2 (Blue) Heroes gain 0.00% experience from future kills
          • Hero - Make Player 3 (Teal) Heroes gain 0.00% experience from future kills
          • Hero - Make Player 4 (Purple) Heroes gain 0.00% experience from future kills
          • Hero - Make Player 5 (Yellow) Heroes gain 0.00% experience from future kills
          • Hero - Make Player 6 (Orange) Heroes gain 0.00% experience from future kills
          • Hero - Make Player 7 (Green) Heroes gain 0.00% experience from future kills
          • Hero - Make Player 8 (Pink) Heroes gain 0.00% experience from future kills
          • Hero - Make Player 9 (Gray) Heroes gain 0.00% experience from future kills
          • Hero - Make Player 10 (Light Blue) Heroes gain 0.00% experience from future kills



  • unhold xp
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Owner of (Triggering unit)) Equal to Neutral Hostile
      • (Owner of (Killing unit)) Not equal to Neutral Hostile
    • Actions
      • Set tempgroup[0] = (Units within 1000.00 of (Position of (Dying unit)))
      • Unit Group - Pick every unit in tempgroup[0] and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Hero level of (Picked unit)) Less than or equal to 30
            • Then - Actions
              • Hero - Add ((Level of (Dying unit)) x 7) experience to (Picked unit), Show level-up graphics
              • Custom script: call DestroyGroup(udg_tempgroup[0])
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Hero level of (Picked unit)) Greater than 30
                  • (Hero level of (Picked unit)) Less than or equal to 60
                • Then - Actions
                  • Hero - Add ((Level of (Dying unit)) x 6) experience to (Picked unit), Show level-up graphics
                  • Custom script: call DestroyGroup(udg_tempgroup[0])
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Hero level of (Picked unit)) Greater than 60
                      • (Hero level of (Picked unit)) Less than or equal to 90
                    • Then - Actions
                      • Hero - Add ((Level of (Dying unit)) x 5) experience to (Picked unit), Show level-up graphics
                      • Custom script: call DestroyGroup(udg_tempgroup[0])
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • (Hero level of (Picked unit)) Greater than 90
                          • (Hero level of (Picked unit)) Less than or equal to 100
                        • Then - Actions
                          • Hero - Add ((Level of (Dying unit)) x 4) experience to (Picked unit), Show level-up graphics
                          • Custom script: call DestroyGroup(udg_tempgroup[0])
                        • Else - Actions
                          • Do nothing
 
Last edited by a moderator:
Level 6
Joined
Dec 13, 2007
Messages
213
if you want a creature to give alota XP try making it a better lvl through object editor.
or if you want heros to gain more XP then do this. Click on Advanced on the top menu of thw window, click on gameplay constants, then check the use custom constants, scroll down under hero XP and click on XP rating i think it is, it has a list which looks something like this
80
50
40
25
5
0
each number represents the percentage of which the hero will be getting when it kills something, delete all intergers then make a new one and make it 100 or what ever, that way no matter what lvl your hero is he will still get XP, you can also change max lvl, you can aslo make the hero get 200 XP if you want, have fun
 
Status
Not open for further replies.
Top