View Full Version : Rocketlauncher Alternative
07-13-2004, 02:58 PM
I'm trying to alter the rocket launcher.
Well i changed the speed, the damage the model (the colour)
and now i want the rockets, spawn the green bubbles from the biogun, when they hit the ground.
How can i do that?
P.S.. I'm a beginner.
07-14-2004, 03:10 AM
i'm not to experienced, too. But i would try to subclass the "RocketProj" class and override his "Explode" and "BlowUp" functions, and spawn a bioglob...
class BioRocketProj extends RocketProj;
var() int NumberOfMiniGlobs;
//Here was only a HurtRadius() and a MakeNoise
//which you don't need anymore
function BlowUp(vector HitLocation)
//This function was spawning Rocket Exposion / debris effects
//now it spawns a bioglob
function Explode(vector HitLocation, vector HitNormal)
local rotator Dir;
local BioGlob newGlob;
Dir = rotator(HitNormal);
newGlob = Spawn(class'XWeapons.BioGlob',,, HitLocation, Dir);
then use this class as projectile in your weapon, of course....
I didn't test this, so it may have errors, but you should get the idea...
07-14-2004, 03:35 AM
hm I'll test it out right away, thx man! :)
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.