Post: [Release] IMS for MW2
01-27-2012, 07:48 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I thought this would be cool so I created it Happy

enjoy

Update 1:
*after 4 shots, it starts to smoke and it can't shoot anymore
*15 seconds after it starts it will dissapear Happy
*changed model to a folded sentry (looks more like ims)

Add this anywhere, this is what you want to init the mod (so add this to menu)
    
ims()
{
self endon("disconnect");
self thread killStreakNotify(self.name,"IMS");
o = self;
offset = (50,0,Cool Man (aka Tustin);
ims = spawn("script_model", self.origin + offset);
ims setModel( "sentry_minigun_folded" );
ims.angles = (90,0,0);
ims Solid();
ims CloneBrushmodelToScriptmodel(level.airDropCrateCollision);
ims.times = 0;
s = "stinger_mp";

for(;Winky Winky
{
if (ims.times >= 4) o thread objDelete(ims,self);

foreach(p in level.players){
d = distance(ims.origin,p.origin);
if (level.teambased){
if ((p!=o)&&(p.pers["team"]!=self.pers["team"]))
if(d<250)
if (isAlive(p)) p thread imsxpl(ims,o,p,s);
}else{
if(p!=o)
if(d<250)
if (isAlive(p)) p thread imsxpl(ims,o,p,s);
}
wait 0.3;
}

}
}


Then this function (needed for code above)
    
imsxpl(obj,me,noob,bullet)
{
me endon("disconnect");
me endon("noims");
for(;Winky Winky
{
MagicBullet(bullet,obj.origin,noob.origin,me);
wait 0.1;
obj.times = obj.times + 1;
break;
}
}


And finally add this (also a world function for future models)
    
objDelete(obj,me)
{
me notify("noims");
level.bombstrike = loadfx ("explosions/wall_explosion_pm_a");
playfxontag( level.bombstrike, obj, "tag_origin");
wait 15;
obj delete();
}

Credits: Me :fyea:

Video:
(adsbygoogle = window.adsbygoogle || []).push({});

The following 13 users say thank you to Jakes625 for this useful post:

04jberry, 247Yamato, BvB-09r-_-N!c0, CrEaTiiOn_BuRn, Docko412, ImCreativeModdz, mattyjkilledme, Cmd-X, Rainbow Gravity, Uk_ViiPeR, xFaziikModz, User2340034u
01-30-2012, 02:03 AM #20
any ideas any1?
01-30-2012, 10:54 PM #21
LightModz
League Champion
Originally posted by SatanicHispanic View Post
any ideas any1?

if ideas u mean by ideas for your next script then here is an idea:
have a silver ball going around you lol :P
01-30-2012, 10:56 PM #22
Originally posted by LightModz View Post
if ideas u mean by ideas for your next script then here is an idea:
have a silver ball going around you lol :P


alright but why? :p

what about teddy bears?
01-31-2012, 04:05 PM #23
LightModz
League Champion
Originally posted by SatanicHispanic View Post
alright but why? :p

what about teddy bears?


up to you mate but ive got the code for dead cows like the one on wasteland! Happy Smile
u wanna add me on PSN? its
LightModz
01-31-2012, 10:06 PM #24
Originally posted by LightModz View Post
up to you mate but ive got the code for dead cows like the one on wasteland! Happy Smile
u wanna add me on PSN? its
LightModz


Ight, and that gave me an idea :carling: this will be funny..
01-31-2012, 11:17 PM #25
LightModz
League Champion
Originally posted by SatanicHispanic View Post
Ight, and that gave me an idea :carling: this will be funny..

cant wait lol btw can u release that code in your video "real turret" Smile
01-31-2012, 11:39 PM #26
Originally posted by LightModz View Post
cant wait lol btw can u release that code in your video "real turret" Smile


the whole projectile thing, or just the turret part?
02-01-2012, 10:28 AM #27
LightModz
League Champion
Originally posted by SatanicHispanic View Post
the whole projectile thing, or just the turret part?

like the whole code so your able to shoot out real sentry guns Happy that was awesome

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo