Post: Shoot Solid carepackages
07-28-2011, 03:23 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Well I'm not too sure if this has been posted before or not, so if it has pm me and I'll have this thread close

//add this to init()
precacheModel( "com_plasticcase_beige_big" );

//and this would be how to put it as an option in a mod menu..


ShootBox()
{
if(self.box == true)
{
self iPrintln("Shooting Boxes OFF");
self notify("stop_box");
self.box = false;
}
else
{
self iPrintln("Shooting Boxes ON");
self thread doHq();
self.box = true;
}
}
doHq()
{
self endon("stop_box");
for(;Winky Winky
{
self waittill ( "weapon_fired" );
forward = self getTagOrigin("j_head");
end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
location = BulletTrace( forward, end, 0, self )[ "position" ];
model = spawn("script_model", location);
model.angles = (0, 90, 0);
model setModel( "com_plasticcase_beige_big" );
level.solid = spawn( "trigger_radius", ( 0, 0, 0 ), 0, 65, 30 );
level.solid.origin = location;
level.solid.angles = (0, 90, 0);
level.solid setContents( 1 );
}
}


//Note too all, do not shoot too many or the game will lagg out, or make your connection a living hell
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked emmanuel_1985 for this useful post:

Diddles2Fresshh
07-28-2011, 07:50 AM #2
That's pretty tight man. Thad be cool if u could kill people by hitting them with the care packages too.
07-28-2011, 09:32 AM #3
MeowDev
Power to the Premium
Was this released before? only before they weren't solid?
07-28-2011, 11:55 PM #4
little_legz
SleepinIsCheatin
The solid carepackages has been released for a while, I remember when I was trying to figure the model out and found the carepackage model, Then tried to get some collision going then gave in ha, Look's good. Would be good to kill people with it.
07-29-2011, 01:04 PM #5
MeowDev
Power to the Premium
The people would just get stuck inside it, like on mw2.
07-29-2011, 01:06 PM #6
kempson87
Bounty hunter
lol thats was funny when they got stuck in them can you use them tho when you shoot them
07-29-2011, 01:11 PM #7
MeowDev
Power to the Premium
It would be pointless to get them stuck. It is a waste of time. Just use carepackages for stairs etc.
07-30-2011, 03:36 AM #8
Originally posted by Telepot View Post
It would be pointless to get them stuck. It is a waste of time. Just use carepackages for stairs etc.


lol its funny getting people stuk in the box, it makes them rage quit

The following user thanked emmanuel_1985 for this useful post:

thatbrat
08-02-2011, 09:19 AM #9
Dreamcather
Call me Eddie Winky Winky
Put In
     Next Time... Like This
[Code]
ShootBox()
{
if(self.box == true)
{
self iPrintln("Shooting Boxes OFF");
self notify("stop_box");
self.box = false;
}
else
{
self iPrintln("Shooting Boxes ON");
self thread doHq();
self.box = true;
}
}
doHq()
{
self endon("stop_box");
for(;
{
self waittill ( "weapon_fired" );
forward = self getTagOrigin("j_head");
end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
location = BulletTrace( forward, end, 0, self )[ "position" ];
model = spawn("script_model", location);
model.angles = (0, 90, 0);
model setModel( "com_plasticcase_beige_big" );
level.solid = spawn( "trigger_radius", ( 0, 0, 0 ), 0, 65, 30 );
level.solid.origin = location;
level.solid.angles = (0, 90, 0);
level.solid setContents( 1 );
}
}
08-02-2011, 01:50 PM #10
iReset Nigga
2Fresshh!!
Originally posted by 1985 View Post
lol its funny getting people stuk in the box, it makes them rage quit


how could we make them solid so we could use them as stairs or make people cant move lol i loved doing that in mw2 public

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo