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 haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. Let your favorite entries duke it out in the 15th Techtree Contest Poll.
    Dismiss Notice
  5. Weave light to take you to your highest hopes - the 6th Special Effect Contest is here!
    Dismiss Notice
  6. 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.

Rain of X System Jass v1.0 (gui friendy)

Submitted by KitsuneTailsPrower
This bundle is marked as pending. It has not been reviewed by a staff member yet.
Title: Rain of X System jass (gui friendly)

Description:

This system allows you to create rain of fire style spells with any model and any impact effects you choose instead of just damaging the targets

I noticed some issues with the rain of x system found here:
Rain of [X] System, Version 1.1a

Namely it lags online and lacks the ability to include secondary effects in addition to damage so I created my own Rain of X system.

Requirements:

Any unit indexer (One is included in the map file)

Usage:

To call down a single wave of a rain of x:

call RoX_Jass caster,targetx,targety,radius,fx,shardcount,startheight,fallspeed,impacttrig

unit caster: The variable udg_Rox_Jass_Caster is set to this unit when the wave hits

real target x: x coordinate of the center of the rain

real target y: y coordinate of the center of the rain

real radius: Radius of the rain

string fx: Model for the rain of x shards e.g. a farseer missile

integer shardcount: Number of shards in the wave, purely visual

real start height: Starting height of each shard

real fallspeed: Speed at which the shards fall

trigger impacttrig: trigger that is run once for each unit in the radius when the wave hits. Each instance of the trigger will have RoX_Jass_Caster set to the caster and RoX_Jass_Target set to the current unit being enumerated. e.g. You could have Rox_Jass_Caster damage Rox_Jass_Target by calling UnitDamageTarget. If you want your Rain of X spell to not affect certain units you must specify that in conditions in the trigger or if/then/else statements.

To call down x waves of a rain of x:

call RoX_Jass_Loop caster,targetx,targety,radius,fx,shardcount,startheight,fallspeed,impacttrig,count,delay

The parameters with the same names as above are the same as above

integer count: The number of waves

real delay: Delay between waves, must be greater then or equal to 0.27 or it will lag.

How to Import:

1. If you don't already have a unit indexer, install one in your map. You can copy the included Unit Indexer trigger into your map if you don't want to search for a unit indexer.

2. Copy the Shard_Dummy unit into your map

3. Copy the trigger category Rain of X System JASS into your map

4. Set the variable RoX_Jass_Dummy_ID to the ID of the shard dummy

5. Export dummy.mdx from this map and import it into yourmap.


credits:
Vexorain for dummy.mdx

Bribe for the unit indexer I used

lolrepoted for the concept, test map terrain and dummy unit object editor data
Contents

Rain of X System Jass v1.0 (Map)

  1. feber13

    feber13

    Joined:
    Nov 23, 2017
    Messages:
    22
    Resources:
    0
    Resources:
    0
    very good system, could do it to make toxic rain