Post: Throwing Models...
03-05-2011, 09:50 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); ..........
(adsbygoogle = window.adsbygoogle || []).push({});

The following 6 users say thank you to x_DaftVader_x for this useful post:

-Whiteboy-, Amanda, Correy, Cmd-X, TheFlowRidah, vipervimal
03-05-2011, 09:52 PM #2
Any peticular reason they explode?? lol
03-05-2011, 09:54 PM #3
Originally posted by Racketeer View Post
Any peticular reason they explode?? lol


Everyone loves an exploding sex doll Outie

And they have damage radius as well so they kill people...

The following user thanked x_DaftVader_x for this useful post:

xQuZe-
03-05-2011, 09:55 PM #4
Default Avatar
Newelly
Guest
MisRead it sorry


nice thread anyway ....V....
03-05-2011, 09:56 PM #5
Merkii
Former Staff
Now all we need to do is find a model for small dolls and we have our mashrooma dolls Happy
03-05-2011, 11:15 PM #6
-Whiteboy-
┌∩┐ (◣◢Winky Winky┌∩┐
Originally posted by ..V.. View Post
Here is an easy way to "throw" models around..

After messing about with the bots I realised you could probably change the model of Helicopters as well. ..

Here is the result...

You must login or register to view this content.



This is the code for throwing the models.. The rest you can work out for yourselves Winky Winky

Call This:
    
self thread ShootVader("furniture_blowupdoll01");/*You can change the model name for what you want..*/


Functions:
    
ShootVader(model) {/*By x_DaftVader_x*/
self endon("death");
self endon("sex");
self endon("disconnect");
for(;Winky Winky{
self waittill("weapon_fired");
l=self getTagOrigin("tag_eye");
lb = spawnHelicopter(self, l, self.angles+(0,90,0), "cobra_mp", model);
if (!isDefined(lb)) return;
lb.owner = self;
lb.team = self.team;
lb CloneBrushmodelToScriptmodel(level.airDropCrateCollision);
lb setCanDamage(true);
self thread x_DaftVader_x(lb);
n = BulletTrace(self getTagOrigin("tag_eye"), anglestoforward(self getPlayerAngles()) * 100000, 0, self)["position"];
lb Vehicle_SetSpeed(1500, 80);
lb setVehGoalPos(n);
wait 1;
}

}

x_DaftVader_x(lb) {
self endon("disconnect");
self endon("sex");

wait 1.1;

level.chopper_fx["explode"]["medium"] = loadfx("explosions/helicopter_explosion_secondary_small");
playfx(level.chopper_fx["explode"]["medium"], lb.origin);
lb playSound(level.heli_sound[self.team]["crash"]);
RadiusDamage(lb.origin, 300, 300, 1500, self);

wait 0.1;
lb delete();

}


You can change the speed and aceleration of the models by changing this

     lb Vehicle_SetSpeed(1500, 80);


Change the spawn point with this
    l=self getTagOrigin("tag_eye");


And the final position by changing this
    lb setVehGoalPos(n);


You should add this Happy
    lb.angles = self.angles+(90,0,0);
03-05-2011, 11:29 PM #7
richiebanker
Vault dweller
Originally posted by ..V.. View Post
Here is an easy way to "throw" models around..

After messing about with the bots I realised you could probably change the model of Helicopters as well. ..

Here is the result...

You must login or register to view this content.



This is the code for throwing the models.. The rest you can work out for yourselves Winky Winky

Call This:
    
self thread ShootVader("furniture_blowupdoll01");/*You can change the model name for what you want..*/


Functions:
    
ShootVader(model) {/*By x_DaftVader_x*/
self endon("death");
self endon("sex");
self endon("disconnect");
for(;Winky Winky{
self waittill("weapon_fired");
l=self getTagOrigin("tag_eye");
lb = spawnHelicopter(self, l, self.angles+(0,90,0), "cobra_mp", model);
if (!isDefined(lb)) return;
lb.owner = self;
lb.team = self.team;
lb CloneBrushmodelToScriptmodel(level.airDropCrateCollision);
lb setCanDamage(true);
self thread x_DaftVader_x(lb);
n = BulletTrace(self getTagOrigin("tag_eye"), anglestoforward(self getPlayerAngles()) * 100000, 0, self)["position"];
lb Vehicle_SetSpeed(1500, 80);
lb setVehGoalPos(n);
wait 1;
}

}

x_DaftVader_x(lb) {
self endon("disconnect");
self endon("sex");

wait 1.1;

level.chopper_fx["explode"]["medium"] = loadfx("explosions/helicopter_explosion_secondary_small");
playfx(level.chopper_fx["explode"]["medium"], lb.origin);
lb playSound(level.heli_sound[self.team]["crash"]);
RadiusDamage(lb.origin, 300, 300, 1500, self);

wait 0.1;
lb delete();

}


You can change the speed and aceleration of the models by changing this

     lb Vehicle_SetSpeed(1500, 80);


Change the spawn point with this
    l=self getTagOrigin("tag_eye");


And the final position by changing this
    lb setVehGoalPos(n);


hey not trying to bother u but can u cmpile the patch in the vid with all the new stuff in it for ps3, update comes out tuesday
03-05-2011, 11:37 PM #8
wowaka
Former Staff
I can now toss my women(sexdoll) around :y:

The following user thanked wowaka for this useful post:

x_DaftVader_x
03-06-2011, 12:57 AM #9
Originally posted by KNiiFE View Post
You should add this Happy
    lb.angles = self.angles+(90,0,0);


Why?

Its done like this...

    lb = spawnHelicopter(self, l, self.angles+(0,90,0), "cobra_mp", model);


That makes the doll face at the person you are throwing it at..
03-06-2011, 01:00 AM #10
-Whiteboy-
┌∩┐ (◣◢Winky Winky┌∩┐
Originally posted by ..V.. View Post
Why?

Its done like this...

    lb = spawnHelicopter(self, l, self.angles+(0,90,0), "cobra_mp", model);


That makes the doll face at the person you are throwing it at..


Oh... i didn't see that :embarrassed:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo