| 11-06-2002, 10:30 AM | #1 |
Guest | I keep running into dead ends, I hate how we cant make our own spells but only edit the hardcoded attributes of them, this sucks! Any ideas on how I could hack around and maybe get a lightning shield that doesn't damage freindlys? |
| 11-06-2002, 11:13 PM | #2 |
You need to edit AbilityData.slk and there you have to edit the "targs" field for the Lightning Shield. Normally it's "ground,friend,enemy,neutral" but if you want to make it not damage friendly units then change it to "ground,enemy,neutral". Martinez |
| 11-08-2002, 01:42 PM | #3 |
Guest | No you see thats the problem, thats who he can TARGET not who takes damage, it says that in the comments and they aren't lying I tried it and sure enough :( |
| 11-08-2002, 02:56 PM | #4 |
I do not think u can change that... |
| 11-08-2002, 08:10 PM | #5 |
A hard way is to use special effect and trigger. First detect when the lightning shield was casted. Remove it. Create a special effect of it on the unit. Then use a trigger to detect if any enemy units come close enought to that unit and do damage. Too much trouble? It's the only way I can think of...... :P |
| 11-09-2002, 02:12 PM | #6 |
Guest | I do not know much about triggers, anyway to do it by just editing the files in war3.mpq and war3patch.mpq, since I believe triggers are only for use on maps, but I could be wrong. Im trying to make it affect the whole game, just not a single map, kinda like a patch that blizzard makes. Any help please I would really appreciate it, if triggers are possible to always take effect then please tell me how. I do not know much about triggers. |
