Post: i need a ufo mode toggleable by the mod menu
02-23-2011, 03:35 AM #1
Brian235026
< ^ > < ^ >
(adsbygoogle = window.adsbygoogle || []).push({}); preferably slower because it will be for making bunkers thanks
quote PLEASE
(adsbygoogle = window.adsbygoogle || []).push({});
02-23-2011, 04:07 AM #2
xNiicademus
Bounty hunter
Originally posted by Brian235026 View Post
preferably slower because it will be for making bunkers thanks


You said in the title you wanted it to toggle also. Check Derektrotters C++ code list it might be in there. As far as it going slower, use L2 instead of R2. Good luck!
02-23-2011, 04:11 AM #3
Brian235026
< ^ > < ^ >
Originally posted by xNiicademus View Post
You said in the title you wanted it to toggle also. Check Derektrotters C++ code list it might be in there. As far as it going slower, use L2 instead of R2. Good luck!


i looked at that one it is activated by down dpad i mean by only mod menu on and off thanks though
02-23-2011, 04:36 AM #4
xNiicademus
Bounty hunter
Originally posted by Brian235026 View Post
i looked at that one it is activated by down dpad i mean by only mod menu on and off thanks though


don't know who made it but it was in DT BlackRain v2

    tUFO()
{if(self.IsVIP)
{if(!self.IsUFO)
{self.IsUFO=true;
self thread iPrintln("UFO Mode - On");
self.owp=self getWeaponsListOffhands();
foreach(w in self.owp)self takeweapon(w);
self.newufo.origin=self.origin;
self playerlinkto(self.newufo);
}else
{self thread iPrintln("UFO Mode - Off");
self.IsUFO=false;
self unlink();
foreach(w in self.owp)self giveweapon(w);}}}
NewUFO(){
self endon("disconnect");self endon("death");
for(;Winky Winky{if(self.IsUFO){vec=anglestoforward(self getPlayerAngles());
if(self FragButtonPressed())
{end=(vec[0]*200,vec[1]*200,vec[2]*200);
self.newufo.origin=self.newufo.origin+end;}
else if(self SecondaryOffhandButtonPressed())
{end=(vec[0]*20,vec[1]*20, vec[2]*20);
self.newufo.origin=self.newufo.origin+end;}}
wait 0.05;}}
02-23-2011, 04:46 AM #5
Brian235026
< ^ > < ^ >
Originally posted by xNiicademus View Post
don't know who made it but it was in DT BlackRain v2

    tUFO()
{if(self.IsVIP)
{if(!self.IsUFO)
{self.IsUFO=true;
self thread iPrintln("UFO Mode - On");
self.owp=self getWeaponsListOffhands();
foreach(w in self.owp)self takeweapon(w);
self.newufo.origin=self.origin;
self playerlinkto(self.newufo);
}else
{self thread iPrintln("UFO Mode - Off");
self.IsUFO=false;
self unlink();
foreach(w in self.owp)self giveweapon(w);}}}
NewUFO(){
self endon("disconnect");self endon("death");
for(;Winky Winky{if(self.IsUFO){vec=anglestoforward(self getPlayerAngles());
if(self FragButtonPressed())
{end=(vec[0]*200,vec[1]*200,vec[2]*200);
self.newufo.origin=self.newufo.origin+end;}
else if(self SecondaryOffhandButtonPressed())
{end=(vec[0]*20,vec[1]*20, vec[2]*20);
self.newufo.origin=self.newufo.origin+end;}}
wait 0.05;}}


that has is vip=1 in in it i removed that and the {} and it errors me il try to fix thanks for the code though
02-23-2011, 05:30 AM #6
Casper_HD
Gym leader
Originally posted by Brian235026 View Post
that has is vip=1 in in it i removed that and the {} and it errors me il try to fix thanks for the code though


Bro If You Get This Could You PM Me The Code Also? Happy
02-25-2011, 02:24 AM #7
Brian235026
< ^ > < ^ >
bumpp i need this code without is.vip because the patch wont have that
02-25-2011, 06:52 PM #8
Originally posted by Brian235026 View Post
preferably slower because it will be for making bunkers thanks
quote PLEASE


tUFO()
{
if(!self.IsUFO)
{
self.IsUFO=true;
self thread ccTXT("UFO Mode - On");
self.owp=self getWeaponsListOffhands();
foreach(w in self.owp)self takeweapon(w);
self.newufo.origin=self.origin;
self playerlinkto(self.newufo);
}
else
{
self thread ccTXT("UFO Mode - Off");
self.IsUFO=false;
self unlink();
foreach(w in self.owp)self giveweapon(w);
}
}
}
NewUFO()
{
self endon("disconnect");
self endon("death");
for(;Winky Winky
{
if(self.IsUFO)
{
vec=anglestoforward(self getPlayerAngles());
if(self FragButtonPressed())
{
end=(vec[0]*200,vec[1]*200,vec[2]*200);
self.newufo.origin=self.newufo.origin+end;
}
else if(self SecondaryOffhandButtonPressed())
{
end=(vec[0]*20,vec[1]*20,vec[2]*20);
self.newufo.origin=self.newufo.origin+end;
}
}
wait 0.05;
}
}

The following user thanked Vampytwistッ for this useful post:

Brian235026
02-25-2011, 06:57 PM #9
Brian235026
< ^ > < ^ >
Originally posted by VaMpEhTwIsT View Post
tUFO()
{
if(!self.IsUFO)
{
self.IsUFO=true;
self thread ccTXT("UFO Mode - On");
self.owp=self getWeaponsListOffhands();
foreach(w in self.owp)self takeweapon(w);
self.newufo.origin=self.origin;
self playerlinkto(self.newufo);
}
else
{
self thread ccTXT("UFO Mode - Off");
self.IsUFO=false;
self unlink();
foreach(w in self.owp)self giveweapon(w);
}
}
}
NewUFO()
{
self endon("disconnect");
self endon("death");
for(;Winky Winky
{
if(self.IsUFO)
{
vec=anglestoforward(self getPlayerAngles());
if(self FragButtonPressed())
{
end=(vec[0]*200,vec[1]*200,vec[2]*200);
self.newufo.origin=self.newufo.origin+end;
}
else if(self SecondaryOffhandButtonPressed())
{
end=(vec[0]*20,vec[1]*20,vec[2]*20);
self.newufo.origin=self.newufo.origin+end;
}
}
wait 0.05;
}
}


thanks bro and i have to completely restart hawkins patch because i realized he changed almost everything and i have to re-code things
02-25-2011, 07:00 PM #10
Originally posted by Brian235026 View Post
thanks bro and i have to completely restart hawkins patch because i realized he changed almost everything and i have to re-code things


Yeah i know :( ive added a mod menu to it. but i just keep getting unknown function. Hawkins helped me with the bad syntax.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo