Particle's Custom RPG

Assistance => Assistance & Feedback => Topic started by: Hersh on August 11, 2002 08:53 pm CDT

Title: uber breath =\
Post 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
Title: Re: uber breath =\
Post by: Particle on August 12, 2002 05:09 am CDT
I don't do effects.  Undergod should be able to help if he browses through here.
Title: Re: uber breath =\
Post by: Anonymous on August 12, 2002 05:22 am CDT
Look for "RocketData ubbshotbshot" and change the image there. You will want to change both the bulletShapeName and trailString for it to look different.
Title: Re: uber breath =\
Post by: Hersh on August 12, 2002 10:31 pm CDT
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. :-[
Title:
Post by: Darwin on January 25, 2003 04:30 pm CST
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...
Title:
Post by: Particle on January 25, 2003 04:38 pm CST
T2 already looks pretty good, Dar.
Title: Re: uber breath =\
Post by: eViL on January 27, 2003 10:01 pm CST
Quote from: "Hersh"
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.
Title:
Post by: Darwin on January 28, 2003 12:04 am CST
Quote from: "Particle"
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?