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
06-11-2015, 05:46 AM #20
DF_AUS
NextGenUpdate Elite
Works great with " onplayerspawned "
But kinda gets annoying every time someone dies,anyway just to make it happen once every lobby on onplayerspawn?

Edit: fixed it ;-) ( n00b )
07-06-2015, 04:14 PM #21
Mehukas
Climbing up the ladder
When i use this my map is black lolz Smile
07-06-2015, 05:12 PM #22
djota
Haxor!
Originally posted by Mehukas View Post
When i use this my map is black lolz Smile


use the new script

The following user thanked djota for this useful post:

Mehukas
07-06-2015, 06:05 PM #23
Mehukas
Climbing up the ladder
mhm it seems to fix it but now its restarting in the middle of the zooming in Smile can u hook me up with the new script please
07-06-2015, 06:11 PM #24
ItzSparkBoii
Big Sister
:( i thought it was private
07-06-2015, 08:58 PM #25
Mehukas
Climbing up the ladder
Still giving me a black map or loading the spawn and half way its resetting itself and i cant fix it Snail
08-15-2015, 03:23 AM #26
I have an issue where its making a player invisible after spawning ? I remove homefront and then its fine ? any ideas ?
08-15-2015, 03:49 AM #27
itsSorrow
In my man cave
Originally posted by tattoojoker View Post
I have an issue where its making a player invisible after spawning ? I remove homefront and then its fine ? any ideas ?


Works fine for me
08-15-2015, 04:41 AM #28
Originally posted by GentleSlugger View Post
Works fine for me


how exactly are u using the code ? Can i see yours

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo