Terotrificy
Veteran OT User
Hi, i was wondering how/where can i edit the monster's sight? At the momment, the monster's sight is of 12 sqm, i want to make it work to 10 sqm (for example, to be able to wait black knight respawn, or giant spider respawn in bloodherb.
I thought it was this part of creature.ccp:
I tried modifying the fpp.maxSearchDist to 10, but nothing changed at all.
Also, i don't know if changing the creature's sight it will be able to respawn when player is at 10 sqm of distance or if i have to modify something else too.
I'm using OThire 1.0.
I thought it was this part of creature.ccp:
C++:
void Creature::getPathSearchParams(const Creature* creature, FindPathParams& fpp) const
{
fpp.fullPathSearch = !hasFollowPath;
fpp.clearSight = true;
fpp.maxSearchDist = 12;
fpp.minTargetDist = 1;
fpp.maxTargetDist = 1;
}
I tried modifying the fpp.maxSearchDist to 10, but nothing changed at all.
Also, i don't know if changing the creature's sight it will be able to respawn when player is at 10 sqm of distance or if i have to modify something else too.
I'm using OThire 1.0.