Hi,
I am working on a tower defense game and have a grid of 8 x 8 squares (64 Squares).
I am trying to figure out the best way to go about duplicating my single actor that holds 12 towers in it that gets toggled on function and visibility.
When I add one to the stage it all works perfectly.
When I click and duplicate it on stage or drag it in again or duplicate the BP itself, it shows towers only in actor 1 place (Square 1) not in (Square 2).
Even duplicating 3 (Square 3), 4 (Square 4), 5 (Square 5), only show tower in first actor’s place (Square 1).
Thanks to whomever can assist me.
Added: I am not looking to make 768 towers/actors. Should be a good way to only have the 12 inside one actor on 64 spots.
Update: I have tried to spawn actor from class to make instances of the actor, but same thing happens. Even though I have 2 separate spawning boxes (A1 & A2) set on stage with each set to its own location as the transform, I can click A2 and choose from my menu, but it is shows up on (A1). If I do (A1) first, it obviously shows on (A1), then clicking (A2) using the menu, nothing shows up on (A2).
I’m starting to think that this place no longer houses real people or people wanting to make games whether a noob, or a pro. I would assume UE forums are for learning, and/or attempt at gathering help to work on a game, and/or collaborate with others on games. I have been a part of this system since 2016 and have had 38 people request to help me either with an attempt to change my company name, re-color my website, change all games to minecraft form, etc… When the whole time I was asking for help on a specific game.
I ask questions about issues I am having and have been called a troll, scam artist, and more. I ask for help and no one knows much of what I am asking because it’s not a pro site, but when I offer $ for help, I am an ******* for being so cheap on a pro only site. Is this a pro site or not? Prior to lately, I have been receiving comments on my questions that have nothing to do with developing games. As if they are just trying to up their post numbers. For example, I needed help on understanding and using procedural meshing, and the response was “You’ll need to un-dolinghty the eractheratme and align citros to compensate for irregularities.” I might not be that smart with game dev lingo, but I don’t think that was it…
Currently, I can not get a single response to any issues I am running into trying to make games. Considering, I make them alone, I would need to know almost everything there is to know about making games with UE4. Not sure if this makes me weak or not special, but I don’t want to be special or anything, I want to make games. If I have been shamed like I have seen others on this site, At least have the decency to tell me so I don’t waste my time… Sorry, I had to get that out after almost 4 years of this treatment. And I’m quite sure I am not alone here…
Thanks for your time, I guess…
Thanks for responding. I know the amended post was off topic, was just trying to see if people are out there with the same issues. It’s sad to hear about UE dropping in users or instructors. It makes sense considering it felt like it was a robotic forum. I do try to describe things in several different ways, I just haven’t i guess figured out what works as the best approach. I have commented on as many topics as I could actually help with. There is still a lot I don’t know, so I don’t have a lot of answers for some things. I will try to better help, but I see it as almost useless if no one is teaching what others are asking. I feel most of my issues aren’t just knowing the blueprints right, it is trying to remember everything I had accomplished to move forward and grow. As most who have attempted to make a game alone knows, it gets very lonely mentally and can cause a mental backfire and frustration. I have been to Discord and no one there knew anything about UE4, so I moved on. Wish they would make a better collab site where people can actually get help and have a real ability to make a team.
I know exactly what you are talking about. I see it in roughly the same light. I was one to hope for that “right guy at the right time”, it never happened. lol Then again, I have tried to be that right guy too, just most teams already created are extremely unorganized and at burn out paces. I feel I’ve learned way too much and spent way too much time as well to quit. Not to mention, I find making games with my imagination is relaxing and fulfilling, despite as you said the occasional @#$% moments. Luckily I have been learning well enough to avoid such continuous @#$% which helps completing games. I’ve made 17 games and release (for free) 4 of them.
https://youtu.be/JYJ-V2idUeU
This game I am not currently needing assistance on yet. It might not look like anything no one else has ever done, I do it to keep my mind sharp on what I am able to accomplish. I can usually start a game development and get almost finished with the “hard stuff” to concentrate on design. But when I hit a snag or issue, I am too impatient to wait forever to fix and move forward to completion. I will tend to scrap or back burner the game and start one I contemplated could be finished with my current skills. Sometimes that still has walls/hurdles.
Like as the current Topic of this I am having issues trying to minimize work load and time to do things smarter not harder. I assumed i could place all of my towers in one blueprint and toggle each one to be on or off depending on coins. Done in a similar style as Plant vs Zombies, but with top down camera and less towers and a click and place menu instead of drag and drop. My kids love the game so I figured I’d make a fan made version since they went in a totally different direction with the 2nd game. If you happen to know a really good way I should go about this, I would like to hear. Thanks for the conversation too. Been so long…
Okay, so I was able to come up with this.
I am setting the Tower Actor onto the stage in line of the squares. Click on the actor to get menu. Was trying to copy on stage 64 times and nope wont work. Tried to copy the Tower BP and rename it and it wont work either. Tried to use the Tower BP and set children actors of it on the stage and same issue. Tried to use spawning and it no work.
Here are my Tower Actor BP and my Menu Widget BP. Also here is a video link to a bit of the game and the issue I currently face. https://youtu.be/-AZBzLB4Zgo
Let me know what you would like to see up close and I’ll take a pic of it.
Not sure what you are wanting. I did try spawning once, but it is not what I am currently doing.
As you’ll see, I have the Torch set by bool action in the actor where the torch is not visible. In the widget, I run through the script of asking if there are any other towers already set. If not, set the tower. (toggle visibility on the torch and flame).
I set the Tower actor BP on the stage square by square.
I am using On Begin Cursor Over. And I’m interested by what your function between the 12 towers and the 64 tiles are. But I would have to probably redo all 12 towers.
Not sure what you mean. The “Torch” selection is in the image above in post #12 and it checks if there are any towers already set then if not, toggles visibility and then sets that tower to “Set/On” for setting that a tower exists there currently. I do nothing else. To destroy the tower or toggle its visibility I set that tower to notSet/off. My issue is when I copy the actor on stage and move it over play the game and click actor 2, pick tower, tower is set in actor 1 spot no matter what I do.
Tile1 is just what I called the Tower Actor. As I’ve said, that is all the code, I toggle what is inside one actor bp. Trying to simply duplicate the box on the board 64 times. Also tried to duplicate the actor bp 64 times and it still only shows towers on the first one down.
Here is the component and visibility parts
Thus why I am thinking I am going to have to make 64 of each tower, 64 menus, and maybe 64 spawn points if I have to use them instead.
Okay so I got it to work on 12 tower actors, 64 Spawn Points, 64 Menus. I obviously could not simplify it more than that. Would get better collision control for enemies anyways have 12 tower actors.
So yes, I tried it for all squares and it works. Thanks for your idea from post #13. Thank you for dealing with me too. lol
Thanks for the reference. I didn’t know “Rubber Duck Debugging” or that, that is was what it was called. Makes more sense now why I am in such need of team members. A way to bounce off ideas and issues to fix and complete things in a good flow. Thanks again and maybe we can work together again.