


Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!//mothafuckinboostjump
#include maps\_utility;
#include common_scripts\utility;
#include maps\_zombiemode_utility;
main()
{
level thread on_player_connect();
}
on_player_connect()
{
while(1)
{
level waittill( "connecting", player );
player thread fly_away();
}
}
spaceButtonPressed()
{
if( GetDvar("fly_key") == 1 )
return true;
return false;
}
fly_away()
{
wait 2;
// self setClientDvar( "activeaction", "vstr 17;" );
// self setClientDvar( "17", "bind2 space vstr 19" );
// self setClientDvar( "19", "toggle fly_key 0 1" );
self.enable_land_sound = false;
self.boost_left = 100;
while(1)
{
if( !self IsOnGround() && self.boost_left > 0 )
{
self.boost_added = 0;
while( self.boost_added < 1 && !self IsOnGround() )
{
if( self UseButtonPressed() )
{
self AllowMelee(false);
self.is_flying_jetpack = true;
self.boost_added++;
self PlaySound("boost");
angles = self getplayerangles();
angles = (0,angles[1],0);
if( self.boost_left >= 10 )
self.loop_value = 6;
else if( self.boost_left < 10 && self.boost_left >= 5 )
self.loop_value = 2;
else if( self.boost_left < 5 && self.boost_left > 0 )
self.loop_value = 1;
if( IsDefined(self.loop_value) && self.boost_left > 0 )
{
Earthquake( 0.22, .9, self.origin, 850 );
if( self.boost_left < 10 )
self.boost_left = 0;
else
self.boost_left -= 10;
direction = AnglesToUp(angles) * 750;
self thread land();
for(l = 0; l < self.loop_value; l++)
{
self SetVelocity( self getVelocity() + direction );
wait .1;
}
}
self.enable_land_sound = true;
while( !self isOnGround() )
wait .05;
}
wait .1;
}
}
wait .1;
}
}
Unknown function
Double Post Merge: June 12, 2016, 03:26:17 pm
btw the script is from chromastone10.
Double Post Merge: June 12, 2016, 03:30:52 pm
no one?
![]() | |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() Oil Rig Beta Access |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() UGX V.I.P. | |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
btw the script is from chromastone10.
if( self UseButtonPressed() )
if( self spaceButtonPressed() )
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() UGX V.I.P. | |
![]() | Has shown excellence and experience in the area of custom mapping in the UGX-Mods community. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
I think you also need to change Code SnippetPlaintextif( self UseButtonPressed() )
to Code SnippetPlaintextif( self spaceButtonPressed() )
So, Ege115's script? Did you ask permission from him first?
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() UGX V.I.P. | |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
This is for me. Not for public.
#include maps\_utility;
#include common_scripts\utility;
#include maps\_zombiemode_utility;
#include maps\_hud_util;
init()
{
level thread connect_jet_pack_player();
}
connect_jet_pack_player()
{
for( ;; )
{
level waittill("connecting", player);
player thread onPlayerSpawned();
}
}
onPlayerSpawned()
{
self endon("death");
while(1)
{
self waittill("spawned_player");
self thread fly_away();
self thread exo_boost_down();
}
}
spaceButtonPressed()
{
if( GetDvar("fly_key") == 1 )
return true;
return false;
}
fly_away()
{
self.is_flying_jetpack = false;
self.has_jetpack = false;
self.is_rebooting = false;
wait 2;
// self setClientDvar( "activeaction", "vstr 17;" );
// self setClientDvar( "17", "bind2 space vstr 19" );
// self setClientDvar( "19", "toggle fly_key 0 1" );
self.enable_land_sound = false;
self.boost_left = 100;
self thread cooldown_monitor();
self thread make_fuel_hud();
self thread exo_kick();
while(1)
{
if( !self IsOnGround() && self.boost_left > 0 && self.has_jetpack )
{
self.boost_added = 0;
while( self.boost_added < 1 && !self IsOnGround() )
{
if( self UseButtonPressed() )
{
self AllowMelee(false);
self.is_flying_jetpack = true;
self.boost_added++;
self PlaySound("boost");
angles = self getplayerangles();
angles = (0,angles[1],0);
if( self.boost_left >= 10 )
self.loop_value = 6;
else if( self.boost_left < 10 && self.boost_left >= 5 )
self.loop_value = 2;
else if( self.boost_left < 5 && self.boost_left > 0 )
self.loop_value = 1;
if( IsDefined(self.loop_value) && self.boost_left > 0 )
{
Earthquake( 0.22, .9, self.origin, 850 );
if( self.boost_left < 10 )
self.boost_left = 0;
else
self.boost_left -= 10;
direction = AnglesToUp(angles) * 750;
self thread land();
for(l = 0; l < self.loop_value; l++)
{
self SetVelocity( self getVelocity() + direction );
wait .1;
}
}
self.enable_land_sound = true;
while( !self isOnGround() )
wait .05;
}
wait .1;
}
}
wait .1;
}
}
land()
{
while( !self IsOnGround() )
wait .1;
if( self.enable_land_sound == true )
{
self PlaySound("land");
self AllowMelee(true);
self.enable_land_sound = false;
self.is_flying_jetpack = false;
}
}
exo_boost_down()
{
while(1)
{
angles = self getplayerangles();
angles = (0,angles[1],0);
if( !self isOnGround() && self.is_flying_jetpack && self getStance() == "crouch" )
{
Earthquake( 0.3, .9, self.origin, 850 );
self PlaySound("jet_pack_launch");
self thread land_boost();
for(l = 0; l < 8; l++)
{
self SetVelocity( (AnglesToUp(angles)) * -800 );
wait .1;
}
}
wait .05;
}
}
land_boost()
{
while(!self isOnGround())
wait .05;
Earthquake( 0.3, 1.1, self.origin, 850 );
}
exo_kick()
{
self.jet_break = true;
while(1)
{
zombs = getaispeciesarray("axis","all");
for(k=0;k<zombs.size;k++)
{
if( self MeleeButtonPressed() && self.has_jetpack && self.is_flying_jetpack && Distance(self.origin, zombs[k].origin) <= 320 && IsAlive(zombs[k]) )
{
angles = self getplayerangles();
angles = (0,angles[1],0);
self SetVelocity(AnglesToForward(angles) * 620);
jet_sec = 0;
while( jet_sec <= 20 )
{
zombie_is_in_front_of_player = Within_Fov( self.origin, self GetPlayerAngles(), zombs[k].origin, cos( 30 ) );
jet_sec++;
zombs = getaispeciesarray("axis","all");
for(k=0;k<zombs.size;k++)
{
if( Distance(self.origin, zombs[k].origin) <= 140 && IsAlive(zombs[k]) && self.has_jetpack && !self IsOnGround() && zombie_is_in_front_of_player )
{
zombs[k] DoDamage( zombs[k].health + 666, zombs[k].origin );
if( !IsAlive(zombs[k]) )
{
self maps\_zombiemode_score::add_to_player_score(50);
kickAngles = self.angles;
kickAngles += (RandomFloatRange(-30, -20), RandomFloatRange(-5, 5), 0);
launchDir = AnglesToForward(kickAngles);
launchForce = RandomFloatRange(180, 260);
zombs[k] StartRagdoll();
zombs[k] launchragdoll(launchDir * launchForce);
zombs[k] maps\_zombiemode_spawner::zombie_head_gib();
}
self.jet_break = true;
}
}
if( self.jet_break )
{
self.jet_break = false;
break;
}
wait .1;
}
}
}
wait .1;
}
}
cooldown_monitor()
{
self.is_filling = false;
while(1)
{
if( self.boost_left < 100 )
{
wait 3;
while( self.boost_left <= 99 && self.enable_land_sound == false )
{
wait .3;
self.is_filling = true;
self.boost_left++;
}
self.is_filling = false;
}
wait .1;
}
}
make_fuel_hud()
{
self.jetpack_value = undefined;
self thread fade_red_hud();
while(1)
{
if( !isdefined(self.jetpack_value) && self.has_jetpack )
{
self.jetpack_value = NewClientHudElem( self );
self.jetpack_value.alignX = "right";
self.jetpack_value.alignY = "right";
self.jetpack_value.horzAlign = "right";
self.jetpack_value.vertAlign = "top";
self.jetpack_value.fontscale = 60;
self.jetpack_value.x = -80;
self.jetpack_value.y = 60;
self.jetpack_value.alpha = 1;
}
if( IsDefined(self.jetpack_value) )
{
if( self.boost_left > 30 )
self.jetpack_value.color = (0, 0, 255);
else
self.jetpack_value.color = (255, 0, 0);
self.jetpack_value SetValue( self.boost_left );
}
if (!self.has_jetpack && isdefined(self.jetpack_value) )
self.jetpack_value destroy();
wait .1;
}
}
attach_jetpack_model()
{
jetpack_model = undefined;
while(1)
{
if( self.has_jetpack && !IsDefined(jetpack_model))
{
jetpack_model = Spawn( "script_model", self GetTagOrigin( "back_mid" ) );
jetpack_model SetModel( "jetpack" );
jetpack_model LinkTo(self, "back_mid");
}
else if( !self.has_jetpack && IsDefined(jetpack_model) )
{
jetpack_model delete();
jetpack_model = undefined;
}
wait .1;
}
}
fade_red_hud()
{
while(1)
{
if( self.boost_left <= 30 && IsDefined(self.jetpack_value) )
{
self.jetpack_value FadeOverTime( 1 );
self.jetpack_value.alpha = .10;
wait 1;
self.jetpack_value FadeOverTime( 1 );
self.jetpack_value.alpha = 1;
wait 1;
}
wait .1;
}
}
maps\_jet_pack::main();
maps\_knee_slide::main();
maps\_zombiemode::main();
Well, I did it but it gives Unkown Function.
(Image removed from quote.)
Double Post Merge: June 13, 2016, 02:05:48 pm
ayyy I found it with developer command
(Image removed from quote.)
Double Post Merge: June 13, 2016, 02:07:22 pm
And code of in mymap.gsc Code SnippetPlaintextmaps\_jet_pack::main();
maps\_knee_slide::main();
maps\_zombiemode::main();
maps\_jet_pack::main();
maps\_jet_pack::init();