x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

TwinStickShooterTut.Making a damaging explosions

hello, i made a project by the tutorial series "TwinStickShooter", all works well but im new to ue4 and BP and i cant figure out how to make explosive damage(radial or what?) to make granades and like "red barrels", can someone help me?

Product Version: UE 4.11
Tags:
more ▼

asked Apr 02 '16 at 01:59 PM in Blueprint Scripting

avatar image

FFspro
1 1 3

avatar image FFspro Apr 04 '16 at 09:45 AM

any help?=(

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

I think what you need is this:

alt text

Or you want extra behavior you could do a sphere trace by yourself:

alt text

And then get a lot of information on what you hit, which would let you do the damage and have some other behavior based on this info like spawning particles at a precise location and other good stuff.

more ▼

answered Apr 03 '16 at 01:08 AM

avatar image

MacDx
600 17 9 33

avatar image FFspro Apr 03 '16 at 02:14 AM

thank you for answer,but i cant figure out how to apply this damage to my enemies

avatar image MacDx Apr 03 '16 at 02:25 AM

If the actor is inside the sphere defined by the apply radial damage node when executed, then it will apply the damage, you just need to handle it like any other damage type.

avatar image FFspro Apr 03 '16 at 04:22 AM

ok, im just trying to make it work, but i cant heres my projectile and enemy BP. thats how im causin damage to them,this is made by the tutorial named in the 1st post. projectile just calls enemies character "affect health" with "damage"(float nubmer) and then its calculates health inside the enemy bp. but i cant made this "affect health" being caused from radial damage.. sry for my english,hope ull understand alt text

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

resolved.

more ▼

answered Apr 04 '16 at 01:39 PM

avatar image

FFspro
1 1 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question