Author Topic: uber breath =\  (Read 18715 times)

0 Members and 1 Guest are viewing this topic.

Hersh

  • Elvin Legion
  • *****
  • Posts: 413
  • Reputation: +0/-0
uber breath =\
« 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
« Last Edit: December 31, 1969 06:00 pm CST by Hersh »

I kissed a drunk girl on the lips.
This post, by its very length, defends itself against the risk of being read.

Particle

  • Chief Codemonger
  • Administrator
  • Centurian Lord
  • ********
  • Posts: 5,904
  • Reputation: +20/-4
    • Particle's Custom RPG
Re: uber breath =\
« Reply #1 on: August 12, 2002 05:09 am CDT »
I don't do effects.  Undergod should be able to help if he browses through here.
« Last Edit: December 31, 1969 06:00 pm CST by Particle »
As a point of history:  Our last server clear was on September 27, 2004.  That is 4963 days ago (13.6 years) as of today.

If you're visiting after a long hiatus and have forgotten your password, try emailing me via the support form at http://www.pcrpg.org.

If your character is from after the 2004 clear but appears to have been deleted or reset, chances are it was caught in one of the inactive account purges over the years.  Backups were made before such events, so try the support form.

Anonymous

  • Goblin Pup
  • *
  • Posts: 0
  • Reputation: +0/-0
Re: uber breath =\
« Reply #2 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.
« Last Edit: December 31, 1969 06:00 pm CST by Anonymous »

Hersh

  • Elvin Legion
  • *****
  • Posts: 413
  • Reputation: +0/-0
Re: uber breath =\
« Reply #3 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. :-[
« Last Edit: December 31, 1969 06:00 pm CST by Hersh »

I kissed a drunk girl on the lips.
This post, by its very length, defends itself against the risk of being read.

Darwin

  • Centurian Lord
  • ********
  • Posts: 6,466
  • Reputation: +0/-0
    • http://www.mierda54.tripod.com
(No subject)
« Reply #4 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...
« Last Edit: December 31, 1969 06:00 pm CST by Darwin »



Particle

  • Chief Codemonger
  • Administrator
  • Centurian Lord
  • ********
  • Posts: 5,904
  • Reputation: +20/-4
    • Particle's Custom RPG
(No subject)
« Reply #5 on: January 25, 2003 04:38 pm CST »
T2 already looks pretty good, Dar.
« Last Edit: December 31, 1969 06:00 pm CST by Particle »
As a point of history:  Our last server clear was on September 27, 2004.  That is 4963 days ago (13.6 years) as of today.

If you're visiting after a long hiatus and have forgotten your password, try emailing me via the support form at http://www.pcrpg.org.

If your character is from after the 2004 clear but appears to have been deleted or reset, chances are it was caught in one of the inactive account purges over the years.  Backups were made before such events, so try the support form.

eViL

  • Uber Menace
  • *******
  • Posts: 1,022
  • Reputation: +0/-0
Re: uber breath =\
« Reply #6 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.
« Last Edit: December 31, 1969 06:00 pm CST by eViL »
Quote from: "LastWish || NextWish"
eViL, you were probably the coolest but most misunderstood person in this community.. maybe the rest will find out how cool of a person you are some day, and don't get too mad at the people who dont understand you.. its their loss in the end.

Darwin

  • Centurian Lord
  • ********
  • Posts: 6,466
  • Reputation: +0/-0
    • http://www.mierda54.tripod.com
(No subject)
« Reply #7 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?
« Last Edit: December 31, 1969 06:00 pm CST by Darwin »