Particle's Custom RPG
Assistance => Assistance & Feedback => Topic started by: Hersh on August 11, 2002 08:53 pm CDT
-
ok i was looking through the code for uber breaath and i wanted to make another one like it but that shoots something else, like the blue spheres. anyways I coulndt find out where to change the image for it can someone tell me which line it is plz. heres the code...
//----------------------------------------------------------------------------------------------------
//  UBER BREATH
//----------------------------------------------------------------------------------------------------
$AccessoryVar[uberbreath, $AccessoryType] = $SwordAccessoryType;
$WeaponRange[uberbreath] = 35;
$AccessoryVar[uberbreath, $SpecialVar] = "6 900";
$WeaponDelay[uberbreath] = 0.9;
ItemImageData uberbreathImage
{
   shapeFile  = "invisable";
   mountPoint = 0;
   mountoffset = "-0.3 0 0.5";
   weaponType = 0;
   reloadTime = 0;
   showInventory = false;
   fireTime = $WeaponDelay[uberbreath];
   minEnergy = 0;
   maxEnergy = 0;
   accuFire = true;
   sfxFire = NoSound;
   sfxActivate = NoSound;
};
ItemData uberbreath
{
   heading = "bWeapons";
   description = "Uber Breath";
   className = "Weapon";
   shapeFile  = "invisable";
showInventory = false;
   hudIcon = "blaster";
   shadowDetailMask = 4;
   imageType = uberbreathImage;
   price = 0;
   showWeaponBar = true;
};
function uberbreathImage::onFire(%player, %slot)
{
   %client = GameBase::getOwnerClient(%player);
   %trans = GameBase::getMuzzleTransform(%player);
   %vel = Item::getVelocity(%player);
  ÂÂÂ
  Projectile::spawnProjectile("ubbshotbshot",%trans,%player,%vel);
  ÂÂÂ
}
thanks for any help.
Hersh
-
I don't do effects. Undergod should be able to help if he browses through here.
-
Look for "RocketData ubbshotbshot" and change the image there. You will want to change both the bulletShapeName and trailString for it to look different.
-
Ok,sorry it took so long for me to get back to this, I've been busy lately...
Anyways i got it to change what it fires ..
  Projectile::spawnProjectile("SniperLaser",%trans,%player,%vel);
But now it doesnt hurt bots. ???
You will want to change both the bulletShapeName and trailString for it to look different.
Where would i find those?
Sorry for being such a newb about this but making weapons is new to me. :-[
-
I would love to see a redone affects code for tribes, like what tenebrae did for quake. Me and eViL discussed it earlier. If not for tribes, then for tribes 2. Bumpmapping, pixel shading, per pixel shadows, improved textures/texture size, new models, reflections, higher detailed skies...
-
T2 already looks pretty good, Dar.
-
But now it doesnt hurt bots. ???quote]
best guess : you didn't specify a damage type and so tribes doesn't deal any damage, it just assumes the damage is manually applied.
-
T2 already looks pretty good, Dar.
Cmon Particle, you are a GeForce3 owner just as I am. Dont you desire to completely fry your card on such affects as I do?