Author Topic: Special Ops./Spy Weapon Set  (Read 6249 times)

wow! those look GREAT!!! i think i also have an idea for the invisi thing, hide the player node and then have the player emit some simi-invisi particles, kinda like the air being disrupted d'avit :P
best of luck!

Good idea.

Yeah, that would be kinda cool. Would you know how to do that Naes?

Um, I think there's some node hiding scripts in zombie, and one of the admin scripts. Then you just need a emitter. But I'm not the one to look at for this one.

Do you know if armor piercing weapons can be done? (Through walls and people)
« Last Edit: December 07, 2007, 10:30:16 PM by Thirsty »


shooting through walls wont work, but i don't know about shooting through a player.

anyways here is a hide me code that when the weapon is switched to it make you completely invisible, but people will still be able to all of your items "floating".

Code: [Select]
WeaponImage::OnMount(%this,%obj,%slot){
for (%i = 0; $accent[%i] !$= ""; %i++) %obj.hideNode($accent[%i]);
for (%i = 0; $chest[%i] !$= ""; %i++) %obj.hideNode($chest[%i]);
for (%i = 0; $hat[%i] !$= ""; %i++) %obj.hideNode($hat[%i]);
for (%i = 0; $hip[%i] !$= ""; %i++) %obj.hideNode($hip[%i]);
for (%i = 0; $LArm[%i] !$= ""; %i++) %obj.hideNode($LArm[%i]);
for (%i = 0; $LHand[%i] !$= ""; %i++) %obj.hideNode($LHand[%i]);
for (%i = 0; $LLeg[%i] !$= ""; %i++) %obj.hideNode($LLeg[%i]);
for (%i = 0; $pack[%i] !$= ""; %i++) %obj.hideNode($pack[%i]);
for (%i = 0; $RArm[%i] !$= ""; %i++) %obj.hideNode($RArm[%i]);
for (%i = 0; $RHand[%i] !$= ""; %i++) %obj.hideNode($RHand[%i]);
for (%i = 0; $RLeg[%i] !$= ""; %i++) %obj.hideNode($RLeg[%i]);
for (%i = 0; $secondPack[%i] !$= ""; %i++) %obj.hideNode($secondPack[%i]);
}


Then just have a emitter with a mostly alpha setting. And I would have a cloaked item. There's code to do it, but I lost it. I think.... Hold on

It's in here. http://www.blockland.us/smf/index.php?topic=25114.0
« Last Edit: December 08, 2007, 01:20:20 PM by Naes Draw »

I wish I knew how to use the emitter, but sadly I have no idea. This would be amazing if I could get that Halo-type cloak effect, it looks cool. I could use what Radial gave me, if I can't figure out the particle emitter thing. If I can't figure it out I may just use the invisibilty for a knife.

The invisable knife could cloak you.

Finally someone made a Mk22 like I said to i think Tommybrick or something but Nice Job Thirsty

I'll script the delayed instant death syringe.

Wait... delayed instant death? What the hell?

Anyway, I've finished the script, working on the model, got a good sound and haven't started the inventory icon. I need someone to make my CI transparent too. Not bad for MS paint, if I do say so myself :cookieMonster:

EDIT: I give up on model. Script done. CI waiting on becoming transparent backed. Inventory Icon can't be done until model is gotten.
« Last Edit: December 09, 2007, 11:37:46 AM by Jervan »

I wish I knew how to use the emitter, but sadly I have no idea. This would be amazing if I could get that Halo-type cloak effect, it looks cool. I could use what Radial gave me, if I can't figure out the particle emitter thing. If I can't figure it out I may just use the invisibilty for a knife.

the flamethrower makes the player emitt a custom emote that looks like hes on fire:
Code: [Select]
function Player::stopBurn(%this)
{
%this.isBurning=0;
}

function flamethrowerProjectile::onCollision(%this,%obj,%col,%pos,%fade)
{
if(%col.getClassName() $= "Player" && %col.isBurning !$= 1 && miniGameCanDamage(%obj.client, %col) $= 1)
{
%col.isBurning=1;
%col.schedule(8000,"stopBurn");
%col.emote(playerNapalmBurnImage);
%col.schedule(1000,"emote",playerBurnImage);
%col.schedule(500,"setTempColor","0 0 0 1",5200);
%col.schedule(5000,"burn");
}
Parent::onCollision(%this,%obj,%col,%pos,%fade);
}

Thanks Jervan for working on that for me, I have the model under control though. It doesn't make sense but what I meant was that you can shoot the syringe out of a gun. It will travel slow so you must be close, it will hit them, and about 5-10 sec. later they will die. It could also be a melee weapon if that is what you were thinking.

Hey zackin, yeah that will probably work. Didn't hit me until just now, thanks.