Author Topic: Custom Projectiles  (Read 731 times)

They always disappear after about 2 seconds in the air. How2fix?

Hmm... PM me the weapon code I'll see if I can find the problem.

dont send him the code he is gonna take your weapon and change the name and upload it

>_> No I am not like that you might be but I am not, Its probably something in the code that doesn't allow the projectile to go very far thats why I wanna see the code.

Code: [Select]
   
   lifetime            = 8000;

Just make the lifetime value larger.

If it still doesn't work then I'm not sure what the problem is. :(

And thats why I wanted to look at the code :P

And thats why I wanted to look at the code :P

ya, I know. :P

If you put the lifetime to a high number it will overload torque and just make it disapper in a few seconds.

what exactly do you mean? Do you mean the whole projectile completely disappears, as in dies? Or the model goes invisible after it gets a certain distance from the player? (I'm having the second problem btw)

If Im correct, you have to boost the fadeDelay and the lifeTime to make it last longer. Example:
Code: [Select]
   lifetime            = 12000;
   fadeDelay           = 11500;

what exactly do you mean? Do you mean the whole projectile completely disappears, as in dies? Or the model goes invisible after it gets a certain distance from the player? (I'm having the second problem btw)
The projectile is still there but the model disappears.

The projectile is still there but the model disappears.
Above your post.

Code: [Select]
   lifetime            = 20000;
   fadeDelay           = 19500;
Still broke.

Post projectile script here?

The projectile is still there but the model disappears.

I'm having the exact same problem with my own add-on. :(
maybe a exporting problem?