Author Topic: How to Make Weapons for Blockland - The Up-To-Date version. (As of 2 years ago)  (Read 84250 times)

Milkshape isn't free, did you buy it?
The question should be

Did he bother READING it?

Muffin, Azerath said that when he had the demo version, he could save and so on. Btw I know it's not free. Maybe I should of put more detail into the last comment I made.
The question should be

Did he bother READING it?

What didn't I read?
« Last Edit: October 21, 2009, 05:39:59 AM by Kenjo28 »

Bandwith for the pictures has exceeded. Thus interupting mai weapen work :U

Thanks!  But wait,  isn't there supposed to be a weapon script (besides server.cs) for weapons?

Thanks!  But wait,  isn't there supposed to be a weapon script (besides server.cs) for weapons?


You can put it all inside the server.cs

errrr......i tried to use bits of other scripts to make something like akimbo guns but.....it doesnt work.
help me and free cookies!!!! :cookie: :cookie: :cookie:

errrr......i tried to use bits of other scripts to make something like akimbo guns but.....it doesnt work.
help me and free cookies!!!! :cookie: :cookie: :cookie:


Code: [Select]
};

[b]function LeftHandedGunImage::onFire(%this, %obj, %slot)[/b]{
   Parent::onFire(%this,%obj,%slot);
   if(%obj.getDamagePercent() < 1.0)
%obj.playThread(2, leftrecoil);
}

[b]function AkimboGunImage::onMount(%this, %obj, %slot)[/b]
{
   Parent::onMount(%this, %obj, %slot);
   //mount lefthanded gun
   %obj.mountImage(LeftHandedGunImage, 1);
   //%obj.playThread(0, armreadyboth);
}
[b]function AkimboGunImage::onUnMount(%this, %obj, %slot)[/b]
{
   Parent::onUnMount(%this, %obj, %slot);
   //unmount lefthanded gun
   %obj.unMountImage(1);
   //%obj.playThread(0, root);
}


[b]function LeftHandedGunImage::onMount(%this, %obj, %slot)[/b]
{
   Parent::onMount(%this, %obj, %slot);
   %obj.playThread(1, armreadyboth);
[b]}
function LeftHandedGunImage::onUnMount(%this, %obj, %slot)[/b]
{
   Parent::onUnMount(%this, %obj, %slot);
}

[b]function AkimboGunImage::onFire(%this,%obj,%slot)[/b]
{
if(%obj.getDamagePercent() < 1.0)
%obj.playThread(2, shiftAway);
Parent::onFire(%this,%obj,%slot);

   //%obj.setImageTrigger(1,1);
}

It is at the very bottom of the script in where you will find the way two guns are being held.. I think.  I'm new to this too.

errr wat do i do with this and thanks!!! :D
you get cookies
 :cookie: :cookie: :cookie:

wait do i..err add this to the gun script but change the akimbo bits........

please use image shack
photo bucket's bandwidth is stuff and we all know it

Muffin, Azerath said that when he had the demo version, he could save and so on. Btw I know it's not free. Maybe I should of put more detail into the last comment I made.

Once the demo runs out you can't save/export.


Code: [Select]
};

[b]function LeftHandedGunImage::onFire(%this, %obj, %slot)[/b]{
   Parent::onFire(%this,%obj,%slot);
   if(%obj.getDamagePercent() < 1.0)
%obj.playThread(2, leftrecoil);
}

[b]function AkimboGunImage::onMount(%this, %obj, %slot)[/b]
{
   Parent::onMount(%this, %obj, %slot);
   //mount lefthanded gun
   %obj.mountImage(LeftHandedGunImage, 1);
   //%obj.playThread(0, armreadyboth);
}
[b]function AkimboGunImage::onUnMount(%this, %obj, %slot)[/b]
{
   Parent::onUnMount(%this, %obj, %slot);
   //unmount lefthanded gun
   %obj.unMountImage(1);
   //%obj.playThread(0, root);
}


[b]function LeftHandedGunImage::onMount(%this, %obj, %slot)[/b]
{
   Parent::onMount(%this, %obj, %slot);
   %obj.playThread(1, armreadyboth);
[b]}
function LeftHandedGunImage::onUnMount(%this, %obj, %slot)[/b]
{
   Parent::onUnMount(%this, %obj, %slot);
}

[b]function AkimboGunImage::onFire(%this,%obj,%slot)[/b]
{
if(%obj.getDamagePercent() < 1.0)
%obj.playThread(2, shiftAway);
Parent::onFire(%this,%obj,%slot);

   //%obj.setImageTrigger(1,1);
}

It is at the very bottom of the script in where you will find the way two guns are being held.. I think.  I'm new to this too.
First of all everyone notices the function still says Aikombo gun...
you need to change it to the name of your gun

Damn, Bandwidth exceeded Photobuck... Wtf? -__- If the pictures were working, this would of helped me hugely.

Damn, Bandwidth exceeded Photobuck... Wtf? -__- If the pictures were working, this would of helped me hugely.
Me too. Damn photobucket pro crap.
« Last Edit: October 30, 2009, 12:55:22 PM by Pirate Peat »