| 09-21-2004, 03:36 AM | #1 |
If you have the new 1.17 patch, and you have noticed the Lightning functions under the Special Effects tab, and messed around with it, only to get errors and nothing working, well, here is the solution. You see when creating a lightning effect, it asks for a Code before asking for the points the lightning should be from and to. Nothing in this code seems to work does it? Well, what you have to type in(under value, normal fields won't work here) is source code. And only certain abilities have source code. Here is a list of all the source code for the lightning effects. Code:
Source Code(Type This) Model INIT INIT CLPB Chain Lightning - Primary Bolt CLSB Chain Lightning - Secondary Bolt MBUR Mana Burn - Bolt CHIM Lightning Attack - Chimera AFOD Finger of Death HWPB Healing Wave - Primary Bolt HWSB Healing Wave - Secondary Bolt MFPB Mana Flare - Primary Bolt DRAB Drain DRAL Life Drain DRAM Mana Drain FORK Forked Lightning SPLK Spirit Link LEAS Magic Leash So for example, making a lightning bolt using a source code would look like: Code:
Special Effect - Create a lightning effect FORK (Center of Region 000 <gen>) (Center of Region 001 <gen>) Just thought that if your having trouble getting lightning to work, that this will help. Also for coloring, the coloring is also source code(hex code). So its RGBA(I think). R = Red G = Green B = Blue A = Alpha Alpha is pretty much like transparency. Oh, and the color code numbers go from 1-255. To see a lightning, the alpha should be set to 0. But if it doesn't work, please don't blame me, I got the coloring from a friend(haven't tested). But I do know creating a lightning effect without the color(using one of the above source codes) is correct. :D |
| 09-22-2004, 08:59 AM | #2 |
^_^ So we can use the lightning effects now using ordinary wc3 triggers eh? no dummy units? |
| 09-22-2004, 10:14 AM | #3 |
The lightning functions suck anyway because they lack a "z" offset and whens the last time you've seen *any* lightning ability cast from ground level? 1.17 lightning functions: Ground lickin' good. |
| 09-22-2004, 02:43 PM | #4 | |
Quote:
Edit: Anyways I thought it would be better to just use The Get Lightning Effect of Ability trigger call for this |
| 09-26-2004, 12:16 AM | #5 | |
Quote:
I guess we are waiting for the new patch already then. :\ |
| 09-26-2004, 01:55 AM | #6 |
Well the funny thing is if they add a z-offset then that breaks backwards compatibility, then again, I kinda doubt anyone is going to use the new lightning functions much, unless they want to like draw gridlines on the ground with them or something. |
| 09-26-2004, 11:48 PM | #7 | |
Quote:
|
| 09-27-2004, 03:18 AM | #8 |
Yea, then it would be perfect. I already have a use for a triggered ability using the new lightning effects. I just haven't made it yet... |
