Poll

Should functions like selective fire and weapon bashing for the original realistic pack use custom button binds? Please note that this means people without the mod will not be able to use said functions.

Yes
NO

Author Topic: BKT Project Thread: yar  (Read 430433 times)

Why hasn't anyone made a directional blast claymore?
Shouldn't be that hard, right?
Right?

No, you have no scripting experience. It's not just putting in words that MIGHT make sense to the engine and expecting it to comply. Eg:

START SCRIPT
WHEN PLAYER GOES BY CLAMORE
EXPLODE
DIRECTION FRONT-WAYS
END SCRIPT.

No, not even close. It's a long slur of stuff that even I find hard to comprehend. Zloff, do the honors of posting a sliver of real script.

Will you ever sell this?

What really, really, really needs to be made is the USP Tactical. That gun is beasty.
make uzi pls
In my opinion, I can't see and Uzi in this pack. I'm not making it, though, so I have no control over whether it will be added. They already have a lot on their plates, so I expect that any more gun suggestions will not be taken.

I already made a USP. I just forgot I had it. :3

Everyone wants the USP. The M-45 is close enough to one, and is better Oh ok then I guess that works ._. and uhh, send me pictures of any finished gun that you have that you'd like to add into this pack, so people don't request things that you already have. Through Email of course, since you can't send PM's anymore :c

No, not even close. It's a long slur of stuff that even I find hard to comprehend. Zloff, do the honors of posting a sliver of real script.
Code: [Select]
function M9A1Fire(%this,%obj,%slot,%val,%triggerNum)
{
%projectile = BerettaM9Projectile;
if (%obj.heat > 4)
{
%obj.playThread(3, shiftAway);
}
else if (%obj.heat > 1)
{
%obj.playThread(3, plant);
}
if(%obj.isImageMounted(BerettaM9Image))
{
if(%triggerNum == 3 && %val)
{
%spread = 0.00075 + (%obj.heat * 0.00025);
}
else
if(vectorLen(%obj.getVelocity()) < 4)
{
%spread = 0.00125 + (%obj.heat * 0.00025);
}
else
{
%spread = 0.002 + (%obj.heat * 0.00025);
}
}
else if(%obj.isImageMounted(BerettaM9ADSImage))
{
if(%triggerNum == 4 && %val)
{
%spread = 0.00035 + (%obj.heat * 0.00025);
}
else
if(vectorLen(%obj.getVelocity()) < 4)
{
%spread = 0.0009 + (%obj.heat * 0.00025);
}
else
{
%spread = 0.0014 + (%obj.heat * 0.00025);
}
}
%obj.maxHeat = 10;
if(%obj.heat < %obj.maxHeat)
%obj.heat += 2;
%shellcount = 1;
for(%shell=0; %shell<%shellcount; %shell++)
{
%vector = %obj.getMuzzleVector(%slot);
%objectVelocity = %obj.getVelocity();
%vector1 = VectorScale(%vector, %projectile.muzzleVelocity);
%vector2 = VectorScale(%objectVelocity, %projectile.velInheritFactor);
%velocity = VectorAdd(%vector1,%vector2);
%x = (getRandom() - 0.5) * 10 * 3.1415926 * %spread;
%y = (getRandom() - 0.5) * 10 * 3.1415926 * %spread;
%z = (getRandom() - 0.5) * 10 * 3.1415926 * %spread;
%mat = MatrixCreateFromEuler(%x @ " " @ %y @ " " @ %z);
%velocity = MatrixMulVector(%mat, %velocity);

%p = new (%this.projectileType)()
{
dataBlock = %projectile;
initialVelocity = %velocity;
initialPosition = %obj.getMuzzlePoint(%slot);
sourceObject = %obj;
sourceSlot = %slot;
client = %obj.client;
};
MissionCleanup.add(%p);
}
%projectile = "FlashProjectile";
%vector = %obj.getMuzzleVector(%slot);
%objectVelocity = %obj.getVelocity();
%vector1 = VectorScale(%vector, %projectile.muzzleVelocity);
%vector2 = VectorScale(%objectVelocity, %projectile.velInheritFactor);
%velocity = VectorAdd(%vector1,%vector2);
%p = new (%this.projectileType)()
{
dataBlock = %projectile;
initialVelocity = %velocity;
initialPosition = %obj.getMuzzlePoint(%slot);
sourceObject = %obj;
sourceSlot = %slot;
client = %obj.client;
};
MissionCleanup.add(%p);
return %p;
}
That's what makes the bullets spread out

Will you ever sell this?
Hell yes we'll take money for this It's going to be publicly released, free of charge to download, but that's later

Edit: Got to make up unfinished work and study for exams, so I'll be scripting less than I have been the past few weeks, if not, not at all for a couple days
« Last Edit: May 20, 2011, 07:56:46 AM by Zloff »


When you finish making your models, I suggest squishing them, making the shorter, to give it a more Blocko look and so you don't have disproportionate weapons.

Someone say something?

Ewwwww. Thats just like a sausage. You don't like seeing it being made, but you like the end product

Ewwwww. Thats just like a sausage. You don't like seeing it being made, but you like the end product

This is generally why I don't post progress, only finished products. I only re-post (more like post a new pic) if it has been updated.

When you finish making your models, I suggest squishing them, making the shorter, to give it a more Blocko look and so you don't have disproportionate weapons.

that's what i do too!

Stop stealing my mind. :c

The ACR looks weird. I think I see some faces sticking out on the side and the front is oddly shaped. The ACR irl has a longer barrel and a longer front end.

And why is it orange?(I know it's suppose to be tan, but it looks orange....)
« Last Edit: May 20, 2011, 01:11:45 PM by XenocideII »

Suggestions:

SPAS
FN P90
FN Minimia
APMG
Ithica Model 37
M1014
Pancor Jackhammer
Ak-74
Stingball Grenade
Nailbomb
Semtex
Claymor
Working Night Vision Goggles
Airstrike Beacons

Suggestions:

SPAS
FN P90
FN Minimia
APMG
Ithica Model 37
M1014
Pancor Jackhammer
Ak-74
Stingball Grenade
Nailbomb
Semtex
Claymore
Working Night Vision Goggles
Airstrike Beacons
It's not just putting in words that MIGHT make sense to the engine and expecting it to comply. Eg:

START SCRIPT
WHEN PLAYER GOES BY CLAMORE
EXPLODE
DIRECTION FRONT-WAYS
END SCRIPT.

No, not even close. It's a long slur of stuff that even I find hard to comprehend. Zloff, do the honors of posting a sliver of real script.

Claymore

No, you have no scripting experience. It's not just putting in words that MIGHT make sense to the engine and expecting it to comply. Eg:
START SCRIPT
WHEN PLAYER GOES BY CLAMORE
EXPLODE
DIRECTION FRONT-WAYS
END SCRIPT.

The forget! I wasn't requesting a directional one, just a frickin land mine! Seriously, cut it out with the stupid!

Please don't add of that stuffty up and down recoil. It ruins the aim! D: