...This still up in discussion?
The simple answer is to remove the npcdata ai param 'Leader'
In the interest of promoting self learning and whatever to be able to mess with AI on ones own later on, the better process would be:
* Looking at npcdata entry, and seeing the ai class is 'deinonychus'
* Searching in ai.obj for that class.
* Decompiling that class (with one of aforementioned decompilers) and seeing that there's not much in there that has anything to do with Privates.
* Following then to the parent class 'warrior_universal'
* Decompiling 'warrior_universal' and finding the section
if( Leader == 1 )
{
myself::CreatePrivates( Privates );
myself.sm.weight_point = 10;
myself::AddTimerEx( 1007, 120 * 1000 );
}
as well as ofc the parameter at top
int Leader = 0;
* Figuring out that if Leader is set to 1 in either one of the child classes or in npcdata ai param, then it'll spawn stuff.
* Finding whereever it is that does that (npcdata ai param), removing it
* Winning many interwebs
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 07-21-2009, 02:19 PM. Открыть источник.