Post: Disable UFO in GSC Studio?
12-04-2014, 02:55 PM #1
tantan27
Pokemon Trainer
(adsbygoogle = window.adsbygoogle || []).push({}); How do i disable UFO in GSC Studio sharks zombieland. I got enable i just need disable
(adsbygoogle = window.adsbygoogle || []).push({});
12-04-2014, 05:35 PM #2
Jewels
I’m too L33T
Originally posted by tantan27 View Post
How do i disable UFO in GSC Studio sharks zombieland. I got enable i just need disable


Tell me the script code? I'm not really into GSC but i do know some of the codes by heart Smile quote me if you want!
12-04-2014, 06:25 PM #3
tantan27
Pokemon Trainer
Originally posted by JeWeLs View Post
Tell me the script code? I'm not really into GSC but i do know some of the codes by heart Smile quote me if you want!


THIS IS ON: if (self UseButtonPressed() && self isHost())
{
ToggleUFO();
}
12-04-2014, 07:05 PM #4
Jewels
I’m too L33T
Originally posted by tantan27 View Post
THIS IS ON: if (self UseButtonPressed() && self isHost())
{
ToggleUFO();
}

try this

    
UFOMode()
{
if(self.UFOMode == false)
{
self thread doUFOMode();
self.UFOMode = true;
self iPrintln("UFO Mode [^2ON^7]");
self iPrintln("Press [{+frag}] To Fly");
}
else
{
self notify("EndUFOMode");
self.UFOMode = false;
self iPrintln("UFO Mode [^1OFF^7]");
}
}
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;
}
}

The following user thanked Jewels for this useful post:

tantan27
12-04-2014, 07:17 PM #5
tantan27
Pokemon Trainer
Originally posted by JeWeLs View Post
try this

    
UFOMode()
{
if(self.UFOMode == false)
{
self thread doUFOMode();
self.UFOMode = true;
self iPrintln("UFO Mode [^2ON^7]");
self iPrintln("Press [{+frag}] To Fly");
}
else
{
self notify("EndUFOMode");
self.UFOMode = false;
self iPrintln("UFO Mode [^1OFF^7]");
}
}
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;
}
}


Ok will do
12-04-2014, 07:21 PM #6
Jewels
I’m too L33T
Originally posted by tantan27 View Post
Ok will do


There is also a no clip too, that allows you to go through the wall, its like ufo too!

    
Noclip()
{
self endon("stop_noclip");
self.originObj = spawn( "script_origin", self.origin, 1 );
self.originObj.angles = self.angles;
self playerlinkto( self.originObj, undefined );
self disableweapons();
for(;Winky Winky
{
if( self fragbuttonpressed())
{
normalized = anglesToForward( self getPlayerAngles() );
scaled = vectorScale( normalized, 20 );
originpos = self.origin + scaled;
self.originObj.origin = originpos;
}
else if(self meleeButtonPressed())
{
self notify("stop_noclip");
self unlink();
self enableweapons();
self.originObj delete();
}
wait .05;
}
}

The following user thanked Jewels for this useful post:

tantan27
12-04-2014, 07:36 PM #7
tantan27
Pokemon Trainer
Originally posted by JeWeLs View Post
There is also a no clip too, that allows you to go through the wall, its like ufo too!

    
Noclip()
{
self endon("stop_noclip");
self.originObj = spawn( "script_origin", self.origin, 1 );
self.originObj.angles = self.angles;
self playerlinkto( self.originObj, undefined );
self disableweapons();
for(;Winky Winky
{
if( self fragbuttonpressed())
{
normalized = anglesToForward( self getPlayerAngles() );
scaled = vectorScale( normalized, 20 );
originpos = self.origin + scaled;
self.originObj.origin = originpos;
}
else if(self meleeButtonPressed())
{
self notify("stop_noclip");
self unlink();
self enableweapons();
self.originObj delete();
}
wait .05;
}
}


I got an error on this line of c# self endon("stop_noclip");
12-04-2014, 07:57 PM #8
tantan27
Pokemon Trainer
where would i put this C# anyway?
12-04-2014, 09:15 PM #9
Chris
Former Staff
Thread has been moved to Black Ops 2 GSC Mods and Scripts Questions section.
12-04-2014, 09:18 PM #10
Jewels
I’m too L33T
Originally posted by tantan27 View Post
where would i put this C# anyway?


This is a GSC, if you want to do it in C# you have to learn about the RPC and the game server commands

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo