The Exiled

Shunned by Man, Accepted by Gods
* FAQ    * Search   * Members
* Login   * Register
It is currently Sun Sep 15, 2019 2:47 pm 

 View unanswered posts | View active topics


 Board index » General Area » Modding

Post new topic Reply to topic Users browsing this forum: No registered users and 1 guest
Author
Message
BD Thunder
Half-Newbie

User avatar
Joined: Thu Oct 13, 2005 5:47 pm
Posts: 37
Post Posted: Sat Oct 15, 2005 6:42 pm    Post subject: More help needed...(Dual Wielding)
 
well heres what i have and still no dice....

Item.cs=
Code:

ItemData DiscAmmo
{
   description = "Disc";
   className = "Ammo";
   shapeFile = "discammo";
   heading = "xAmmunition";
   shadowDetailMask = 4;
   price = 2;
};


ItemImageData DiscLauncher2Image
{
   shapeFile = "disc";
   mountPoint = 0;
   mountRotation = { 3, -1.5, 0 };

   weaponType = 3; // DiscLauncher
   ammoType = DiscAmmo;
   projectileType = DiscShell;
   accuFire = true;
   reloadTime = 0.25;
   fireTime = 1.25;
   spinUpTime = 0.25;

   sfxFire = SoundFireDisc;
   sfxActivate = SoundPickUpWeapon;
   sfxReload = SoundDiscReload;
   sfxReady = SoundDiscSpin;
};

ItemData DiscLauncher2
{
   description = "Disc Launcher";
   className = "Weapon";
   shapeFile = "disc";
   hudIcon = "disk";
   heading = "bWeapons";
   shadowDetailMask = 4;
   imageType = DiscLauncherImage;
   price = 150;
   showWeaponBar = true;
};



ItemImageData DiscLauncherImage
{
   shapeFile = "disc";
   mountPoint = 0;

   weaponType = 3; // DiscLauncher
   ammoType = DiscAmmo;
   projectileType = DiscShell;
   accuFire = true;
   reloadTime = 0.25;
   fireTime = 1.25;
   spinUpTime = 0.25;

   sfxFire = SoundFireDisc;
   sfxActivate = SoundPickUpWeapon;
   sfxReload = SoundDiscReload;
   sfxReady = SoundDiscSpin;
};

ItemData DiscLauncher
{
   description = "Disc Launcher";
   className = "Weapon";
   shapeFile = "disc";
   hudIcon = "disk";
   heading = "bWeapons";
   shadowDetailMask = 4;
   imageType = DiscLauncherImage;
   price = 150;
   showWeaponBar = true;
};

function DiscLauncher::onMount(%player,%item)
{
   Player::mountItem(%player,DisLauncher2,4);
}

function DiscLauncher::onUnmount(%player,%item)
{
   Player::unmountItem(%player,4);
}



$AutoUse[Blaster] = True;
$AutoUse[Chaingun] = True;
$AutoUse[PlasmaGun] = True;
$AutoUse[Mortar] = True;
$AutoUse[GrenadeLauncher] = True;
$AutoUse[LaserRifle] = True;
$AutoUse[EnergyRifle] = True;
$AutoUse[TargetingLaser] = False;
$AutoUse[ChargeGun] = True;
$AutoUse[DiscLauncher2] = true;


$WeaponAmmo[Blaster] = "";
$WeaponAmmo[PlasmaGun] = PlasmaAmmo;
$WeaponAmmo[Chaingun] = BulletAmmo;
$WeaponAmmo[DiscLauncher] = DiscAmmo;
$WeaponAmmo[DiscLauncher2] = DiscAmmo;
$WeaponAmmo[GrenadeLauncher] = GrenadeAmmo;
$WeaponAmmo[Mortar] = Mortar;
$WeaponAmmo[LaserRifle] = "";
$WeaponAmmo[EnergyRifle] = "";

$NextWeapon[EnergyRifle] = Blaster;
$NextWeapon[Blaster] = PlasmaGun;
$NextWeapon[PlasmaGun] = Chaingun;
$NextWeapon[Chaingun] = DiscLauncher;
$NextWeapon[DiscLauncher] = GrenadeLauncher;
$NextWeapon[GrenadeLauncher] = Mortar;
$NextWeapon[Mortar] = LaserRifle;
$NextWeapon[LaserRifle] = Disclauncher2;
$NextWeapon[DiscLauncher2] = EnergyRifle;

$PrevWeapon[Blaster] = EnergyRifle;
$PrevWeapon[PlasmaGun] = Blaster;
$PrevWeapon[Chaingun] = PlasmaGun;
$PrevWeapon[DiscLauncher] = Chaingun;
$PrevWeapon[GrenadeLauncher] = DiscLauncher;
$PrevWeapon[Mortar] = GrenadeLauncher;
$PrevWeapon[LaserRifle] = Mortar;
$PrevWeapon[DiscLauncher2] = LaserRifle;
$PrevWeapon[EnergyRifle] = DiscLauncher2;


ARMOR:


$ItemMax[larmor, Blaster] = 1;
$ItemMax[larmor, Chaingun] = 1;
$ItemMax[larmor, Disclauncher] = 1;
$ItemMax[larmor, GrenadeLauncher] = 1;
$ItemMax[larmor, Mortar] = 0;
$ItemMax[larmor, PlasmaGun] = 1;
$ItemMax[larmor, LaserRifle] = 1;
$ItemMax[larmor, EnergyRifle] = 1;
$ItemMax[larmor, TargetingLaser] = 1;
$ItemMax[larmor, MineAmmo] = 3;
$ItemMax[larmor, Grenade] = 5;
$ItemMax[larmor, Beacon]  = 3;
$ItemMax[larmor, Disclauncher2] = 1;


What am i missing or what did i do wrong??

 



I used up all of my sick days, so im calling in dead.....
 Top Offline
Profile
Author
Message
TE-Noxwizard
King

User avatar
Joined: Tue Jun 07, 2005 5:59 pm
Posts: 941
Location: Texas
Post Posted: Sat Oct 15, 2005 6:59 pm    Post subject:
 
Let me get something clear first. You are making a dual image weapon right? To do that you mount a second image on to the first one. You need to change all the DiscLauncher2 stuff to DiscLauncher. Change the stuff in the armor data, the prev/next weapons, the autouse part, and the ItemMax part. The only thing that needs a 2 is the image itself.

Next time, just continue on your other thread since it is about the same problem.



Image
Image
 Top Offline
Profile WWWICQYIM
Author
Message
BD Thunder
Half-Newbie

User avatar
Joined: Thu Oct 13, 2005 5:47 pm
Posts: 37
Post Posted: Sat Oct 15, 2005 7:54 pm    Post subject:
 
alright il see how that works out :lol: :lol: :lol:


I used up all of my sick days, so im calling in dead.....
 Top Offline
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic Board index » General Area » Modding
Previous topic :: Next topic  
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group