[Plugin] FCNPC - Fully Controllable NPC (Russian Thread)
#52

FCNPC v1.7.0

О версии
- Отключен поиск Z координаты через MapAndreas для позиций ниже 0.0
- #36: Добавлена FCNPC_ToggleMapAndreasUsage и FCNPC_IsMapAndreasUsed
- #39: Добавлена функция FCNPC_GetDestinationPoint
- Добавлена функция FCNPC_AddPointsToPath2
- #35: Добавлен параметр Float:dist_offset в функции GoTo[Player]
- #56: Добавлена автовызываемая функция FCNPC_OnChangeHeightPos (отключена по умолчанию, для включения используйте FCNPC_SetMinHeightPosCall)
- samples/bg: NPC теперь имеют бесконечные патроны

Исправления
- Исправлены аргументы npcid и damagedid в автовызываемой функции FCNPC_OnGiveDamage
- #40: Исправлена оружие причины смерти при drive by
- Исправлена система сообщения об ошибках инициализации
- #45: Исправлены перехваченные функции stream
- Исправлена настройка типа движения
- #59: Установка угла после респавна
- #48: Исправлена конечная позиция после передвижения
- samples/missions: вызов FreeCamera после EndMission
- samples/bg: Исправлено кручение NPC при следовании
- samples/bg: Прекращение следования при посадке в транспорт

Новые и изменённые функции
PHP Code:
native FCNPC_GoTo(npcidFloat:xFloat:yFloat:ztype MOVE_TYPE_AUTOFloat:speed MOVE_SPEED_AUTObool:UseMapAndreas falseFloat:radius 0.0bool:setangle trueFloat:dist_offset 0.0);
native FCNPC_GoToPlayer(npcidplayeridtype MOVE_TYPE_AUTOFloat:speed MOVE_SPEED_AUTObool:UseMapAndreas falseFloat:radius 0.0bool:setangle trueFloat:dist_offset 0.0Float:dist_check 1.5);
native FCNPC_GoByMovePath(npcidpathidtype MOVE_TYPE_AUTOFloat:speed MOVE_SPEED_AUTObool:UseMapAndreas falseFloat:radius 0.0bool:setangle trueFloat:dist_offset 0.0);
native FCNPC_GetDestinationPoint(npcid, &Float:x, &Float:y, &Float:z);
native FCNPC_AddPointsToPath2(pathidFloat:points_x[], Float:points_y[], Float:points_z[], const size sizeof(points_x));
native FCNPC_ToggleMapAndreasUsage(npcidbool:enabled);
native FCNPC_IsMapAndreasUsed(npcid);
native FCNPC_SetMinHeightPosCall(npcidFloat:height);
native Float:FCNPC_GetMinHeightPosCall(npcid); 
Новые и изменённые автовызываемые функции
PHP Code:
forward FCNPC_OnGiveDamage(npciddamagedidweaponidbodypartFloat:health_loss);
forward FCNPC_OnChangeHeightPos(npcidFloat:new_zFloat:old_z); // disabled by default, see FCNPC_SetMinHeightPosCall 
Скачать
- Скачать с GitHub: https://github.com/ziggi/FCNPC/releases
Reply


Messages In This Thread
FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 16.03.2016, 12:17
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Stuntff - 16.03.2016, 13:01
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Romz - 16.03.2016, 13:15
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Untonyst - 16.03.2016, 13:23
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Bombo - 21.06.2016, 17:02
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Romz - 21.06.2016, 17:19
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 21.06.2016, 20:56
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Bombo - 22.06.2016, 22:13
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 22.06.2016, 23:32
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Bombo - 23.06.2016, 04:00
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 10.07.2016, 09:42
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 12.07.2016, 22:59
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Bombo - 12.07.2016, 23:16
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Romz - 13.07.2016, 01:01
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 13.07.2016, 09:37
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Romz - 13.07.2016, 14:36
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OmegaKiller72 - 20.07.2016, 12:00
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 20.07.2016, 14:38
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OmegaKiller72 - 20.07.2016, 16:15
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 20.07.2016, 20:01
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OmegaKiller72 - 22.07.2016, 11:47
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 27.07.2016, 17:58
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OKStyle - 27.07.2016, 20:37
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 27.07.2016, 21:37
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Imperealist - 29.07.2016, 12:11
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 29.07.2016, 13:41
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Imperealist - 01.08.2016, 00:50
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 01.08.2016, 16:13
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Imperealist - 01.08.2016, 23:36
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 03.08.2016, 07:04
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Bombo - 04.08.2016, 12:05
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 04.08.2016, 12:36
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 09.08.2016, 05:13
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Art4D - 20.08.2016, 04:09
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OKStyle - 20.08.2016, 08:40
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 20.08.2016, 15:20
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 26.08.2016, 15:42
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OKStyle - 28.08.2016, 12:57
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 28.08.2016, 14:48
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 28.08.2016, 17:24
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OKStyle - 29.08.2016, 15:26
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 29.08.2016, 21:50
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OKStyle - 30.08.2016, 14:49
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 02.09.2016, 06:35
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 18.01.2017, 13:05
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by DANGER1979 - 19.01.2017, 12:14
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by DANGER1979 - 20.01.2017, 11:52
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 22.01.2017, 09:34
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 26.03.2017, 14:51
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by DANGER1979 - 27.03.2017, 07:40
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 02.04.2017, 11:31
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 02.04.2017, 11:41
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 16.04.2017, 15:08
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Kolstin - 16.04.2017, 17:56
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 16.04.2017, 18:21
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 01.05.2017, 06:23
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 14.06.2017, 14:06
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 25.10.2017, 10:15
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Bombo - 25.10.2017, 15:56
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Romz - 19.11.2017, 19:08
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 20.11.2017, 14:50
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by OKStyle - 20.11.2017, 15:29
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Romz - 21.11.2017, 01:09
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 21.11.2017, 03:27
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 05.01.2018, 13:28
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by MrStead - 21.01.2018, 10:52
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 22.01.2018, 05:07
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by MrStead - 25.01.2018, 14:46
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 25.01.2018, 15:46
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 27.01.2018, 13:38
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 27.01.2018, 21:05
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Jasno - 29.01.2018, 09:01
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 29.01.2018, 09:20
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Jasno - 29.01.2018, 09:23
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 29.01.2018, 10:06
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 29.01.2018, 17:27
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 29.01.2018, 19:06
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 29.01.2018, 19:10
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 29.01.2018, 19:12
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 29.01.2018, 19:14
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 29.01.2018, 19:20
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 29.01.2018, 19:22
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 29.01.2018, 19:22
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 29.01.2018, 19:25
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 29.01.2018, 19:26
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 29.01.2018, 19:27
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 30.01.2018, 16:14
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by eakwarp - 31.01.2018, 11:36
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by MrStead - 02.02.2018, 14:40
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by MrStead - 03.02.2018, 05:41
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by MrStead - 06.02.2018, 14:07
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by Anomis - 20.06.2018, 09:35
Re: FCNPC - Fully Controllable NPC (Russian Thread) - by ZiGGi - 20.06.2018, 19:57

Forum Jump:


Users browsing this thread: 1 Guest(s)