Page 1 of 1

Make shotgun shoot grenades

Posted: Wed Oct 21, 2009 8:49 pm
by swado95
Hello. Im trying to get my missile launcher to shoot grenades like a shot gun. Basically making the the missile launcher shoot like the shot gun.... then have the tracers for the shot gun be grenades that exploded when hitting you.

My full plane is for my map to be mostly in closed so when I fire my grenades they bounce of the walls and floor till it hits someone.

If you can show me what its suppose to look like or tell me how to do it that would be great! :yes:

Re: Make shotgun shoot grenades

Posted: Wed Oct 21, 2009 9:12 pm
by obiboba3po
I can help you start, but ive never fully achieved the bouncing around the room part.
First off, you'll need the said weapon to be labeled, "grenade", like so:
Hidden/Spoiler:
ClassLabel = "grenade"
Then give it a salvo count of 5 or something, and a nice spread so that its not all a clump when you shoot it.
secondly, in the ordanance file, (labeled "shell"), play around with these lines:
Hidden/Spoiler:
Velocity = "40.0"
Gravity = "1.75"
velocity is the speed intensity essentially, and gravity basically defines whether it will go up or down once its in the air.
I know theres a line telling the shell (grenades) to bounce off objects, that would go in your ord file, but i dont know of one that tells it to bounce off the terrain as well. Hope this helps

Re: Make shotgun shoot grenades

Posted: Thu Oct 22, 2009 4:51 pm
by swado95
I make the rocket odf have the grenades ord file right?