Author Topic: Weapons Refuse to Fire  (Read 577 times)

Currently making an edit of the W40K weapon pack for a friend of mine's project. The melee weapons, for whatever reason: refuse to fire.
I look through the .cs files for each weapon, there is literally nothing I can find that would keep it from working. Maybe I'm overlooking something, maybe it's just my Blockland.

If this is the wrong section, please let me know.

-SEE MOST RECENT POST-
« Last Edit: October 23, 2013, 06:04:45 PM by Deadzone »

Required AddOn
Gun
Rocket Launcher
You need enable these. then try test it.

Enable all of the default add-ons.

Required AddOn
Gun
Rocket Launcher
You need enable these. then try test it.

Enable all of the default add-ons.

Um...

Did either of you try the weapons or look into the CS files? If they somehow worked for you, then it simply is just my blockland. I enabled only default add-ons and enabled the pack; still doesn't work correctly.

Edit: Well...I found the problem, but it's kind of silly. Apparently the following can't be set below 75 or problems will form:

Quote
//projectile
AddDamageType("Chainsword",   '<bitmap:add-ons/Weapon_WH40k_Imperium/CI_chainsword> %1',    '%2 <bitmap:add-ons/Weapon_WH40k_Imperium/CI_chainsword> %1',0.75,1);
datablock ProjectileData(ChainswordProjectile)
{
   directDamage        = 50;
   directDamageType  = $DamageType::Chainsword;
   radiusDamageType  = $DamageType::Chainsword;
   explosion           = ChainswordExplosion;
   //particleEmitter     = poo;

   muzzleVelocity      = 100;
   velInheritFactor    = 1;

   armingDelay         = 0;
   lifetime            = 75;
   fadeDelay           = 75;
   bounceElasticity    = 0;
   bounceFriction      = 0;
   isBallistic         = false;
   gravityMod = 0.0;

   hasLight    = false;
   lightRadius = 3.0;
   lightColor  = "0 0 0.5";

   uiName = "Chainsword Slice";
};
« Last Edit: October 23, 2013, 06:03:41 PM by Deadzone »