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



Hi!
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.

Thanks!



None.

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.



None.

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. :)



Trial and error... mostly error.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
Please log in to shout.


Members Online: Oh_Man, Roy