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.

[JASS] I need a challenge

Discussion in 'Triggers & Scripts' started by Element of Water, Jul 31, 2009.

  1. Element of Water

    Element of Water

    Joined:
    Aug 3, 2008
    Messages:
    2,298
    Resources:
    5
    Spells:
    3
    Tutorials:
    1
    JASS:
    1
    Resources:
    5
    Anyone have any ideas for a really hard-to-make vJass system? I need a good challenge. BTW I won't do anything that requires imports (such as full screen inventory, etc)
     
  2. apocalypse_dude

    apocalypse_dude

    Joined:
    Mar 12, 2006
    Messages:
    407
    Resources:
    0
    Resources:
    0
    You can do a farming system like in Age of Empires 2
    including food sources like berries, hunting and ofc farming on a field

    Where hunters automatically start hunting a new deer/boar when there is no flesh left on the old one and where you have to rebuild the fields when they are harvested
     
  3. Blackrockorc

    Blackrockorc

    Joined:
    Nov 21, 2008
    Messages:
    322
    Resources:
    1
    Maps:
    1
    Resources:
    1
    lmao seconded. id love to see some1 attempt this. n if all elf fails do a weather system. that actually works.
     
  4. Element of Water

    Element of Water

    Joined:
    Aug 3, 2008
    Messages:
    2,298
    Resources:
    5
    Spells:
    3
    Tutorials:
    1
    JASS:
    1
    Resources:
    5
    Too easy. Same with the weather system. I guess the gathering system is mildly hard, though. I guess I'll do that, but if someone gives a better reply I'll just quit doing the gathering system.
     
  5. Pharaoh_

    Pharaoh_

    Joined:
    Nov 6, 2008
    Messages:
    8,127
    Resources:
    11
    Icons:
    3
    Skins:
    1
    Spells:
    6
    Tutorials:
    1
    Resources:
    11
    Easy, exactly and will be used in some maps; systems should be good for all maps.
    Anyway, Mr. Element, i suggest you did something (since you want challenge indeed) to detect armor/ magic resistance/ damage (current) of a unit (the 33 - 41 damage thing)/ attack speed (Ok, these are the obvious ones that someone would need).

    Another one i would like, based off this Age of Empires idea, is this: When a unit in Age of Empires is issued an order to build some wall for example, you can extend the order and make a path of dummy walls, which orders that unit once it finishes construction of the first wall, to go to the second, until all of them are done. In Warcraft 3, you can order a unit to build a building. Then, at the Point of issued order, you get that building with 50% transparency, until the ordered unit reaches it and starts constructing it. How would you do the same thing but for multiple buildings, which are defined through a drag-out of the mouse?
    o <- Building to be constructed (Warcraft 3)
    oooooooooooooo <- Buildings to be constructed (Age of Empires)
     
  6. Element of Water

    Element of Water

    Joined:
    Aug 3, 2008
    Messages:
    2,298
    Resources:
    5
    Spells:
    3
    Tutorials:
    1
    JASS:
    1
    Resources:
    5
    It would be impossible to show where the buildings would be placed when the mouse is moved without RtC, and I don't want to use that as i have the newest patch and I don't want to downgrade, and RtC bugs anyway. It would be too easy to make it just build a line of buildings when it's issued two build orders...

    BTW I played AoE3 for a long time so you don't need to explain AoE ideas to me (unless they're in previous versions and not in AoE3).
     
  7. Starquizer

    Starquizer

    Joined:
    Mar 3, 2006
    Messages:
    1,526
    Resources:
    6
    Maps:
    1
    Spells:
    2
    Tutorials:
    3
    Resources:
    6
    For me I want a new spell system in WC3.

    Most of the spells in WC3 system do a fixed amount of damage, meaning Holy Light does 75 divine damage, no matter what you do it will always be 75, what I need is [min - max damage]. I think applying this idea to all the spells in WC3 would prove challenging. Not only that, I want to add saving throw* system to WC3 spell system.

    * If you dont know about it
    Saving throw system is from D&D system and it is a number assined to a character, when a spell is cast on him, he is allowed to roll (1d20 + His Saving Throw) if that number is greater than or equal to the Spell Saving Throw; he is allowed to take half the damage or take nothing at all or avoid certain effects like stuning, slow. This could be great if applyed to Finger of Death, you die instantly if you failed your saving throw or takes a damage otherwise
     
  8. DocDude

    DocDude

    Joined:
    Jul 29, 2009
    Messages:
    252
    Resources:
    0
    Resources:
    0
    i dont know how hard it is but you should try this:

    a vehicle system that makes vehicle nutral and units can get inside and drive them.
    also there are vehicle such as catapults that needs the driver (or servel for more speed) to push it from out side (and the enemy can choose to kill the driver and keep the catapult in one peice and than use it himself).
     
  9. Element of Water

    Element of Water

    Joined:
    Aug 3, 2008
    Messages:
    2,298
    Resources:
    5
    Spells:
    3
    Tutorials:
    1
    JASS:
    1
    Resources:
    5
    So basically you want me to remake every single spell in wc3 to use different damage formulas. No.
     
  10. Slaydon

    Slaydon

    Joined:
    Jan 6, 2008
    Messages:
    2,432
    Resources:
    2
    Tutorials:
    2
    Resources:
    2
    if we give you the imports, would you create a dGui system? like a Inventory to the left of the screen?
     
  11. Element of Water

    Element of Water

    Joined:
    Aug 3, 2008
    Messages:
    2,298
    Resources:
    5
    Spells:
    3
    Tutorials:
    1
    JASS:
    1
    Resources:
    5
    Dynamic Graphical User Interface? Like this? It's already made.
     
  12. Slaydon

    Slaydon

    Joined:
    Jan 6, 2008
    Messages:
    2,432
    Resources:
    2
    Tutorials:
    2
    Resources:
    2
    well, its kinda hard to create an inventory out of that.. and yes, like that
    only 6 player instancable
     
  13. Element of Water

    Element of Water

    Joined:
    Aug 3, 2008
    Messages:
    2,298
    Resources:
    5
    Spells:
    3
    Tutorials:
    1
    JASS:
    1
    Resources:
    5
  14. Starquizer

    Starquizer

    Joined:
    Mar 3, 2006
    Messages:
    1,526
    Resources:
    6
    Maps:
    1
    Spells:
    2
    Tutorials:
    3
    Resources:
    6
    You don't have to make every spell, just choose the one that will be most difficult to make, I am assuming that you will use vJASS. Try Immolation with min-max damage.
     
  15. Slaydon

    Slaydon

    Joined:
    Jan 6, 2008
    Messages:
    2,432
    Resources:
    2
    Tutorials:
    2
    Resources:
    2
    Well, its almost like that, but lets take it later.
     
  16. Dr Super Good

    Dr Super Good

    Spell Reviewer

    Joined:
    Jan 18, 2005
    Messages:
    25,547
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    Make an event - A unit starts building a building which allows you to get both the unit being built and the builder for all races.

    There is no native event to do this. I has to support more than 2 building units per player.

    I made such a system, and trust me its not as easy as you may imagine.
     
  17. Element of Water

    Element of Water

    Joined:
    Aug 3, 2008
    Messages:
    2,298
    Resources:
    5
    Spells:
    3
    Tutorials:
    1
    JASS:
    1
    Resources:
    5
    None of the spells are difficult to make. I want a challenge.

    EDIT: Just saw DSG's post. That should be interesting. I'll try that, although I doubt it'll take me that long...

    EDIT2: Ok, I think I've worked out how to do it.

    1) I detect when a unit is issued a order targeting a point. I store this unit in a temporary global unit variable.
    2) I detect when a unit starts construction. The builder will be the temp unit. I create a group containing the temp unit and attach it to the building.
    3) I detect when a unit is issued an order targeting a widget. If this order is "repair", then I check to see if the target unit has my data attached to it. If so, I store the triggering unit in the attached group.
    4) I detect when a unit is issued any order. If this order is not "repair", and this unit is in a group attached to a building, I remove this unit from that group.
    5) I detect when a building has finished construction. I clear all data for that building.
    6) I design an API for the system.

    Conclusion: you're right, this is hard, but I can do it.
     
  18. Starquizer

    Starquizer

    Joined:
    Mar 3, 2006
    Messages:
    1,526
    Resources:
    6
    Maps:
    1
    Spells:
    2
    Tutorials:
    3
    Resources:
    6
    Maybe they are difficult from my prespective and my vJASS level.

    Anyway, suit yourself.
     
  19. Yixx

    Yixx

    Joined:
    Oct 12, 2008
    Messages:
    1,492
    Resources:
    3
    Spells:
    3
    Resources:
    3
    A harvesting system, that keeps track of every unit that gathers lumber. Save it in Hashtable or use UnitUserData or something, but make it MUI and for every race. Also stackable of course so that i can order a unit to cut 5 lumber, walk away for an hour, and come back for 4 more lumber, and then turn in the lumber, then the LumberTracker should give a value of 9. AND that when it turns in lumber, the tracker gets to 0 again of course..

    Though this might be too easy, or maybe the exact opposite, impossible. If so, just do DSG's thing, that is needed also!
     
  20. Gost

    Gost

    Joined:
    Jan 21, 2007
    Messages:
    568
    Resources:
    0
    Resources:
    0
    You could help me optimize my heroes 3 spells and my updated Heal/Damage/Move over time system =p