Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plugins for LF2 (including one for platforms)
#1
Well plugins may be a little too big of a word for it...

It is simply a modified version of the ddraw.dll AI wrapper, which instead of adding scriptable AI loads DLLs from a directory.
The directory names are "dlls" for the release version, and "dllsd" for the debug version.

Link: https://www.mediafire.com/folder/1be5x96...rawPlugins

Now obviously a lot of people aren't going to like not being able to use the scriptable AI so I recreated it: https://www.mediafire.com/folder/ct4voon...F2AIPlugin
And as an extra little bonus I'll throw in my very buggy platform code: https://www.mediafire.com/folder/v3r36t3...tr14Plugin

I suppose you all know how the AI scripting works, so no need to go into more detail there, but for the platforming to work, you need to create a file named "itr14.dll" in the same directory as LF2, and then add scripting to handle the platforming and stuff. It is the same language and the same API as the AI scripting, so I think you'll figure it out; here is the script I've used so far. It is very buggy and contains a lot of debugging code:
WARNING: Hurts if you are a programmer! (Click to View)
All of the previous links include the full source as well as CodeBlocks project file, but there are a few things to note:
  1. The code has been modified so it now compiles using MinGW (GCC).
  2. The code now no longer uses Microsoft Detours for hooks, but instead uses MHook (which does basically the same thing). You can get MHook here: http://codefromthe70s.org/mhook23.aspx
Age ratings for movies and games (and similar) have never been a good idea.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.
Reply
Thanks given by: A-Man , YinYin , MangaD , STM1993 , AmadisLFE , darkfiren
#2
Woho! I was just reading about your platform implementation, and I was wondering when you're going to release it. This looks really neat. I see you had to reprogram almost all the logic of itrs and bdys. That's too powerful I got to say! Hopefully, we're going to see some really cool implementations with this.
Keep this up!

Edit: Sorry for such a useless post. I suggest you add a study example along with the dll for lazy people to test.
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)