| 09-25-2007, 11:18 AM | #1 |
huuuum? |
| 09-25-2007, 11:46 AM | #2 |
BonusMod by weadar(don't know how many e's or a's there are :p) You can find it at www.wc3jass.com and an optimized version of it by Vex is included in the InvX 2.0 demomap. |
| 09-25-2007, 12:16 PM | #3 | |
I found this in InvX 2.0 Quote:
How can this be done? I never managed to open 2 world editors at the same time. EDIT: JASS:
call UnitAddAbility( who, x )
call UnitMakeAbilityPermanent(who, true, x )
What is this make permanent function used for? Do abilities added with UnitAddAbility get removed after some time if you don't use this? |
| 09-25-2007, 12:26 PM | #4 | |
UnitMakeAbilityPermanent just makes sure that unit never loses that ability if it uses a morphing spell like Chaos or Bear & Crow Form. Quote:
You can't. But you can open Campaign Editor, copy the abilities to the campaign editor, close the map and just CnP the abilities from Campaign Editor to your map. |
| 09-25-2007, 12:31 PM | #5 |
Uuuuu campaign editor nice. Thank you for info ++ |
| 09-25-2007, 12:49 PM | #6 |
Actualy, you can have two maps open at the same time, just open one, then the other, then use the window menu to switch between them. |
| 09-25-2007, 01:28 PM | #7 |
Omg I can't believe it. It was there all the time. |
| 09-25-2007, 01:45 PM | #8 |
It is easier to implement bonusmod by creating the abilities yourself, really. |
| 09-25-2007, 01:58 PM | #9 |
If you though I was going to use that gigantic monster from outer dimensions you call InvX you are overestimating my courage.... I would give InvX a title "most unreasonably complex and hard to implement system of all times" You know what they say, it does not matter in what category you compete, what matters is that you win EDIT: InvX is a map worth looking because it has some nice facts from wc3 modding history I will make abilities myself ofc.. About the double-rightclick thing: it turns out that you cannot actually detect a double-rightclick on an item. what happens when you right click an item in inventory twice is this: First right-clicks selects item for you: from there you can drop it on the ground or in any of inventory slots. When you drop it in a slot hero gets an orderID's from 852002 to 852007 for slots from 1 to 6 -- real nice So a double-clicking is actually returning the item to same slot you picked it from. Too bad I cannot detect a first right-click only the second one. If I could I would make it that only fast-rightclicks swap item. |
| 09-25-2007, 02:38 PM | #10 |
It would be even easier if bonusmod was updated to use PitzerMike's ObjectMerger. |
| 09-25-2007, 02:47 PM | #11 |
And bonusmod is InvX because? I meant that if you want to implement bonusmod it is way easier to create the abilities (bonuses) manually than to paste so many of them, at least it takes less time. |
| 09-25-2007, 04:22 PM | #12 |
I assumed you were talking about InvX (because I was reading InvX documentation at that time probably) -- human brain gamecache is also bugged :D Anyways I have a small dilemma here, It is about double right-click behavior (DRC from now on) So DRC puts item in second inventory (backpack). What if backpack is full, will it refuse to store it? or swap item with one in the same slot? Should DRC maybe always swap 2 items on the same slots? EDIT: When tried in game swap per slot option turned to be the most powerfull one. |
