Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: PyAI vs SCAIEdit (I,II or III)
PyAI vs SCAIEdit (I,II or III)
Jan 31 2021, 3:38 pm
By: Fruitdispenser  

Jan 31 2021, 3:38 pm Fruitdispenser Post #1

I've been using PyAI since a few weeks ago and I've found that it is a really cool tool, and I've seen people saying it's better than SCAIEdit. However, it seems that more people use SCAIEdit than PyAI, or maybe is a wrong perception I have. I don't know, but I do seem to have found more documentation on SCAIEdit than on PyAI.

So, what tool would you recommend? Would you recommend I stay with PyAI or to move to SCAIEdit?
My intention is only modifying campaign scripts, to rewrite them. I've already made a Zerg player train hunter killers and Protoss player train hero Dark Templar instead of unit Dark Templar.



Jan 31 2021, 3:51 pm Nekron Post #2

I would never touch SCAIEdit with a stick: all versions corrupt scripts and can't properly parse some of the AI commands. For example, try writing prep_down in a script in SCAIE3: at the moment you use it, it will randomly jump to a different part of another script in ai.bin, sometimes crashing the game in the process D: Also, another example - it doesn't support outside calls; Open the BW script Zerg 3 - Town A in both to compare.
PyAI (especially neiv's branch) is way more stable, has some active support every now and then, and the best thing - you can still use the simple ASC3 syntax while using it, there's a conversion button in the editor.

I would think that if someone uses SCAIE3, it's because they either don't know PyAI exists, are too lazy to install python, or don't know about the aforementioned feature. But if you want to write even simple AIs you really should use PyAI, you have no control over what you compile if you use SCAIE.

Jan 31 2021, 4:39 pm Fruitdispenser Post #3

Quote from Nekron
are too lazy to install python
Because I already had python 3.4, I had compatibility issues. Instead of trying to use 2to3 (which didn't woirk) or making python2 run alongside python3, I found it was faster to create a virtual Windows XP machine with Oracle and install Python 2.7 there (not VMWare, because I never got to make copy-and-paste guest to host and viceversa to work), because XP it's lightweight enough to not make my PC crash and modern enough to run Python 2.7.9 (not more than that, but is enough for most purposes).

I say this for everyone who wants to install PyAI.


Feb 1 2021, 10:25 am IlyaSnopchenko Post #4

The Curious

I wouldn't return to SCAIEdit either (though I've used versions 2 - does anyone still remember that one? - and 3, way back in the early 00s). For one thing, there did seem to be issues with corruption, even though my scripts were far from imaginative. I don't mind the PYAI syntax either; in fact, I prefer it to ASC3. So in a sense, I started fresh this time around, went with PYAI and never looked back. The old scripts I've made 15+ years back aren't much so even I need them again I'll just decompile them from the remaining .BIN files from the old campaigns (so I might as well just delete all the ASC3 copies I have).

One last thing, I'm so hooked on AISE that I can't imagine going back to a writer/compiler that does not support the extended commands anyway. :)

Who am I, and why should I care?

  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:29 am]
Zycorax -- :wob:
[04:55 am]
MTiger156 -- :wob: Wob o'clock
[04:23 am]
jjf28 -- :wob::wob:::wob::wob:
[07:14 pm]
NudeRaider -- :wob: :wob: :wob:, :wob: around the clock!
[07:13 pm]
MTiger156 -- :wob:
[04:09 pm]
UndeadStar -- :wob:
[2021-10-16. : 4:42 am]
Ultraviolet -- :wob:
[2021-10-16. : 4:08 am]
O)FaRTy1billion[MM] -- :wob:
[2021-10-15. : 9:06 pm]
Zycorax -- :wob:
[2021-10-15. : 8:58 pm]
jjf28 -- :wob:
Please log in to shout.

Members Online: Wing Zero, jun3hong, Roy