Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Editor and tools
08-05-2016, 03:25 PM
Post: #45
RE: Editor and tools
(08-05-2016 01:00 PM)ComradeReptiloid Wrote:  
(08-05-2016 06:34 AM)allrounder18 Wrote:  Did you assign these anchors as ai job for npc ?
If you talk about AI_JOB_SCRIPT, then yes. I pick Level08.zamok.lua in script and Level.OnBodyClinic() in custom string 1 for TestNPC#1. And checked movebody for him.
For second one i used AI_JOB_IDLE and movebody checked. Thrid npc was test subject for kill. All 3 was placed near manhole, where this 3 Anchors placed. After killing third npc other two (with movebody checked) just checked his body and move on. They procced to normal activity after calm down time passed.
I dont think that you need assign anchors to npcs, because script auto-find them from Level.BodyAnchorsList

local onOk = AI.TestConfigFlag(npc, "move_body");
if onOk != true then
return;
end
Checking movebody flag on npc

for i in Level.BodyAnchorsList do
local anchor = AI.FindAnchor( Level.BodyAnchorsList[i] );
Picking anchor from List, defined before.


I dont understand one thing. Where i need to define Level.BodyAnchorsList. On Omerta level it was under function Level.OnInitialize(). On GhostofthePast it was under function Level.OnFinishLoad(). I tried puting it in function Level.OnInitialize() - dont work out either. It pissing me off realy hard.
BTW, i cant find any npc on Omerta with movebody option checked and in Jobs.shadvs nothing on it too. And Anchors 118, 119 (bodyclinic anchors) dont attached too anyone.

Edit: Dont work on mission 6 too... I remember this script working on v1.0 Wont work even after checking movebody on.

Hmm so what custom string do? so far I have only able to understand AI Job script can some one elaborate how to select npcs for multiple interaction animation in detail?
Also I Alexey should definitely release a blank template map with terrian so that we can create a level from scratch.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Editor and tools - Alexey - 07-30-2016, 03:43 PM
RE: Editor and tools - Liz Shaw - 07-30-2016, 07:43 PM
RE: Editor and tools - adolf - 07-30-2016, 09:36 PM
RE: Editor and tools - Liz Shaw - 07-31-2016, 11:14 AM
RE: Editor and tools - Alexey - 07-31-2016, 01:27 PM
RE: Editor and tools - Liz Shaw - 07-31-2016, 02:03 PM
RE: Editor and tools - Alexey - 07-31-2016, 02:26 PM
RE: Editor and tools - Liz Shaw - 07-31-2016, 03:32 PM
RE: Editor and tools - Alexey - 07-31-2016, 10:37 PM
RE: Editor and tools - ComradeReptiloid - 08-01-2016, 01:13 AM
RE: Editor and tools - Liz Shaw - 08-01-2016, 07:50 AM
RE: Editor and tools - ComradeReptiloid - 08-01-2016, 12:32 PM
RE: Editor and tools - Alexey - 08-01-2016, 01:27 PM
RE: Editor and tools - Alexey - 08-01-2016, 01:29 PM
RE: Editor and tools - Liz Shaw - 08-01-2016, 02:41 PM
RE: Editor and tools - armitom - 08-01-2016, 04:43 PM
RE: Editor and tools - Alexey - 08-03-2016, 03:57 PM
RE: Editor and tools - Liz Shaw - 08-03-2016, 05:21 PM
RE: Editor and tools - Hiei- - 08-03-2016, 10:13 PM
RE: Editor and tools - Hiei- - 08-04-2016, 02:49 AM
RE: Editor and tools - Hiei- - 08-04-2016, 02:40 PM
RE: Editor and tools - Liz Shaw - 08-04-2016, 06:39 AM
RE: Editor and tools - allrounder18 - 08-04-2016, 08:10 AM
RE: Editor and tools - ComradeReptiloid - 08-04-2016, 11:16 AM
RE: Editor and tools - Liz Shaw - 08-04-2016, 04:46 PM
RE: Editor and tools - allrounder18 - 08-04-2016, 06:41 PM
RE: Editor and tools - Hiei- - 08-04-2016, 07:43 PM
RE: Editor and tools - Liz Shaw - 08-04-2016, 07:49 PM
RE: Editor and tools - allrounder18 - 08-04-2016, 08:08 PM
RE: Editor and tools - Hiei- - 08-04-2016, 09:12 PM
RE: Editor and tools - allrounder18 - 08-04-2016, 09:47 PM
RE: Editor and tools - ComradeReptiloid - 08-06-2016, 04:06 PM
RE: Editor and tools - Liz Shaw - 08-06-2016, 04:21 PM
RE: Editor and tools - Alexey - 08-06-2016, 08:08 PM
RE: Editor and tools - allrounder18 - 08-06-2016, 05:20 PM
RE: Editor and tools - ComradeReptiloid - 08-07-2016, 12:01 AM
RE: Editor and tools - Alexey - 08-06-2016, 08:06 PM
RE: Editor and tools - Hiei- - 08-04-2016, 06:40 PM
RE: Editor and tools - Hiei- - 08-04-2016, 07:53 PM
RE: Editor and tools - Liz Shaw - 08-04-2016, 08:08 PM
RE: Editor and tools - Hiei- - 08-04-2016, 10:16 PM
RE: Editor and tools - Alexey - 08-06-2016, 08:12 PM
RE: Editor and tools - Hiei- - 08-04-2016, 11:34 PM
RE: Editor and tools - ComradeReptiloid - 08-05-2016, 12:27 AM
RE: Editor and tools - allrounder18 - 08-05-2016, 06:34 AM
RE: Editor and tools - ComradeReptiloid - 08-05-2016, 01:00 PM
RE: Editor and tools - allrounder18 - 08-05-2016 03:25 PM
RE: Editor and tools - Alexey - 08-06-2016, 08:21 PM
RE: Editor and tools - ComradeReptiloid - 08-06-2016, 10:18 PM
RE: Editor and tools - allrounder18 - 08-06-2016, 10:31 AM
RE: Editor and tools - allrounder18 - 08-06-2016, 02:03 PM
RE: Editor and tools - allrounder18 - 08-06-2016, 03:27 PM
RE: Editor and tools - Alexey - 08-06-2016, 08:32 PM
RE: Editor and tools - allrounder18 - 08-06-2016, 09:55 PM
RE: Editor and tools - Hiei- - 08-07-2016, 12:47 AM
RE: Editor and tools - allrounder18 - 08-07-2016, 03:49 AM
RE: Editor and tools - Liz Shaw - 08-07-2016, 07:25 AM
RE: Editor and tools - allrounder18 - 08-07-2016, 09:56 AM
RE: Editor and tools - ComradeReptiloid - 08-07-2016, 05:01 PM
RE: Editor and tools - allrounder18 - 08-07-2016, 10:56 AM
RE: Editor and tools - allrounder18 - 08-07-2016, 01:36 PM
RE: Editor and tools - Hiei- - 08-07-2016, 09:40 PM
RE: Editor and tools - ComradeReptiloid - 08-07-2016, 10:48 PM
RE: Editor and tools - Hiei- - 08-07-2016, 10:40 PM
RE: Editor and tools - Hiei- - 08-07-2016, 11:09 PM
RE: Editor and tools - ComradeReptiloid - 08-07-2016, 11:22 PM
RE: Editor and tools - allrounder18 - 08-08-2016, 12:28 AM
RE: Editor and tools - ComradeReptiloid - 08-08-2016, 12:35 AM
RE: Editor and tools - Hiei- - 08-07-2016, 11:50 PM
RE: Editor and tools - Hiei- - 08-08-2016, 12:41 AM
RE: Editor and tools - allrounder18 - 08-08-2016, 07:50 AM
RE: Editor and tools - allrounder18 - 08-08-2016, 01:37 PM
RE: Editor and tools - Liz Shaw - 08-08-2016, 01:52 PM
RE: Editor and tools - ComradeReptiloid - 08-08-2016, 02:01 PM
RE: Editor and tools - allrounder18 - 08-08-2016, 03:19 PM
RE: Editor and tools - allrounder18 - 08-08-2016, 04:42 PM
RE: Editor and tools - ComradeReptiloid - 08-08-2016, 06:27 PM
RE: Editor and tools - allrounder18 - 08-09-2016, 07:41 AM
RE: Editor and tools - Liz Shaw - 08-09-2016, 08:59 AM
RE: Editor and tools - Hiei- - 08-09-2016, 12:06 AM
RE: Editor and tools - allrounder18 - 08-09-2016, 09:33 AM
RE: Editor and tools - Liz Shaw - 08-09-2016, 10:28 AM
RE: Editor and tools - allrounder18 - 08-09-2016, 12:36 PM
RE: Editor and tools - allrounder18 - 08-09-2016, 03:08 PM
RE: Editor and tools - allrounder18 - 08-09-2016, 04:49 PM
RE: Editor and tools - ComradeReptiloid - 08-09-2016, 05:37 PM
RE: Editor and tools - allrounder18 - 08-09-2016, 08:48 PM
RE: Editor and tools - Liz Shaw - 08-09-2016, 09:30 PM
RE: Editor and tools - allrounder18 - 08-09-2016, 09:35 PM
RE: Editor and tools - allrounder18 - 08-09-2016, 10:40 PM
RE: Editor and tools - Hiei- - 08-10-2016, 01:59 AM
RE: Editor and tools - ComradeReptiloid - 08-10-2016, 03:54 AM
RE: Editor and tools - Hiei- - 08-10-2016, 04:04 AM
RE: Editor and tools - ComradeReptiloid - 08-10-2016, 04:56 AM
RE: Editor and tools - allrounder18 - 08-10-2016, 06:34 AM
RE: Editor and tools - ComradeReptiloid - 08-10-2016, 06:59 AM
RE: Editor and tools - Liz Shaw - 08-10-2016, 08:40 AM
RE: Editor and tools - ComradeReptiloid - 08-10-2016, 01:15 PM
RE: Editor and tools - Liz Shaw - 08-10-2016, 01:22 PM
RE: Editor and tools - allrounder18 - 08-10-2016, 01:45 PM
RE: Editor and tools - ComradeReptiloid - 08-10-2016, 03:15 PM
RE: Editor and tools - allrounder18 - 08-10-2016, 09:21 PM
RE: Editor and tools - Liz Shaw - 08-10-2016, 10:02 PM
RE: Editor and tools - ComradeReptiloid - 08-10-2016, 10:09 PM
RE: Editor and tools - Hiei- - 08-11-2016, 01:46 AM
RE: Editor and tools - allrounder18 - 08-11-2016, 06:22 AM
RE: Editor and tools - Hiei- - 08-11-2016, 06:58 AM
RE: Editor and tools - allrounder18 - 08-11-2016, 08:26 AM
RE: Editor and tools - Hiei- - 08-11-2016, 09:13 AM
RE: Editor and tools - allrounder18 - 08-11-2016, 02:49 PM
RE: Editor and tools - ComradeReptiloid - 08-12-2016, 12:44 AM
RE: Editor and tools - Hiei- - 08-12-2016, 06:33 AM
RE: Editor and tools - allrounder18 - 08-12-2016, 08:48 AM
RE: Editor and tools - adolf - 08-12-2016, 02:58 PM
RE: Editor and tools - ComradeReptiloid - 08-12-2016, 05:09 PM
RE: Editor and tools - adolf - 08-12-2016, 07:34 PM
RE: Editor and tools - allrounder18 - 08-13-2016, 10:17 AM
RE: Editor and tools - ComradeReptiloid - 08-13-2016, 07:02 PM
RE: Editor and tools - allrounder18 - 08-13-2016, 08:07 PM
RE: Editor and tools - Liz Shaw - 08-13-2016, 08:23 PM
RE: Editor and tools - Hiei- - 08-14-2016, 06:17 AM
RE: Editor and tools - Hiei- - 08-14-2016, 07:21 AM
RE: Editor and tools - allrounder18 - 08-14-2016, 09:53 AM
RE: Editor and tools - Liz Shaw - 08-14-2016, 10:23 AM
RE: Editor and tools - allrounder18 - 08-14-2016, 12:24 PM
RE: Editor and tools - ComradeReptiloid - 08-14-2016, 02:10 PM
RE: Editor and tools - allrounder18 - 08-14-2016, 02:53 PM
RE: Editor and tools - ComradeReptiloid - 08-14-2016, 06:22 PM
RE: Editor and tools - allrounder18 - 08-14-2016, 09:19 PM
RE: Editor and tools - Liz Shaw - 08-16-2016, 06:37 PM
RE: Editor and tools - Alexey - 08-16-2016, 11:57 PM
RE: Editor and tools - allrounder18 - 08-16-2016, 08:22 PM
RE: Editor and tools - allrounder18 - 08-17-2016, 10:51 AM
RE: Editor and tools - ComradeReptiloid - 08-19-2016, 02:50 AM
RE: Editor and tools - allrounder18 - 08-19-2016, 02:06 PM
RE: Editor and tools - Liz Shaw - 08-19-2016, 02:38 PM
RE: Editor and tools - ComradeReptiloid - 10-26-2016, 05:12 PM
RE: Editor and tools - Liz Shaw - 10-27-2016, 01:57 AM
RE: Editor and tools - ComradeReptiloid - 10-27-2016, 02:26 AM
RE: Editor and tools - Liz Shaw - 10-27-2016, 03:57 AM
RE: Editor and tools - ComradeReptiloid - 10-28-2016, 12:15 AM
RE: Editor and tools - Hiei- - 10-27-2016, 11:34 PM
RE: Editor and tools - Hiei- - 08-20-2016, 01:08 AM
RE: Editor and tools - allrounder18 - 08-20-2016, 09:43 AM
RE: Editor and tools - Liz Shaw - 08-24-2016, 05:17 PM
RE: Editor and tools - allrounder18 - 08-26-2016, 07:18 AM
RE: Editor and tools - Liz Shaw - 08-29-2016, 04:30 PM
RE: Editor and tools - Liz Shaw - 10-17-2016, 04:32 AM
RE: Editor and tools - ComradeReptiloid - 10-18-2016, 12:03 AM
RE: Editor and tools - armitom - 10-18-2016, 05:25 PM
RE: Editor and tools - ComradeReptiloid - 10-20-2016, 05:28 PM
RE: Editor and tools - ComradeReptiloid - 10-30-2016, 03:06 AM
RE: Editor and tools - ComradeReptiloid - 11-02-2016, 12:32 AM
RE: Editor and tools - ComradeReptiloid - 11-02-2016, 03:16 PM
RE: Editor and tools - ComradeReptiloid - 02-18-2017, 10:59 PM
RE: Editor and tools - Hiei- - 02-24-2017, 04:19 PM
RE: Editor and tools - ComradeReptiloid - 02-27-2017, 09:01 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)