Hello i am new to unreal engine 4. And i have got my tower defence camera up and running i wont mind sharing that
my question now is. I’m having a problem figuring out how the strategy defence map made the wall_emptyslot to add turret i know its a c++ code game but if anyone knows a way in blueprints that would be great thanks
What exactly are you looking for?
With that I mean how should the placement work?
I have a completely free placement in my own [WIP] td meaning it only checks for overlaps and if the enemys can get to the next checkpoint.
Or do you want spots?
Depending on this I should be able to help you ;D
Hey thanks for the reply. What i am looking for is the way for players to add buildings (turrets) example in the template flame-thrower or cannon. my game is set in space. I would like the player to click on a asteroid and a menu would pop up and with a list of buildings thank you again for the reply and thanks for taking your time to help me
that is understandable thank you. now one more question to make sure if we are on the same page. if i click on the asteroid tell it to build a lets say a space fighter. I want the asteroid to destroy and spawn the space fighter in that location
Alright so provided what type of TD you wanna go with I would suggest to go with slot actors.
With that I mean you take your asteroids or whatever you want to use and let them create the menu (in the HUD or anywhere else) and then once a tower is selected build it on themselfs.
That way you will have to set up each slot for each map individually but it should provide you with what you want to accomplish
I hope this was understandable^^
That is totally possible.
I assume the map will stay the same so you have something a very bit like gemcraft
http://www.indiegames.com/images/timw/gemcraft2a.jpg
Now for this example ignore the inventory and all that stuff and let’s only take a look at the towers themselfs.
You can put stuff in it (in your case via a menu). They have specific locations within the level and those should not change so you can place them simply in the editor.
The player will then be able to select something from the pop up menu. Inside of your asteroid you hide the asteroid mesh or sprite or remove it and probably spawn the actual tower class in which has it’s range and all those kinds of stuff.
…is that understandable? I just wrote down stuff but I get told rather frequently that I sometimes have a very messy way of thoughts^^
no that actually is all helpful for me and understand completely probably because i am the same way with my thoughts thanks for all of the help