Coding a PID in Lua | Advanced Tutorial | From The Depths

Описание к видео Coding a PID in Lua | Advanced Tutorial | From The Depths

Assuming you know a little about coding already, this video will show you how to create a PID in Lua. This can reduce the number of controllers and PID boxes needed on any vehicle into a single Lua box. I don't go over anything that you need other than the PID, so you won't learn how to automatically calculate indexes, looping through all spinners, movement AI, etc. in this tutorial.

Keep in mind that every time a spinner is destroyed/removed/added, the indexes may change. That means hard-coding indexes, like in this tutorial, will make it impractical for combat. You'll need to see the next tutorial to make it combat effective.

Code from the video: https://pastebin.com/64XszEGV

I will have another tutorial later that explains Lua coding in general for those of you who are very new to this.

Комментарии

Информация по комментариям в разработке