Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Editor and tools
08-07-2016, 10:40 PM (This post was last modified: 08-07-2016 11:23 PM by Hiei-.)
Post: #68
RE: Editor and tools
I did that :

Quote:Note : Right click cancel a function (if you make a character spawn and don't want to put a second one, either click on another function or the right click).

- Entitys => Actor => German Soldier => Double click to select => Left click to spawn it on the field
- AI => AIAnchor => Double click to select => Left click to spawn it on the field (you have to put, at least, two anchors)

Note : Anchor 1 is the one where the NPC will first start. Anchor 2 is the one where the NPC will go to, then he'll go back to 1, then 2 again, etc...

* Anchor 1 parameters *

- Select the first anchor, it'll display the AiAnchor parameters on the right of the editor.
- Click on the empty line next to the "Action" label, then click on the three dots.
- Select "AI_ANCHOR_CUSTANIM_ROT_IDLE".
- Click on the empty line next to the "Animation" label (in the right column), then click on the three dots.
- A new screen appear. In animation templates, choose "gsoldier_animation" (it should be the only choice displayed anyway), it'll make some new things appear to the left column.
- Choose "Custom_HandsBack" in the left column, then click "Ok" (bottom) to validate this choice.
- Enter a new value in "Use time", "4" (you can see in the previous menu the time animation is 3.6, so we put 4).
- Enter a new value in "UseGroup", "32" in my example (The "NPC", and all the anchors related to it should have the same group number), then click "Ok" (bottom) to validate this choice.

* Anchor 2 parameters*

- Select the second anchor, it'll display the AiAnchor parameters on the right of the editor.
- Click on the empty line next to the "Action" label, then click on the three dots.
- Select "AI_ANCHOR_CUSTANIM_ROT_IDLE".
- Click on the empty line next to the "Animation" label (in the right column), then click on the three dots.
- A new screen appear. In animation templates, choose "gsoldier_animation", it'll make some new things appear to the left column.
- Choose "Custom_Smoke" in the left column, then click "Ok" (bottom) to validate this choice.
- Enter a new value in "Use time", "16" for example (you can see in the previous menu the time animation 8. If you put 8, he'll put the cigarette to his mouth then directly go back to the first anchor. If you put 16, twice the time of the animation, once the cigarette his put to his mouth, he'll start the second part of the animation, until he throw the cigarette on the ground, then crush it, then he'll go back to his fist position), then click "Ok" (bottom) to validate this choice.
- Enter a new value in "UseGroup", "32" in my example (The "NPC", and all the anchors related to it should have the same group number), then click "Ok" (bottom) to validate this choice.

* German soldier parameters *

- Select the "German soldier", it'll display the Entity parameters on the right of the editor.
- In "Entity parameters", check the "Show idle group" box (to switch the value to "True").
- In "GermanSoldier Properties", click on the empty line next to the "AI_Form" label (in the right column), then click on the three dots.
- A new screen appear. In Form list (NPC forms), choose "soldier", then click "Update level" to validate this choice.
- Click on the empty line next to the "Job" label (in the right column), then click on the three dots.
- Select "AI_JOB_ANCHORS_IDLE".
- Click on the first "AnchorQueue" label then enter the "UniqueID" of the first anchor (can be found in the "AiAnchor parameters"), for example : "AN01" (if you click on the three dots, you can display them in a list and select them directly from it. In my example, it's the one named "AiAnchor196" and it directly enter the "UniqueID").
- Click on the second "AnchorQueue" label then enter the "UniqueID" of the second anchor (can be found in the "AiAnchor parameters"), for example : "AN99" (if you click on the three dots, you can display them in a list and select them directly from it. In my example, it's the one named "AiAnchor197" and it directly enter the "UniqueID").
- Click on "Ok" (bottom) to validate this choice.
- Still in "GermanSoldier Properties", enter a new value, "32" in my example, for the "AI_Idle_Group" label.
- click on the empty line next to the "EquipementPack" label (in the right column), then click on the three dots.
- In the up-left label, choose "soldier", then click on "Ok" (bottom) to validate.

- Mission => Export to Game => Then you can run the game and test your new soldier AI in-game.

Tutorial written following ComradeReptiloid video : https://www.youtube.com/watch?v=FjnWlQkRYEU

Need to redo it in the editor to check if I haven't forgot anything (I'll edit it If I did). If it's okay, I'll probably add some screenshots.
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: 1 Guest(s)