Command (move, stop, etc.) rawcodes

Lightstalker

New Member
Reaction score
55
How did anyone find out that the rawcode for attack is 'Aatk' and 'Amov' for move?

I need to know so I can find out the rawcodes for Stop and Patrol.
 

Tom Jones

N/A
Reaction score
437
*Edit*
Oh, I totally misunderstood. There is an .txt file in the .mpq called common commands or something similar, we found it in there.
 

Rainther

I guess I should write something of value here...
Reaction score
61
I'm afraid they doesn't exist. If you wish to simply remove the Stop and Patrol button it's much hardier then you think. The abilities are linked together with 'Amov'. There are some more or less solutions out there, but no easy and efficient what I know.

But if there is any easy solution out there, I'm more then happy to be corrected ;)
 

Lightstalker

New Member
Reaction score
55
Trigger:
  • Test A
    • Events
      • Unit - A unit Is issued an order targeting an object
      • Unit - A unit Is issued an order targeting a point
      • Unit - A unit Is issued an order with no target
    • Conditions
    • Actions
      • Custom script: call BJDebugMsg("\nOrder: "+OrderId2String(GetIssuedOrderId()))
      • Custom script: call BJDebugMsg("Order Id: "+I2S(GetIssuedOrderId()))


*Edit*
Oh, I totally misunderstood. There is an .txt file in the .mpq called common commands or something similar, we found it in there.

So your trigger will not give me the order string of stop/patrol? Where's the MPQ located? How can I find it?

@Rainther
Are you saying I can't just use "call RemoveUnitAbility(whichUnit, 'XXXX') to remove stop/patrol?
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
You need to download a MPQ editor and open the mpq files
 

Tom Jones

N/A
Reaction score
437
I'm a little dense today, I just realized that you asked about the rawcode and not how to change the abilities interface.

Get PowerMPQ and open it.
Go to the View menu and select Explorer Style.
Open war3x.mpq
In the tree list, select Units, find AbilityData.slk and open it (You'll need a spreadsheet program).
It can be found in there.
 

Rainther

I guess I should write something of value here...
Reaction score
61
MPQEditor works for me (got Vista sadly :thdown::p) Try as mentioned above and run the program as admin.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top