1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. 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
  3. 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
  4. 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
  5. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  6. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  7. The results are out! Check them out.
    Dismiss Notice
  8. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  9. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  10. 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.

Sun Ray 1.5.1

Submitted by Flame_Phoenix
This bundle is marked as approved. It works and satisfies the submission rules.
Ok guys, this is one of the spells for my map, for the light knight. It is a simple spell, but I like the effects and lights so I decided to use it on spell Olympics and to submit it here, because I think people can really make use of it.
This is one of those spells with which I am proud, mainly because this time I made the maths alone (or mostly xD).

The spell is of course JESP, and I hope you all like it.

This spell belongs to my project
Castle vs Castle Flame Edition and I hope you all enjoy it.



Description:
- The light paladin uses the forces of the light to send several Sun Rays which will heal allied units and damage Undead units.

Requirements:
- Jass NewGen Pack (uses vJASS)
- TimerUtils

History:
Version 1.0
- Fixed a Math problem
- Spell was ready, initial release to the forums, for improvements

Version 1.1
- Now you can have waves of lights! If you don't like, just set the interval to zero!

Version 1.2
- Optimization in the code's speed, now it is even faster, and the code is more simple than ever !

Version 1.3
- Added a JESP manifest document
- Added a nice effect on the hero

Version 1.4
- Removed some members from the structure that weren't needed, now x, y and angle are just local variables
- Added Anitarf to the credits section

Version 1.4a
- Removed member "i" it was not needed. Now it is also a local variable
- Made some improvements to the comments

Version 1.5
- Added a boolean variable. Now the rays can depend on the casters angle if the user wants to

Version 1.5.1
- Updated for patch 1.24

Keywords:
CCFE, Ray, Sun, Castle vs Castle, castle, nova, undead, light, heal, paladin, Flame_Phoenix
Contents

Sun Ray (Map)

Reviews
Moderator
16:31, 1st Nov 2008 Dr Super Good: A very good spell that I can only recomend people to use. It might not be the most efficent but it more than makes up for that by its ease of use. Is a bit too simplistic in my opinion but still has some great...
  1. 16:31, 1st Nov 2008
    Dr Super Good:
    A very good spell that I can only recomend people to use. It might not be the most efficent but it more than makes up for that by its ease of use. Is a bit too simplistic in my opinion but still has some great opitunities to be used.
     
  2. xxdingo93xx

    xxdingo93xx

    Joined:
    Sep 8, 2007
    Messages:
    746
    Resources:
    2
    Maps:
    1
    Spells:
    1
    Resources:
    2
    Ah, now did you finally post this on Hive :)
    Well, your code is of course perfect and the spell looks good xD 10/10
     
  3. Flame_Phoenix

    Flame_Phoenix

    Joined:
    May 4, 2007
    Messages:
    2,283
    Resources:
    11
    Tools:
    1
    Maps:
    1
    Spells:
    6
    Tutorials:
    3
    Resources:
    11
    Hey thx for fast comment !
    Well, the mods on Wc3c seem to be on ghost mode (they do nothing decent at all) so I must now ask for review of this spell here on THW.

    Let's hope DSG likes the spell as much as you do !

    And btw, when will you update your spell ? xD
     
  4. Hanky

    Hanky

    Joined:
    Jan 15, 2007
    Messages:
    353
    Resources:
    4
    Maps:
    1
    Spells:
    3
    Resources:
    4
    Your spell is good coded. I just think you have to add after the preload a PreloadStart function, if I understood the function of PreloadStart right.

    Well the spellidea itself is abit to boring in my opinion. But well all work correct. Good job keep it up 10/10.
     
  5. TheBlooddancer

    TheBlooddancer

    Joined:
    Jun 24, 2008
    Messages:
    2,911
    Resources:
    0
    Resources:
    0
    This would be way easier to make in GUI, wont it?

    Is it MUI? Else a MPI-GUI version would be the 1st choice for the most.
    (Cause they dont know JASS)
     
  6. Flame_Phoenix

    Flame_Phoenix

    Joined:
    May 4, 2007
    Messages:
    2,283
    Resources:
    11
    Tools:
    1
    Maps:
    1
    Spells:
    6
    Tutorials:
    3
    Resources:
    11
    LOl, Thx for comment Hanky. Well, I like the spell idea, mainly because you can do a lot more stuff than just a Sun Ray Nova. You can make frost Nova, per example or something even more !
    I made this spell for people to use it mainly, I know many maps will have use for this kind of spells every one likes.

    This spell is 100% MUI and you don't need to know JASS because it is JESP.
    Just follow the instructions on the SETUP section I prepared and it will offer you more freedom to change the spell than ever, even it was in GUI.
    And no, imo this spell wouldn't be easier in GUI, it would be in fact harder to code, because it wouldn't probably be MUI and you wouldn't have a nice SETUP section like I do xD

    Thx for your ratings, and motivation =)
    Let's just wait for approval !
     
  7. redscores

    redscores

    Joined:
    Aug 9, 2006
    Messages:
    2,160
    Resources:
    12
    Maps:
    5
    Spells:
    6
    Template:
    1
    Resources:
    12
    Eh... thats all? That spell is nothing special about, just 1 special effect used.... well, I think it deserves a 5/10... Simply nothing special. A typical holy nova.
     
  8. PoWerJin

    PoWerJin

    Joined:
    Jul 4, 2008
    Messages:
    43
    Resources:
    2
    Maps:
    2
    Resources:
    2
    nice spell, and it helps alot to write comments what those scripts actually do


    helps me alot to learn jass too, thx =)


    10/10
     
  9. xxdingo93xx

    xxdingo93xx

    Joined:
    Sep 8, 2007
    Messages:
    746
    Resources:
    2
    Maps:
    1
    Spells:
    1
    Resources:
    2
    Well, seems like I lost most things again >.< I have to ask you to do a favor for me...
    I think the best way of learning is to compare. Could you take over the struct things? It is not that I forgot what it is, it is just the build-up of it xD
    I can make the trigger splitting etc. I guess, not that hard ;P

    @ redscores:
    Why should all spells be overdone with special effects and have thousands of effects? I guess a simple and also good-looking spell is not "nothing special". ;P
     
  10. Flame_Phoenix

    Flame_Phoenix

    Joined:
    May 4, 2007
    Messages:
    2,283
    Resources:
    11
    Tools:
    1
    Maps:
    1
    Spells:
    6
    Tutorials:
    3
    Resources:
    11
    You disappoint me quite a lot. That is the usual noob thinking: if a spell is not overdone with special effects than it isnt good. Did you even look to the code ?
    This was not meant to be a simply spell, it is meant to help other people creating ALL kinds of novas.

    Yae !!that is exactly why I made comments =)

    If I do the structure I will add the timer, and to add it I must split the code. I will remake your spell once I have time, just send me your current code. I will try to teach you by the example.
     
  11. redscores

    redscores

    Joined:
    Aug 9, 2006
    Messages:
    2,160
    Resources:
    12
    Maps:
    5
    Spells:
    6
    Template:
    1
    Resources:
    12
    Then its a quite bad nova help, because a nova is more dense... next time dont write any big spell names, just write Nova Template, and actually create NOVA's, and this spell IS disappointing, it is just mass holy light(targeted ground)...
     
  12. Hanky

    Hanky

    Joined:
    Jan 15, 2007
    Messages:
    353
    Resources:
    4
    Maps:
    1
    Spells:
    3
    Resources:
    4
    Well FlamePhoenix but everyone got his own taste, I normally also just like spells with more effects. Not a spam of effects but a decent use of effects. Sure you have could made the nova more interesting but who cares now. It's easy to use for most newbies. And I think that was your aim. So no need to argue.
     
  13. Flame_Phoenix

    Flame_Phoenix

    Joined:
    May 4, 2007
    Messages:
    2,283
    Resources:
    11
    Tools:
    1
    Maps:
    1
    Spells:
    6
    Tutorials:
    3
    Resources:
    11
    This was meant, from the start, to be a simple spell in deed. Every one has it's taste Hanky, Amen for that xD

    Please read the code. All your assumptions are wrong, the code model is way far from what you describe.
     
  14. soulstrikez94

    soulstrikez94

    Joined:
    Oct 3, 2008
    Messages:
    6
    Resources:
    0
    Resources:
    0
    Ermmmm , looks useful

    2/5
     
  15. Flame_Phoenix

    Flame_Phoenix

    Joined:
    May 4, 2007
    Messages:
    2,283
    Resources:
    11
    Tools:
    1
    Maps:
    1
    Spells:
    6
    Tutorials:
    3
    Resources:
    11
    If it looks so good why only 2/5!? Maybe you could do better ?
    Don't rate what you don't understand seriously, you look like a noob, this spell is a minimum of 3/5 just for being good coded. Due the JESP format it is 4/5 and if we compare it to the rest of this section, you will soon find it should be 5/5 in most cases...
     
  16. Flame_Phoenix

    Flame_Phoenix

    Joined:
    May 4, 2007
    Messages:
    2,283
    Resources:
    11
    Tools:
    1
    Maps:
    1
    Spells:
    6
    Tutorials:
    3
    Resources:
    11
    The spell was updated, please red history for more information.
     
  17. Baldoro

    Baldoro

    Joined:
    Nov 24, 2008
    Messages:
    25
    Resources:
    0
    Resources:
    0
    Looks awesome, wanted to post it on my map but i can't copy and fix that text :(
    However, extra job U did :D
     
  18. o2bryan

    o2bryan

    Joined:
    Mar 9, 2009
    Messages:
    173
    Resources:
    0
    Resources:
    0
    got problem >XP

    why cant enable the trigger skill??? then come out `InitTrig_SunRay' means???
     
  19. Flame_Phoenix

    Flame_Phoenix

    Joined:
    May 4, 2007
    Messages:
    2,283
    Resources:
    11
    Tools:
    1
    Maps:
    1
    Spells:
    6
    Tutorials:
    3
    Resources:
    11