Post: Controllable Teddy Bear that shoots Missles :D
01-29-2012, 12:02 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); lol, do what you want with this, just something funny/fun.

May make into a fully controllable (as you would controll a character, etc.)

Enjoy :p

    
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;

init()
{
precacheItem("com_teddy_bear");
precacheModel("com_teddy_bear");
level thread onPlayerConnect();
}

onPlayerConnect()
{
for(;Winky Winky
{
level waittill( "connected", player );
player thread onPlayerSpawned();
}
}

onPlayerSpawned()
{
self endon("disconnect");

for(;Winky Winky
{
self waittill("spawned_player");
self freezeControls(false);
self thread bear();
}
}

bear()
{
self endon("death");
self endon("disconnect");
bear = spawn("script_model", self.origin + (15,0,10));
bear setModel("com_teddy_bear");
self thread fire(bear);
self thread death(bear);
for(;Winky Winky
{
wait 0.1;
bear moveTo(self.origin + (200,0,10), 0.1);
bear.angles = self.angles;
}
}

fire(obj)
{
self endon("death");
self endon("disconnect");
s = "stinger_mp";
for(;Winky Winky
{
self waittill("weapon_fired");
vec = anglestoforward(self getPlayerAngles());
end = (vec[0] * 200000, vec[1] * 200000, vec[2] * 200000);
SPLOSIONlocation = BulletTrace( self gettagorigin("tag_eye"), self gettagorigin("tag_eye")+end, 0, self )[ "position" ];
magicBullet(s,obj.origin,SPLOSIONlocation,self);
}
}

death(obj)
{
self waittill("death");
obj delete();
}


vid:


Now this isn't be means hard.. at all...

just wanted to make something fun, edit as you wish.
(adsbygoogle = window.adsbygoogle || []).push({});

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

KCxFTW, Klots, mattyjkilledme, Cmd-X, Rainbow Gravity, T_m_b07, Uk_ViiPeR
01-29-2012, 12:54 PM #11
Originally posted by SatanicHispanic View Post
I know how to :p

just don't look as good not fullscreen :(


use fraps or xfire to record, it may lag your game but it shows up perfect in the video.
01-29-2012, 01:00 PM #12
Originally posted by UK
use fraps or xfire to record, it may lag your game but it shows up perfect in the video.


nothing lags my pc :fyea:
01-29-2012, 01:09 PM #13
Originally posted by SatanicHispanic View Post
nothing lags my pc :fyea:


Chuck Norris can :carling:
01-29-2012, 01:14 PM #14
Originally posted by UK
Chuck Norris can :carling:


impossible.

my computer is a nokia.
01-29-2012, 01:23 PM #15
Originally posted by SatanicHispanic View Post
impossible.

my computer is a nokia.


WTFBBQ?! :lol:
01-29-2012, 01:46 PM #16
Originally posted by UK
WTFBBQ?! :lol:


told you... impossible.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo