Ok, I was just wondering. I bought it anyway and will use it in my projects.
Iām not even sure what happened, but now itās not displaying the tiles incorrectly at the start of a unitās turn anymoreā¦ Must have been some kind of odd compiling error or something, because I didnāt really change anything and itās fine nowā¦ Iāll try adding in some print strings as you suggested to see if I can figure out what was going on with the attacking air and random attack issues, but I think I can probably figure it out from here.
Thanks again for the assistance, Iāll let you know if I have any other issues that I canāt figure out.
Ok, great I hope youāll find it useful. Make sure to check out the tutorials linked to in the first post of this thread, and let me know if you have any questions.
Good that the problem disappeared. Hope it doesnāt show up again, though itās often unnerving to have a bug disappear for no reason. Like I said, I see no reason why it should happen from the code you posted. I hope print strings and adding breaks to the blueprint graphs/checking variable values at various points will help you zero down on whatās causing the problem.
And donāt mention it! Feel free to ask again if something isnāt working as it should.
Thanks for reply so fast.
I agree that the pivot should be at top as floor. Please ignore my request, Iāve just found itās hard to use it in my own project without any modification.
Any idea about fog of war? I can only show/hide them, itās sad:(. Ok, itās a little far from this post, donāt mind.
I am strongly looking forward to this toolkitās new version.
Good job!
I have a few ideas about fog of war, but I havenāt tested out anything yet. There is a tutorial here about creating fog of war that might interest you. There are many other ways to go about this, of course. One way I am considering myself is using the Find Tiles In range function to spawn tiles when they are visible, but that will take some work.
Hey there, iv heard some really cool things about 4.8 are you planning on updating your kit to support it?
Yup, did it two weeks ago It should be available as an option when you download the toolkit in the marketplace. I have also sent an even newer Version to Epic a couple of days ago, that fixes a couple of small things and changes the default units to use the new one from 4.8, but the one that is currently hosted should work perfectly with 4.8.
Excellent, keep up the good work!
Just taking a look at your more recent tutorials
I will! Working on the toolkit as we speak. The last couple of updates have mostly been bug fixing and compatibility, but the next one will be a big feature update, though that does of course take a bit more time. AI is getting a major overhaul, touch controls for mobile devices are being added etc. Hope you enjoy the new tutorials. There are almost five hours worth of tutorials at this point.
Just converted my project to v4.8. Thanks to the change log and the v1.41 boolean markers in blueprints, it was quite easy to add all the v1.41 changes to v1.4. Really appreciate the effort you put into small things like these.
Good to hear you find it helpful! Iām trying to add these little markers every time I add something new while I work. Might become quite a few little bools after a while, though A new update was sent to Epic a few days ago, so there will be a few more things to add (marked as 1.42). The update after that will be a bit different, though. As it is an example game it uses its own player controller, AI controller etc. By the way, Epic has fixed the 4.8 bug where āselfā nodes get disconnected automatically, so you no longer have to use the casts in Unit_Parent (removing this from the conversion guide now)
Ok, another small update was uploaded to the marketplace today. Hereās what it contains:
v1.42 (10.07.15)
- Changed the skeletal meshes of the default pawns to the new 4.8 mobile mannequin. Changed the animation of the ranged units to shotgun animations, which have a more visible attack animation.
- Removed the casts for āselfā in Unit_Parent that were added as a crutch for 4.8 issues in the last update. Epic have corrected this bug, so the workaround is no longer necessary.
- Added a branch in the Add Viewport Terrain To Arrays function in BP_GridManager to prevent an error message from showing when getting heightmaps from tracing.
That should be all, I think. A much larger update is in the works that will add lots of new features, but youāll still have to wait a bit for that one. Iām keeping feature updates large and infrequent so that people using the toolkit wonāt have to copy my updates into their ongoing projects that often.
By the way, Iād like to remind anyone reading this thread that it is possible to rate and review the toolkit here. I donāt mean to be pushy, but I know that there are people who are just not aware of the browser based marketplace and the options for rating/reviwing. If you have used the toolkit long enough that you feel you can give an informed rating (and possibly a review) it is much appreciated (but again, no pressure )
Ok I have another question. Is there a way when I set the Grid manager to be hidden to only allow the player to move to tiles that have decals. I put a floor over the grid manager and I have a grid larger than my floor. I donāt want the player to click in the air and move off the floor.
Sure, there are a few ways to achieve this. Just so weāre clear first, though, the decals are still there in your case, they just arenāt visible to the player since there are no meshes for them to project onto. In any case, the best way to get your desired result is to set the public variable ācollision plane walkableā in BP_GridManager to false. The collision plane is an invisible plain that stretches across the entire grid, so that each individual tile mesh does not need to have its own collision volume. If you make it so the collision plane is not walkable, this is the same as turning off the collision of the plane. When clicking a tile the toolit does a line trace with the PathTrace channel to see if it hits anything. If it does, it determines the grid index depending on the location hit. So if you turn off collision on the collision plane you must make sure that your floor has a correct collision volume, and that this volume is set to block PathTrace.
Small update on my work in progress stuff. Iāve got the toolkit working on my Samsung Galaxy S3 phone. The phone is a few generations old at this point so I was pleasantly surprised that the toolkit ran pretty smoothly with almost no modifications. I do have quite a few modifications in the works to make the toolkit even better for mobile, though. Hereās a short test video:
When I turn off collision plane walkable. The decals vanish and I can no longer move.
Secondly I have added a collision box into my scene. The problem is that the decals for attack do not show up there. Also if the actor is under the collision box they do not show up at all. This is still a valid area of the map it is trigger for events. The blue show up fine so it is something with how the attack is interacting with the trigger.
@Anzak: Ah, forgive me. I was thinking of how things worked a few versions ago. In addition to setting collision plane walkable to 0 set Heightmap to āfrom tracingā and make sure only things you want players to walk on is set to block PathTrace. This way traces will check all tiles to see if there is a mesh with visible collision under it. Alternately you can refrain from using heightmap tracing and place invisible walls right outside all edges of your floor.
@, I just tried and the default for the floor is to block pathtrace. I set Heightmap āfrom tracingā. and I turned off the collision plane walkable. Still I can walk off the edge of the floor.
Also any ideas on why a trigger box would cause the attack (red) decals to vanish?
@Anzak: Hmm, it should work. Iāve tried it out myself. Show Default Tile is set to false, right? It should be impossible to walk off the edges if there is nothing blocking PathTrace in those locations using the instructions I provided. I hope Iām not omitting something essential.
Iām guessing the collision box blocks visibility because it is set to block RangeTrace, the trace channel that checks if units have line of sight to a tile. If I am correct in this, set the collision to āignoreā for RangeTrace and it should work.
Hi!
First of all I adore this kit and its the perfect starting place to build off of. Thank you so much!
I have ran into an error creating new pawns however - when i duplicate a existing pawn i get this error -
http://puu.sh/iY7qU/2d53559a8d.png
This is with no changes to the duplicated pawn whatsoever. Any ideas?