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

preview_player
Показать описание
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.

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