PDA

View Full Version : Randomized projectile velocity?



Ifafudafi
June 17th, 2009, 02:35 PM
I'm finishing up the third and last weapon for Part 2 of the plasma pack; ideally, I'd like for each one of its projectiles to have individually randomized velocities (as in each projectile will spawn with any velocity between 8 and 20.) Is that possible within the limits of the engine?

E: Oh, and another question; what's the limit for projectiles .light_volumes, and is it tied to every single .light_volume that's being drawn in the game or just the client's rendering pipeline?

Advancebo
June 17th, 2009, 05:10 PM
What exactly do you mean by limits?

Also I think you can have the firing effect spawn more projectiles.

Ifafudafi
June 17th, 2009, 05:58 PM
The game will only draw a certain amount of projectiles before it stops. Once those projectiles have detonated/disappeared, you can shoot more. I think it's about 100, but I'm not sure.

I'll try the fire effect method.

E: Yup, that works.

EE: It looks like it's not a projectile limit, but rather a .light_volume limit. Question still applies.

Inferno
June 17th, 2009, 09:10 PM
I believe its tied to the engine.

Ifafudafi
June 17th, 2009, 11:00 PM
Eh, fuck it. I've got it to work how I want.

Thanks for the help.