How to - Use the Object Merger

Well then you didn't require the tutorial.

Tutorials exist for the less, erm, knowledgable.
 
WoW this is a really good feature.
Btw really good tutorial:thup: Now i can amke more than just 50 items at my map:)
 
Ah I was trying to make an item with 2 abilities but there wasnt any samples. I was almost going to ask here about it, until I found the solution in my 5th (or so) try.

JASS:
iabi "AIs1,AId1"


JASS:
//! textmacro MakeHolyShield takes ID, LEVEL, STR, ARMOR
  //! external ObjectMerger w3a AIs1 AS$STR$ Istr 1 $STR$ anam "Item STR Bonus" ansf "($STR$)"
  //! external ObjectMerger w3a AId1 AA$ARMOR$ Idef 1 $ARMOR$ anam "Item DEF Bonus" ansf "($ARMOR$)"
  //! external ObjectMerger w3t cnob IC$ID$ iabi "AS$STR$,AA$ARMOR$" unam "Holy Shield +$LEVEL$" iico "ReplaceableTextures\CommandButtons\BTNHumanArmorUpThree.blp" ides "The crusader protects his allies and himself with his Holy Shield.|n|n+$STR$ STR and +$ARMOR$ Armor." idro 0
//! endtextmacro
 
I forgot to mention that, didn't I?

I shall remedy it!
 
Hint: To do channel abilities:
JASS:
//! i makechange(current,"Ncl3",1,"\001")

That's for setting the options to visible. I found that using "0" put in the value "49". I was puzzled for a while, until I realised it was ascii. "\xxx" is an escape sequence in LUA for a 3 digit number to be converted to a char, treating xxx as an ascii code. Take the options you want checked, convert to binary, include "\num" and off you go. :)
 
Update (could it be?!). Added some stuff about \xxx and Lua usage. If there are any errors, pleax report them.
 
got a possibly silly question for you about the objectmerger...i figure i can test it myself, but i'm kindof in the middle of learning methods and structs and it's a question that can wait until later, or until someone answers it for me. when you do the //! and all the code that comes after //!... at some point you're typing in the rawcodes for the objects, right? well...what i want to know is... can you use variables for that? that way you can make a hero with a bunch of spells and make him have uber awesome JESP with the objectmerger...

i think it's a valid question because usually you have to type 'AIDS' (as an example) for the rawcode...but with the objectmerger example mentioned it's AIDS instead. without the ''. now usually you would use a constant integer abilityID = 'AIDS' and then you got the integer. but if we want to use the variable for objectmerger, won't the integer variable fail?

does that mean we use a string integer? will such a thing work?
edit: yeah, i don't think my idea works. haha. it sounds like we have to have objectmerger lines be without easily editable constant variables for the moment. at least i guess we have our inline comments to fall back on...
haha i know i said i didn't want to test it, then i realized i might as well...
hmm...i guess it's ALL code and no strings or integers...so you wouldn't be able to use a variable. but that's odd, because you can normally use variables in code, right? i mean for names of things. is there no work-around that i'm unaware of?
 
You can't use Jass variables. Not even constants. You need to use an lua variable.
 
i keep getting the error "warcraft mpqs cannot be opened" it was working ok on my other comp, i thought...
 
Just a little tip, when working with Channel, the Data - Options field, you have to use integers. These are all of the combinations:

0-Unique Cast
1-Visible, Unique Cast
2-Targeting Image, Unique Cast
3-Visible, Targeting Image, Unique Cast
4-Physical Spell, Unique Cast
5-Visible, Physical Spell, Unique Cast
6-Targeting Image, Physical Spell, Unique Cast
7-Visible, Targeting Image, Physical Spell, Unique Cast
8-Universal Spell
9-Visible, Universal Spell, Unique Cast0-Unique Cast

10-19 are the same as 1, 20-29 are the same as 2, etc.

I have only tested through 39. I don't know what happens after 99, but I imagine 100 is 1, 200 is 2, 300 is 3, etc.
 
Gah, the whole thing won't work for me. I even tried stuff such as :

JASS:
library myLib
    //! external ObjectMerger w3u ewsp e000
endlibrary


Saved ; no compilation errors. Closed the map, reopened, no new unit in the object editor. Even tried re-opening WE, same result. Tried placing it inside or outside a function, scope, library...
 
Try changing the rawcode to something that isn't e###. Like, try 'SMTH'.
 
is there any "delete ability" command?

when I attempt to delete abilities in my map, I got this crash:

deleteabilitycrash.jpg


:banghead:
if there isn't any, anyone has another solution for me?
 
that's what I try to ask... because I got the crash when I physically press Delete button to delete ability, lol
 
Well that's certainly strange. I never had that problem so I'm rather incapable of reproducing it. Can you delete a manually created ability?
 
yes, I can. (for now)

now I think about it, those abilities that cause the crash when deleted are created by the Object Merger (well, most of them)
most of my abilities are created by the Object Merger, I use it to merge ability data that my partner created.

here is my object abilities: http://www.mediafire.com/download.php?b7qffyjmkuj5hhp
import it to a new map and try delete some.

(if you don't encounter the crash, please delete abilities of Human and Neutral Hostile for me)
 
I can't seem to import the data into my map. It reports everything as a success, but... no custom abilities show up.

Maybe you could just attach the map?
 
General chit-chat
Help Users
  • Varine Varine:
    And since almost all of my programming experience is with defunct shit now, I figure my best place is helping preserve legacy stuff. Which I don't know how to do necessarily, but I need some kind of a hobby and figuring out how older things worked is the only shit that really interests me. Well soldering and restoration is fun too, but no one is bringing me new stuff to fix and restore, so it's mostly old shit, and I LOVE OG Xbox so much. I want to make sure it can function as long as possible, until someone can effectively emulate it at least. I have like 15 I was going to fix over the winter and didn't get to.
    +1
  • Varine Varine:
    I also have a couple OG gameboys, but idk if I can do that without like, manufacturing new parts that no one makes anymore and I can't do that right now
  • tom_mai78101 tom_mai78101:
    Currently in the middle of getting the probate process going. We're doing the informal probate process.
    +3
  • Varine Varine:
    A probate is usually done with a will, yes? If so I am sorry for your loss
    +1
  • The Helper The Helper:
    Yeah Tom, me too sorry for your loss buddy my mom told me she finds out her olds friend died from Google searching them. She had not talked to one of her old friends in a year and found out she died from Google. Also another one in the same session. RIP all of them my sincere condolences Tom
    +1
  • Varine Varine:
    We have some elderly guests that regularly come hang out at the bar at the end of the night, and every once in a while we don't see someone for a few weeks and then someone shows up with their obituary.
  • Varine Varine:
    We usually let them do their memorials there in the morning if they want to and I'll make them some snacks and drinks. There was one guy named Tom that came in like every night and would sit by himself and get a bunch of soup and a glass of wine. idk why but he LOVED our fucking soup, like he would order a fucking quart of it at a time and would always get so sad when we stop doing it for the summer.
    +1
  • Varine Varine:
    But he also loved our calamari, which is another thing I hate but it sells super well so I can't change it. There was one day he came in and was asking me how to make it, because he tried to at home once in the off season when we stop running it and he really wanted it lol
  • Varine Varine:
    I think he's one of the only people I've made recipes for for free because he really wanted a broccoli cheddar, and it was like dude I don't have a recipe, it's just whatever I have, but here, this is how you do it
  • Varine Varine:
    I don't think he ever figured out how to do the calamari in a pan though, like idk how to do that either. He was afraid of the at home deep fryers though and it's like yeah, that's fair, I am too
  • Varine Varine:
    He was just such a sweet old man, we had two servers pregnant and they held a baby shower together, he was soooooo fucking excited to get to see a baby. Unfortunately he died a month or so before they were born
  • The Helper The Helper:
    So I decided to Google some people that I had not seen or heard from in a while and sure enough one of my old best friends, we had a falling out years ago but whatever, find out he died of Pancreatic Cancer in January. I have also lost a few of my closer acquaintances from growing up the last year. Getting old - people die - I kinda thought it was going to be this way a few years ago....
    +2
  • The Helper The Helper:
    Forum running super slow again
  • Ghan Ghan:
    Not really clear from the stats as to what is causing the slowness.
  • Ghan Ghan:
    We get a lot of guest traffic so it may just be the load is getting too high and not from any particular source.
  • Ghan Ghan:
    Looks like the server is maxed out on CPU.
  • Ghan Ghan:
    Oh it looks like a lot of the traffic is Silkroad Forums. That domain isn't protected by Cloudflare.
  • Ghan Ghan:
    But the old Silkroad site is still on its own server. I just had a test site set up on this server for it.
  • Ghan Ghan:
    I just disabled that test site. Let's see if that helps the load.
  • Ghan Ghan:
    Looks much better already.
  • The Helper The Helper:
    I had actually forgot about the Silkroad site. I had asked
  • The Helper The Helper:
    SD Ryoko about it and he said the couple of people left on there really like it, that was a few years ago, maybe I should check back
  • jonas jonas:
    I guess when you're getting old, and the last day of soup season draws near, you start wondering
  • jonas jonas:
    will I make it to the start of the next season? or was this the last time I'll ever have my favorite dish?
  • The Helper The Helper:
    I am doing my first Vibe Coding project. In installed the environment and tools according to instructions but it is all chat doing this for me at my direction. It is fun really and holy shit I might finish in 2 hours what it would have taken a day to in my Access and this would be an electron app complete new

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials
      Top