1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  4. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  5. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  6. The results are out! Check them out.
    Dismiss Notice
  7. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  8. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  9. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Requesting Exp System

Discussion in 'Requests' started by Aeroblyctos, May 27, 2009.

  1. Aeroblyctos

    Aeroblyctos

    Joined:
    Aug 14, 2006
    Messages:
    6,597
    Resources:
    24
    Models:
    1
    Packs:
    1
    Maps:
    22
    Resources:
    24
    Hello there.

    I have been working for a campaign quite long time. It's soon in beta stage, but I would like to have one more system for the campaign. Currently every time player completes a quest will automatically gain a level for his characters. I think the campaign is now too much focused to quests. Some players doesn't like to do that much quests, instead they want to kill enemy units to gain level.

    In future when this system is done I will change that quests gives experience points, but not a whole level. With this system I will do like that enemy units will give a lot more experience.

    The basic exp system by Blizzard doesn't satisfy me. I can't modify it enough and that is why I would like you to do "Exp System". Here are some information about it:

    - This is a campaign, so the system is only for player 1.
    - I have used a unit-type variable in every map. I would like you to use it also so I can give every single unit specific exp gain that I can easily edit. Example:
    • Set Monster_Type[1] = Arachnathid

    - Some items can increase killer's exp.
    - Also remember to give exp to nearby other player 1 heroes(totally there can be 3x player 1 hero). 1000 range would be pretty good.
    - Leakless.
    - You cannot use vJASS.

    I also think it could be useful for other RPGs. So once it's done you can freely add it to the spell section of Hive or other places. If you have questions, please ask. You can also chat with me every time. My MSN is Aeroblyctos@hotmail.com

    So if you have free time and you could do this within few weeks, I would really like you to help me. I will give you some rep in here and big credits at the campaign as a system maker. Thanks!
     
    Last edited: May 27, 2009
  2. Archangel678

    Archangel678

    Joined:
    Apr 25, 2009
    Messages:
    246
    Resources:
    4
    Spells:
    4
    Resources:
    4
    Here's a Map Example for you. It's just an example, so yeah...
    It has the item exp that effects all units around it. Good Luck on your RPG

    Edit: Re-made it. Corrected the Map. Added a chance of the killing unit to gain +20 exp. Corrected experience gain, all together. Made it simpler, using around 4 triggers. Hope you like it.

    A majority has been Corrected. The Map is fully working and so far has no leaks.
     

    Attached Files:

    Last edited: May 28, 2009
  3. Aeroblyctos

    Aeroblyctos

    Joined:
    Aug 14, 2006
    Messages:
    6,597
    Resources:
    24
    Models:
    1
    Packs:
    1
    Maps:
    22
    Resources:
    24
    Hey there, Archangel678.

    The system you made was okay, but it was full of improvements.

    - I don't see use of trigger "Exp Control".
    - The gained experience should be specific number. Not a random number.
    - Some items should also increase the exp gain for the killer only(not for the heroes around). There is not this system.
    - Your system leaks like hell.
    - I don't need any tomes that increases exp.
    - There should be a trigger that puts all units to a unit-type and then adds for them that how much unit-types gives experience points. This way I would save time because I have a little similar gold gain system.
    • Enemy Gold
      • Events
        • Map initialization
      • Conditions
      • Actions
        • -------- === MONSTER GOLD SYSTEM === --------
        • Set Monster_Type[1] = Arachnathid
        • Set Monster_Type[2] = Icy Hades
        • Set Monster_Type[3] = Frost Beast
        • Set Monster_Type[4] = Icy Troll
        • -------- === GOLD GIVEN === --------
        • Set Monster_Gold[1] = 12.00
        • Set Monster_Gold[2] = 18.00
        • Set Monster_Gold[3] = 15.00
        • Set Monster_Gold[4] = 50.00


    Thanks for your best and I hope to have some improvents. If not, I hope someone else will try.

    Here the gold system(not made by me).

    GOLD SYSTEM
    • Monster Resources Give
      • Events
        • Unit - A unit Dies
      • Conditions
        • (Owner of (Killing unit)) Equal to Player 1 (Red)
        • (Owner of (Dying unit)) Equal to Neutral Hostile
      • Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Killing unit) Equal to AAAPhodom
          • Then - Actions
            • Set Monster_Killer = 1
          • Else - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • (Killing unit) Equal to AAAFradz
              • Then - Actions
                • Set Monster_Killer = 2
              • Else - Actions
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • (Killing unit) Equal to AAAGaleoth
                  • Then - Actions
                    • Set Monster_Killer = 3
                  • Else - Actions
                    • Set Monster_Killer = 4
        • For each (Integer A) from 1 to 50, do (Actions)
          • Loop - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • (Unit-type of (Dying unit)) Equal to Monster_Type[(Integer A)]
              • Then - Actions
                • Set TempLoc = (Position of (Dying unit))
                • Set Monster_GoldGive = (Integer((Monster_Gold[(Integer A)] x Monster_GoldPercent[Monster_Killer])))
                • Player - Add Monster_GoldGive to Player 1 (Red) Current gold
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • Monster_GoldGive Greater than or equal to 1
                  • Then - Actions
                    • Floating Text - Create floating text that reads (+ + (String(Monster_GoldGive))) at TempLoc with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
                    • Floating Text - Set the velocity of (Last created floating text) to 50.00 towards 90.00 degrees
                    • Floating Text - Change the color of (Last created floating text) to (100.00%, 100.00%, 0.00%) with 0.00% transparency
                    • Floating Text - Change (Last created floating text): Disable permanence
                    • Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
                    • Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
                  • Else - Actions
                • Custom script: call RemoveLocation(udg_TempLoc)
              • Else - Actions