Announcement

Collapse
No announcement yet.

[SUPPORT] Advanced Turn Based Tile Toolkit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    hi samtsion

    1.the map Bunkers or the Heightmap_example is not in new build, only in the older version .
    2. in the the Jungle Raid demo map if I remember correctly, I think the player on the map all set as aicontrolled that's way they are moving by themselves - just unchecked the aicontrolled box in each of the player you want to control.

    hope its help

    leo

    Leave a comment:


  • replied
    Hi, Monokkel

    I've been I've purchased your plugin and I have been trying to go through the tutorials and the example maps but I am having a little trouble. First off I can't find the map Bunkers or the Heightmap_example folder. Also in the Jungle Raid demo map, when I play it, no UI shows up on the screen and once I move the first unit, all the units just start moving themselves in a never ending sequence, even my team. What am I doing wrong?

    Thank you.

    Leave a comment:


  • replied
    Originally posted by Monokkel View Post


    Happy to help!



    What was the result of my last suggestion for the turn order stuff? What is the last action printed?

    For the right mouse button stuff, what you're seeing is probably the suggested path. In MoveAttack and some other abilities I added the option to display a suggested path (using the AI functionality of that ability). So I guess that part is working as intended, but you've somehow broken something in the regular hover functionality? I'd recommend printing strings along the hover execution chain (starting in the player controller, through Ability_Base, Ability and the specific ability you are using to see where it breaks.
    Thanks for your reply - will check out your hints tomorrow - one more issue we found: AI controlled units somehow start their attack animations way too early - during the first moments of movement towards player faction units - seems like we broke a lot here

    Leave a comment:


  • replied

    Originally posted by Luthervian View Post
    Fast reply and extremely helpful and informative, thank you! I'm struggling with figuring this stuff out so this was very useful - again, thank you.
    Happy to help!

    Originally posted by Dan.Ott View Post
    Hey Knut - still unable to figure out the initiative problem but we got something different to bother you with
    For some reasons the walk path spline and the cover markers when hovering over tiles are only displayed when holding the right mouse button - have you ever experienced something like this?
    What was the result of my last suggestion for the turn order stuff? What is the last action printed?

    For the right mouse button stuff, what you're seeing is probably the suggested path. In MoveAttack and some other abilities I added the option to display a suggested path (using the AI functionality of that ability). So I guess that part is working as intended, but you've somehow broken something in the regular hover functionality? I'd recommend printing strings along the hover execution chain (starting in the player controller, through Ability_Base, Ability and the specific ability you are using to see where it breaks.
    Last edited by Monokkel; 07-29-2019, 05:09 PM.

    Leave a comment:


  • replied
    Hey Knut - still unable to figure out the initiative problem but we got something different to bother you with
    For some reasons the walk path spline and the cover markers when hovering over tiles are only displayed when holding the right mouse button - have you ever experienced something like this?

    Leave a comment:


  • replied
    Fast reply and extremely helpful and informative, thank you! I'm struggling with figuring this stuff out so this was very useful - again, thank you.

    Leave a comment:


  • replied
    Originally posted by Luthervian View Post
    Hello, been following this since i purchased it some time ago. I like that it keeps getting updates and improvements. I would like to make a hex grid that is not rectangular in shape, but "hexagonal", that is, it extends out a radius of hexes from a central hex. Does ATBTT currently support this and I don't see it? If not, is this something that is doable with minor tinkering to the hex grid BP?
    Hey Luthervian, you could do this by using a rectangular grid and just not spawning tiles on the corner locations. This is what I have suggested before, but I had some free time today, so I threw together something a bit more elegant.

    First in BP_GridManager_Hex I set GridSizeY to always equal GridSizeY, as this would always be true for a hexagonal shaped grid:



    Next, in the CreateGridLocations function, I use GetIndexesInRange (which is overridden to use hex math in BP_GridManager_Hex) to get grid locations in a hexagonal shape. I use some simple math to find the center and radius of the hex grid (note that I'm just replacing the code for a flat grid in the example below, but the same should work for the heightmap setup in the same function):



    Next, in SpawnTileGrid I spawn the tile instances using the output of CreateGridLocations:



    Finally, I make sure CreateGridLocations is run before SpawnTileGrid in BP_GridManager's Construction Script:



    Et voila:

    Leave a comment:


  • replied
    Hello, been following this since i purchased it some time ago. I like that it keeps getting updates and improvements. I would like to make a hex grid that is not rectangular in shape, but "hexagonal", that is, it extends out a radius of hexes from a central hex. Does ATBTT currently support this and I don't see it? If not, is this something that is doable with minor tinkering to the hex grid BP?

    Leave a comment:


  • replied
    Originally posted by leo bar View Post
    thanks knut, didn't put
    RenderInMainPass to false. its working fine

    cheers

    leo
    Jolly good

    Originally posted by Pharros View Post

    I've tried this method a couple times and despite the output log verifying a random index from said array per iteration on the forloop, the entire grid's tiles still instantiate from one sole element from the array. Any idea why this may be?

    output log

    modified bp
    You have not fully understood how instanced static meshes work. When you create an instanced static mesh component, all instances tied to that component must use the same mesh. You are changing the mesh of the component, which causes all instances tied to that component to change. If you want different tiles you need multiple different components (one for each mesh). You can use multiple AddInstancedStaticMeshComponent nodes, set the static mesh of each and store the output (of AddInstanced...) in an array of instanced static mesh components. Perhaps you have three instanced (grass, dirt, stone). When you want to add a stone tile you would get element 3 from the instanced static mesh component array and add an instance of this component to the world.

    Originally posted by EagleEyeGamma View Post
    Thank you for responding. I hope to achieve multiple effects such as allowing a unit to move again, giving them an ability and/or to do damage around them. Also when tested out my current panels it should give them an ability however it seem that instead of the unit's hitbox registering it hitting the camera hitbox instead for passing on an ability.
    I recommend checking out the 2D example (in the Maps/2D folder). In this map there are examples of picking up weapons, healing potions and trigger plates.

    Leave a comment:


  • replied
    Thank you for responding. I hope to achieve multiple effects such as allowing a unit to move again, giving them an ability and/or to do damage around them. Also when tested out my current panels it should give them an ability however it seem that instead of the unit's hitbox registering it hitting the camera hitbox instead for passing on an ability.

    Leave a comment:


  • replied
    Originally posted by Monokkel View Post

    I think I understood what you meant, but I should have been clearer in my answer. The toolkit does not have any procedural map building built in, but the line trace grid generation system should work well with many other procedural generation systems (several of which are available on the marketplace). You can of course run your own solution, and ATBTT gives you some things you can use. If all you want is to place random meshes on all tiles you could for instance create an array of meshes, loop through all of these and create an instanced static mesh component for each. Store a reference to each ISM in an array and loop through all grid indexes, picking from your tile ISMs and placing an instance for each. That is a potential starting point.
    I've tried this method a couple times and despite the output log verifying a random index from said array per iteration on the forloop, the entire grid's tiles still instantiate from one sole element from the array. Any idea why this may be?

    output log

    modified bp

    Leave a comment:


  • replied
    thanks knut, didn't put
    RenderInMainPass to false. its working fine

    cheers

    leo

    Leave a comment:


  • replied
    Hey all, after looking into the big unit stuff for jh0620 I realized that I'd forgotted to fix something in the newest update, causing marker meshes to not resize and reposition appropriately for big units (this is unrelated to jh0620's reported issue, which I have not been able to replicate). I also tested out a few other things and realized I was a bit quick to send out the last update without doing some more testing. Just some very minor changes related to the example maps (Hydra's Lair and JungleRaid). See my Trello for details (see the v.2.31 card). I have sent a new update to Epic already.


    Originally posted by leo bar View Post
    hi knut

    For some reason, I find it difficult to apply something that I thought will be simple enough, I hope that you may be able to direct me to the right place.

    I tried to create the effect of the outline for the tile marker (similar to your 2d example)

    I used the PostProcessVolume in the level and used the PP_Outline but its not working.

    can you explain the steps I have to do to make it work?

    By the way, the last upgrade you did to the turn manager really fixes a lot of the difficulties that were in the past (I have not checked it In depth)

    thanks in advance

    leo
    Here are the steps:

    1) Copy the PostProcessVolume from the 2D map
    2) In whatever ability you are using select the TileMarkers you want to render in custom depth. Set their material to something non-translucent (DefaultMaterial, for instance) and in its rendering settings set RenderInMainPass to false and RenderCustomDepth to true.

    That should do it. Note that it can often look a bit wonky in a 3D-world, though, but it depends a lot on your levels.

    Leave a comment:


  • replied
    hi knut


    For some reason, I find it difficult to apply something that I thought will be simple enough, I hope that you may be able to direct me to the right place.

    I tried to create the effect of the outline for the tile marker (similar to your 2d example)

    I used the PostProcessVolume in the level and used the PP_Outline but its not working.

    can you explain the steps I have to do to make it work?

    By the way, the last upgrade you did to the turn manager really fixes a lot of the difficulties that were in the past (I have not checked it In depth)

    thanks in advance

    leo


    leo

    Leave a comment:


  • replied
    Originally posted by jh0620 View Post
    OK. I uploaded the screen shot again.
    I'm talking about Big Unit Pathfinding.
    My only wish is that pathfinding is perfect.
    Please look at my screen shot again and answer me.
    Hmm, it works fine when I'm testing it. What version are you using? What variables have you altered on the GridManager and units?

    Leave a comment:

Working...
X