edited April 2016 in ORK Support
Hi there,

I'm still new to using ORK, but I have worked my way through the tutorials and (I feel) many of the How-To's. I'm currently trying to start a battle in a different scene (so I have read through http://orkframework.com/tutorial/gameplay/battle-in-a-different-scene/ ), but encountering a few issues. Of note, this is a 2D game.

1) When entering the new scene, my allied group is not as I expect - I have myself and two crew members where I expect I should have myself and three crew members. I have an event with the following: http://puu.sh/ofL8M/99ea6bfb5b.png so I'm not certain where the disconnect is happening.

2) The enemy group is displayed nicely (in their predefined battle slots I set up with the BattleComponent), but my allied group (myself and 2 crew) are stacked on top of each other and not at either the SpawnPoint or the battle positions - instead they are at Vector3.zero.

3) While I have the enemy units flashing as if they were selected, I am unable to use the cursor to select them and have to use UI elements. I figured this ( http://puu.sh/ofLoK/420733490c.png in Battle System -> Battle Settings -> Target Selection ) would have fixed that, but I must have done something wrong. Moved this to a new topic.

Thank you for any help!
Post edited by deckrocket on
  • For both 1 and 2 - what does your battle component and your whole battle start event look like? Are your party and ally spots correctly placed in the scene? Why are you using a Join Active group step out of curiosity? Do your allies join and leave your party constantly? Or are they more constant and just being spawned for the battle - there could be a disconnect between party member vs ally going on. Both are set up in different spots for the battle and aren't referring to the same game concept.
    My little chunk of the internet: http://artemic.com
  • Thanks for the reply.

    My battle start event is just as in the tutorial ( http://puu.sh/ofNZk/a8cab19f3b.png ) - I just followed those steps. In my battle component it looks like this (for positions): http://puu.sh/ofO3J/52aec20fbd.png
    http://puu.sh/ofOdI/138d7007b7.png

    I use the Join Active Group in my game start event, which looks like this:
    http://puu.sh/ofO8M/0d07182762.png

    So, they just join once in the game start step - they shouldn't ever leave the group. If there is a better way to do this please let me know :)

    I fixed some of this (spawning on top of each other) by setting default positions in ORK that matched the BattleComponent's position, but I would rather have the BattleComponent override them so I can use different scenes and different positions.

    Thanks!
  • Ok, from the above post I thought you were using Join Active Group in your battle event, but yeah, that's fine as a game start thing.

    I believe a possible explanation for your issue is your battle component - If what you're calling "allies" are actually permanent party members, add more "Player" type spots, and not ally type spots. So a new Player 1 spot would use the Ally 0 object, Player 2, the Ally 1, etc.

    At least in my own experience (and totes @Gil correct away), the Player spots are used for those kind of permanent active group members, and allies for more transient type members, like summoned creatures.
    My little chunk of the internet: http://artemic.com
  • Ah okay, I will try using them as player spots then. Thank you. Do you have any idea on issue 3 - with the cursor select problem?
  • edited April 2016
    Including them as part of the player group did help - they no longer spawn on top of the player, so now they are in the proper position. Sadly ally #3 is still missing/not spawned.
    Post edited by deckrocket on
  • I don't really have any experience with your third one since I do target selection differently, sorry. Hmm...if the third ally isn't showing up maybe make sure your battle size is large enough to hold all of them? There's a setting somewhere in the ORK menus for how big that group is.
    My little chunk of the internet: http://artemic.com
  • edited April 2016
    One thing I did notice was in Battle System -> Battle Spots.

    When I am looking at Player Spots I have three predefined and I cannot add/remove them, although I do have an option for "Additional Spot". However, for both the Ally and Enemy Spots I have the option to Add more (allowing me to go much over four spots). Is there some way to change this so I can Add Player Spots in the same way?

    EDIT: Great you led me in the right direction! http://puu.sh/ogQj8/c3629e880e.png It is fixed! Now all I need to do is solve this mouse input issue!
    Oh and one other issue is that when my allies "die" in battle they don't disappear like the enemy does...


    Thanks
    Post edited by deckrocket on
  • I believe you need to set that up in their combatant Death event. Under Death Animation, check Animate Death, and then use a Battle Event to handle it. Reference your enemy one to see how you handled making them go away.
    My little chunk of the internet: http://artemic.com
  • Yep great that worked! You've been quite a boon to my game so far thank you! I had just forgotten that setting on my allied combatants.
  • Hey no problem. It's a learning curve for everybody when they start out - the framework is massive and a lot to learn.
    My little chunk of the internet: http://artemic.com
Sign In or Register to comment.