Little Fighter Empire - Forums
Where is the script? - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: AI Scripting (https://lf-empire.de/forum/forumdisplay.php?fid=56)
+--- Thread: Where is the script? (/showthread.php?tid=9041)



Where is the script? - fr33xgames - 12-10-2013

I am really slow :p but i am confused.
When i run the ddrawrelease, where is the script created to? I have a file made in LF2 (lf2/ai) but nothing is being created when i run lf2.exe.
I get how the ddrawdebug works but i am confused what to do for the release. Do i have to create a blank script first or something?


RE: Where is the script? - Silverthorn - 12-10-2013

Hello, and welcome to LFE!

The DLL just tells the game to look for AI-scripts in the "ai/"-folder. If there are any, they'll be used. If not, there is nothing to be read and the game acts as normal as ever.

You might want to try some custom AIs, i.e. this one or this. The filename dictates which ID (refer to data.txt which has lines such as "id: 52 blablabla julian.dat") should have that AI.


edit: @Someone else: :ninjad: ALL THE WAY!


RE: Where is the script? - Som1Lse - 12-10-2013

You write the scripts yourself. The dll doesn't write any new files. It only reads the ones you've written.

The release version is essentially the same as the debug version. It is however optimized for actual play rather than debugging, so it doesn't have an output window nor does it reread scripts when they are modified.

Edit: Darn you BP. Ninja'd


RE: Where is the script? - fr33xgames - 12-10-2013

(12-10-2013, 06:47 PM)Blue Phoenix Wrote:  Hello, and welcome to LFE!

The DLL just tells the game to look for AI-scripts in the "ai/"-folder. If there are any, they'll be used. If not, there is nothing to be read and the game acts as normal as ever.

You might want to try some custom AIs, i.e. this one or this. The filename dictates which ID (refer to data.txt which has lines such as "id: 52 blablabla julian.dat") should have that AI.


edit: @Someone else: :ninjad: ALL THE WAY!
Hi! Thanks for the reply. However, is it possible to read one of the already completed AI from a character so i can use it as reference? For example, id 1(Deep)'s AI. If so, how? :]



RE: Where is the script? - YinYin - 12-10-2013

No.