Post: [Script] Homefront Spawn
01-20-2015, 03:23 PM #1
djota
Haxor!
(adsbygoogle = window.adsbygoogle || []).push({}); Hi all, I recently went and saw the Homefront MW2 Spawn, so I decided to convert this to bo2 because there were people who had wanted to see this. I leave here the script

Put this on OnPlayerSpawned()
Originally posted by another user
player thread homefront();


This will put anywhere:
    homefront()
{
self endon("death");
self endon("disconnect");
self endon("welcone_Done");
for(;Winky Winky
{
self EnableInvulnerability();
self disableWeapons();
self hide();
self freezeControls( true );
zoomHeight = 5000;
zoomBack = 4000;
yaw = 55;
origin = self.origin;
self.origin = origin+vector_scale(anglestoforward(self.angles+(0,-180,0)),zoomBack)+(0,0,zoomHeight);
ent = spawn("script_model",(0,0,0));
ent.angles = self.angles+(yaw,0,0);
ent.origin = self.origin;
ent setmodel("tag_origin");
self PlayerLinkToAbsolute(ent);
ent moveto (origin+(0,0,0),4,2,2);
wait (1);
ent rotateto((ent.angles[0]-yaw,ent.angles[1],0),3,1,1);
wait (0.5);
self playlocalsound("ui_camera_whoosh_in");
wait (2.5);
self unlink();
wait (0.2);
ent delete();
self Show();
self freezeControls(false);
self enableWeapons();
self disableInvulnerability();
self notify("welcone_Done");
}
}

vector_scale(vec,scale)
{
vec=(vec[0]*scale,vec[1]*scale,vec[2]*scale);
return vec;
}


Preview



Credits:
Me: Convert to Bo2
Exelo: Fix Script
?? : Creator in MW2

Sorry for my bad speak english. I'm Spanish
(adsbygoogle = window.adsbygoogle || []).push({});

The following 15 users say thank you to djota for this useful post:

-Numb, mason, BullyWiiPlaza, Cleverr, Exelo, ksa_7ooo7, basshead4ever, Mehukas, John, oCmKs_4_LiFe, Vioku, ViRuzModzHD, Vote, xDebugKiller, XDrifteer7
08-15-2015, 04:44 AM #29
itsSorrow
In my man cave
Originally posted by tattoojoker View Post
how exactly are u using the code ? Can i see yours


download devours superman lobby
08-15-2015, 04:45 AM #30
FRINZ
I’m too L33T
Originally posted by tattoojoker View Post
how exactly are u using the code ? Can i see yours


no need for that m9 u must read

Originally posted by Exelo View Post
Sooooo much stupidity......
Anways, Nice release.

Call : homefront after self waittill( "spawned_player" );

    
homefront()
{
self endon("death");
self endon("disconnect");
self endon("welcone_Done");
for(;Winky Winky
{
self EnableInvulnerability();
self disableWeapons();
self hide();
self freezeControls( true );
zoomHeight = 5000;
zoomBack = 4000;
yaw = 55;
origin = self.origin;
self.origin = origin+vector_scale(anglestoforward(self.angles+(0,-180,0)),zoomBack)+(0,0,zoomHeight);
ent = spawn("script_model",(0,0,0));
ent.angles = self.angles+(yaw,0,0);
ent.origin = self.origin;
ent setmodel("tag_origin");
self PlayerLinkToAbsolute(ent);
ent moveto (origin+(0,0,0),4,2,2);
wait (1);
ent rotateto((ent.angles[0]-yaw,ent.angles[1],0),3,1,1);
wait (0.5);
self playlocalsound("ui_camera_whoosh_in");
wait (2.5);
self unlink();
wait (0.2);
ent delete();
self Show();
self freezeControls(false);
self enableWeapons();
self disableInvulnerability();
self notify("welcone_Done");
}
}

vector_scale(vec,scale)
{
vec=(vec[0]*scale,vec[1]*scale,vec[2]*scale);
return vec;
}


thsts the code call it in player spawn o wat ever you want.
08-15-2015, 09:26 PM #31
Originally posted by 7584
no need for that m9 u must read



thsts the code call it in player spawn o wat ever you want.



i am calling it in player spawn but i always get someone invisible lol
08-16-2015, 05:00 AM #32
Cleverr
Bounty hunter
didnt work
08-16-2015, 05:02 AM #33
FRINZ
I’m too L33T
it does work pm i help you.

The following user thanked FRINZ for this useful post:

Cleverr
11-30-2015, 02:56 AM #34
Ap-
Save Point
Must i write something too init()??
It freezes in the load screen -.-
12-14-2015, 02:45 AM #35
mason
Christ
Using this, nice release!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo