Hey guys....
...quick question....
Which part of my custom code edits the weapon range?
As you can see in the image below, I am able to use my fire extinguisher to 'hit' a target from about 90ft, and probably more if i were able to get further back!!
The image after that shows my custom weapon code (for projectile). Ive tried to play with a few numbers, but it doesnt seem to do anything.
Can anyone give me some ideas?
Much Appreciated!
jonm4y
*Ive blurred out a lot of the graphical stuff in the main image as it was irrelevant to my question
Replies
You also should check the root of this script you are extending. Look at UTProjectile, and see what it extends from and so on. Either that or go to the Unreal Wiki page and search for the terms of your script (Like MaxSpeed, and more curiously MaxEffectDistance). It should give some form of explanation, hopefully shedding like on what these parameters are meant for.
Edit: Just realized that you probably want to lessen the range not increase it.
Note: TerminalVelocity will only affect the Projectile if its physics are set to PHYS_Falling.