Author Topic: Extra weapons?  (Read 7899 times)

0 Members and 1 Guest are viewing this topic.

UnderGod

  • Centurian Lord
  • ********
  • Posts: 2,691
  • Reputation: +0/-0
(No subject)
« Reply #30 on: June 7, 2003 03:48 pm CDT »
THis is just a tase of what I can do

$AccessoryVar[Saber, $AccessoryType] = $LaserAccessoryType;
$AccessoryVar[Saber, $SpecialVar] = "6 999";
$AccessoryVar[Saber, $Weight] = 2;
$AccessoryVar[Saber, $MiscInfo] = "Ozzy's famous Light Saber";
$WeaponDelay[Saber] = 0.3;

ItemImageData SaberImage
{
   shapeFile  = "saber01";
   mountPoint = 0;

   weaponType = 0; // Single Shot
   reloadTime = 0;
   fireTime = 1.0;
   minEnergy = 0;
   maxEnergy = 0;

   accuFire = true;

   sfxFire = SoundSswing;
   sfxActivate = SoundSon;
};
ItemData Saber
{
   heading = "bWeapons";
   description = "Ozzy's Light Saber";
   className = "Weapon";
   shapeFile  = "saber01";
   hudIcon = "Sbr";
   shadowDetailMask = 4;
   imageType = SaberImage;
   price = 0;
   showWeaponBar = true;
};
function SaberImage::onFire(%player, %slot)
{
    SpecialAttack(%player, GetRange(Saber), Saber);
    ForceAttack(%player, GetRange(Saber), Saber);
    MeleeAttack(%player, GetRange(Saber), Saber);
}
« Last Edit: June 7, 2003 03:53 pm CDT by UnderGod »
"The right man in the wrong place can make all the difference in the world"

Vorter_X_

  • Centurian Lord
  • ********
  • Posts: 2,693
  • Reputation: +2/-0
(No subject)
« Reply #31 on: June 7, 2003 03:49 pm CDT »
lol GROVEL

btw does it show the neon glow stick?
« Last Edit: December 31, 1969 06:00 pm CST by Vorter_X_ »

UnderGod

  • Centurian Lord
  • ********
  • Posts: 2,691
  • Reputation: +0/-0
(No subject)
« Reply #32 on: June 7, 2003 03:51 pm CDT »
Yes.

The sounds I took from JK2.

I had a friend make the model and skin it.
« Last Edit: December 31, 1969 06:00 pm CST by UnderGod »
"The right man in the wrong place can make all the difference in the world"

xkenshinx

  • Centurian Lord
  • ********
  • Posts: 1,816
  • Reputation: +0/-0
(No subject)
« Reply #33 on: June 7, 2003 03:55 pm CDT »
Quote from: "UnderGod"
Yes.

The sounds I took from JK2.

I had a friend make the model and skin it.


so what your saying is.... u didn't actually do any of the work  :lol:
« Last Edit: December 31, 1969 06:00 pm CST by xkenshinx »

"First comes smiles, then lies. Last is gunfire." �Roland Deschain, of Gilead

UnderGod

  • Centurian Lord
  • ********
  • Posts: 2,691
  • Reputation: +0/-0
(No subject)
« Reply #34 on: June 7, 2003 03:58 pm CDT »
Look at the code..

Look at the onfire function..

I made 2 other functions to go with it..

I have specialattack which is not just animations, but it lets you do some combos.

I have forceattack which allows you to pick a force power from the tab menu, and it uses it when you fire.
I also have the base TRPG meleeattack.

You can do up to a 5-hit combo so far.
« Last Edit: December 31, 1969 06:00 pm CST by UnderGod »
"The right man in the wrong place can make all the difference in the world"

xkenshinx

  • Centurian Lord
  • ********
  • Posts: 1,816
  • Reputation: +0/-0
(No subject)
« Reply #35 on: June 7, 2003 04:03 pm CDT »
just messin with u :P
« Last Edit: December 31, 1969 06:00 pm CST by xkenshinx »

"First comes smiles, then lies. Last is gunfire." �Roland Deschain, of Gilead

UnderGod

  • Centurian Lord
  • ********
  • Posts: 2,691
  • Reputation: +0/-0
(No subject)
« Reply #36 on: June 7, 2003 04:05 pm CDT »
Also,

I don't know if you noticed..

But before you say something about it..

I have the global delay at 0.3 to fix a combo bug..

I have the 1.0 on the firetime for the forceattack
« Last Edit: December 31, 1969 06:00 pm CST by UnderGod »
"The right man in the wrong place can make all the difference in the world"

Vorter_X_

  • Centurian Lord
  • ********
  • Posts: 2,693
  • Reputation: +2/-0
(No subject)
« Reply #37 on: June 7, 2003 08:50 pm CDT »
please tell me this is gonna be an admin wep??
« Last Edit: December 31, 1969 06:00 pm CST by Vorter_X_ »

UnderGod

  • Centurian Lord
  • ********
  • Posts: 2,691
  • Reputation: +0/-0
(No subject)
« Reply #38 on: June 7, 2003 08:57 pm CDT »
No.. I don't think Part would want it in..

Besides I lost the model after I formatted.
I still have all the code, and I can get the sounds easy.
« Last Edit: December 31, 1969 06:00 pm CST by UnderGod »
"The right man in the wrong place can make all the difference in the world"

UnderGod

  • Centurian Lord
  • ********
  • Posts: 2,691
  • Reputation: +0/-0
(No subject)
« Reply #39 on: June 7, 2003 08:57 pm CDT »
No.. I don't think Part would want it in..

Besides I lost the model after I formatted.
I still have all the code, and I can get the sounds easy.
« Last Edit: December 31, 1969 06:00 pm CST by UnderGod »
"The right man in the wrong place can make all the difference in the world"

Vorter_X_

  • Centurian Lord
  • ********
  • Posts: 2,693
  • Reputation: +2/-0
(No subject)
« Reply #40 on: June 7, 2003 09:44 pm CDT »
ummm i have the model

hehehe wanna see???



gimme a minute to load it up its on the starwars TC which i cannot find atm but i know its around here somewhere

ill put it up when i find the disc
« Last Edit: December 31, 1969 06:00 pm CST by Vorter_X_ »

mad

  • Gnoll Fighter
  • **
  • Posts: 79
  • Reputation: +0/-0
(No subject)
« Reply #41 on: June 8, 2003 12:41 pm CDT »
still waiting 8)
« Last Edit: December 31, 1969 06:00 pm CST by mad »

Daywalker

  • Orc Thrasher
  • ***
  • Posts: 114
  • Reputation: +0/-0
    • http://www.angelfire.com/realm2/daywalker/
(No subject)
« Reply #42 on: June 8, 2003 04:34 pm CDT »
That wheapon is kewl Ozzy, you know your shtuff,

what kinda updates are ya doing to server ?
« Last Edit: December 31, 1969 06:00 pm CST by Daywalker »