| 02-09-2007, 11:34 AM | #1 |
This program makes JASS code for killing units when they enter a region. It is usefull if you are making a maze map and you have alot of regions and you don't want to make hundreds of different events. Features: Region prefix (if your not using the default "Region ") Saves as a .j file Special Effects (large list and you can enter your own) Pauses units and has a changeable wait time before killing them (so it doesn't kill the unit before the special effect has finished). Attachment points and modifiers. Safe Players. Help window. Credits: Me LordOglog (I know my name is Oglog on this forum.) SFilip for telling me a better way to do region code, and for helping me find the format function. moyack for all his help with de-bugging and improving the generated code. Thanks! Also lastly to Anitarf for pointing out a little bug in the code! Requirements: Microsoft .NET Framework 2.0 which can be downloaded Here. There is also a sample map in with the program. |
| 02-09-2007, 04:41 PM | #2 |
| 02-09-2007, 08:38 PM | #5 |
My program has Region prefix Will allow neutral victim and extra to be safe, has attachment points and modifiers, has a wait time before killing the unit, and its 40kb smaller lol (lots more space lol). There is also Jass Region On Die Quickwrite v3.0 by Koga73 which does the same thing as JASS Genorator and is over 450kb larger. |
| 02-11-2007, 03:41 AM | #6 |
| 02-11-2007, 07:02 PM | #7 |
Hmm interesting the same sort of thing happens to me somnetimes when I close a program but never with mine. Did this happen repeatedly? |
| 02-11-2007, 07:15 PM | #8 |
not repeteadly, always. I think the program needs some dll to include in the pack, or something special. BTW, In which language was made?? |
| 02-12-2007, 11:18 AM | #9 |
It doesn't need dlls, I don't have clue how to use them, it was made in VB 2005. |
| 02-12-2007, 12:35 PM | #10 |
Ahhh, Visual Basic.net. So your program requires .net framework. Please update your post indicating that requirement. As soon as i have some time (I'm in the office now) I'll do a quick review. |
| 02-12-2007, 01:05 PM | #11 |
Omg I can't belive I forgot to include that thanks alot. |
| 02-13-2007, 06:13 PM | #12 | |
WEll, I managed to get a PC with .NET framework. I tested the program using advanced settings with this data: And this is the JASS code generated with this data:
First of all, the code has errors, mainly a missing then in the Death_regions_Conditions function. The other issue is with the players, I chose player 1, 6 and 11, but the code checks player 1 (Player(0)) three times. There are more things to fix, but I'll do when I'll be at home. |
| 02-13-2007, 07:15 PM | #13 |
Man, it's obsolete since 1.18... just use Terrain type at point to check if unit deserves to die :P |
| 02-14-2007, 04:59 PM | #15 |
Thanks moyack for telling me about the errors, the player code i copied and pasted from player 1 and forgot to change the player numbers. I've fixed al the things you said and re-uploaded it . |
