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"

I cant figure out how to dynamically change the projectile velocity of the first person shooter template.

So I have been trying to change the velocity of the projectile after you go over a pick up, I have made my other shot types work, But it seems like I cant make increase the velocity dynamically.

If I change the settings before hand, so the game begins with a high velocity shot, it works... but if the blueprint tries to change the velocity it doesn't give me an error, but it also doesn't change the velocity.

alt text

is it because the velocity attributes are part of the projectile blueprint itself and NOT a variable?

If so, how would one go about making it a variable that effects the velocity?

Thanks in advance.

Product Version: Not Selected
Tags:
more ▼

asked May 11 '15 at 09:33 AM in Blueprint Scripting

avatar image

Virtuosic Kitty
94 14 16 19

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

1 answer: sort voted first

Hi Mate

First up you posted twice.

Next is, there are 3 variables. Look at the bottom of my pic.

alt text

alt text

Narg

capture.jpg (41.6 kB)
capture.jpg (39.1 kB)
more ▼

answered May 11 '15 at 09:37 AM

avatar image

Narghile
1.7k 74 38 110

avatar image Virtuosic Kitty May 11 '15 at 09:54 AM

yeah but just changing the speed changes the velocity. i don't even need to edit the velocity one. but I will give it a go setting all 3.

but thanks for the heads up on posting twice... it went funny, and I hit post again.

avatar image Virtuosic Kitty May 11 '15 at 10:10 AM

okay so yes setting the velocity also did work, however now it literally just fires in the direction of the X axis. so how do I make it fire from the end of the gun barrel again?

avatar image Narghile May 11 '15 at 10:14 AM

I think I posted the wrong Velocity

Try This

alt text

Narg

capture.jpg (22.1 kB)
avatar image Hasanmirza Aug 29 '16 at 03:51 AM

Sir, How can I increase initial speed every time I press "h" ?

avatar image Virtuosic Kitty May 11 '15 at 10:17 AM

You legend, thank you! :) works a treat!

(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