Using Grimex to create channel based abilities

Builder Bob

Live free or don't
Reaction score
249
I'm having a bit of trouble getting the right result when creating these abilities.

Here's one line which creates the ability just fine, but one field keep giving unexpected results.
JASS:
//! external ObjectMerger w3a ANcl A200 anam "Lightning (E)" atp1 1 "Cast Lightning (|cffffcc00E|r)" aub1 1 "placeholder tip" ahky "E" acas 1 .25 Ncl1 1 0 Ncl3 1 1 Ncl4 1 0 Ncl5 1 0 Ncl6 1 "wispharvest" aart "ReplaceableTextures\CommandButtons\BTNChainLightning.blp" abpx 2 abpy 0 aani "" acat "" aeat "" atat "" aran 1 99999 alev 1 aher 0

I've isolated the field that doesn't give me what I want:
JASS:
Ncl3 1 1

This is the field that contains the following options:
Code:
Visible, Targeting Image, Physical Spell, Universal Spell, Unique Cast
I try to enable only visible and set it to 1, as the field displays when I check it with ctrl+D. When Grimex is done creating the abilities I always get 49, which isn't even a valid entry for this field.

Can anyone help me with this?
 

ReVolver

Mega Super Ultra Cool Member
Reaction score
609
Channel is a tricky spell to edit, I must use something else since boolean is not used there.
-------------------
Boolean example:

True = 1
False = 0
-------------------
Have use used

Ncl3 "Visible"

?

How did you get 49?
 

Builder Bob

Live free or don't
Reaction score
249
Code:
Ncl3 1 1
gives 49

Code:
Ncl3 1 0
gives 48


Naturally, I thought I'd do
Code:
Ncl3 1 -48
But this gives a very big negative number that doesn't make any sense at all.


have use used

Ncl3 "Visible"

?
I think I have tried
Code:
Ncl3 1 "Visible"
, but since I've tried so many different things I can't say for sure. It may be that I first tried
Code:
Ncl3 "Visible"
, which won't compile since the ability can have multiple levels.


I'll have to try more different options later tonight when I have some time.
 

ReVolver

Mega Super Ultra Cool Member
Reaction score
609
This has to be the weirdest spell to edit, I got random numbers just by using

Ncl3 1 1

I don't think you can work this around, unless PitzerMike comes for a visit.
 

Builder Bob

Live free or don't
Reaction score
249
Let's hope he does.

I'm creating 6 abilities per spell in my map which are all based on channel. I had hoped I wouldn't have to change this option for every ability, every time I modify the spells.
 

Builder Bob

Live free or don't
Reaction score
249
Sorry for double posting, but I figured out something new that might help you help me.

First, When writing
Code:
Ncl3 1 1
I say I get 49. By this I mean the number that shows in the field when I use ctrl+d to get the raw data without the check boxes for that field.

Now, what I've found out is that the results I get always correspond with numbers from the ascii table.
  • Ncl3 1 1 => 49
  • Ncl3 1 1 => 48
  • Ncl3 1 "" => 0
  • Ncl3 1 " " => 32
  • Ncl3 1 "a" => 97
  • and so on...
What I need to do to get the result 1 is then to somehow input SOH (start of heading) from the ascii table. Yeah, I also look at this as an impossibility.

Anyone have any ideas?
 

saw792

Is known to say things. That is all.
Reaction score
280
May I ask what happens when you input more than one character? I'm guessing the ASCII values are added together.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top