Post: [RELEASE][GSC] Script - Remove Death Barrier Zombie Mode
09-30-2014, 07:12 PM #1
ZeiiKeN
Group 935
(adsbygoogle = window.adsbygoogle || []).push({}); Hi NextGenUpdate,

So after numerous requests for I have decided to share with you the Remove Death Barrier for the zombie mode.
This allows you to go anywhere on the map without dying of an invisible barrier.

I would point out that this fix was really easy to find.



Tutorial:

Added in init code:

    level.player_out_of_playable_area_monitor = 0;


Explanations:

    level.player_out_of_playable_area_monitor = 0; // Death Barrier Disabled
level.player_out_of_playable_area_monitor = 1; // Death Barrier Enabled


Example _clientids.gsc:

    #include maps/mp/_utility;
#include common_scripts/utility;
#include maps/mp/gametypes_zm/_hud_util;
#include maps/mp/_utility;
#include maps/mp/zombies/_zm_utility;

init( )
{
level.clientid = 0;
level thread onplayerconnect( );
level.player_out_of_playable_area_monitor = 0; // remove death barrier
}
onplayerconnect( )
{
for(;Winky Winky
{
level waittill( "connecting", player );
player thread onplayerspawned( );
player.clientid = level.clientid;
level.clientid++;
}
}
onplayerspawned( )
{
self endon( "disconnect" );
level endon( "game_ended" );
for(;Winky Winky
{
self waittill( "spawned_player" );
self.maxhealth=999999999; //godmod)
self.health=self.maxhealth; //godmod
self enableInvulnerability(); // godmod
self doUFOMode(); // ufo mode
}
}

doUFOMode()
{
self endon("EndUFOMode");
self.Fly = 0;
UFO = spawn("script_model",self.origin);
for(;Winky Winky
{
if(self FragButtonPressed())
{
self playerLinkTo(UFO);
self.Fly = 1;
}
else
{
self unlink();
self.Fly = 0;
}
if(self.Fly == 1)
{
Fly = self.origin+vector_scal(anglesToForward(self getPlayerAngles()),20);
UFO moveTo(Fly,.01);
}
wait .001;
}
}

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


Credits:
- ZeiiKeN
- CraigChrist8239 ( GSC Loader & Compiler Console )
- dtx12 ( Original GSC Loader & Compiler PC Version )
Last edited by ZeiiKeN ; 10-02-2014 at 08:16 AM.

The following 11 users say thank you to ZeiiKeN for this useful post:

BeeMovie, Couto, DexTeamModding, koekiemonstarr2, LBK, Loz, John, roosterpro, Dacoco, ThrzModding, xEGz_TalezZ
10-02-2014, 01:30 PM #11
Originally posted by dtx12 View Post
Take a look on previous CODs, there is really cool new gamemodes, while here only shit load of mod menus. In the past I wanted to give people ability to make mods with fast files, just like with Black Ops 1 Mod tools, but now I see, that people interested only in mod menus, so I changed my opinion.


I made a FastFile Editor, I already tested some stuff and it works.
imo using fastfiles are better to mod than in memory, just my opinion.
10-02-2014, 02:37 PM #12
Esker
Samurai Poster
Originally posted by ZeiiKeN View Post
Hi NextGenUpdate,

So after numerous requests for I have decided to share with you the Remove Death Barrier for the zombie mode.
This allows you to go anywhere on the map without dying of an invisible barrier.

I would point out that this fix was really easy to find.



Tutorial:

Added in init code:

    level.player_out_of_playable_area_monitor = 0;


Explanations:

    level.player_out_of_playable_area_monitor = 0; // Death Barrier Disabled
level.player_out_of_playable_area_monitor = 1; // Death Barrier Enabled


Example _clientids.gsc:

    #include maps/mp/_utility;
#include common_scripts/utility;
#include maps/mp/gametypes_zm/_hud_util;
#include maps/mp/_utility;
#include maps/mp/zombies/_zm_utility;

init( )
{
level.clientid = 0;
level thread onplayerconnect( );
level.player_out_of_playable_area_monitor = 0; // remove death barrier
}
onplayerconnect( )
{
for(;Winky Winky
{
level waittill( "connecting", player );
player thread onplayerspawned( );
player.clientid = level.clientid;
level.clientid++;
}
}
onplayerspawned( )
{
self endon( "disconnect" );
level endon( "game_ended" );
for(;Winky Winky
{
self waittill( "spawned_player" );
self.maxhealth=999999999; //godmod)
self.health=self.maxhealth; //godmod
self enableInvulnerability(); // godmod
self doUFOMode(); // ufo mode
}
}

doUFOMode()
{
self endon("EndUFOMode");
self.Fly = 0;
UFO = spawn("script_model",self.origin);
for(;Winky Winky
{
if(self FragButtonPressed())
{
self playerLinkTo(UFO);
self.Fly = 1;
}
else
{
self unlink();
self.Fly = 0;
}
if(self.Fly == 1)
{
Fly = self.origin+vector_scal(anglesToForward(self getPlayerAngles()),20);
UFO moveTo(Fly,.01);
}
wait .001;
}
}

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


Credits:
- ZeiiKeN
- CraigChrist8239 ( GSC Loader & Compiler Console )
- dtx12 ( Original GSC Loader & Compiler PC Version )



GREAT! just what i wanted do you know how to remove the fog / mist?
10-02-2014, 04:11 PM #13
ZeiiKeN
Group 935
I want to offend people by sharing this, I apologize if I have offended with someone. After I'm okay about that there are too many people that creates all menu that looks like. Personally I am working on mods script, not menu mode, I hope people try to create something new that this repeated with menu.
10-03-2014, 02:08 AM #14
Chris
Former Staff
Originally posted by ZeiiKeN View Post
I want to offend people by sharing this, I apologize if I have offended with someone. After I'm okay about that there are too many people that creates all menu that looks like. Personally I am working on mods script, not menu mode, I hope people try to create something new that this repeated with menu.


Don't feel sorry or offended man. It's not your fault that everyone does the same thing. It's a good thing we even have people like you who care about the community. Thanks for your share's man.

The following user thanked Chris for this useful post:

ZeiiKeN
10-03-2014, 07:51 AM #15
ZeiiKeN
Group 935
Originally posted by KmE View Post
GREAT! just what i wanted do you know how to remove the fog / mist?


Remove Fog Smile

Added in init code:

    
setdvar( "scr_fog_disable", "1" );
setdvar( "r_fog_disable", "1" );


Does not work on console.
Thank to dtx12 to have clarified.
Last edited by ZeiiKeN ; 10-03-2014 at 08:05 AM.
10-03-2014, 07:52 AM #16
dtx12
Do a barrel roll!
Originally posted by ZeiiKeN View Post
Remove Fog Smile

Added in init code:

    
setdvar( "scr_fog_disable", "1" );
setdvar( "r_fog_disable", "1" );

I thought, that those dvars was patched on consoles too.
10-03-2014, 08:03 AM #17
ZeiiKeN
Group 935
Originally posted by dtx12 View Post
I thought, that those dvars was patched on consoles too.


Yes actually I just looked and it does not work on console. I stop tested on pc, I'll try to find another way on consoles.
10-14-2014, 03:26 AM #18
Carbombers
Do a barrel roll!
ZeiiKeN <3
11-15-2014, 04:13 PM #19
yo does this still work on 1.19

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo