[Solved] how to get to the ai files

Level 25
Joined
Mar 29, 2020
Messages
1,466
Hey there,

I've been reading up a little on the .wai files and I want to try messing around with them but haven't been able to figure out where to extract them. All the tutorials I saw take that part for granted . Like for standard melee AI the trigger only says - "Melee Game - Run melee AI scripts (for computer players)", and for campaigns for example - Game - Preload all files listed in Scripts/UndeadX04.pld. where are those script files and how can I open them up?

I'm kind of rusty, so sorry if I didn't follow posting protocol in some way...
thanks!
 
Level 30
Joined
Aug 29, 2012
Messages
1,382
You can use e.g. War3 Model Editor (or any software that allows MPQ/CASC browsing to extact them)

They'll be under the Scripts folder (at least back in MPQ times, not sure if that has changed much since)

1721741532338.png


You can open them with notepad, but I recommend JassCraft that makes them much more readable
 
thanks! finally got that going with a casc viewer tool (Casc Storages - Main page).

is jasscraft better than the available plugins for vscode?
IMO I would just use the vscode plug-ins. JassCraft is pretty old and iirc has some compatibility issues with later windows versions.
 
Level 34
Joined
May 14, 2021
Messages
1,598
thanks! finally got that going with a casc viewer tool (Casc Storages - Main page).

is jasscraft better than the available plugins for vscode?
JassCraft appears to be outdated today due to the compatibility issues with current Windows version, notably Windows 11. The same thing can be applied for older Warcraft III editing tools such as MPQ Master:

You can still use the alternative methods like VSCode with JASS/vJASS third party plugins if you still want to edit JASS thing.
 
do you guys have a suggestion for a good vscode plugin? the ones I found seem to all have chinese (or something that looks like chinese to my ignorant eyes) metadata...
there is one that is called "awesome vjass support" that is in english and works but it is a bit out of date (doesn't have the latest natives and doesn't have the common.ai natives).

I think the main one that supports the latest natives and common.ai natives is the chinese one. :9 It works well though, you just might be distracted by the random chinese descriptions for functions, lol.

Most of us use Lua for most scripts so I think there hasn't been as much support for JASS anymore.
 

Attachments

  • Screenshot 2024-07-25 015510.png
    Screenshot 2024-07-25 015510.png
    159.1 KB · Views: 9
Level 28
Joined
Dec 3, 2020
Messages
968
there is one that is called "awesome vjass support" that is in english and works but it is a bit out of date (doesn't have the latest natives and doesn't have the common.ai natives).

I think the main one that supports the latest natives and common.ai natives is the chinese one. :9 It works well though, you just might be distracted by the random chinese descriptions for functions, lol.

Most of us use Lua for most scripts so I think there hasn't been as much support for JASS anymore.
"Most of us use Lua"

Certainly not me.
1721931968217.png
 
Top