[FIX] FollowAI Binek

  • Konuyu açan Konuyu açan M29
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 0
  • Gösterim Gösterim 203

M29

MT Üye
MT Üye
Mesaj
316
Çözümler
7
Beğeni
182
Puan
749
Ticaret Puanı
0
Hello, guys.
There was something that was annoying some people, including me, which was that Binek wasn't tracking correctly with the player who owned the Binek. This was annoying. For example, a player would stand next to a guard in the middle of the city, then walk about 3 meters, then look at Binek. He wasn't next to him, he was very far away. Then the player needed to move further to begin to comprehend the Binek and go directly after him.

This isn't a problem, but rather a simple adjustment that you should make to suit your needs. You can modify this from the system file in the source code according to your needs. It's not a problem, as each person sets a different distance from the other. For example, I set it at 300. Previously, the existing distance that the system was built on was 1400. There's a huge difference. When I walk, I have to go very far for the Binek to begin to comprehend that I've left.

Open the MountSystem.cpp file and search for

Kod:
Genişlet Daralt Kopyala
bool CMountActor::_UpdateFollowAI()

Look inside for

Kod:
Genişlet Daralt Kopyala
float    START_FOLLOW_DISTANCE = 300.0f;

Modify the number 300 to the number you want. Some systems have 1400 written on them, but the best is 300. I had 1400 previously, but I modified it to 300, and this is the ideal number.

Screenshot_2.webp


Look, after the modification, the tracking has become more accurate.



Bye
 
Geri
Üst