Game IDs

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

BizarroSuperman
Newcomer
Posts: 3
Joined: November 10th, 2008, 5:59 am

Game IDs

Post by BizarroSuperman »

Is it possible to get spell IDs in custom games? I know there's IDs for the regular spells but what about stuff like loap, dota, etc? Is it possible to figure them out?

Also how do I figure out the item IDs? With JJ's cheat pack it says it'll tell you the item ID of the item in the first slot. When I try type in -itemid it gives me a random code. Then when I type in -additem it gives me random items instead of the ones I want.
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Game IDs

Post by Senethior459 »

-additem XX spawns XX amount of random items at the selected spot, not a specific one.

When you type -itemid, it gives you the rawcode of the item in your first slot, the top left one. Then, you select a unit at the place you want to spawn the item at, and type "-spawn XXXX", replacing XXXX with the rawcode you got.

There isn't a command for finding out the spell rawcodes. One way to do it is to extract the file called war3map.w3a from the map, and then open the WE. Open the Object Editor, and switch to the Abilities tab. Click File, and find the Import Custom Ability File... thing. Click it, and find the war3map.w3a file you extracted. Import it, and then press Ctrl+D. It will show the rawcode for each spell/ability next to the name, in parentheses.

Or, an easier way, get RMPQEx. Then, open the map. At the bottom, there's a button labeled Dump object data... and check the box next to Ability Data, and click OK. It will make a file with all the information on your desktop. The rawcode for each item will be above it, in [brackets].
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
BizarroSuperman
Newcomer
Posts: 3
Joined: November 10th, 2008, 5:59 am

Re: Game IDs

Post by BizarroSuperman »

Thank you very much! The exact answer I was looking for.