edited January 23 in ORK Support
I have a new question.

I would like to create a group of allies that perform automatic combat, separate from the usual player group.

I understand that by assigning a different group ID and adding members, the allies that perform other combat will belong to a separate group.

1)However, how can I display the group separately from the usual player group on the menu screen?

I would like to add an item to the menu screen named something like "Auto Combatants" and display the members of the other group there. However, I can't find the setting to specify the group ID to display, so I am unsure how to do this.

2)How can I make the allies perform automatic combatant? Is it just a matter of setting a battle AI for the combatants?
Or, if they are in a separate group from the player, will they automatically engage in combat without accepting commands?

3)I want to set the camera target to the character who is inputting commands during turn-based combat. How can I achieve this effectively?


I look forward to your response. Thank you very much.
Post edited by lonewolf_cat on
  • 1) The latest update (ORK 3.19.1) added new options to menu screens to use other player groups as users. Enable Other Player Group and set the group ID in the menu screen's Combatant Settings for this.
    Previously, you could do this manually in the open/close schematics of menu screens, but that was a bit wonky.

    2) You also have to enable AI Controlled in the combatant AI settings (either in general settings for all or in the individual combatants). This will make player group members that are not the current player AI controlled.

    3) Battles > Battle Camera has options for this.
    For active camera controls during battle use the Camera Control Target type for the different Look At settings.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you for the response.

    I was able to adjust the camera. The target combatant is displayed in the center when entering battle commands.

    Regarding the Other Player Group, I set the Group ID to 1 in the first node and set the member index. I tried to summon the combatant to the battle using the Place at Spot node on BattleStar Schematics, but they did not appear.

    There might be members existing in the Group ID 1 as internal data.
    I want to display this group in the field menu just like the player group.
    I tried to copy the 'Group' item in UI→Menu Screen and reuse it for Group ID 1, but I couldn't find the setting item to select the group.
    Is there a setting for that somewhere?
  • Place at Spot only places already spawned combatants at their battle spots, it doesn't spawn them or add combatants that are not part of the battle to it. You can use a Spawn Combatant node to spawn a combatant or a Join Battle node to have a combatant join a running battle (e.g. when not using auto joining). Both nodes can use a combatant that's stored in selected data instead of creating a new one, so you'd first need to use a Select Combatant node to get that other player group member into selected data.

    Also, you naturally have to add a combatant to the other player group (e.g. group ID 1) like you did for your original player group, otherwise there are no members in the group that you can use.


    Ah, sorry, regarding the other player group setting in menu screens - that's part of the next update ORK 3.20, not in 3.19.1 (which is only a bugfix version). For now, you can use the menu screen's schematics to change the active player group (and the close schematic to change it back), or alterantively open the menu screen via a schematic (Call Menu Screen node) and set the user in the node to a different group's member. The menu screen's combatant settings need to allow non-player users.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • I haven't been able to test adding battle combatants yet, but I will continue testing based on your advice.

    I am looking forward to the next update.
    It seems there have been a lot of questions about adding members outside of the player group recently, so everyone will be happy when the next update is released.
  • Seems like it - though the next update just adds convenience features for this, since it's already possible to do using schematics :)
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.