| 06-22-2004, 11:19 AM | #1 |
Ok, becuase of demand from the modern Warfare mod, i had to figure out how to create triggers that would automatically show up in each map - as in make new melee triggers to add to the ones that are already part of wc3. First the good news, after a shotr while of studying the way things worked, i found out how to do it..woohoo. So i have the ability to remove the melee triggers and add new melee triggers into wc3. I can do this by editing blizzard.j and two .txt files but right now they are a secret. Anyway i tried it out and obviously it worked, but there are problems. i need to make triggers that define what happens. e.g. Instead of the event - A Unit...(option) i need it to say - A Unit dies. so instead of having the blue writing where u choose what happens i need to make it define what happens first. Why you ask, because if i add the event into melee map triggers, it doesn't have a definitive event so the trigger cant run unless u tell it what happens to the unit. And if u put something in via the w/e then the map isn't melee anymore. Understand? So i need to somehow make new events/conditions/actions that are definitive, so i can use them as melee triggers in the mod. But my jass isn't as good as i thought, and i cant seem to do this right. Can someone plz help me get this working, and i will share how i got this new discovery working. i have posted a pic to show u what i have done. thnx. |
| 06-22-2004, 01:16 PM | #2 |
Are you talking about ui\triggerdata.txt and ui\triggerstrings.txt ? then no secret at all, and the only event they use is map initialization I guess you can just add the events in common.j without editing the other things |
| 06-23-2004, 07:07 AM | #3 | |
Quote:
Anyway, i managed to get one event working so far. i made it so that it adds 10000 gold to player 1. kinda random, but im still having problems with other sections. Do u just add stuff to common.j to get them working on what, ive just been using blizzard.j. I tried making an event that is - A unit attacks, but that seemed to have some problem, but il keep trying tomorrow. |
